/// <summary> /// the method get an handler and responsible to close the handler /// </summary> /// <param name="path">a string that represent the handler</param> public void closeHandler(string path) { IDirectoryHandler directory = this.handlers[path]; directory.onCloseService(this, null); CloseService -= directory.onCloseService; handlers.Remove(path); }