Click or drag to resize

AssemblyFacilityOverrideCache Class

[This is preliminary documentation and is subject to change.]

Manages an easily queryable list of overrides for assembly identifiers.
Inheritance Hierarchy
SystemObject
  NerdyDuck.CodedExceptions.ConfigurationAssemblyFacilityOverrideCache

Namespace:  NerdyDuck.CodedExceptions.Configuration
Assembly:  NerdyDuck.CodedExceptions (in NerdyDuck.CodedExceptions.dll) Version: 2.0.0+2040dad
Syntax
[ComVisibleAttribute(false)]
public sealed class AssemblyFacilityOverrideCache : IDisposable
View Source

The AssemblyFacilityOverrideCache type exposes the following members.

Constructors
  NameDescription
Public methodAssemblyFacilityOverrideCache
Initializes a new instance of the AssemblyFacilityOverrideCache class.
Top
Properties
  NameDescription
Public propertyStatic memberGlobal
Gets a global singleton instance of AssemblyFacilityOverrideCache.
Top
Methods
  NameDescription
Public methodAdd(AssemblyFacilityOverride)
Adds the specified assembly facility identifier override to the cache.
Public methodAdd(AssemblyIdentity, Int32)
Adds the specified assembly identity and facility override to the cache.
Public methodAddRange
Adds a list of AssemblyFacilityOverrides to the cache.
Public methodClear
Clears the cache.
Public methodDispose
Releases all resources used by the AssemblyFacilityOverrideCache.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Destructor.
(Overrides ObjectFinalize.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetOverride(Assembly, Int32)
Attempts to find the facility identifier override with the best match for the specified assembly.
Public methodTryGetOverride(Type, Int32)
Attempts to find the facility identifier override with the best match for the assembly containing the specified type.
Top
Extension Methods
  NameDescription
Public Extension MethodFromApplicationConfigurationOverloaded.
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.)
Public Extension MethodFromApplicationConfiguration(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.)
Public Extension MethodFromConfigurationSection
Loads a list of facility identifier overrides from the specified IConfiguration, and adds them to the cache.
(Defined by AssemblyFacilityOverrideCacheExtensions.)
Public Extension MethodFromJsonOverloaded.
Loads a list of facility identifier overrides from the default JSON file and adds them to the cache.
(Defined by AssemblyFacilityOverrideCacheExtensions.)
Public Extension MethodFromJson(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.)
Public Extension MethodFromJson(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.)
Public Extension MethodFromJson(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.)
Public Extension MethodFromJson(JsonValue)Overloaded.
Loads a list of facility identifier overrides from the specified JSON object, and adds them to the cache.
(Defined by AssemblyFacilityOverrideCacheExtensions.)
Public Extension MethodFromXmlOverloaded.
Loads a list of facility identifier overrides from the default XML file and adds them to the cache.
(Defined by AssemblyFacilityOverrideCacheExtensions.)
Public Extension MethodFromXml(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.)
Public Extension MethodFromXml(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.)
Public Extension MethodFromXml(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.)
Public Extension MethodFromXml(XmlReader)Overloaded.
Loads a list of facility identifier overrides from the specified XmlReader, and adds them to the cache.
(Defined by AssemblyFacilityOverrideCacheExtensions.)
Top
See Also