Exemple #1
0
 public ProxyImpl(ObjectMapper objectMapper)
 {
     _stringPropertyHandler = new ClassPropertyLoadHandler<string>(this, "StringProperty", objectMapper);
     _integerPropertyHandler = new StructPropertyLoadHandler<int>(this, "IntegerProperty", objectMapper);
     _enumPropertyHandler = new StructPropertyLoadHandler<TestEnumImpl>(this, "EnumProperty", objectMapper);
     _dateTimePropertyHandler = new StructPropertyLoadHandler<DateTime>(this, "DateTimeProperty", objectMapper);
     _collectionPropertyHandler = new CollectionPropertyLoadHandler<ICollection<TestClass>, TestClass>(this, "CollectionProperty", objectMapper);
 }
Exemple #2
0
 public ProxyImpl(ObjectMapper objectMapper)
 {
     _stringPropertyHandler     = new ClassPropertyLoadHandler <string>(this, "StringProperty", objectMapper);
     _integerPropertyHandler    = new StructPropertyLoadHandler <int>(this, "IntegerProperty", objectMapper);
     _enumPropertyHandler       = new StructPropertyLoadHandler <TestEnumImpl>(this, "EnumProperty", objectMapper);
     _dateTimePropertyHandler   = new StructPropertyLoadHandler <DateTime>(this, "DateTimeProperty", objectMapper);
     _collectionPropertyHandler = new CollectionPropertyLoadHandler <ICollection <TestClass>, TestClass>(this, "CollectionProperty", objectMapper);
 }