public object LoadConfigurationFromFileWithCustomMemberInfo(Type configurationType, IniOptionsAttribute iniOptionsAttribute) { var memberInfoFactory = new ComplexTypeMemberInfoFactory(iniOptionsAttribute); return(_constructorChecker.HasConstructorWithAttribute(configurationType) ? ReadForImmutableType(configurationType, memberInfoFactory) : ReadForNormalType(configurationType, memberInfoFactory)); }
public IIniWrapperInternal Create(Type destinationType) { return(_iniConstructorChecker.HasConstructorWithAttribute(destinationType) ? _iniWrapperForImmutableTypeFactory.Create(destinationType) : _iniWrapperInternal); }