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); }
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); }