/// <summary> /// Ctor. /// </summary> /// <param name="domPropertyGetter">getter</param> /// <param name="returnType">desired result type</param> public DOMConvertingGetter( DOMPropertyGetter domPropertyGetter, Type returnType) { getter = domPropertyGetter; parser = SimpleTypeParserFactory.GetParser(returnType); }
/// <summary> /// Ctor. /// </summary> /// <param name="domPropertyGetter">getter</param> /// <param name="returnType">component type</param> public DOMConvertingArrayGetter( DOMPropertyGetter domPropertyGetter, Type returnType) { getter = domPropertyGetter; componentType = returnType; parser = SimpleTypeParserFactory.GetParser(returnType); }
/// <summary> /// Ctor. /// </summary> /// <param name="propertyExpression">property name</param> /// <param name="domPropertyGetter">getter</param> /// <param name="returnType">desired result type</param> public DOMConvertingGetter(String propertyExpression, DOMPropertyGetter domPropertyGetter, Type returnType) { _getter = domPropertyGetter; _parser = SimpleTypeParserFactory.GetParser(returnType); }