Microsoft.Practices.EnterpriseLibrary.Common Provides the friendly name of the app domain as the prefix in formatting a particular instance of a performance counter. Provides a pluggable way to format the name given to a particular instance of a performance counter. Each instance of a performance counter in Enterprise Library is given a name of the format "Name prefix - counter name" Creates the formatted instance name for a performance counter, providing the prefix for the instance. Performance counter name, as defined during installation of the counter Formatted instance name in form of "prefix - nameSuffix" Creates the formatted instance name for a performance counter, providing the Application Domain friendly name for the prefix for the instance. Performance counter name, as defined during installation of the counter Formatted instance name in form of "appDomainFriendlyName - nameSuffix" Provides a virtual PerformanceCounter interface that allows an application to maintain both individually named counter instances and a single counter total instance. Initializes a single performance counter instance named "Total" Performance counter category name, as defined during installation Performance counter name, as defined during installation Initializes multiple instances of performance counters to be managed by this object. Performance counter category name, as defined during installation Performance counter name, as defined during installation Param array of instance names to be managed Initializes this object with performance counters created externally. It is the responsibility of the external counter factory to create an instance for the "Total" counter. Param array of already initialized s to be managed by this instance. Clears the raw count associated with all managed performance counters Increments each performance counter managed by this instance. Increments by the given each performance counter managed by this instance. Amount by which to increment each counter Gets the current value of the given performance counter instance. Instance name of counter for which to get value. Value of the given performance counter. Sets the value of the given performance counter instance. Instance name of counter for which to set the value. Value to which the given instance should be set. Instantiates a performance counter, giving it the specified . Instance name to be given to the instantiated . Initialized . Gets the list of performance counter instances managed by this object. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Binds an event source to an event handler. Initializes this object with the source and listener objects to be bound together. Object owning the event that will be bound to Object owning the method that will be added as a handler for specified event. Adds specified as an event handler for the . Event on source object to which will be added. Method to be added as event handler for . Base class for attributes used to identify instrumentation producers or consumers. Initializes this instance with the instrumentation subject name. Subject name being produced or consumed Gets the subject name Defines methods that are consuming instrumentation events. Initializes this instance with the instrumentation subject name being consumed. Subject name of the event being consumed. Defines a class that will listen for instrumentation events broadcast by other classes and report them to system services. This attribute is placed on the class that is to be listened to to define the class that will listen to it. Initializes attribute with given . Initializes attribute with given . Instrumentation listener type to instantiate. Initializes attribute with given . Use when you need to specify an explicit binder class. Instrumentation listener type to instantiate. Instrumentation binder listener type to instantiate. Gets type of class to instantiate to listen for events. Gets type of class to use to bind an instance of the attributed class to an instance of the listener class Defines events that are producing instrumentation events. Initializes this object with the instrumentation subject name being produced. Subect name of event being produced. Defines those classes and structs that have some sort of resources that need to be installed. Defines a . Used by the reflection-based installers to prepare a performance counter for installation. Initializes this object with all data needed to install a . Performance counter name. Name of Help resource string. This is not the help text itself, but is the resource name used to look up the internationalized help text at install-time. Performance Counter type. Used to determine if the counter being installed has a base counter associated with it. True if counter being installed has a base counter associated with it. Gets the type. Get the name of Help resource string. This is not the help text itself, but is the resource name used to look up the internationalized help text at install-time. Gets the name. Gets and sets the base type. This is an optional property used when the counter being defined requires a base counter to operate, such as for averages, etc. Gets and sets the base help resource name. This is not the help text itself, but is the resource name used to look up the internationalized help text at install-time. This is an optional property used when the counter being defined requires a base counter to operate, such as for averages, etc. Gets and sets the base name. This is an optional property used when the counter being defined requires a base counter to operate, such as for averages, etc. Binds together source events and listener handler methods through reflection. Binds together source events and listener handler methods through reflection. Object containing events attributed with . Object containing handler methods attribute with . Provides a pluggable way to format the name given to a particular instance of a performance counter. This class does no formatting, returning the provided name suffix as the counter name. Returns the given as the created name. Performance counter name, as defined during installation of the counter Formatted instance name in form of "nameSuffix" A strongly-typed resource class, for looking up localized strings, etc. Returns the cached ResourceManager instance used by this class. Overrides the current thread's CurrentUICulture property for all resource lookups using this strongly typed resource class. Looks up a localized string similar to The exception that occured was: {0}. Looks up a localized string similar to An error occurred in application {0} in the {1}.. Looks up a localized string similar to The type '{0}' does not derive from IDictionary.. Looks up a localized string similar to The type '{0}' does not derive from IList.. Looks up a localized string similar to The [Assembler] attribute is not set in the configuration object type {0}.. Looks up a localized string similar to The assembler configured for type {0} has type {2} which is not compatible with type {1}.. Looks up a localized string similar to The base ConfigurationSourceElement configuration type can not be used as a concrete configuration element.. Looks up a localized string similar to The AssemblyQualifiedTypeNameConverter can only convert values of type '{0}'.. Looks up a localized string similar to The section {0} could not be saved because the file does not exist.. Looks up a localized string similar to The configuration file {0} could not be found.. Looks up a localized string similar to The configuration object for type '{0}' with name '{1}' has type '{2}' which is does not implement ICustomProviderData.. Looks up a localized string similar to The concrete type for polymorphic object named '{1}' in hierarchy {2} is not defined in configuration object {0}.. Looks up a localized string similar to The configuration source section is not found in the application configuration file.. Looks up a localized string similar to The [CustomFactory] attribute was not found on type {0} while processing request for id '{1}'.. Looks up a localized string similar to There was an error raising an event in . Looks up a localized string similar to The method with signature {0} is not a valid factory method to build type {1}.. Looks up a localized string similar to The type '{0}' cannot be resolved. Please verify the spelling is correct or that the full type name is provided.. Looks up a localized string similar to The configuration could not be found for name '{0}' in factory {1}.. Looks up a localized string similar to The type {0} does not contain the ConfigurationElementTypeAttribute.. Looks up a localized string similar to The type {0} does not have a public method annotated as an injection target as required by the use of injection.. Looks up a localized string similar to The type {0} does not have a static method with a TargetConstructorAttribuite suitable to create an object of type {1}.. Looks up a localized string similar to The type attribute does not exist on the element {0}.. Looks up a localized string similar to The parameter '{0}' for injection target '{1}' in type '{2}' is missing the injection interpretation attribute.. Looks up a localized string similar to The performance counter '{0}' in category '{1}' is redefined in type {2} with a different configuration.. Looks up a localized string similar to e {2}.. Looks up a localized string similar to The type {0} does not contain the ConfigurationDataRetrievalAttribute required to resolve named references.. Looks up a localized string similar to Could not retrieve parameter value. The property {0} does not exist for type {1}.. Looks up a localized string similar to The value can not be null or string or empty.. Looks up a localized string similar to The system configuration source is not defined in the configuration file.. Looks up a localized string similar to The type {0} from configuration could not be created.. Looks up a localized string similar to Type {0} is not an implementation of ICustomFactory for CustomFactoryAttribute.. Looks up a localized string similar to Type {0} is not an implementation of IConfigurationNameMapper for ConfigurationNameMapperAttribute.. Looks up a localized string similar to Type {0} is not an implementation of IConfigurationDataRetriever for ConfigurationDataRetrievalAttribute.. Looks up a localized string similar to The expected type '{0}' was not provided.. Looks up a localized string similar to File Configuration Source. Looks up a localized string similar to System Configuration Source. Represents a configuration converter that converts a string to based on a fully qualified name. Returns the assembly qualified name for the passed in Type. The container representing this System.ComponentModel.TypeDescriptor. Culture info for assembly Value to convert. Type to convert to. Assembly Qualified Name as a string Returns a type based on the assembly qualified name passed in as data. The container representing this System.ComponentModel.TypeDescriptor. Culture info for assembly. Data to convert. Type of the data This type supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Represents the implementation details for file-based configuration sources. This implementation deals with setting up the watcher over the configuration files to detect changes and update the configuration representation. It also manages the change notification features provided by the file based configuration sources. This field supports the Enterprise Library infrastructure and is not intended to be used directly from your code. ConfigSource value for sections that existed in configuration but were later removed. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Initializes a new instance of the class. The path for the main configuration file. trueif runtime changes should be refreshed, false otherwise. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Initializes a new instance of the class. The path for the main configuration file. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Retrieves the specified from the configuration file, and starts watching for its changes if not watching already. The section name. The section, or if it doesn't exist. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Sets up a watcher for under the name . A watcher will be created if the section is not already being watched. The watcher will be watching the file specified by . The name of the configuration section to watch. The configuration section to watch. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Adds a handler to be called when changes to section sectionName are detected. The name of the section to watch for. The handler. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Remove a handler to be called when changes to section sectionName are detected. The name of the section to watch for. The handler. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. The name of the updated configuration source. Only needs to deal with concurrency to get the current sections and to update the watchers. Rationale: - Sections' are only added or updated. - For this notification, all sections in the config file must be updated, and sections in external files must be refreshed only if the config source changed. - why not check after the original set of sections is retrieved? -- Sections might have been added to the listener set after the original set is retrieved, but... -- If they were added after the original set was retrieved, then they are up to date. --- For this to happen, they couldn't have been read before the o.s., otherwise they would be a listener for them. --- So, the retrieved information must be fresh (checked this with a test). -- What about other changes? --- Erased sections: only tested in the config file watching thread, because the meta configuration is kept in the configuration file. ---- Even if the external file an external is deleted because of the deletion, and this change is processed before the config file change, the refresh for the external section will refresh all the sections for the file and notify a change, without need for checking the change. The change would later be picked up by the config file watcher which will notify again. This shouldn't be a problem. --- External sections with changed sources. If they existed before, they must have been in the config file and there was an entry in the bookeeping data structures. - Concurrent updates for sections values should be handled by the system.config fx This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Refreshes the configuration sections from the main configuration file and determines which sections have suffered notifications and should be notified to registered handlers. A dictionary with the configuration sections residing in the main configuration file that must be refreshed. A dictionary with the configuration sections residing in external files that must be refreshed. A new collection with the names of the sections that suffered changes and should be notified. A new dictionary with the names and file names of the sections that have changed their location. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Refreshes the configuration sections from an external configuration file. A collection with the names of the sections that suffered changes and should be refreshed. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. The name of the updated configuration source. Releases the resources used by the change watchers. Represents a configuration converter that converts a byte array to and from a string representation by using base64 encoding. Returns whether this converter can convert an object of the given type to the type of this converter. An object. A that represents the type you want to convert from. if this converter can perform the conversion; otherwise, . Converts the given value to the type of this converter. An object. A object. An that represents the converted value. An that represents the converted value. Returns whether this converter can convert the object to the specified type. An object. A that represents the type you want to convert to.. true if the converter can convert to the specified type, false otherwise. Converts the given value object to the specified type, using the arguments. An object. A object. The to convert. The to convert the value parameter to. The converted value. Watcher for configuration sections in configuration files. This implementation uses a to watch for changes in the configuration files. Reacts to changes on the medium on which a set of configuration sections are serialized. The watcher on the underlying medium. Initializes a new instance of the class. The identification of the medium. true if changes should be notified, false otherwise. The callback for changes notification. Starts watching for changes on the serialization medium. Stops watching for changes on the serialization medium. Gets or sets the identification of the medium where the watched set of configuration sections is stored. Gets or sets the collection of watched sections. Gets the watcher over the serialization medium. Initializes a new instance of the class. The path for the configuration file to watch. The identification of the configuration source. true if changes should be notified, false otherwise. The callback for changes notification. Gets the full file name associated to the configuration source. The path for the main configuration file. The configuration source to watch. The path to the configuration file to watch. It will be the same as if is empty, or the full path for considered as a file name relative to the main configuration file. Represents the configuration settings that describe an . Represents a that has a name and type. Represents a named wher the name is the key to a collection. This class is used in conjunction with a . Represents the abstraction of an object with a name. Gets the name. Name of the property that holds the name of . Initialize a new instance of a class. Intialize a new instance of a class with a name. The name of the element. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Updates the configuration properties of the receiver with the information in the current element in the . The reader over the configuration file. Gets or sets the name of the element. The name of the element. Represents the abstraction of an object with a name and a type. Gets the type. Name of the property that holds the type of . Intialzie an instance of the class. Initialize an instance of the class The name of the element. The that this element is the configuration for. Gets or sets the the element is the configuration for. The the element is the configuration for. Gets or sets the fully qualified name of the the element is the configuration for. the fully qualified name of the the element is the configuration for. Initializes a new instance of the class with default values. Initializes a new instance of the class with a name and an type. The instance name. The type for the represented . Returns a new configured with the receiver's settings. A new configuration source. Contains factory methods to create configuration sources. Creates a new configuration sources based on the configuration information from the application's default configuration file. The name for the desired configuration source. The new configuration source instance described in the configuration file. when no configuration information is found for name . when is null or empty. Creates a new configuration sources based on the default configuration information from the application's default configuration file. The new configuration source instance described as the default in the configuration file, or a new instance of if the is no configuration sources configuration. when there is a configuration section but it does not define a default configurtion source, or when the configuration for the defined default configuration source is not found. Configuration section for the configuration sources. This configuration must reside in the application's default configuration file. Represents a configuration section that can be serialized and deserialized to XML. Returns the XML schema for the configuration section. A string with the XML schema, or (Nothing in Visual Basic) if there is no schema. Updates the configuration section with the values from an . The that reads the configuration source located at the element that describes the configuration section. Writes the configuration section values as an XML element to an . The that writes to the configuration source. This field supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Returns the from the application's default configuration file. The section from the configuration file, or (Nothing in Visual Basic) if the section is not present in the configuration file. Gets or sets the name for the default configuration source. Gets the collection of defined configuration sources. Event handler called after a configuration has changed. The source of the event. A that contains the event data. Initialize a new instance of the class with the section name The section name of the changes. Gets the section name where the changes occurred. The section name where the changes occurred. Initialize a new instance of the class with the configuration file, the section name, the old value, and the new value of the changes. The section name of the changes. The old value. The new value. Gets the old value. The old value. If no old value existed this value will be . Gets the new value. The new value. Determines if the changes should be cancled. if the changes should be cancled; otherwise, . Event handler called before the configuration is changed. The source of the event. A that contains the event data. Indicates the configuration object type that is used for the attributed object. Initialize a new instance of the class. Initialize a new instance of the class with the configuration object type. The of the configuration object. Gets the of the configuration object. The of the configuration object. Initialize a new instance of the class with the configuration file, the section name, the old value, and the new value of the changes. The configuration file where the change occured. The section name of the changes. Gets the configuration file of the data that is changing. The configuration file of the data that is changing. Initialize a new instance of the class with the configuration file, the section name, the old value, and the new value of the changes. The configuration file where the change occured. The section name of the changes. The old value. The new value. Gets the configuration file of the data that is changing. The configuration file of the data that is changing. Generic helper class for custom provider configuration objects. The helper class encapsulates the logic to manage an unknown set of properties in s. This logic cannot be inherited by the configuration objects because these objects must inherit from the base configuration object type for the hierarchy of providers the configuration object represents. The type of the custom provider configuration object. Collection of managed properties Initializes a new instance of the class for a configuration object. Concrete implementation of . true if the managed element has been modified. Concrete implementation of . The name of the unrecognized attribute. The value of the unrecognized attribute. true when an unknown attribute is encountered while deserializing. Concrete implementation of . The parent node of the configuration element. Sets the value to the specified attribute and updates the properties collection. The key of the attribute to set. The value to set for the attribute. Concrete implementation of . A object at the current level containing a merged view of the properties. The parent object, or a reference if this is the top level. A object that determines which property values to include. Returns whether the property name is known in advance, i.e. it is not a dynamic property. The property name. true if the property is known in advance, false otherwise. Gets the collection of custom attributes. Gets a of the properties that are defined for this configuration element when implemented in a derived class. A of the properties that are defined for this configuration element when implemented in a derived class. Represents a configuration source that is backed by a dictionary of named objects. Represents a source for getting configuration information. Retrieves the specified . The name of the section to be retrieved. The specified , or (Nothing in Visual Basic) if a section by that name is not found. Adds a to the configuration source location specified by and saves the configuration source. If a configuration section with the specified name already exists in the location specified by it will be replaced. The that represents the location where to save the updated configuration. The name by which the should be added. The configuration section to add. Removes a from the configuration source location specified by and saves the configuration source. The that represents the location where to save the updated configuration. The name of the section to remove. Adds a handler to be called when changes to the section named are detected. The name of the section to watch for. The handler for the change event to add. Removes a handler to be called when changes to section sectionName are detected. The name of the watched section. The handler for the change event to remove. This field supports the Enterprise Library infrastructure and is not intended to be used directly from your code. This field supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Initializes a new instance of the class. Retrieves the specified . The name of the section to be retrieved. The specified , or (Nothing in Visual Basic) if a section by that name is not found. Adds a to the configuration source. If a configuration section with the specified name already exists it will be replaced. The name by which the should be added. The configuration section to add. Removes a from the configuration source. The name of the section to remove. Removes a from the configuration source. The that represents the location where to save the updated configuration. It is ignored in by implementation. The name of the section to remove. Determines if a section name exists in the source. The section name to find. true if the section exists; otherwise, false. Adds a to the configuration source. If a configuration section with the specified name already exists it will be replaced. The that represents the location where to save the updated configuration. It is ignored in by implementation. The name by which the should be added. The configuration section to add. Adds a handler to be called when changes to the section named are detected. The name of the section to watch for. The handler for the change event to add. Removes a handler to be called when changes to section sectionName are detected. The name of the watched section. The handler for the change event to remove. Configuration parameter for file-based configuration sources. Represents a configuration parameter for an . Configuration parameters represent the configuration of a configuration source. Initializes a new instance of the class with a file name. The file name. Gets the file name. Represents a configuration source that retrieves configuration information from an arbitrary file. This configuration source uses a object to deserialize configuration, so the configuration file must be a valid .NET Framework configuration file. TODO: Add Comment TODO: Add Comment Initializes a new instance of the class with a configuration file path. The configuration file path. The path can be absolute or relative. Retrieves the specified . The name of the section to be retrieved. The specified , or (Nothing in Visual Basic) if a section by that name is not found. Adds a handler to be called when changes to section sectionName are detected. This call should always be followed by a . Failure to remove change handlers will result in .Net resource leaks. The name of the section to watch for. The handler. Remove a handler to be called when changes to section sectionName are detected. This class should always follow a call to . Failure to call these methods in pairs will result in .Net resource leaks. The name of the section to watch for. The handler. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Adds or replaces under name in the configuration file named and saves the configuration file. The name of the configuration file. The name for the section. The configuration section to add or replace. TODO: add comment This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Removes the configuration section named from the configuration file named and saves the configuration file. The name of the configuration file. The name for the section. Adds a to the configuration source location specified by and saves the configuration source. If a configuration section with the specified name already exists in the location specified by it will be replaced. The that represents the location where to save the updated configuration. Must be an instance of . The name by which the should be added. The configuration section to add. TODO: add comment Removes a from the configuration source location specified by and saves the configuration source. The that represents the location where to save the updated configuration. Must be an instance of . The name of the section to remove. Flushes the internal cache of the FileConfigurationSource. The path to the configuration that should have its caches flushed. tue if a ConfigurationFileWatcher should be setup to monitor changes to the configuration file, otherwise false. Represents the configuration settings that describe a . Initializes a new instance of the class with a default name and an empty path. Initializes a new instance of the class with a name and an path. The instance name. The file path. Returns a new configured with the receiver's settings. A new configuration source. Gets or sets the file path. This is a required field. This type supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Represents the implementation details for configuration sources over arbitrary files. Initializes a new instance of . The path for the main configuration file. Initializes a new instance of . A bool indicating if runtime changes should be refreshed or not. The path for the main configuration file. Retrieves a section from System.Configuration, and starts watching for its changes if not watching already. The section name. The section, or null if it doesn't exist. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Refreshes the configuration sections from the main configuration file and determines which sections have suffered notifications and should be notified to registered handlers. A dictionary with the configuration sections residing in the main configuration file that must be refreshed. A dictionary with the configuration sections residing in external files that must be refreshed. A new collection with the names of the sections that suffered changes and should be notified. A new dictionary with the names and file names of the sections that have changed their location. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Refreshes the configuration sections from an external configuration file. A collection with the names of the sections that suffered changes and should be refreshed. Represents a genereic enumerator for the NamedElementCollection. Represents the configuration settings for a custom provider. Gets the name for the represented provider. Gets the attributes for the represented provider. This interface must be implemented by configuration objects for custom providers that rely on a to perform the dynamic properties management. This interface is generic so that the helper can be strongly typed. The configuration object type. It must match the type implementing the interface. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Returns the value for the specified property using the inherited implementation. The property to get the value from. The value for the property. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Returns the modification status using the inherited implementation. true if the configuration element has been modified, false otherwise. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Resets the internal state of the configuration object using the inherited implementation. The parent node of the configuration element. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Sets the value for the specified property using the inherited implementation. The property to set the value to. The new value for the property. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Modifies the ConfigurationElement object to remove all values that should not be saved using the inherited implementation. A object at the current level containing a merged view of the properties. The parent ConfigurationElement object, or a null reference (Nothing in Visual Basic) if this is the top level. A object that determines which property values to include. Gets the helper that manages the configuration information. Represents a category on an ADM template file. Gets the name. Gest the list of sub categories. Gets the list of policies in a category. Represents a CHECKBOX part on an ADM template. Represents a part in an ADM template. Initializes a new instance of the class. The name for the part. The registry key for part, or if no key name is required for the part. The name for the registry value for the part. Writes the text representing the part to the . The to where the text for the part should be written to. Gets the registry key for the part, or if no key name is required for the part. Gets the name for the part. Gets the name for the registry value for the part. Gest the template representing the type of the part. Writes the text representing the part to the . The to where the text for the part should be written to. Gets the indication of whether the checkbox should be checked by default. Gets the indication of whether a value for the checked state should be added. Gets the indication of whether a value for the unchecked state should be added. Gest the template representing the type of the part. Represents a COMBOBOX part on an ADM template. Represents an EDITTEXT part on an ADM template. Initializes a new instance of the class. The name for the part. The registry key for part, or if no key name is required for the part. The name for the registry value for the part. The default value for the part, or if no default value is available. The maximum length for the part's value. The indication of whether values for the part are required. Writes the text representing the part to the . The to where the text for the part should be written to. Gets the default value for the part, or if no default value is available. Gets the maximum length for the part's value. Gets the indication of whether values for the part are required. Gest the template representing the type of the part. Writes the text representing the part to the . The to where the text for the part should be written to. Gets the list of suggested values for the part. Gest the template representing the type of the part. Represents the contents of an ADM template file. Initializes a new empty instance of the class. Writes the contents represented by the receiver to . The to where the contents should be written. Represents the process of building the contents of an ADM file. During the building process categories and policies are started and ended: several levels of nested categories can be started, but only one level of policies are allowed. When a category or policy is started, it becomes the current until it is ended. Parts are added to the current policy; parts are not started and stopped. String representing the value for a value in a drop down list. String representing the name of the registry value that represents the availability of a configuration element. The value names for policies are set to this name. Initializes a new instance of the class. The content that will be built. Starts a new category in the built content and makes it the current category. The name for the new category The category is created as a child of the current category, or as a top level category if there is no such current category. when there is an unfinished policy being built. Ends the current category. If the current category has a parent category, the parent category is made the current category. when there is no current category. when there is an unfinished policy being built. Starts a new policy on the current category. The name for the new policy. The registry key for the new policy. when there is no current category. when there is an unfinished policy being built. Ends the current policy. when there is no current policy. Adds a checkbox part to the current policy, with values for "on" and "off" states. The name for the new part. The value name for the new part. Whether the new part should be checked by default. when there is no current policy. Adds a checkbox part to the current policy. The name for the new part. The value name for the new part. Whether the new part should be checked by default. Whether a value should be set for the checked state. Whether a value should be set for the unchecked state. when there is no current policy. Adds a checkbox part to the current policy. The name for the new part. The registry key for the part, to override its policy's key. The value name for the new part. Whether the new part should be checked by default. Whether a value should be set for the checked state. Whether a value should be set for the unchecked state. when there is no current policy. Adds a combo box part to the current policy. The name for the new part. The value name for the new part. The default value for the new part, or if there is no such default value. The max length for the new part's values Whether values for the new part are mandatory. The suggested values for the new part. when there is no current policy. Adds a combo box part to the current policy. The name for the new part. The registry key for the part, to override its policy's key. The value name for the new part. The default value for the new part, or if there is no such default value. The max length for the new part's values Whether values for the new part are mandatory. The suggested values for the new part. when there is no current policy. Adds a new edit text part to the current policy. The name for the new part. The value name for the new part. The default value for the new part, or if there is no such default value. The max length for the new part's values Whether values for the new part are mandatory. when there is no current policy. Adds a new edit text part to the current policy. The name for the new part. The registry key for the part, to override its policy's key. The value name for the new part. The default value for the new part, or if there is no such default value. The max length for the new part's values Whether values for the new part are mandatory. when there is no current policy. Adds a new text part to the current policy. The name for the new part. when there is no current policy. Adds a new drop down list part to the current policy. The name for the new part. The value name for the new part. The list of items to include in the new part. The default value for the new part, or if there is no such default value. when there is no current policy. Adds a new drop down list part to the current policy. The name for the new part. The registry key for the part, to override its policy's key. The value name for the new part. The list of items to include in the new part. The default value for the new part, or if there is no such default value. when there is no current policy. Adds a new drop down list part to the current policy with items representing an enumeration's values. The enumeration type. The name for the new part. The value name for the new part. The default value for the new part. when there is no current policy. Adds a new drop down list part to the current policy with items representing an enumeration's values. The enumeration type. The name for the new part. The registry key for the part, to override its policy's key. The value name for the new part. The default value for the new part. when there is no current policy. Adds a new drop down list part to the current policy with items representing the elements in a configuration elements collection. The base class for the configuration elements in the collection. The name for the new part. The value name for the new part. The collection of configuration elements. The name for the default element, or if there is no such default name. Whether an additional entry to represent that no element is selected should be added. when there is no current policy. FxCop message CA1004 is supressed because it seems like the rule does not detect the existing 'elements' method parameter that uses the generic parameter T. Adds a new drop down list part to the current policy with items representing the elements in a configuration elements collection. The base class for the configuration elements in the collection. The name for the new part. The registry key for the part, to override its policy's key. The value name for the new part. The collection of configuration elements. The name for the default element, or if there is no such default name. Whether an additional entry to represent that no element is selected should be added. when there is no current policy. FxCop message CA1004 is supressed because it seems like the rule does not detect the existing 'elements' method parameter that uses the generic parameter T. Adds a new numeric part to the current policy. The name for the new part. The value name for the new part. The default value for the new part, or if there is no such default value. when there is no current policy. Adds a new numeric part to the current policy. The name for the new part. The registry key for the part, to override its policy's key. The value name for the new part. The default value for the new part, or if there is no such default value. when there is no current policy. Adds a new numeric part to the current policy. The name for the new part. The registry key for the part, to override its policy's key. The value name for the new part. The default value for the new part, or if there is no such default value. The minimum value, or if there is no minimum value. The maximum value, or if there is no maximum value. when there is no current policy. Represents an item in a drop down list. Initializes a new instance of the class. The item name. The item value. Gets the name of the item. Gets the value of the item. Represents a DROPDOWNLIST part on an ADM template. Writes the text representing the part to the . The to where the text for the part should be written to. Gets the default value for the part. Gets the list of name/value pairs for the part. Gest the template representing the type of the part. Encapsulates the process to generate the ADM template contents to represent the configuration information contained in a , delegating to registered instances the generation of the specific contents for each section. Generates the ADM template contents that represent the configuration information in The configuration source holding the configuration sections. The applicationName to be used when generating the ADM policy keys. The mapping from section names to the The generated content. instances that generate the ADM contents. Both MACHINE and USER policies are generated. Represents a NUMERIC part in an ADM template. Writes the text representing the part to the . The to where the text for the part should be written to. Gets the default value for the part, or if no default value is available. Gets the maximum value for the part, or if no maximum value is available. Gets the minimum value for the part, or if no minimum value is available. Gest the template representing the type of the part. Represents a policy in an ADM template. Gets the registry key for the policy. Gets the parts for the policy. Gets the name for the policy. Gets the registry value name for the policy, or if no value name is required for the policy. Represents a TEXT part in an ADM template. Gest the template representing the type of the part. Manages the configuration file watchers for a collection of configuration sections. Represents the behavior required to provide Group Policy updates and to publish the instances associated to a . Subclasses define the implementation necessary to provide manageability for a specific type of configuration element. Element providers are usually necessary when dealing with collections of , as the concrete type of the elements in the collections is only known at runtime, and it is possible that the elements are defined in 'extension' assemblies. Element providers are registered with the configuration element types they provide manageability to using the attribute, which is bound to assemblies. Element providers are also responsible for generating the ADM instructions that describe the policies that can be used to override the values in the configuration elements. Usually the ADM instructions generated by element providers consist of a single policy with parts that map to the specific configuration element instance of the type the provider manages. This is not mandatory, however, and the ADM instructions generated by element providers must be consistent with the ADM structure determined by the section provider that interacts with them. ADM instructions must be generated for each element instance in a given context, using the elements' names to build each instruction key. The name of the value used to hold policy enablement status. Initializes a new instance of the class. Adds the ADM instructions that describe the policies that can be used to override the properties of a specific instance of the configuration element type managed by the receiver. The to which the Adm instructions are to be appended. The configuration object instance. The configuration source from where to get additional configuration information, if necessary. The key path for which the generated instructions' keys must be subKeys of. ADM instructions are generated on a per-instance basis. Overrides the 's properties with the Group Policy values from the registry, if any, and creates the instances that describe the configurationObject. The configuration object for instances that must be managed. if Group Policy overrides must be applied; otherwise, . The which holds the Group Policy overrides for the configuration element at the machine level, or if there is no such registry key. The which holds the Group Policy overrides for the configuration element at the user level, or if there is no such registry key. if WMI objects must be generated; otherwise, . A collection to where the generated WMI objects are to be added. if the policy settings do not disable the configuration element, otherwise . when the type of is not the type . Logs an error detected while overriding a configuration object with policy values. The exception representing the error. Specifies which must be used to provide manageability for instances a given subclass. Manageability providers for configuration elements are registered both to the configuration element type and the manageability provider for the configuration section where the configuration element resides. The attribute is bound to assemblies. Initializes a new instance of the class. The type. The type. The type. Gets the registered type. Gets the type for which the registered type provides manageability. Gets the registered to manage the section where the instances managed by the registered type reside. Provides a default implementation for that splits policy overrides processing and WMI objects generation, performing approriate logging of policy processing errors. The managed configuration element type. Must inherit from . Adds the ADM instructions that describe the policies that can be used to override the properties of a specific instance of the configuration element type managed by the receiver. The to which the Adm instructions are to be appended. The configuration object instance. The configuration source from where to get additional configuration information, if necessary. The key path for which the generated instructions' keys must be subKeys of. Class provides a default implementation for this method that calls the strongly typed method. Adds the ADM instructions that describe the policies that can be used to override the properties of a specific instance of the configuration element type managed by the receiver. The to which the Adm instructions are to be appended. The configuration object instance. The configuration source from where to get additional configuration information, if necessary. The key for the element's policies. The default implementation for this method creates a policy, using to create the policy name and invoking to add the policy parts. Subclasses managing objects that must not create a policy must override this method to just add the parts. Adds the ADM parts that represent the properties of a specific instance of the configuration element type managed by the receiver. The to which the Adm instructions are to be appended. The configuration object instance. The configuration source from where to get additional configuration information, if necessary. The key for the element's policies. Subclasses managing objects that must not create a policy will likely need to include the elements' keys when creating the parts. Overrides the 's properties with the Group Policy values from the registry, if any, and creates the instances that describe the configurationObject. The configuration object for instances that must be managed. if Group Policy overrides must be applied; otherwise, . The which holds the Group Policy overrides for the configuration element at the machine level, or if there is no such registry key. The which holds the Group Policy overrides for the configuration element at the user level, or if there is no such registry key. if WMI objects must be generated; otherwise, . A collection to where the generated WMI objects are to be added. if the policy settings do not disable the configuration element, otherwise . when the type of is not the type . Provides a default implementation that performs appropriate logging of errors when processing policy overrides. ConfigurationElementManageabilityProvider.OverrideWithGroupPoliciesAndGenerateWmiObjects Overrides the 's properties with the Group Policy values from the registry. The configuration object for instances that must be managed. The which holds the Group Policy overrides for the configuration element. Subclasses implementing this method must retrieve all the override values from the registry before making modifications to the so any error retrieving the override values will cancel policy processing. Creates the instances that describe the configurationObject. The configuration object for instances that must be managed. A collection to where the generated WMI objects are to be added. Gets the template for the name of the policy associated to the object. Elements that override to avoid creating a policy must still override this property. This type supports the Enterprise Library Manageability Extensions infrastructure and is not intended to be used directly from your code. Encapsulates the logic to retrieve the attributes for registered manageability providers from assembly dll files. This type supports the Enterprise Library Manageability Extensions infrastructure and is not intended to be used directly from your code. Initializes a new instance of the class that will retrieve attributes from the assemblies located in the running application's base directory. This type supports the Enterprise Library Manageability Extensions infrastructure and is not intended to be used directly from your code. Initializes a new instance of the class that will retrieve attributes from the assemblies located in the given directory. The directory where to look for assembly files. This type supports the Enterprise Library Manageability Extensions infrastructure and is not intended to be used directly from your code. Initializes a new instance of the class that will retrieve attributes from the given assembly names. The name of the assemblies where to look for attributes. Loads the assemblies specified by the assembly names and retrieves the manageability provider attributes from them. The attributes are stored for later use. Retrieves the attributes of type from the given assembly. This type supports the Enterprise Library Manageability Extensions infrastructure and is not intended to be used directly from your code. Gets the retrieved instances. This type supports the Enterprise Library Manageability Extensions infrastructure and is not intended to be used directly from your code. Gets the retrieved instances. Represents the behavior required to provide Group Policy updates and to publish the instances associated to a . Subclasses define the implementation necessary to provide manageability for a specific type of configuration section. Section providers delegate the manageability support for internal configuration elements to registered instances of when collections of heterogeneous elements are involved and the concrete type of the configuration elements is unknown in advance. Section providers are registered with the configuration section name they provide manageability to using the attribute, which is bound to assemblies. Section providers are also responsible for generating the ADM instructions that describe the policies that can be used to override the values for all the configuration settings in the section. Usually the ADM instructions generated for a section consist of a policy for block-wide settings and one policy for each configuration element in a collection; however some sections might require a different structure. Manageability providers for elements in a section must be consistent with the ADM structure defined by the section's manageability provider. The name of the value used to hold policy enablement status. Initializes a new instance of the class with a given set of manageability providers for the elements in the section's collections. The mapping from configuration element type to . Adds the ADM instructions that describe the policies that can be used to override the configuration information represented by a configuration section. The to which the Adm instructions are to be appended. The configuration section instance. The configuration source from where to get additional configuration information, if necessary. The key path for which the generated instructions' keys must be sub keys of. Overrides the 's and its internal configuration elements' properties with the Group Policy values from the registry, if any, and creates the instances that describe the configuration. The configuration section that must be managed. if Group Policy overrides must be applied; otherwise, . The which holds the Group Policy overrides for the configuration section at the machine level, or if there is no such registry key. The which holds the Group Policy overrides for the configuration section at the user level, or if there is no such registry key. if WMI objects must be generated; otherwise, . A collection to where the generated WMI objects are to be added. if the policy settings do not disable the configuration section, otherwise . when the type of is not the type . Returns the instance registered for type . The configuration element type of the instance needing management. The manageability provider registered to manage the type, or if no provider is registered for the type. Utility method that loads sub keys at the machine and user level. The name of the required sub key. The parent key at the machine level, or if there is no registry key. The parent key at the user level, or if there is no registry key. When this method returns, contains a reference to the sub key of named , or if either machineKey is or it does not have a sub key with the requested name. When this method returns, contains a reference to the sub key of named , or if either userKey is or it does not have a sub key with the requested name. Utility method that closes registry keys. The registry keys to close. Adds the ADM instructions that describe the policies that can be used to override the configuration information for the elements in a collection of configuration elements, using the registered element manageability providers for each element. A new category and one policy for each element in the collection are generated; the element manageability providers are responsible for generating the policies. Elements for which no manageability provider is registered are ignored. The base type for the configuration elements collection. The to which the Adm instructions are to be appended. The collection of configuration elements. The configuration source from where to get additional configuration information, if necessary. The key path for which the generated instructions' keys must be sub keys of. The name for the category where the generated policies will be created. FxCop message CA1004 is supressed because it seems like the rule does not detect the existing 'elements' method parameter that uses the generic parameter T. Adds the ADM instructions that describe the policies that can be used to override the configuration information for the element using the supplied element manageability provider. The base type for the configuration element. The to which the Adm instructions are to be appended. The configuration element. The used to append the ADM instructions for the element. The configuration source from where to get additional configuration information, if necessary. The key path for which the generated instructions' keys must be sub keys of. Overrides the properties for the configuration elements in the given collection, and creates the instances that describe each element. The base type for the configuration elements collection. The collection of configuration elements. The name of the sub key where the policy values for the elements in the collection reside. if Group Policy overrides must be applied; otherwise, . The which holds the Group Policy overrides for the configuration section at the machine level, or if there is no such registry key. The which holds the Group Policy overrides for the configuration section at the user level, or if there is no such registry key. if WMI objects must be generated; otherwise, . A collection to where the generated WMI objects are to be added. This method assumes a specific layout for the policy values: there is a registry key representing the collection of elements, and a sub key with the policy values for each element. An element's sub key may also contains a value stating whether the policy for an element is disabled; in that case the element is removed from the collection. Such a layout for the policy values can be constructed manually, or method can be invoked during the construction of the ADM template to generate it. FxCop message CA1004 is supressed because it seems like the rule does not detect the existing 'elements' method parameter that uses the generic parameter T. Overrides the properties for the configuration element and creates the instances that describe it. The base type for the configuration elements collection. The configuration element. The used to override the element's properties and create the wmi objects. if Group Policy overrides must be applied; otherwise, . The which holds the Group Policy overrides for the configuration section at the machine level, or if there is no such registry key. The which holds the Group Policy overrides for the configuration section at the user level, or if there is no such registry key. if WMI objects must be generated; otherwise, . A collection to where the generated WMI objects are to be added. if the policy settings do not disable the configuration element, otherwise . This method assumes a specific layout for the policy values: there is a registry key representing the collection of elements, and a sub key with the policy values for each element. An element's sub key may also contains a value stating whether the policy for an element is disabled; in that case the element is removed from the collection. Such a layout for the policy values can be constructed manually, or method can be invoked during the construction of the ADM template to generate it. Returns the registry key that represents a policy. The key for the policy on the machine tree. The key for the policy on the user tree. The if it is not and it represents a policy; otherwise the if it is not and it represents a policy, otherwise . IRegistryKey.IsPolicyKey Logs an error detected while overriding a configuration object with policy values. The exception representing the error. Specifies which must be used to provide manageability for a configuration section. Manageability providers for configuration sections are registered to configuration section name. The attribute is bound to assemblies. Initializes a new instance of the class. The name of the section that needs manageability. The type. Gets the name of the for which the registered type provides manageability. Gets the registered type. Provides a default base implementation for that splits policy override processing and WMI object generation for the section, performing appropriate logging of policy processing errors, from policy override processing and WMI object generation for configuration objects contained by the section. Initializes a new instance of the class with a given set of manageability providers for the elements in the section's collections. The mapping from configuration element type to . Adds the ADM instructions that describe the policies that can be used to override the configuration information represented by a configuration section. The to which the Adm instructions are to be appended. The configuration section instance. The configuration source from where to get additional configuration information, if necessary. The key path for which the generated instructions' keys must be sub keys of. Adds the ADM instructions that describe the policies that can be used to override the configuration information represented by a configuration section. The to which the Adm instructions are to be appended. The configuration section instance. The configuration source from where to get additional configuration information, if necessary. The root key for the section's policies. Overrides the 's and its internal configuration elements' properties with the Group Policy values from the registry, if any, and creates the instances that describe the configuration. The configuration section that must be managed. if Group Policy overrides must be applied; otherwise, . The which holds the Group Policy overrides for the configuration section at the machine level, or if there is no such registry key. The which holds the Group Policy overrides for the configuration section at the user level, or if there is no such registry key. if WMI objects must be generated; otherwise, . A collection to where the generated WMI objects are to be added. if the policy settings do not disable the configuration section, otherwise . when the type of is not the type . Overrides the 's properties with the Group Policy values from the registry. The configuration section that must be managed. The which holds the Group Policy overrides. Subclasses implementing this method must retrieve all the override values from the registry before making modifications to the so any error retrieving the override values will cancel policy processing. Creates the instances that describe the . The configuration section that must be managed. A collection to where the generated WMI objects are to be added. Overrides the 's configuration elements' properties with the Group Policy values from the registry, if any, and creates the instances that describe these configuration elements. The configuration section that must be managed. if Group Policy overrides must be applied; otherwise, . The which holds the Group Policy overrides for the configuration section at the machine level, or if there is no such registry key. The which holds the Group Policy overrides for the configuration section at the user level, or if there is no such registry key. if WMI objects must be generated; otherwise, . A collection to where the generated WMI objects are to be added. Errors detected while processing policy overrides for the configuration elements in the section must be logged but processing for other objects must not be interrupted. Gets the name of the category that represents the whole configuration section. Gets the name of the managed configuration section. Represents the configuration settings that describe an . Initializes a new instance of the class with default values. Initializes a new instance of the class. The name of the configuration element. The type. The type that is managed by the provider type. Gets or sets the type that is managed by the provider type. Represents the configuration settings that describe an . Initializes a new instance of the class with default values. Initializes a new instance of the class. The name for the configuration section that is managed by the provider type. The type. Gets the collection of that represent the instances that the instance represented by the receiver might require to provide manageability to configuration elements. Represents the configuration settings that describe a . Represents the minimum application name length allowed. Represents the maximumapplication name length allowed. Initializes a new instance of the class with default values. Initializes a new instance of the class. The instance name. The path to the configuration file. The name that identifies the application consuming the configuration information. Initializes a new instance of the class. The instance name. The path to the configuration file. The name that identifies the application consuming the configuration information. if Group Policy overrides must be appliedby the represented configuration source; otherwise, . if Wmi objects must be generated by the represented configuration source; otherwise, . Returns a new configured with the receiver's settings. A new configuration source. Gets or sets the file path. Gets or sets the application. This is a required field. Gets or sets the value for Wmi enablement. Gets or sets the value for GP enablement. Gets the collection of registered types necessary to provide manageability by the represented configuration source. Base class for implementations that provide manageability support for custom provider's configuration. The custon provider's configuration element type. The basic configuration for a custom provider includes the provider type and a collection of attributes. Name for the value holding the policy overrides for the custom provider's type. Name for the value holding the policy overrides for the custom provider's attributes. Initializes a new instance of the class with a policy name template. The template to use when generating the policy associated to a custom provider configuration instance. Adds the ADM parts that represent the properties of a specific instance of the configuration element type managed by the receiver. The to which the Adm instructions are to be appended. The configuration object instance. The configuration source from where to get additional configuration information, if necessary. The key for the element's policies. Subclasses that manage custom provider's configuration objects with additional properties may override this method to add the corresponding parts. Overrides the 's properties with the Group Policy values from the registry. The configuration object for instances that must be managed. The which holds the Group Policy overrides for the configuration element. Subclasses that manage custom provider's configuration objects with additional properties may override this method to override these properties. Creates the instances that describe the configurationObject. The configuration object for instances that must be managed. A collection to where the generated WMI objects are to be added. Creates a new that represents the configuration object. The configuration object to create the setting for. The representation of the configuration objects' attributes as a key/value pair array. The that represents the configuration object. Returns a string with the encoded key/value pairs that represent the collection. The collection of attributes. The encoded representation of the attributes collection. Gets the template for the name of the policy associated to the object. The policy watcher can be started and stopped many times. To deal with this, when a watcher thread is started it is given an 'exit' event that will be signaled when the thread needs to be stopped. Once the thread is started it own the exit event, and will release it when it terminates. More than one watching thread may be active at the same time, having different exit events, if the old watching thread doesn't get processing time before the new thread is started; when the old thread gets to run it will consume the signaled exit event and finish. Installer for the WMI objects defined in the assembly. This member supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Provides the installer for the Core library, installing WMI Events and event log sources defined for this library. Initializes the installer. This member supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Required designer variable. Clean up any resources being used. true if managed resources should be disposed; otherwise, false. Required method for Designer support - do not modify the contents of this method with the code editor. Overrides the 's properties with the Group Policy values from the registry. The configuration section that must be managed. The which holds the Group Policy overrides. Creates the instances that describe the . The configuration section that must be managed. A collection to where the generated WMI objects are to be added. Overrides the 's configuration elements' properties with the Group Policy values from the registry, if any, and creates the instances that describe these configuration elements. The configuration section that must be managed. if Group Policy overrides must be applied; otherwise, . The which holds the Group Policy overrides for the configuration section at the machine level, or if there is no such registry key. The which holds the Group Policy overrides for the configuration section at the user level, or if there is no such registry key. if WMI objects must be generated; otherwise, . A collection to where the generated WMI objects are to be added. Gets the name of the category that represents the whole configuration section. Gets the name of the managed configuration section. Provides a way to publish and revoke WMI objects. This interface allows for unit testing without actually publishing the WMI objects. Makes an instance visible through management instrumentation. The object that is to be visible through management instrumentation. Makes an instance that was previously published through the Publish method no longer visible through management instrumentation. The object to remove from visibility for management instrumentation. Provides access to the registry. This interface allows for unit testing without requiring access to the machine's registry. Gets registry key HKCU. Gets registry key HKLM. Provides access to a registry key sub keys and values. This interface allows for unit testing without requiring access to the machine's registry. Closes the registry key. Gets the boolean value represented by the value for requested name in the registry key. An integer value of 1 is considered true, any other value is considered false. The name of the value to get. The boolean value for the requested name in the registry key. when there is no value for the given name, or the value exists but it is not an integer representing a boolean. Gets the enum value for the given name. The name of the value to get. The enum value of type represented by the value for the requested name in the registry key. when there is no value for the given name, or the value exists but it is not an string, or it is a string value but it is not a valid value name for enum type . The enum type. FxCop message CA1004 is supressed because the T parameter is used to drive the type of the method return value, so it is not possible to provide a method parameter that enables generic parameter inference. Gets the integer value for the given name. The name of the value to get. The integer value for the requested name in the registry key. when there is no value for the given name, or the value exists but it is not an integer. Gets the string value for the given name. The name of the value to get. The string value for the requested name in the registry key. when there is no value for the given name, or the value exists but it is not a string. Gets the value for the given name. The name of the value to get. The instance of represented by the value for the requested name in the registry key. when there is no value for the given name, or the value exists but it is not an string, or it is a string value but it is not a valid type name. Gets the names for the values. The value names. Gets the sub key for the given key name. The name fo the key to get. The sub key with the requested name if it exists; otherwise . Gets the indication of whether the registry key represents a policy. Gets the full name of the registry key. Represents the logic to encode key/value pairs into a string of semicolon separated entries. Initializes a new instance of the class. Adds a key/value pair to the encoded string being built. The key of the pair. The value of the pair. Gets the encoded key/value pairs string built. Returns a string representing a single encoded key/value pair. The key of the pair. The value of the pair. The encoded key/value pair. Returns a string representing a single encoded key/value pair with semicolons escaped if appropriate. The key of the pair. The value of the pair. if semicolons should be escaped; otherwise . The encoded key/value pair. Helper class to extract a key/value pair collection from an encoded string of semicolon separated key/value pairs. Extracts the key/value pairs encoded in , adding them to . The string where the key/value pairs are encoded. The dictionary where the extracted key/value pairs should be added. Provides logging services to the Enterprise Library Manageability Extensions. Logs an error detected while overriding a configuration object with policy values. The exception representing the error. Logs an error. The exception representing the error. The title that describes the error. Represents a configuration source that retrieves configuration information from an arbitrary file, overrides the configuration information with values from the registry's group policy keys, and publishes WMI objects that represent the configuration information. This configuration source uses a object to deserialize configuration, so the configuration file must be a valid .NET Framework configuration file. Multiple instances of can be created with a given configuration; however instances with the same configuration will share the same configuration objects, and WMI objects will be published only once regardless of how many instances there are. Initializes a new instance of the class. The configuration file path. The path can be absolute or relative. The that will provide manageability for each configuration section. if Group Policy overrides must be applied; otherwise, . if WMI objects must be generated; otherwise, . The name of the running application. This name is used to look for policy overrides and to identify the published WMI objects. Retrieves the specified . The name of the section to be retrieved. The specified , or if a section by that name is not found. Adds a handler to be called when changes to section sectionName are detected. This call should always be followed by a . Failure to remove change handlers will result in .Net resource leaks. The name of the section to watch for. The handler. Remove a handler to be called when changes to section sectionName are detected. This class should always follow a call to . Failure to call these methods in pairs will result in .Net resource leaks. The name of the section to watch for. The handler. Adds a to the configuration source location specified by and saves the configuration source. This operation is not implemented. Removes a from the configuration source location specified by and saves the configuration source. This operation is not implemented. Manages the singleton instance for a given file name, application name and group policy enablement combination. A strongly-typed resource class, for looking up localized strings, etc. Returns the cached ResourceManager instance used by this class. Overrides the current thread's CurrentUICulture property for all resource lookups using this strongly typed resource class. Looks up a localized string similar to Expected an instance of InstrumentationConfigurationSection.. Looks up a localized string similar to Expected and instance of '{0}' but got an instance of '{1}' instead.. Looks up a localized string similar to Attributes. Looks up a localized string similar to Type. Looks up a localized string similar to A started category is required to perform the operation.. Looks up a localized string similar to A started policy is required to perform the operation.. Looks up a localized string similar to A policy construction is in process.. Looks up a localized string similar to The built content is requested but there are outstanding categories being built.. Looks up a localized string similar to The default value is above the max value for part '{0}' on policy '{1}': {2} vs {3}.. Looks up a localized string similar to The default value is below the min value for part '{0}' on policy '{1}': {2} vs {3}.. Looks up a localized string similar to The default value for part '{0}' on policy '{1}' is longer than the max length {2}.. Looks up a localized string similar to Registry key path contains invalid characters or is missing parts: '{0}'. Looks up a localized string similar to The default value is invalid: '{0}'. Looks up a localized string similar to The max len of {2} is invalid on part '{0}' for policy '{1}'. The allowed values are 0-1024.. Looks up a localized string similar to String '{0}' is not a valid name on an ADM template.. Looks up a localized string similar to The suggestion is invalid: '{0}'. Looks up a localized string similar to Min value is larger than max value for part '{0}' on policy '{1}': {2} vs {3}.. Looks up a localized string similar to The numeric constraint '{2}' for part '{0}' on policy '{1}' is outside the allowed range. The valued values are 0-999999999. . Looks up a localized string similar to Path segment over 255 chars in length for registry key: '{0}'. Looks up a localized string similar to Registry value name over 255 chars in length: '{0}'. Looks up a localized string similar to The application name cannot be longer than 255 characters.. Looks up a localized string similar to The parameter is an empty string. Looks up a localized string similar to Group policy processing could not be locked prior to reading the registry. Looks up a localized string similar to The configuration file {0} could not be found.. Looks up a localized string similar to Exception caught from callback for change on section '{0}' calling method '{1}'. Looks up a localized string similar to An error was detected while a configuration element's properties were being overriden with policy values.. Looks up a localized string similar to There is no value with name '{1}' on key '{0}'.. Looks up a localized string similar to The value for '{1}' on key '{0}' is not a valid value name for enum type '{2}': '{3}'. Looks up a localized string similar to The value for '{1}' on key '{0}' is not a valid assembly qualified type name: '{2}'. Looks up a localized string similar to The value for '{1}' on key '{0}' is not of the correct type: Expected {2} but got {3} instead.. Looks up a localized string similar to The value can not be null or string or empty.. Looks up a localized string similar to Unexpected error while processing section '{0}'. Looks up a localized string similar to The expected type '{0}' was not provided.. Looks up a localized string similar to Group policy notification thread. Looks up a localized string similar to Instrumentation. Looks up a localized string similar to Event logging enabled. Looks up a localized string similar to Performance counters enabled. Looks up a localized string similar to Specify settings for the instrumentation section. Looks up a localized string similar to WMI enabled. Looks up a localized string similar to Manageable Configuration Source. Looks up a localized string similar to Updates to configuration through the ManageableConfigurationSource are not supported. Use the FileConfigurationSource instead.. Looks up a localized string similar to None. Represents an error that occurs while accessing the registry. Initializes a new instance of the class. Initializes a new instance of the class with a specified error message. The message that describes the error. Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. The message that describes the error. The inner exception reference. Initializes a new instance of the class with serialized data. The that holds the serialized object data about the exception being thrown. The that contains contextual information about the source or destination. Provides access to a registry key sub keys and values. Closes the registry key. Gets an actual value from the registry. The name of the value to get. The value from the registry, or if there is no such value. Gets the sub key for the given key name. The name fo the key to get. The sub key with the requested name if it exists; otherwise . Gets the boolean value represented by the value for requested name in the registry key. An integer value of 1 is considered true, any other value is considered false. The name of the value to get. The boolean value for the requested name in the registry key. when there is no value for the given name, or the value exists but it is not an integer representing a boolean. Gets the enum value for the given name. The name of the value to get. The enum value of type represented by the value for the requested name in the registry key. when there is no value for the given name, or the value exists but it is not an string, or it is a string value but it is not a valid value name for enum type . The enum type. Gets the integer value for the given name. The name of the value to get. The integer value for the requested name in the registry key. when there is no value for the given name, or the value exists but it is not an integer. Gets the string value for the given name. The name of the value to get. The string value for the requested name in the registry key. when there is no value for the given name, or the value exists but it is not a string. Gets the value for the given name. The name of the value to get. The instance of represented by the value for the requested name in the registry key. when there is no value for the given name, or the value exists but it is not an string, or it is a string value but it is not a valid type name. Gets the names for the values. The value names. Gets the sub key for the given key name. The name fo the key to get. The sub key with the requested name if it exists; otherwise . when is . when is not a valid name. Gets the indication of whether the registry key represents a policy. Gets the full name of the registry key. Represents a subset of a running application's configuration as an instrumentation instance class. Class is the base of the hierarchy of classes that represent configuration information as WMI objects. It allows generic queries to be written to retrieve all the configuration information published for a given application. Properties and provide a way to filter the required information to a single application or configuration section. Initializes a new instance of the class. Gets the name of the application to which the instance represents configuration information. Gets the name of the section where the instance represented configuration information resides. Represents the configuration information for the Instrumentation features provided by the Enterprise Library. Gets the event logging enablement status on the represented instrumentation configuration. Gets the performance counter enablement status on the represented instrumentation configuration. Gets the wmi enablement status on the represented instrumentation configuration. Represents a subset of a running application's configuration identifiable by name as an instrumentation instance class. Class instances usually represent configuration information residing in instances of a subclass of . Initializes a new instance of the class with the given . The name that identifies the represented configuration information Gets the name that identifies the represented configuration information. Represents a collection of objects. A newable object that inherits from . Performs the specified action on each element of the collection. The action to perform. Gets the configuration element at the specified index location. The index location of the to return. The at the specified index. Add an instance of to the collection. An instance of . Gets the named instance of from the collection. The name of the instance to retrieve. The instance of with the specified key; otherwise, . Determines if the name exists in the collection. The name to search. if the name is contained in the collection; otherwise, . Remove the named element from the collection. The name of the element to remove. Clear the collection. Returns an enumerator that iterates through the collection. An enumerator that iterates through the collection. Creates a new instance of a object. A new . Gets the element key for a specified configuration element when overridden in a derived class. The to return the key for. An that acts as the key for the specified . Represesnts a collection of objects. The type of object this collection contains. The type used for Custom configuration elements in this collection. Represents the base class from which all implementations of polymorphic configuration collections must derive. The type contained in the collection. Called when an unknown element is encountered while deserializing the object. The name of the element. The used to deserialize the element. if the element was handled; otherwise, . When overriden in a class, get the configuration object for each object in the collection. The that is deserializing the element. Creates a new . A new . Creates a new named . The name of the element to create. A new . Reverses the effect of merging configuration information from different levels of the configuration hierarchy. A object at the current level containing a merged view of the properties. The parent object of the current element, or a reference (Nothing in Visual Basic) if this is the top level. One of the values. Get the configuration object for each object in the collection. The that is deserializing the element. Represents a null configuration source that always returns null for a section. Returns null for the section. The section name to retrieve. Always . Null implementation of that ignores the request. The that represents the location where to save the updated configuration. The name by which the should be added. The configuration section to add. Null implementation of that ignores the request. The that represents the location where to save the updated configuration. The name of the section to remove. Adds a handler to be called when changes to section sectionName are detected. The name of the section to watch for. The handler. Remove a handler to be called when changes to section sectionName are detected. The name of the section to watch for. The handler. Specifies what assembler type to use to build a concrete type in a polymorphic provider hierarchy for the type described by the configuration object this attribute is bound to. This class cannot be inherited. The specified type must implement the interface. The attribute is used on configuration objects to specify the build process create a provider based on the information in the configuration object. The attribute is used by the implementation of the interface, that provides a generic way to build polymorphic providers. Initializes a new instance of the class. The type that implements the interface. Returns the assembler type. Represents a generic process to build objects of a polymorphic hierarchy based on a single configuration object. This custom factory will rely assemblers to do the actual building out for a concrete type. Assemblers are implementations of the interface. Concrete configuration objects must have an Assembler attribute to allow the factory to determine how the configuration should be interpreted. The interface or the base type to build. The base configuration object type. Represents a generic process to build objects of a polymorphic hierarchy based on a single configuration object. This custom factory will rely assemblers to do the actual building out for a concrete type. Assemblers are implementations of the interface. Concrete configuration objects must have an Assembler attribute to allow the factory to determine how the configuration should be interpreted. The interface or the base type to build. The base configuration object type. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Returns a new instance of a concrete subtype of , described by the matching configuration object of a concrete subtype of in . The that represents the current building process. The configuration object that describes the object to build. The source for configuration objects. The cache to use retrieving reflection information. A new instance of the appropriate subtype of . Represents the process to build instances of a type. Custom factories are used by the strategy to create Enterprise Library objects. Usually factories will query a configuration source for the configuration objects that describe the requested object, and will perform the necessary conversions on the configuration information to create an instance of the type. The objects the factory can build can be part of a hierarchy. Type provides a generic implementation of a factory that builds polymorphic hierarchies. Returns an new instance of the type the receiver knows how to build. The that represents the current building process. The name of the instance to build, or null. The source for configuration objects. The cache to use retrieving reflection information. The new instance. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Returns a new instance of a concrete subtype of , described by the matching configuration object of a concrete subtype of found in the under the name . The that represents the current building process. The name of the instance to build, or null. The source for configuration objects. The cache to use retrieving reflection information. A new instance of the appropriate subtype of . when the configuration is invalid or cannot be found. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Returns a new instance of a concrete subtype of , described by the matching configuration object of a concrete subtype of found in the under the name . The that represents the current building process. The name of the instance to build, or null. The source for configuration objects. The cache to use retrieving reflection information. A new instance of the appropriate subtype of . when the configuration is invalid or cannot be found. Returns the configuration object that represents the named instance in the configuration source. The name of the required instance. The configuration source where to look for the configuration object. The configuration object that represents the instance. when the configuration is invalid or cannot be found. Caches reflection information used by the building process. Initializes a new instance of the class. Returns the attribute of type applied the given type. The attribute will be retrieved from the cache, if it has been requested before. The query will not look for inherited attributes. The type of attribute required. The type to query for the attribute. The attribute, or null if the attribute type is not applied to . Returns true if there is a cached entry for the attribute type for the given type A null cached entry will return true. The type of attribute required. The type to query for the attribute. true if the result for the attribute query is in the cache. Returns the attribute of type applied the given type. The attribute will be retrieved from the cache, if it has been requested before. The type of attribute required. The type to query for the attribute. Specifies whether to search the inheritance chain of the type to find the attributes. The attribute, or null if the attribute type is not applied to . This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Returns the custom factory associated to . The type to query for the custom factory. The custom factory for , or null if the type does not have an Assembler attribute. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Returns the name mapper associated to . The type to query for the name mapper. The name mapper for , or null if the type does not have a ConfigurationNameMapper attribute. Represents the process to build a custom provider for type described by an instance of configuration object. The abstract provider type. The base configuration type for providers of type . The concrete configuration type for custom providers of type . Represents the process to build an instance of a specific subtype of described by a matching specific subtype of . The interface or the base type to build. The base configuration object type. . Builds an instance of the subtype of type the receiver knows how to build, based on an a configuration object. The that represents the current building process. The configuration object that describes the object to build. The source for configuration objects. The cache to use retrieving reflection information. A fully initialized instance of the subtype. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Builds a custom provider for type based on an instance of . The that represents the current building process. The configuration object that describes the object to build. Must be an instance of . The source for configuration objects. The cache to use retrieving reflection information. A fully initialized custom provider for type . Specifies what type to use to build instances of the type this attribute is bound to. This class cannot be inherited. This attribute is used when building objects through ObjectBuilder. The will query the requested type for this attribute, and will use an instance of the specified factory type to build the requested instance. The specified type must implement the interface. The attribute needs to be bound only to the types that will be requested to ObjectBuilder; it is not necessary to bind the attribute to subclasses or implementations of interfaces. Initializes a new instance of the class with a factory type. The factory type. Must implement . Gets the factory type. Binds properly attributed events in source object to properly attributed handler methods in listener object using an explicit binding object. Responsible for binding attributed events in a source object to attributed handler methods in a listener object. Binds events from source object to appropriate handler methods in listener object. Initializes this object as needed to allow it to explicitly bind together events and handlers from source and listener objects. Source object containing events to be bound. Type of listener object to instantiate. Contains handler methods to be bound to. Constructor arguments used to instantiate object referred to by . Type to be used in explicitly binding events to handlers. Binds events to handling methods. Binds properly attributed events in source object to properly attributed handler methods in listener object using reflection. Initializes this object as needed to allow it to explicitly bind together events and handlers from source and listener objects. Source object containing events to be bound. Type of listener object to instantiate. Contains handler methods to be bound to. Constructor arguments used to instantiate object referred to by . Binds events to handling methods. Instrumentation binder that does nothing. Implementation of Null Object Pattern. Null implementation of interface contract method. Does no binding. On purpose. Really... Look up NullObject pattern for justification. Base class for instance factories that require a locator to provide singletons. This class is used to create instances of types compatible with described by a configuration source. The use of a enables singletons for the types that support them. Initializes a new instance of the class with the default configuration source and a locator. Initializes a new instance of the class with a configuration source and a locator. The configuration source to use. Returns an instance of based on the default instance configuration. A new instance of , or the singleton instance if allows singletons. Returns an new instance of based on the configuration for . The name of the required instance. A new instance of , or the singleton instance if allows singletons. Static facade for the generic building mechanism based on ObjectBuilder. The facade uses a shared stateless instance configured with the strategies that perform the creation of objects in the Enterprise Library. The strategies used by the are: to deal with default instances. to deal with singletons. to perform the actual creation of the objects based on the available configuration. to attach instrumentation to the created objects. The creation request can provide an to be used by the strategies that need access to configuration. If such a configuration source is not provided, a default configuration source will be requested to the . In any case, the configuration source is made available to the strategies through a transient . The facade keeps a shared that is made available to the strategies through a transient . Returns an instance of type . Returns a new default instance of type based on configuration information from the default configuration source. The type to build. A new instance of or any of it subtypes. Returns a default instance of type based on configuration information from the default configuration source. The type to build. The locator to be used for this build operation. A new instance of or any of it subtypes, or an existing instance if type is a singleton that is already present in the . Returns a new default instance of type based on configuration information from . The type to build. The source for configuration information. A new instance of or any of it subtypes. Returns a default instance of type based on configuration information from . The type to build. The locator to be used for this build operation. The source for configuration information. A new instance of or any of it subtypes, or an existing instance if type is a singleton that is already present in the . Returns a new default instance of type based on configuration information from the default configuration source for . The type to build. The id of the object to build. A new instance of or any of it subtypes. Returns a new default instance of type based on configuration information from for . The type to build. The id of the object to build. The source for configuration information. A new instance of or any of it subtypes. Returns a default instance of type based on configuration information from the default configuration source for . The type to build. The id of the object to build. The locator to be used for this build operation. A new instance of or any of it subtypes, or an existing instance if type is a singleton that is already present in the . Returns a default instance of type based on configuration information from for . The type to build. The id of the object to build. The locator to be used for this build operation. The source for configuration information. A new instance of or any of it subtypes, or an existing instance if type is a singleton that is already present in the . Specifies what type to use to map instance names for the type this attribute is bound to. This class cannot be inherited. This attribute is used when building objects through ObjectBuilder. The will query the requested type for this attribute, and will use an instance of the specified mapper type to map the instance name when necessary. The specified type must implement the interface. The attribute needs to be bound only to the types that will be requested to ObjectBuilder that might need instance name mappings; it is not necessary to bind the attribute to subclasses or implementations of interfaces. The mapper type. Initializes a new instance of the class with a mapper type. The mapper type. Must implement . Implementation of which maps null instance names into a different name. The strategy is used to deal with default names. This type supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Base class for custom strategies used with ObjectBuilder. Provides methods to retrieve useful information from the context. Returns the instance from the context. The build context. The in the context, or a new if there is no such source in the context. Returns the instance from the context. The build context. The in the context, or a new instance if there is no such cache in the context. Override of . Updates the instance name using a name mapper associated to type so later strategies in the build chain will use the updated instance name. Will only update the instance name if it is . The that represents the current building process. The type to build. The existing object. Should be . The ID of the object to be created. The created object. when the configuration required to do the mapping is not present or is invalid in the configuration source. Manages the creation of names for anonymous instances. Creates a new name. The created name. Tests a name to determine if it has been created. The name to test. true if the name was made up. A configuration object policy that holds a reference to an . Represents a policy that will provide an . This policy will be used by strategies that need to access a configuration source. Gets the configuration source. Initializes a new instance of the class with a configuration source. The configuration source. Gets the configuration source. Implementation of which creates objects. The strategy looks for the CustomFactory attribute to retrieve the implementation needed to build the requested types based on configuration. The provided context must have a holding a where to request the configuration information. Initializes a new instance of the class. Override of . Creates the requested object using the custom factory associated to type . The that represents the current building process. The type to build. The existing object. Should be . The ID of the object to be created. The created object. when the requested type does not have the required CustomFactory attribute. when the configuration for the requested ID is not present or is invalid in the configuration source. Represents an object that maps an instance name. The mapping usually consists of getting the default instance name from configuration when the requested name is . Returns the mapped instance name, usually based on configuration information. The original instance name. The configuration source to use to get configuration information. The mapped instance name. Drives binding of instrumentation events to handler methods based on the attributes on the source object. Attaches the instrumentation events in the to the creating instance of the listener object, as defined by the on the source class. Attaches the instrumentation events in the to the creating instance of the listener object, as defined by the on the source class. Source object used for instrumentation events. instance used to define whether instrumentation is enabled or disabled for application. Cache for instrumentation attributes discovered through reflection. Attaches the instrumentation events in the to the creating instance of the listener object, as defined by the on the source class. User-provided instance name given to the instrumenation listener during its instantiation. Source object used for instrumentation events. instance used to define whether instrumentation is enabled or disabled for application. Cache for instrumentation attributes discovered through reflection. This type supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Adapter used to inject instrumentation attachment process into ObjectBuilder creation process for objects. Implementation of . This implementation will attach instrumentation to the created objects. The build context. The type of the object being built. The existing instance of the object. The ID of the object being built. The built object. Base class for instance factories. This class is used to create instances of types compatible with described by a configuration source. Initializes a new instance of the class with the default configuration source. Initializes a new instance of the class with a configuration source. The configuration source to use. Returns a new instance of based on the default instance configuration. A new instance of . Returns an new instance of based on the configuration for . The name of the required instance. A new instance of . Generic assembler that will just instantiate the type in a configuration element for polymorphic hierarchies. The interface or the base type to build. The base configuration object type. Builds an instance of the subtype of type the receiver knows how to build by invoking the default constructor on the type specified by the configuration object. The that represents the current building process. The configuration object that describes the object to build. The source for configuration objects. The cache to use retrieving reflection information. A new instance of the subtype. Represents an that watches a file. Represents an that watches a file. Provides a way to watch for changes to configuration in storage. When implemented by a subclass, starts the object watching for configuration changes When implemented by a subclass, stops the object from watching for configuration changes Event raised when the underlying persistence mechanism for configuration notices that the persistent representation of configuration information has changed. When implemented by a subclass, returns the section name that is being watched. Initialize a new class Allows an to attempt to free resources and perform other cleanup operations before the is reclaimed by garbage collection. Starts watching the configuration file. Stops watching the configuration file. Releases the unmanaged resources used by the and optionally releases the managed resources. Releases the unmanaged resources used by the and optionally releases the managed resources. to release both managed and unmanaged resources; to release only unmanaged resources. Raises the event. Returns the of the last change of the information watched The of the last modificaiton, or DateTime.MinValue if the information can't be retrieved Returns the string that should be assigned to the thread used by the watcher The name for the thread Builds the change event data, in a suitable way for the specific watcher implementation The change event information Returns the source name to use when logging events The event source name Event raised when the underlying persistence mechanism for configuration notices that the persistent representation of configuration information has changed. Gets the name of the configuration section being watched. The name of the configuration section being watched. Initialize a new class with the path to the configuration file and the name of the section The full path to the configuration file. The name of the configuration section to watch. Allows an to attempt to free resources and perform other cleanup operations before the is reclaimed by garbage collection. Returns the of the last change of the information watched The information is retrieved using the watched file modification timestamp The of the last modificaiton, or DateTime.MinValue if the information can't be retrieved Returns the string that should be assigned to the thread used by the watcher The name for the thread Builds the change event data, including the full path of the watched file The change event information Returns the source name to use when logging events The event source name Gets the name of the configuration section being watched. The name of the configuration section being watched. Represents an that retrieves the configuration information from the application's default configuration file using the API. The is a wrapper over the static configuration access API provided by and watches for changes in the configuration files to refresh the configuration when a change is detected. It uses a shared instance of to manage the access to the configuration subsystem and to manage the file change watchers. Initializes a new instance of the class. Retrieves the specified . The section name to retrieve. The specified , or (Nothing in Visual Basic) if a section by that name is not found. Adds a handler to be called when changes to the section named are detected. The name of the section to watch for. The handler for the change event to add. Removes a handler to be called when changes to section are detected. The name of the watched section. The handler for the change event to remove. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Adds or replaces under name in the configuration file named and saves the configuration file. The name of the configuration file. The name for the section. The configuration section to add or replace. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Removes the configuration section named from the configuration file named and saves the configuration file. The name of the configuration file. The name for the section. Adds a to the configuration source location specified by and saves the configuration source. If a configuration section with the specified name already exists in the location specified by it will be replaced. The that represents the location where to save the updated configuration. Must be an instance of . The name by which the should be added. The configuration section to add. Removes a from the configuration source location specified by and saves the configuration source. The that represents the location where to save the updated configuration. Must be an instance of . The name of the section to remove. Represents the configuration settings that describe an . Initializes a new instance of the class with default values. Initializes a new instance of the class with a name and an type. The instance name. Returns a new . A new configuration source. This type supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Represents the implementation details for the . This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Initializes a new instance of the class. The will use the current application configuration file as the main configuration file. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Initializes a new instance of the class. The will use the current application's configuration file as the main configuration file. trueif runtime changes should be refreshed, false otherwise. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Retrieves the specified from the current application's configuration file, and starts watching for its changes if not watching already. The section name. The section, or if it doesn't exist. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Refreshes the configuration sections from the main configuration file and determines which sections have suffered notifications and should be notified to registered handlers. A dictionary with the configuration sections residing in the main configuration file that must be refreshed. A dictionary with the configuration sections residing in external files that must be refreshed. A new collection with the names of the sections that suffered changes and should be notified. A new dictionary with the names and file names of the sections that have changed their location. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Refreshes the configuration sections from an external configuration file. A collection with the names of the sections that suffered changes and should be refreshed. Base class for the reflection-based installers. These reflection-based installers search through assemblies looking for the appropriate kinds of installable resources and arrange for them to be registered with the appropriate installer Fills the given installer with other, more specific kinds of installers that have been filled with the appropriate kinds of installable resources Outer installer to be filled with nested installers for specific resources Initializes object by giving it access to an array of all available types and a specification of the more specific resource type that will be installed. Array of available types through which installer should look Attribute specifying the more specific resource type to search for Helper method to determine if the given type is attributed with the necessary attributes to be installed for a given installer Type in question More specific attribute used to match resource being installed True if the attributes on the given matches Helper method to determine if the attributes for a given type match the attributes used to specify a specific kind of installable resource. The type should be attributed with and the attribute passed to this method call. Type in question More specific attribute used to match resource being installed true if the type specifies intallable resources. Creates one or more installers after iterating over the . The number of iterators returned depends on the specific needs of the particular installable type. Collection of installers created through iterating over included types Gets or sets a list of all instrumentented types found in a given assembly. Types are instrumented if they are attributed with and another attribute specifying another, more specific resource type. Configuration object for Instrumentation. This section defines the instrumentation behavior for the entire application Section name Initializes enabled state of the three forms of instrumentation True if performance counter instrumentation is to be enabled True if event logging instrumentation is to be enabled True if wmi instrumentation is to be enabled Initializes object to default settings of all instrumentation types disabled Gets and sets the value of PerformanceCountersEnabled Gets and sets the value of EventLoggingEnabled Gets and sets value of WmiEnabled Base for custom factories used to create default event loggers specific to individual blocks. These default event loggers are used when events need to be logged from static classes and methods that cannot participate in the normal instrumentation attachment process. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Represents the context in which a build-up or tear-down runs. Unused parameter Represents a source for getting configuration Unused parameter. Fully initialized instance of a default event logging object This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Builds an initialized default event logging object. The instrumentation section that is used as configuration. A fully initialized instance of a default event logging object. Factory for s. Individual instances are cached to prevent the same instance from being created multiple times. Creates an initialized with individual instances. Instances are named according to passed to this method. Performance counter category name, as defined during installation. Performance counter name, as defined during installation. Param array of instance names for which individual counters should be created. The new counter instance. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Defines an event source to be installed by the reflection based installer system. Each field in this attribute is a placeholder for the same field as defined in the . Initializes this object with the event log name and source to be installed. Event log name to which the source should be added. Event log source to be added. Gets the event log name. Gets the event source name. Gets and sets the category count. Gets the category resource file name. Gets and sets the message resource file name. Gets and sets the parameter resource file name Formats an event log entry to the defined format. Formats an event log entry for logging to event log. Creates a formatted message, suitable for logging to the event log. Creates a formatted message, suitable for logging to the event log. Message to be formatted, with format tags embedded. Extra strings to be matched up with the format tags provided in . Formatted message, suitable for logging to the event log. Creates a formatted message, suitable for logging to the event log. Message to be formatted, with format tags embedded. Exception containing message text to be added to event log message produced by this method Extra strings to be matched up with the format tags provided in . Formatted message, suitable for logging to the event log. Initializes this object with the name of the specific block using this class. Initializes this object with the name of the specific block using this class. Name of block using this functionality. Initializes this object with the given application and block names. Name of the application. Name of the block using this functionality. Creates a formatted message, suitable for logging to the event log. Creates a formatted message, suitable for logging to the event log. Message to be formatted, with format tags embedded. Extra strings to be matched up with the format tags provided in . Formatted message, suitable for logging to the event log. Creates a formatted message, suitable for logging to the event log. Message to be formatted, with format tags embedded. Exception containing message text to be added to event log message produced by this method Extra strings to be matched up with the format tags provided in . Formatted message, suitable for logging to the event log. Add event log source definitions for classes that have been attributed with HasInstallableResourceAttribute and EventLogDefinition attributes to EventLogInstallers. One installer is created for each unique event log source that is found. Initializes this object with a list of s that may potentially be attributed appropriately. Array of types to inspect check for event log sources needing installation Creates instances for each separate event log source needing installation. Collection of s that represent types defining event log sources to be installed. Collection of installers containing event log sources to be installed. Defines the contract implemented by objects that provide instrumentation events for block objects. An implementation of this interface is used when the block object itself cannot provide the instrumentation events itself for some reason and desires to delegate the responsibility for containing the instrumentations to another object. One important usage of instances of this class are when a block object wishes to pass the instrumentation events to a contained block object. Returns the object to which the instrumentation events have been delegated. Object to which the instrumentation events have been delegated. Defines the contract to be implemented by explicit binders for individual blocks. Explicit binders are used to define exactly how instrumentation event sources are bound to instrumentation event listeners. It is used for those instances when the implementor wishes to explicitly define how this binding happens, rather than allow the binding to occur through reflection. Adds specified as an event handler for the . Event on source object to which will be added. Method to be added as event handler for . Listens for events raised by block classes and reports them to appropriate instrumentation services (WMI, EventLog, or PeformanceCounters). Base constructor for . Base constructor for . True if performance counter reporting is enabled True if event logging is enabled True if WMI logging is enabled Creates unique name for each instance. Base constructor for . Unique name for this instance True if performance counter reporting is enabled True if event logging is enabled True if WMI logging is enabled Creates unique name for each instance. Base constructor for . Unique names for th instances to be managed by this listener. True if performance counter reporting is enabled True if event logging is enabled True if WMI logging is enabled Creates unique name for each instance. Gets the event source name as defined in the class metadata. The event source name. Instantiates the performance counter instances managed by this listener. Instance names for performance counters. Creates a unique name for a specific performance counter instance. Instance name for a specific performance counter. The created instance name. Raises a Wmi event. This method's is necessary to run instrumentation in partial trust. Since assembly System.Management does not allow partially trusted callers, referencing class ManagementInstrumentation from the instrumentation handlers makes the delegates fail because of the implicit LinkDemands, even when Wmi instrumentation is disabled. The Wmi event to raise Gets and sets the EventLoggingEnabled property Gets and sets the PerformanceCountersEnabled property Gets and sets the WmiEnabled property Add event log source definitions for classes that have been attributed with HasInstallableResourceAttribute and EventLogDefinition attributes to EventLogInstallers. One installer is created for each unique performance counter category that is found. Initializes this object with a list of s that may potentially be attributed appropriately. Array of types to inspect check for performance counter definitions needing installation Creates instances for each separate performance counter definition needing installation. Collection of s that represent types defining performance counter definitions to be installed. Collection of installers containing performance counter definitions to be installed. Constructs an instance name for a following embedded formatting rules. Initializes this object with information needed to construct a \ instance name. Initializes this object with information needed to construct a \ instance name. Counter name prefix. Counter name suffix. Returns properly formatted counter name as a string. Formatted counter name. Defines information needed to install a . Initializes this attribute with information needed to install this performance counter category. Initializes this attribute with information needed to install this performance counter category. Performance counter category name Counter category help resource name. This is not the help text itself, but is the resource name used to look up the internationalized help text at install-time. Initializes this attribute with information needed to install this performance counter category. Performance counter category name Counter category help resource name. This is not the help text itself, but is the resource name used to look up the internationalized help text at install-time. Performance counter category type. Gets the category type. Gets the category name. Gets the category help resource name. This is not the help text itself, but is the resource name used to look up the internationalized help text at install-time. Generic installer wrapper around installer builder. Used to find and install given type of installable resource. Specific type of installer builder to instantiate Installs the instrumentation resources An used to save information needed to perform a commit, rollback, or uninstall operation. Uninstalls the instrumentation resources An that contains the state of the computer after the installation was complete. Base class for Enterprise Library's WMI Events. Gets the timestamp for this WMI Event. Helper class to load resources strings. Load a resource string. The base name of the resource. The resource name. The string from the resource. Load a resource string. The base name of the resource. The resource name. The assembly to load the resource from. The string from the resource.