Beispiel #1
0
 public LineNumber(int number)
 {
     Value = Validation.IntIsNatural(number);
 }
Beispiel #2
0
 public IntCount(int startingCount)
 {
     Value = Validation.IntIsNatural(startingCount);
 }
Beispiel #3
0
 public LogLine(string line)
 {
     Value = Validation.NotNull(line);
 }
Beispiel #4
0
 public CodeLine(string code)
 {
     Value = Validation.NotNull(code);
 }
Beispiel #5
0
 public FileName(string name)
 {
     Value = Validation.FileName(name);
 }
Beispiel #6
0
 public ExistingFileName(string name)
 {
     Value = Validation.FileExists(name);
 }