public override void Revoke() { PublishedInstanceKey key = new PublishedInstanceKey(this.ApplicationName, this.SectionName, this.policy, this.exceptionType, this.name); publishedInstancesManager.Revoke(this, key); }
public static T BindInstance <T>(string applicationName, string sectionName, string name) where T : NamedConfigurationSetting { PublishedInstanceKey key = new PublishedInstanceKey(applicationName, sectionName, name); return(publishedInstancesManager.BindInstance <T>(key)); }
public override bool Equals(object obj) { if (obj is PublishedInstanceKey) { PublishedInstanceKey otherKey = (PublishedInstanceKey)obj; return(this.applicationName == otherKey.applicationName && this.sectionName == otherKey.sectionName); } return(false); }
public static T BindInstance <T>(string applicationName, string sectionName, string policy, string exceptionType, string name) where T : ExceptionHandlerSetting { PublishedInstanceKey key = new PublishedInstanceKey(applicationName, sectionName, policy, exceptionType, name); return(publishedInstancesManager.BindInstance <T>(key)); }
public override void Publish() { PublishedInstanceKey key = new PublishedInstanceKey(this.ApplicationName, this.SectionName, this.Name); publishedInstancesManager.Publish(this, key); }
public static ExceptionTypeSetting BindInstance(string ApplicationName, string SectionName, string Policy, string Name) { PublishedInstanceKey key = new PublishedInstanceKey(ApplicationName, SectionName, Policy, Name); return(publishedInstancesManager.BindInstance <ExceptionTypeSetting>(key)); }