示例#1
0
 public BoundObject()
 {
     MyProperty              = 42;
     MyReadOnlyProperty      = "I'm immutable!";
     IgnoredProperty         = "I am an Ignored Property";
     MyUnconvertibleProperty = GetType();
     SubObject           = new SubBoundObject();
     ExceptionTestObject = new ExceptionTestBoundObject();
 }
示例#2
0
 public BoundObject()
 {
     MyProperty = 42;
     MyReadOnlyProperty = "I'm immutable!";
     IgnoredProperty = "I am an Ignored Property";
     MyUnconvertibleProperty = GetType();
     SubObject = new SubBoundObject();
     ExceptionTestObject = new ExceptionTestBoundObject();
 }