/// <summary> /// Constructs and initializes the handler /// </summary> /// <param name="model"></param> public AbstractHandler(ComponentModel model) { this.model = model; state = HandlerState.Valid; InitializeCustomDependencies(); if(model.ExtendedProperties.Contains("component_resolving_handler") == false) return; resolvingHandler = model.ExtendedProperties["component_resolving_handler"] as ComponentResolvingDelegate; }
public void AddHandler(ComponentResolvingDelegate handler) { resolvers.Add(handler); }
public void AddHandler(ComponentResolvingDelegate handler) { resolvers.Add(handler); }
public void AddHandler(ComponentResolvingDelegate handler) { if(resolvingHandler==null) { resolvingHandler = handler; return; } resolvingHandler += handler; }