public HttpModuleAction(String name, String type) : this() { Name = name; Type = type; _modualEntry = null; }
internal void Add(String moduleName, String className, bool insert) { ModulesEntry entry = new ModulesEntry(moduleName, className); if (insert) { _list.Insert(0, entry); } else { _list.Add(entry); } }
internal bool RemoveEntry(String name) { int n = _list.Count; bool found = false; for (int i = 0; i < n; i++) { ModulesEntry m = (ModulesEntry)_list[i]; if (String.Compare(m.ModuleName, name, true, CultureInfo.InvariantCulture) == 0) { // inefficient if there are many matches _list.RemoveAt(i); i--; n--; found = true; } } return(found); }
static bool IsSpecialModule(String className) { return(ModulesEntry.IsTypeMatch(typeof(System.Web.Security.DefaultAuthenticationModule), className)); }
internal static bool IsSpecialModule(string className) { return(ModulesEntry.IsTypeMatch(typeof(DefaultAuthenticationModule), className)); }
public HttpModuleAction(string name, string type) : this() { this.Name = name; this.Type = type; this._modualEntry = null; }