AssemblyFacilityOverrideCache Class |
[This is preliminary documentation and is subject to change.]
Namespace: NerdyDuck.CodedExceptions.Configuration
[ComVisibleAttribute(false)] public sealed class AssemblyFacilityOverrideCache : IDisposable
The AssemblyFacilityOverrideCache type exposes the following members.
| Name | Description | |
|---|---|---|
| AssemblyFacilityOverrideCache |
Initializes a new instance of the AssemblyFacilityOverrideCache class.
|
| Name | Description | |
|---|---|---|
| Add(AssemblyFacilityOverride) |
Adds the specified assembly facility identifier override to the cache.
| |
| Add(AssemblyIdentity, Int32) |
Adds the specified assembly identity and facility override to the cache.
| |
| AddRange |
Adds a list of AssemblyFacilityOverrides to the cache.
| |
| Clear |
Clears the cache.
| |
| Dispose |
Releases all resources used by the AssemblyFacilityOverrideCache.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize |
Destructor.
(Overrides ObjectFinalize.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| TryGetOverride(Assembly, Int32) |
Attempts to find the facility identifier override with the best match for the specified assembly.
| |
| TryGetOverride(Type, Int32) |
Attempts to find the facility identifier override with the best match for the assembly containing the specified type.
|
| Name | Description | |
|---|---|---|
| FromApplicationConfiguration | Overloaded.
Loads a list of facility identifier overrides from the application configuration file (app.config / web.config) and adds them to the cache.
(Defined by AssemblyFacilityOverrideCacheExtensions.) | |
| FromApplicationConfiguration(String) | Overloaded.
Loads a list of facility identifier overrides from the specified section of the application configuration file (app.config / web.config) and adds them to the cache.
(Defined by AssemblyFacilityOverrideCacheExtensions.) | |
| FromConfigurationSection |
Loads a list of facility identifier overrides from the specified IConfiguration, and adds them to the cache.
(Defined by AssemblyFacilityOverrideCacheExtensions.) | |
| FromJson | Overloaded.
Loads a list of facility identifier overrides from the default JSON file and adds them to the cache.
(Defined by AssemblyFacilityOverrideCacheExtensions.) | |
| FromJson(String) | Overloaded.
Loads a list of facility identifier overrides from the JSON file at the specified path and adds them to the cache.
(Defined by AssemblyFacilityOverrideCacheExtensions.) | |
| FromJson(Stream) | Overloaded.
Loads a list of facility identifier overrides from the specified stream containing JSON data, and adds them to the cache.
(Defined by AssemblyFacilityOverrideCacheExtensions.) | |
| FromJson(TextReader) | Overloaded.
Loads a list of facility identifier overrides from the specified TextReader containing JSON data, and adds them to the cache.
(Defined by AssemblyFacilityOverrideCacheExtensions.) | |
| FromJson(JsonValue) | Overloaded.
Loads a list of facility identifier overrides from the specified JSON object, and adds them to the cache.
(Defined by AssemblyFacilityOverrideCacheExtensions.) | |
| FromXml | Overloaded.
Loads a list of facility identifier overrides from the default XML file and adds them to the cache.
(Defined by AssemblyFacilityOverrideCacheExtensions.) | |
| FromXml(String) | Overloaded.
Loads a list of facility identifier overrides from the XML file at the specified path and adds them to the cache.
(Defined by AssemblyFacilityOverrideCacheExtensions.) | |
| FromXml(Stream) | Overloaded.
Loads a list of facility identifier overrides from the specified stream containing XML data, and adds them to the cache.
(Defined by AssemblyFacilityOverrideCacheExtensions.) | |
| FromXml(TextReader) | Overloaded.
Loads a list of facility identifier overrides from the specified TextReader containing XML data, and adds them to the cache.
(Defined by AssemblyFacilityOverrideCacheExtensions.) | |
| FromXml(XmlReader) | Overloaded.
Loads a list of facility identifier overrides from the specified XmlReader, and adds them to the cache.
(Defined by AssemblyFacilityOverrideCacheExtensions.) |