示例#1
0
 public override bool Equals(object obj)
 {
     if (obj is AppSection)
     {
         AppSection area = obj as AppSection;
         return(area.SectionName.Equals(this.SectionName, StringComparison.OrdinalIgnoreCase));
     }
     return(base.Equals(obj));
 }
 public static void RegisterAppSection(this IApplicationStartContext StartContext, AppSection app)
 {
     _sections[app.SectionName] = app;
 }