private void HandleIgnoreProperties() { SectionHandler handler = new SectionHandler(reader, "IgnoreProperties"); handler.AddMethod(new MethodMap("add", "type property", new MethodDelegate(AddIgnoreProperty))); handler.Process(); }
/// <summary> /// Handles the configuration of Type Converters factories for the TypeConverterFactories node /// </summary> private void HandleCollectionHandlers() { SectionHandler handler = new SectionHandler(reader, "CollectionHandlers"); handler.AddMethod(new MethodMap("add", "type", new MethodDelegate(AddCollectionHandler))); handler.Process(); }
/// <summary> /// Handles the configuration of Type Converters for the TypeConverters node /// </summary> private void HandleTypeConverters() { SectionHandler handler = new SectionHandler(reader, "TypeConverters"); handler.AddMethod(new MethodMap("add", "type property converter", new MethodDelegate(AddTypeConverter))); handler.Process(); }
/// <summary> /// Handles the "TypeBindings" tag of the config /// </summary> private void HandleTypeBindings() { SectionHandler handler = new SectionHandler(reader, "TypeBindings"); handler.AddMethod(new MethodMap("add", "alias type", new MethodDelegate(AddTypeBinding))); handler.AddMethod(new MethodMap("remove", "alias type", new MethodDelegate(RemoveTypeBinding))); handler.AddMethod(new MethodMap("clear", "", delegate(string t, string[] v) { context.TypeAliases.Clear(); })); handler.Process(); }