Skip to content

Instantly share code, notes, and snippets.

@Ang3lFir3
Created May 3, 2011 21:39
Show Gist options
  • Save Ang3lFir3/954318 to your computer and use it in GitHub Desktop.
Save Ang3lFir3/954318 to your computer and use it in GitHub Desktop.
setters of awesome!
public string ReportParamOutputRMFFile
{
get
{
return this.m_sOutputRMF;
}
set
{
if ((value.Length == 0) | (value.Length > 12))
{
this.EventReporter.AppendEvent("Invalid report output (*.rmf) filename. Must be 8+3 format (12 character max length).", LogEventReporter.Criticality.Critical);
throw new Exception("m_sOutputRMF filename must be in 8+3 format (12 character max length).");
}
this.m_sOutputRMF = value;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment