Created
May 3, 2011 21:39
-
-
Save Ang3lFir3/954318 to your computer and use it in GitHub Desktop.
setters of awesome!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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