Пример #1
0
 /// <summary>
 /// Unregister converter
 /// </summary>
 /// <param name="writerType">Writer type string</param>
 /// <returns>true if the element is successfully found and removed</returns>
 public static bool UnregisterConverter(string writerType)
 {
     return(CustomAppConfigWriterConfigurationConverter.UnregisterConverter(writerType));
 }
Пример #2
0
 /// <summary>
 /// Register new converter from CustomAppConfigWriterConfiguration to concrete configuration object
 /// </summary>
 /// <param name="writerType">Writer type string</param>
 /// <param name="converter">Conversion function</param>
 public static void RegisterConverter(string writerType, Func <CustomAppConfigWriterConfiguration, CustomWriterConfiguration> converter)
 {
     CustomAppConfigWriterConfigurationConverter.RegisterConverter(writerType, converter);
 }