/// <summary> /// Adds a handler to the factory. /// </summary> /// <param name="path">The path for the handler e.g. '/' or '/test', etc.</param> /// <param name="handler">The implementation of the handler.</param> public static void addHandler(string path, IHttpHandlerBase handler) { Factory.handlers.TryAdd(path, handler); }
public void ReleaseHandler(IHttpHandlerBase handler) { }
public void addHandler(string path, IHttpHandlerBase handler) { this.handlers.TryAdd(path, handler); }