protected override void Reset(ConfigurationElement parentElement) { AuthorizationRule parentProviders = parentElement as AuthorizationRule; if (parentProviders != null) { parentProviders.UpdateUsersRolesVerbs(); } base.Reset(parentElement); EvaluateData(); }
protected override void Reset(ConfigurationElement parentElement) { AuthorizationRule rule = parentElement as AuthorizationRule; if (rule != null) { rule.UpdateUsersRolesVerbs(); } base.Reset(parentElement); this.EvaluateData(); }
protected override void Unmerge(ConfigurationElement sourceElement, ConfigurationElement parentElement, ConfigurationSaveMode saveMode) { AuthorizationRule rule = parentElement as AuthorizationRule; AuthorizationRule rule2 = sourceElement as AuthorizationRule; if (rule != null) { rule.UpdateUsersRolesVerbs(); } if (rule2 != null) { rule2.UpdateUsersRolesVerbs(); } base.Unmerge(sourceElement, parentElement, saveMode); }
protected override void Unmerge(ConfigurationElement sourceElement, ConfigurationElement parentElement, ConfigurationSaveMode saveMode) { AuthorizationRule parentProviders = parentElement as AuthorizationRule; AuthorizationRule sourceProviders = sourceElement as AuthorizationRule; if (parentProviders != null) { parentProviders.UpdateUsersRolesVerbs(); } if (sourceProviders != null) { sourceProviders.UpdateUsersRolesVerbs(); } base.Unmerge(sourceElement, parentElement, saveMode); }