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