예제 #1
0
 /// <summary>
 /// Initialize the environment: register Arrangement Type Converters
 /// with the <see cref="ConverterRegistry"/>
 /// </summary>
 public static void Init()
 {
     ConverterRegistry.AddConverter(typeof(IArrangement), new ArrangementConverter());
     ConverterRegistry.AddConverter(typeof(DefaultArrangement), new ArrangementConverter());
     ConverterRegistry.AddConverter(typeof(RemovalArrangement), new ArrangementConverter());
     ConverterRegistry.AddConverter(typeof(IMember), new ArrangementConverter());
 }
 /// <summary>
 /// Initialize the environment: register Arrangement Type Converters
 /// with the <see cref="ConverterRegistry"/>
 /// </summary>
 public static void Init(bool serialized)
 {
     ConverterRegistry.AddConverter(typeof(ILayout), new LayoutConverter(serialized));
 }