/// <summary> /// Initializes a new instance of the <see cref="CustomProviderDataHelper{T}"/> class for a configuration object. /// </summary> public CustomProviderDataHelper(T helpedCustomProviderData) { propertiesCollection = new ConfigurationPropertyCollection(); foreach (ConfigurationProperty propertyInfo in helpedCustomProviderData.Properties) { propertiesCollection.Add(propertyInfo); } this.helpedCustomProviderData = helpedCustomProviderData as IHelperAssistedCustomConfigurationData <T>; }