Microsoft.Practices.EnterpriseLibrary.Common Converts a expressed in as formatted string or as a standard infinite timeout. The string representation of an infinite timeout. Converts the given object to a . An that provides a format context. An optional . If not supplied, the current culture is assumed. The to convert. An that represents the converted value. Converts the given object to another type. A formatter context. The culture into which will be converted. The object to convert. The type to convert the object to. The converted object. Provides validation for a object allowing non-negative spans and the value for . Initializes a new instance of the class. Determines whether the value of an object is valid. The value of an object. Declaratively instructs the .NET Framework to perform time validation on a configuration property. This class cannot be inherited. Gets the validator attribute instance. The current . Provides the friendly name of the application 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 an instance of the Creates an instance of the with an Application Instance Name 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 performance counter interface that enables 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. Instance names to be managed. Initializes this object with performance counters that are created externally. It is the responsibility of the external counter factory to create an instance for the "Total" counter. Array of already initialized objects 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 each performance counter managed by this instance by the given . Amount by which to increment each counter. Gets the current value of the given performance counter instance. Instance name of counter whose value will be retrieved. Value of the given performance counter. Sets the value of the given performance counter instance. Instance name of counter whose value will be set. Value to set the given instance to. Initializes a performance counter, giving it the specified . Instance name to be given to the instantiated . An initialized . Increments the associated performance counters by one. The instance to be incremented. 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. 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. 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. 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. 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 "" 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 Cannot create design source for rootSource other than DesignConfigurationSource.. Looks up a localized string similar to The type '{0}' defined in the '{1}' configuration source is invalid. 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 Cannot add new paramters after Finish() or Dispose().. Looks up a localized string similar to The AssemblyQualifiedTypeNameConverter can only convert values of type '{0}'.. Looks up a localized string similar to Builder has already added policies.. 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 section '{0}' specifies Source '{1}', which is not declared in the configuration sources section.. Looks up a localized string similar to A configuration source named '{0}' was not found in the {1} section.. 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 required "ContainerPolicyCreatorAttribute" is not present in the supplied type "{0}".. 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 Type '{0}' specified as a custom provider does not have the required public constructor with a single NameValueCollection parameter.. 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 Cannot merge the configuration element. The local elements type '{0}' is incompatible with the parent elements 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 supplied configuration object has type '{0}', which is not a descendant of 'NameTypeConfigurationElement' as required.. Looks up a localized string similar to The required zero argument constructor is not available for the supplied type "{0}".. Looks up a localized string similar to The required interface "IContainerPolicyCreator" is not implemented by the supplied type "{0}".. 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 No policy specifying the configuration source for the container has been set. The EnterpriseLibraryCoreExtension is probably missing.. Looks up a localized string similar to No public constructor with {1} arguments was found for type "{0}".. 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 Attempt to continue working with a PolicyBuilder after the policies have been added to a policy list for type '{1}' with key '{0}'.. Looks up a localized string similar to The specified policies cannot be added: a property policy mapping is still taking place.. Looks up a localized string similar to The supplied expression is not a valid property access expression: '{0}'.. Looks up a localized string similar to e {2}.. Looks up a localized string similar to Unable to find the redirected section {0} in the specified configuration source {1}.. Looks up a localized string similar to Service type of {0} is not compatible with supplied expression type of {1}. Looks up a localized string similar to Lambda expression must construct a new instance of a type.. 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 Method must be overriden by subclass.. 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 argument cannot be empty.. Looks up a localized string similar to The value can not be null or string or empty.. Looks up a localized string similar to A creation expression must be a constructor call, but the supplied expression was '{0}'.. 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 configuration object for default provider named '{0}' for type '{1}' was not found in the supplied list.. Looks up a localized string similar to The type {0} from configuration could not be created.. Looks up a localized string similar to Type does not provide a constructor taking a single parameter type of NameValueCollection. Looks up a localized string similar to Type must be derived from '{0}'.. Looks up a localized string similar to Type must implement interface '{0}'.. 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 Default policy creation failed: The properties in the supplied configuration object of type {0} cannot be matched to any constructor on type {1}.. Looks up a localized string similar to The expected type '{0}' was not provided.. Looks up a localized string similar to An call to an unknown method named '{0}' in the Resolve class was found in the supplied argument expression: '{1}'. Cannot create policies for this expression.. Looks up a localized string similar to Unrecognized Container marker method.. Looks up a localized string similar to Unrecognized DependencyParameter type: {0}. Looks up a localized string similar to The initialization expression for property {0} is not supported: only simple bindings are supported.. Looks up a localized string similar to File Configuration Source. Looks up a localized string similar to System Configuration Source. Clones a . This will perform a clone of a by evaluating each element in the . If these properties are themselves they will be cloned as well. As items do not expose the ability to add and remove, any configuration collections must implement to be cloned. If they do not implement this, they will be skipped during cloning. The enterprise library collections implement this interface and the cloner will properly handle the cloning of and with an internal wrapper that implements for these collections. Clones a The to clone. A new, cloned . Implements common behavior for classes that add extended functionality to implementations.
This class can create subordinate sources based on the configuration and propagates change events From these sources to the main source.
Creates a new instance of passing the implementation That contains the configuration. The implementation that should be extended. Checks whether a call to should be extended.
If the call should be extended performs the extended behavior and returns the modified intance.
If the call should not be extended returns .
The name of the section that was retrieved from configuration. The section that was retrieved from configuration. The resulting instance.
When overridden in a derived class, checks whether a call to should be extended.
If the call should be extended performs the extended behavior and returns the modified intance.
If the call should not be extended returns .
The name of the section that was retrieved from configuration. The section that was retrieved from configuration. The instance passed as .
Checks whether a call to should be extended.
If the call should be extended performs the extended behavior.
The name of the section that should be stored in configuration. The section that should be stored in configuration. if the call to was handled by the extension.
When overridden in a derived class, checks whether a call to should be extended.
If the call should be extended performs the extended behavior.
The name of the section that should be stored in configuration. The section that should be stored in configuration.
Checks whether a call to should be extended.
If the call should be extended performs the extended behavior.
The name of the section that should be removed from configuration. if the call to was handled by the extension.
When overridden in a derived class, checks whether a call to should be extended.
If the call should be extended performs the extended behavior.
The name of the section that should be removed from configuration.
Performs intialization logic for this . Performs re-intialization logic for this . Perform required refresh actions as needed when source changes. Sequence of changed sections Raises the event. The names of the sections that are changed. Raises the event. The name of the section that was changed. Adds a subordinate to the . This will not be refreshed or disposed. The name under which the will be added. The that will be added. Returns a subordinate with the specified name.
Throws if the source was not found.
The name of the source that should be returned. The instance.
Ensures events are raised for Changes in a subordinate section. The name of the subordinate configuration source that contains the section. The name of the section events should be propagated for. Stops raising events for Changes in a subordinate section. The name of the section events are propagated for. Releases resources managed by this instance. Releases unmanaged and - optionally - managed resources. true to release both managed and unmanaged resources; false to release only unmanaged resources. Indicate that a mapped section from one of the subordinate 's was changed. Indicate a subordinate 's was changed. Implements compositional merge behavior to implementations.
Creates a new instance of . The instance that should be extended. Performs intialization logic for this . Performs re-intialization logic for this . Checks whether the result of a call to should be deferred to a subordinate source.
If the call should be deferred, returns the intance from the approriate source.
If the call should not be deferred returns .
The name of the section that was retrieved from configuration. The section that was retrieved from configuration. The resulting instance. Thrown if a section does not exist in a registered source.
Checks whether a call to should be deferred to a subordinate source.
If the call should be deferred, adds the to the appropriate source and returns .
If the call should not be deferred returns .
The name of the section that should be added to configuration. The section that should be added to configuration. if the section was added in a subordinate source, otherwise .
Checks whether a call to should be deferred to a subordinate source.
If the call should be deferred, removes the section from the appropriate source and returns .
If the call should not be deferred returns .
The name of the section that should be removed from configuration. if the section was removed from a subordinate source, otherwise .
Entry point that is used for programatically building up a configution source. Defines a configuration source builder. Interface that is used to build fluent interfaces and hides methods declared by from IntelliSense. Redeclaration that hides the method from IntelliSense. Redeclaration that hides the method from IntelliSense. Redeclaration that hides the method from IntelliSense. Redeclaration that hides the method from IntelliSense. Adds a to the builder. Name of section to add. Configuration section to add. Determines if a section name is contained in the builder. True if contained in the builder, false otherwise. Returns a configuration section with the given name, if present in the builder. Name of section to return. A valid configuration section or null. Returns a configuration section of type , if present in the builder. Section name to retrieve type to return. Updates a configuration source replacing any existing sections with those built up with the builder. Adds a to the builder. Name of section to add. Configuration section to add. Determines if a section name is contained in the builder. True if contained in the builder, false otherwise. Returns a configuration section with the given name, if present in the builder. Name of section to return. A valid configuration section or null. Returns a configuration section of type , if present in the builder. Section name to retrieve type to return. Updates a configuration source replacing any existing sections with those built up with the builder. Represents a collection of objects. The type of object this collection contains. The type used for Custom configuration elements in this collection. Represents 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. Represents a collection of objects. A newable object that inherits from . Interface that allows a to be merged. Resets the elements in the to the s passed as . The new contents of this . Creates a new for the specifies . The type of that should be created. 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 . Resets the internal state of the object, including the locks and the properties collections. The parent node of the configuration element. 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. Get the configuration object for each object in the collection. The that is deserializing the element. 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 Add Application Settings. Looks up a localized string similar to Add Configuration Settings. Looks up a localized string similar to Add Instrumentation Settings. Looks up a localized string similar to Application Settings . Looks up a localized string similar to Application Settings. Looks up a localized string similar to General. Looks up a localized string similar to Localization. Looks up a localized string similar to (name). Looks up a localized string similar to A manageability provider for a configuration element.. Looks up a localized string similar to Configuration Element Manageability Provider. Looks up a localized string similar to The name of the Configuration Element Manageability Provider.. Looks up a localized string similar to Name. Looks up a localized string similar to The type that is managed by the manageability provider.. Looks up a localized string similar to Target Type. Looks up a localized string similar to The fully qualified type name of the Configuration Element Manageability Provider.. Looks up a localized string similar to Type. Looks up a localized string similar to A manageability provider for a configuration section.. Looks up a localized string similar to Configuration Section Manageability Provider. Looks up a localized string similar to A collection of Manageability Providers that the receiver might require to provide manageability to configuration elements.. Looks up a localized string similar to Manageability Providers. Looks up a localized string similar to The name of the Manageability Provider.. Looks up a localized string similar to Name. Looks up a localized string similar to The fully qualified type name of the Manageability Provider.. Looks up a localized string similar to Type. Looks up a localized string similar to The element that represents a configuration source .. Looks up a localized string similar to An element that contains configurtain information.. Looks up a localized string similar to The name of the Configuration Source Element.. Looks up a localized string similar to Name. Looks up a localized string similar to The fully qualified type name of the Configuration Source Element.. Looks up a localized string similar to Type. Looks up a localized string similar to Configuration settings that determine the sources of configuration information for an application.. Looks up a localized string similar to Configuration Sources. Looks up a localized string similar to The name of the Configuration Source containing the section that this Redirected Section will override.. Looks up a localized string similar to Parent Source. Looks up a localized string similar to The list of Redirected Sections for this application configuration.. Looks up a localized string similar to Redirected Sections. Looks up a localized string similar to The name of the default Configuration Source.. Looks up a localized string similar to Selected Source. Looks up a localized string similar to The collection of defined configuration sources.. Looks up a localized string similar to Sources. Looks up a localized string similar to A Configuration Source that reads configuration information from a disk file. The file must contain XML data in the standard .NET configuration format.. Looks up a localized string similar to File-based Configuration Source. Looks up a localized string similar to The full path and name of the configuration file.. Looks up a localized string similar to File Path. Looks up a localized string similar to Configuration files (*.config)|*.config|All Files (*.*)|*.*. Looks up a localized string similar to The name of the File-based Configuration Source.. Looks up a localized string similar to Name. Looks up a localized string similar to The fully qualified type name of the File-based Configuration Source.. Looks up a localized string similar to Type. Looks up a localized string similar to The unique name for the Application Instance to be used by the Instrumentation providers.. Looks up a localized string similar to Application Instance Name. Looks up a localized string similar to Configuration settings for Instrumentation for the entire application.. Looks up a localized string similar to Instrumentation Settings. Looks up a localized string similar to Specifies if logging to Windows Event Log will take place when instrumented events occur within Enterprise Library.. Looks up a localized string similar to Event Logging Enabled. Looks up a localized string similar to Specifies if the Enterprise Library Performance Counters will be exposed and updated when instrumented events occur within Enterprise Library.. Looks up a localized string similar to Performance Counters Enabled. Looks up a localized string similar to Settings. Looks up a localized string similar to Settings. Looks up a localized string similar to A custom application settings, such as file paths or XML Web service URLs.. Looks up a localized string similar to Setting. Looks up a localized string similar to Key. Looks up a localized string similar to Key. Looks up a localized string similar to Value. Looks up a localized string similar to Value. Looks up a localized string similar to The name of the application. This used to determine the Registry path for the configuration information. This value is required.. Looks up a localized string similar to Application Name. Looks up a localized string similar to The collection of registered types necessary to provide manageability by the configuration source.. Looks up a localized string similar to Configuration Manageability Providers. Looks up a localized string similar to A configuration source that integrates with Group Policy to apply domain-wide or local machine policy overrides to provide centralized configuration management capabilities.. Looks up a localized string similar to Manageable Configuration Source. Looks up a localized string similar to Specifies if the configuration source will take account of domain-wide or local machine policy overrides configured in the Registry through Group Policy settings.. Looks up a localized string similar to Group Policy Enabled. Looks up a localized string similar to The full path and name of the configuration file.. Looks up a localized string similar to File Path. Looks up a localized string similar to The name of the Manageable Configuration Source.. Looks up a localized string similar to Name. Looks up a localized string similar to The fully qualified type name of the Manageable Configuration Source.. Looks up a localized string similar to Type. Looks up a localized string similar to A configuration element in a collection that is keyed by the name.. Looks up a localized string similar to Named Configuration Element. Looks up a localized string similar to The name used to identify this item.. Looks up a localized string similar to Name. Looks up a localized string similar to A collection of Named Configuration elements.. Looks up a localized string similar to Named Element Collection. Looks up a localized string similar to A collection of Name Type Configuration elements.. Looks up a localized string similar to Name Type Configuration Element Collection. Looks up a localized string similar to A configuration element in a collection that contains both a type and a name.. Looks up a localized string similar to Name Type Configuration Element. Looks up a localized string similar to The name of the Name Type Configuration Element.. Looks up a localized string similar to Name. Looks up a localized string similar to The fully qualified type name of the Name Type Configuration Element.. Looks up a localized string similar to Type Name. Looks up a localized string similar to A base class from which all implementations of polymorphic configuration collections derive.. Looks up a localized string similar to Polymorphic Configuration Element Collection. Looks up a localized string similar to A redirected section for the application configuration. Each section of the configuration can be loaded from a different configuration source if required. Each Redirected Section configured in this list will override the same entire section in the default Configuration Source.. Looks up a localized string similar to Redirected Section. Looks up a localized string similar to The name of the Redirected Section.. Looks up a localized string similar to Name. Looks up a localized string similar to The name of the Configuration Source that will handle the redirected section. Must be one of the Configuration Sources defined for the application.. Looks up a localized string similar to Configuration Source. Looks up a localized string similar to Represents a configuration section that can be serialized and deserialized to XML.. Looks up a localized string similar to Serializable Configuration Section. Looks up a localized string similar to A configuration source that reads configuration data from the default configuration file. Typically this is App.config or Web.config, depending on the application type.. Looks up a localized string similar to System Configuration Source. Looks up a localized string similar to The name of the System Configuration Source.. Looks up a localized string similar to Name. Looks up a localized string similar to The fully qualified type name of the System Configuration Source.. Looks up a localized string similar to Type. Looks up a localized string similar to A collection of Type Registration Provider elements.. Looks up a localized string similar to Type Registration Provider Element Collection. Looks up a localized string similar to A provider for registering types.. Looks up a localized string similar to Type Registration Provider Element. Looks up a localized string similar to The name of the Type Registration Provider Element.. Looks up a localized string similar to Name. Looks up a localized string similar to The name of the type that implements the Type Registration Provider Element.. Looks up a localized string similar to Provider Type Name. Looks up a localized string similar to The name of the configuration section within the configuration file.. Looks up a localized string similar to Section Name. Looks up a localized string similar to The section of the configuration that specifies the Type Registration Providers for the application.. Looks up a localized string similar to Type Registration Providers Configuration Section. Looks up a localized string similar to A collection of Type Registration providers.. Looks up a localized string similar to Type Registration Providers. Attribute class used to decorate the design time view model with a Add Application Block command.
Add Application Block commands are added to the configuration tools main menu, underneath the 'Blocks' menu item.
Attribute used to decorate a designtime View Model element with an executable command. E.g. a context menu item that allows the user to perform an action in the elements context. Initializes a new instance of the class, specifying the Command Model Type. The Command Model Type should derive from the CommandModel class in the Configuration.Design assembly.
As this attribute can be applied to the configuration directly and we dont want to force a dependency on the Configuration.Design assembly
You can specify the Command Model Type in a loosy coupled fashion.
The fully qualified name of the Command Model Type.
Initializes a new instance of the class, specifying the Command Model Type. The Command Model Type should derive from the CommandModel class in the Configuration.Design assmbly.
As this attribute can be applied to the configuration directly and we dont want to force a dependency on the Configuration.Design assembly
You can specify the Command Model Type in a loosy coupled fashion.
The Command Model Type.
Gets or sets the name of the resource, used to return a localized title that will be shown for this command in the UI (User Interface). Gets or sets the type of the resource, used to return a localized title that will be shown for this command in the UI (User Interface). Gets the title that will be shown for this command in the UI (User Interface). Gets or sets the options for this command. Gets or sets the options for this command. Gets or Sets the Command Model Type Name for this command.
The Command Model Type will be used at runtime to display and execute the command.
Command Model Types should derive from the CommandModel class in the Configuration.Design assembly.
Gets the Command Model Type for this command.
The Command Model Type will be used at runtime to display and execute the command.
Command Model Types should derive from the CommandModel class in the Configuration.Design assembly.
Defines the keyboard gesture for this command. command.KeyGesture = "Ctrl+1"; When implemented in a derived class, gets a unique identifier for this . An that is a unique identifier for the attribute. 2 Initializes a new instance of the class. The name of the configuration section that belongs to the application block that will be added. The type of the configuration section that belongs to the application block that will be added. Gets the name of the configuration section that belongs to the application block that will be added. Gets the type of the configuration section that belongs to the application block that will be added. Attribute used to overwrite the Add Command for providers that depend on the availability of another block (Sattelite Providers). Initializes a new instance of the specifying the block dependency by its configuration section name.
The name of the configuran section, used to identify the block dependency.
Initializes a new instance of the specifying the block dependency by its configuration section name and will assign the value of a default provider to the added element.
The name of the configuran section, used to identify the block dependency. The configuration type of the element that declares the default proviiders name. The property that will be used to determine the name of the default provider. The property on the created element that will be assigned the name of the default provider.
Gets the section name of the block dependency. If a configuration element exists that specifies a default property, gets the configuration type of the declaring element. If a configuration element exists that specifies a default property, gets the property that contains the name of the default value. If the provider has a property that should be assigned the name of the default provider, gets the name of the property. Container class for types and identifiers used to decorate the appSettings configuration schema with designtime information. Name of appSettings section. Container class for View Model Types used to decorate the appSettings configuration schema with designtime information. Type Name of the Section View Model used to display application settings. This class supports the Enterprise Library infrastructure and is not intended to be used directly from your code. This class supports the Enterprise Library infrastructure and is not intended to be used directly from your code. This class supports the Enterprise Library infrastructure and is not intended to be used directly from your code. This class supports the Enterprise Library infrastructure and is not intended to be used directly from your code. This property supports the Enterprise Library infrastructure and is not intended to be used directly from your code. This property supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Indicates the base class or interface that must be assignable from the type specified in the property that this attribute decorates. Initializes a new instance of the class with the specified object. The to filter selections. Initializes a new instance of the class with the specified base object and configuration . The base to filter. The configuration object . Initializes a new instance of the class with the specified object and . The to filter selections. One of the values. Initializes a new instance of the class with the specified base object and configuration . One of the values. The base to filter. The configuration object . Gets the includes for the type selector. The includes for the type selector. Gets the to filter selections. The to filter selections. Gets the configuration object . The configuration object . Attribute class used to associate a class with an implementation. Creates a new instance of the class. The type of that should be associated with the target class. Gets the type of that should be associated with the target class. The type of that should be associated with the target class. Specifies a default value for a configuration property. Initializes a new instance of the class. The default value is a string representation which will be converted using . The string representation of the default value. Gets the string reprentation of the default value. The string reprentation of the default value. This class supports the Enterprise Library infrastructure and is not intended to be used directly from your code. This class 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. This field supports the Enterprise Library infrastructure and is not intended to be used directly from your code. This class 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. This field supports the Enterprise Library infrastructure and is not intended to be used directly from your code. configuration source to support design-time configuration of 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. 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 interface supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Augmented version of the interface intended to be used by unit tests. 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 and saves 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. 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. Event raised when any section in this configuration source changes. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. This method 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. Initializes a new instance of the class. The path for the main configuration file. trueif runtime changes should be refreshed, false otherwise. The poll interval in milliseconds. 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. 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. Adds a to the configuration and saves the configuration source. If a configuration section with the specified name already exists it will be replaced. If a configuration section was retrieved from an instance of , a will be thrown. The name by which the should be added. The configuration section to add. The configuration section was retrieved from an instance of or and cannot be added to the current source. When implemented in a derived class, adds a to the configuration and saves the configuration source. If a configuration section with the specified name already exists it should be replaced. The name by which the should be added. The configuration section to add. Removes a from the configuration and saves the configuration source. The name of the section to remove. When implemented in a derived class, removes a from the configuration and saves the configuration source. The name of the section to remove. 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 configuration 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 configuration 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 configuration 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 configuration 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 configuration file and there was an entry in the bookeeping data structures. - Concurrent updates for sections values should be handled by the system.config fx Releases the resources used by the change watchers. Releases the resources used by the change watchers. Retrieves the specified from the configuration file. The section name. The section, or if it doesn't exist. Raises the event. The argument for the raised event. 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. Refreshes the configuration sections from an external configuration file. A collection with the names of the sections that suffered changes and should be refreshed. Validates the parameters required to save a configuration section. Event raised when any section in this configuration source has changed. Gets the path of the configuration file for the configuration source. Initializes a new instance of the class. The configuration file path. The path can be absolute or relative. Initializes a new instance of the class that will refresh changes according to the value of the parameter. The configuration file path. The path can be absolute or relative. if changes to the configuration file should be notified. Initializes a new instance of the that will refresh changes according to the value of the parameter, polling every milliseconds. The configuration file path. The path can be absolute or relative. if changes to the configuration file should be notified. The poll interval in milliseconds. Adds a to the configuration and saves 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 and saves the configuration source. The name of the section to remove. Adds a to the configuration and saves the configuration source using encryption. If a configuration section with the specified name already exists it will be replaced.
If a configuration section was retrieved from an instance of , a will be thrown.
The name by which the should be added. The configuration section to add. The name of the protection provider to use when encrypting the section. The configuration section was retrieved from an instance of or and cannot be added to the current source.
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 and saves 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. Adds or replaces under name in the configuration file and saves the configuration file using encryption. The name for the section. The configuration section to add or replace. The name of the protection provider to use when encrypting the section. Retrieves the specified from the configuration file. The section name. The section, or if it doesn't exist. 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. Refreshes the configuration sections from an external configuration file. A collection with the names of the sections that suffered changes and should be refreshed. Supports Enterprise Library design-time by providing ability to retrieve, add, and remove sections. Retrieves a local section from the configuration source. The configuration section or null if it does not contain the section. Adds a local section to the configuration source. Removes a local section from the configuration source. Initializes a new instance of based on file path. Retrieves a local section from the configuration source. The configuration section or null if it does not contain the section. Adds a local section to the configuration source. Removes a local section from the configuration source. Creates a new instance of based on and . The source that was used to open the main conifguration file. An absolute of relative path to the file to which the source should be created. A new instance of . Gets the path of the configuration file for the configuration source. Attribute class used to associate a class with an implementation. Creates a new instance of the class. The type of that should be associated with the target class. Gets the type of that should be associated with the target class. The type of that should be associated with the target class. Attribute class that allows to specify a property that should be used as the Element View Model's name.
Initializes a new instance of the class. The reflection name of the property that will be used as the Element View Model's name. Gets the reflection name of the property that will be used as the Element View Model's name. Gets the Display Format that will be used to display the name property.
The Display Format should be a Format-string with 1 argument:
The token '{0}' will be replaced with the Name Properties value.
This attribute supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Attribute class that can be oved to offer a properties add-commands to the containing Element View Model.
This can be usefull for properties that contain a collection of providers, of which the Element Collection View Model is not shown in the UI (User Interface).
Attribute that instructs the designtime to make the textbox for a property readonly.
This property can is used together with an , in which the created text box is readonly, though the property can be edited by the editor.
Creates a new instance of . if the textbox created for this property should be readonly, otherwise . Returns if the textbox created for this property should be readonly, otherwise . Registers a class as a metadata body class for another class. When applying metadata attributes to classes, the target class might not always allow itself to be anotated.
This attribute can be used to nominate another class to contain the metadata attributes.
The metadata type should follow the same structure as the target type and its members cab be decorated with the metadata attributes.
Creates a new instance of . The type for which this class should contain metadata attributes. Gets the type for which this class should contain metadata attributes. The type for which this class should contain metadata attributes. Attribute class that is used to add a custom add command for a Element View Model.
The Type Picking Command displays a type picker prior to adding the target element and can use its result to initialize the added element.
Initializes a new instance of the class. Initializes a new instance of the class. The clr-name of the property to which the selected type should be assigned. This property is expected to be of type . Gets the clr-name of the property to which the selected type should be assigned. The clr-name of the property to which the selected type should be assigned. Specifies whether a command replaces a default command. Specifies that the command should be used to replace the default add command. Specifies that the command should be used to replace the default delete command. Specifies that the command should not be used to replace any default command. Specifies the placement of a command. This can be either a top level menu, e.g.: or or a context menu, e.g.: , . Specifies placement of the command in the top level file menu. Specifies placement of the command in the top level blocks menu. Specifies placement of the command in the top level wizards menu. Specifies placement of the command in the contextual add menu for an configuration element. Specifies placement of the command in the custom commands menu for an configuration element. Specifies placement of the command in the delete commands menu for an configuration element. Determines if the corresponding property is read-only at designtime. This attribute is used to mark properties that should be presented as read-only, but underlying code may change the value on. Initializes a new instance of the class. if the property should be read-only at designtime. Determines if the property is read-only by design-time. Returns if the property is read-only at design-time and otherwise. Attribute class used to indicate whether a property can be overwritten per environment.
The default behavior is that any property can be overwritten.
Initializes a new instance of the class. to specify the property can be overwritten per environment. Otherwise . if the property can be overwritten per environment. Otherwise . Specifies a custom property type for the overrides property.
Specifies a that should be used to serialize the overriden value to the delta configuration file.
This can be used to overwrite a property that doesnt implement .
Specifies additional metadata for the FilteredFileNameEditor editor. Initialize a new instance of the class with the containing the resources and the resource key. The containing the resources. The resource key. Gets the filter for the dialog. The filter for the dialog. Gets or sets whether the Open File Dialog should only allow existing files to be selected. if the Open File Dialog is used to open existing files. Otherwise . Represents a localized . Initialize a new instance of the class with the containing the resources and the resource name. The resources string name. The containing the resource strings. Gets the localized string based on the key. The key to the string resources. The localized string. Gets the type that contains the resources. The type that contains the resources. Returns a localized for the General category. Class that contains common type names and metadata used by the designtime. Class that contains common command types used by the designtime. Type name of the AddSatelliteProviderCommand class, declared in the Configuration.DesignTime Assembly. Type name of the AddApplicationBlockCommand class, declared in the Configuration.DesignTime Assembly. Type name of the TypePickingCollectionElementAddCommand class, declared in the Configuration.DesignTime Assembly. Type name of the ExportAdmTemplateCommand class, declared in the Configuration.DesignTime Assembly. Type name of the HiddenCommand class, declared in the Configuration.DesignTime Assembly. Type name of the AddInstrumentationBlockCommand class, declared in the Configuration.DesignTime Assembly. Type name of the WizardCommand class, declared in the Configuration.DesignTime Assembly. Class that contains common editor types used by the designtime. Type name of the DatePickerEditor class, declared in the Configuration.DesignTime Assembly. Type name of the ElementCollectionEditor, declared class in the Configuration.DesignTime Assembly. Type name of the UITypeEditor class, declared in the System.Drawing Assembly. Type name of the TypeSelectionEditor, declared class in the Configuration.DesignTime Assembly. Type name of the FilteredFileNameEditor, declared class in the Configuration.DesignTime Assembly. Type name of the FrameworkElement, declared class in the PresentationFramework Assembly. Type name of the MultilineTextEditor class, declared in the Configuration.DesignTime Assembly. Type name of the PopupTextEditor class, declared in the Configuration.DesignTime Assembly. Type name of the FlagsEditor class, declared in the Configuration.DesignTime Assembly. Type name of the RegexTypeEditor class, declared in the System.Design Assembly. Type name of the ConnectionStringEditor class, declared in the System.Design Assembly. Type name of the TemplateEditor class, declared in the Configuration.DesignTime Assembly. Type name of the IEnvironmentalOverridesEditor interface, declared in the Configuration.DesignTime Assembly. Class that contains common view model types used by the designtime. Type name of the TypeNameProperty class, declared in the Configuration.DesignTime Assembly. Type name of the ConfigurationProperty class, declared in the Configuration.DesignTime Assembly. Type name of the SectionViewModel class, declared in the Configuration.DesignTime Assembly. Type name of the CollectionEditorContainedElementProperty class, declared in the Configuration.DesignTime Assembly. Type name of the CollectionEditorContainedElementReferenceProperty class, declared in the Configuration.DesignTime Assembly. Type name of the RedirectedSectionSourceProperty class, declared in the Configuration.DesignTime Assembly. Class that contains common converter types used by the designtime runtime. Type name of the RedirectedSectionNameConverter class, declared in the Configuration.DesignTime Assembly. Class that contains common metadata classes used by the designtime.
This class supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
This class supports the Enterprise Library infrastructure and is not intended to be used directly from your code. This property supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Class that contains common validation types used by the designtime. Type name of the FileWritableValidator class, declared in the Configuration.DesignTime Assembly. Type name of the FilePathValidator class, declared in the Configuration.DesignTime Assembly. Type name of the FilePathExistsValidator class, declared in the Configuration.DesignTime Assembly. Type name of the RequiredFieldValidator class, declared in the Configuration.DesignTime Assembly. Type name of the TypeValidator class, declared in the Configuration.DesignTime Assembly. Type name of the SelectedSourceValidator class, declared in the Configuration.DesignTime Assembly. Type name of the NameValueCollectionValidator class, declared in the Configuration.DesignTime Assembly. Type names for well known Enterprise Library elements. Type name for the LoggingSettings section. Type name for the DatabaseSettings section. Type name for the ExceptionHandlingSettings section. Attribute class used to indicate that the property is a reference to provider.
Reference properties will show an editable dropdown that allows the referred element to be selected.
Initializes a new instance of the class. The configuration type name of the provider that used as a reference. Initializes a new instance of the class. The name of a configuration type that contains the references. The configuration type name of the provider that used as a reference. Initializes a new instance of the class. The configuration type of the provider that used as a reference. Initializes a new instance of the class. The configuration type that contains the references. The configuration type of the provider that used as a reference. Gets the configuration type that contains the references. Gets or sets a boolean indicating whether only providers can be used that are contained in the current Element View Model. if only providers can be used that are contained in the current Element View Model. Otherwise . Gets the configuration type of the provider that used as a reference. A customized version of that can load the string from assembly resources instead of just a hard-wired string. Create a new instance of where the type and name of the resource is set via properties. Initializes a new instance of the class. Type used to locate the assembly containing the resources. Name of the entry in the resource table. A type contained in the assembly we want to get our display name from. Name of the string resource containing our display name. Gets the description for a property, event, or public void method that takes no arguments stored in this attribute. The display name. A customized version of that can load the string from assembly resources instead of just a hard-wired string. Create a new instance of where the type and name of the resource is set via properties. Initializes a new instance of the class. Type used to locate the assembly containing the resources. Name of the entry in the resource table. A type contained in the assembly we want to get our display name from. Name of the string resource containing our display name. Gets the display name for a property, event, or public void method that takes no arguments stored in this attribute. The display name. Indicates that this assembly handles the . Initializes a new instance of the class. Name of the section handled by this assembly. Indicates this section should be cleared during save, but there is no direct handler for it. Provides attributes for the filter of types. No filter are applied to types. Inclue abstract types in the filter. Inclue interfaces in the filter. Inclue base types in the filter. Inclue non public types in the filter. Include all types in the filter. Defines the type of attribute to apply this configuration property or field. This attribute is applied to create validators for use in the configuration design-time. Creates an instance of ValidationAttribute with the validator type specified by . Creates an instance of the ValidationAttribute with the validator type specified by Creates a validator objects. This is expected to return a Validator type from the Microsoft.Practices.EnterpriseLibrary.Configuration.Design namespace. Retrieves the validator . When implemented in a derived class, gets a unique identifier for this . An that is a unique identifier for the attribute. 2 Indicates an element level validator. Creates an instance of ElementValidationAttribute with the validator type specified by . Creates an instance of the ElementValidationAttribute with the validator type specified by Creates a validator objects. This is expected to return a Validator type from the Microsoft.Practices.EnterpriseLibrary.Configuration.Design namespace. Retrieves the validator . When implemented in a derived class, gets a unique identifier for this . An that is a unique identifier for the attribute. 2 Attribute class used to specify a specific View Model derivement or visual representation to be used on the target element. The View Model Type should derive from the ElementViewModel or Property class in the Configuration.Design assembly.
As this attribute can be applied to the configuration directly and we dont want to force a dependency on the Configuration.Design assembly
You can specify the View Model Type in a loosy coupled fashion, passing a qualified name of the type.
Initializes a new instance of the class. The type of the View Model that should be used for the annotated element. Initializes a new instance of the class. The type name of the View Model that should be used for the annotated element. Gets the View Model Type that should be used to bind the annotated element to its view. Marks the annotated class as a configuration wizard that can be found by the configuration design time tools. Initializes a new instance of the with the default wizard command model type specified. Initializes a new instance of the with the command model type specified as a string. Initializes a new instance of the with the command model type specified by . The type of the wizard to instantiate must derive from WizardModel or will result on an error at runtime. The name of the type of the wizard to instantiate. Type converter used to work around enums with enums wrongly marked as "flags". Initializes a new instance of the class. Indicates where the standard values are exclusive. Exception class for exceptions that occur when reading configuration metadata from a . Initializes a new instance of the class. Initializes a new instance of the class. A message that describes why this exception was thrown. Initializes a new instance of the class. A message that describes why this exception was thrown. The inner exception that caused this exception to be thrown. Initializes a new instance of the class. A message that describes why this exception was thrown. The inner exception that caused this exception to be thrown. The path to the configuration file that caused this exception to be thrown. The line number within the configuration file at which this exception was thrown. Initializes a new instance of the class. The object that holds the information to be serialized. The contextual information about the source or destination. Implements hierarchical merge behavior to implementations.
Creates a new instance of . The instance that should be extended. Creates a new instance of . The instance that should be extended. An instance the should be merged with. Performs intialization logic for this . Performs re-intialization logic for this . Checks whether the result of a call to should be merged.
If the call should be merged, performs the merge behavior and returns the resulting intance.
If the call should not be merged returns .
The name of the section that was retrieved from configuration. The section that was retrieved from configuration. The resulting instance.
Interface used to implement custom clone behavior for a . Creates a deep clone of the current instance. A deep clone of the current instance. Factory for creating s. Creates a based on a ConfigurationElementCollection type. Configuration element for a redirected section.
The property is used to identify the redireced section, based on its section name.
Represents a named where 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. Gets the name of the which contains the configuration section. The name of the which contains the configuration section. 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 A set of string constants listing the names of the configuration sections used by the standard set of Entlib blocks. Data Access Application Block custom settings Logging Application Block section name Exception Handling Application Block section name Policy injection section name Validation section name 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. 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 poll interval in milliseconds. 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. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Releases unmanaged and - optionally - managed resources. true to release both managed and unmanaged resources; false to release only unmanaged resources. Gets the watcher over the serialization medium. Event arguments describing which sections have changed in a configuration source. Initializes a new instance of the class. Configuration source that changed. Sequence of the section names in that have changed. The configuration source that has changed. The set of section names that have changed. Represents the configuration settings that describe an . Represents a that has a name and type. 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. Returns a new configured based on this configuration element. Returns a new or null if this source does not have design-time support. 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 store. 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 or sets the name for the parent configuration source. Gets the collection of defined configuration sources. Gets the collection of redirected sections. 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. 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. Initialize a new instance of the class with the configuration object type. The name of the configuration object. Gets the of the configuration object. The of the configuration object. Gets name of the configuration object. Initialize a new instance of the class with the configuration file and the section name. The configuration file where the change occured. The section name of the changes. Gets the configuration file of the data that changed. The configuration file of the data that changed. 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. 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. Determines if a section name exists in the source. The section name to find. true if the section exists; otherwise, false. 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. Raises the event. Event arguments Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Releases unmanaged and - optionally - managed resources. true to release both managed and unmanaged resources; false to release only unmanaged resources. Raised when anything in the source changes. does not report any configuration change events. 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. Returns a new configured based on this configuration element. Returns a new or null if this source does not have design-time support. Gets or sets the file path. This is a required field. 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 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 name by which the should be added. The configuration section to add. Null implementation of that ignores the request. 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. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Event raised when configuration source contents have changed. This class never raises this event. 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. Sets the default poll delay. The new default poll. Reset the default to 15000 millisecond. Sets the poll delay in milliseconds. The poll delay in milliseconds. 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. 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 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. 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 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. Initializes a new instance of the class. Initializes a new instance of the class that will refresh changes according to the value of the parameter. if changes to the configuration file should be notified. Initializes a new instance of the class that will refresh changes according to the value of the parameter, polling every milliseconds. if changes to the configuration file should be notified. The poll interval in milliseconds. Adds a to the configuration and saves 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 and saves the configuration source. The name of the section 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 and saves the configuration file. The name for the section. The configuration section to add or replace. Retrieves the specified from the configuration file. The section name. The section, or if it doesn't exist. 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. 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 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. 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 annotated with the required attribute. 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. 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 specified information. 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 types 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. 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. Gets the category help for a performance counter. The performance counter attribute. The assembly where the help is defined. The help for the performance counter. Gets the counter help for a performance counter. The resource name. The assembly where the help is defined. The help for the performance counter. 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. 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. Max prefix length. Max suffix length. 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. This class provides an engine to process a string that contains replacement tokens of the form "{token}" and replace them with calculated value later. Create a new . Create a new . List of tokens to replace. Create a new . List of tokens to replace. Add a new set of replacement tokens. Tokens to add to the list. Add new tokens to the set of replacements. Tokens to add to the list. Format the given template, replacing any tokens present. The string to format, containing the replacement tokens. The formatted string, with tokens replaced. A single replacement token used by the . A token consists of two things: The actual text of the token (including the {}) A delegate to retrieve the value to replace the token. Create a new . The string marking where the token should be replaced. Delegate to return the value that replaces the token. Replace this token in the given stringbuilder. holding the template to perform the token replacement on. The token string. The token string. The text to replace this token with. Replacement text. Delegate type giving a function that returns the replacement text for a token. The replacement text. 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. Resolves strings by returning a constant value. Resolves string objects. Returns a string represented by the receiver. The string object. Initializes a new instance of with a constant value. Resolves strings by invoking a delegate and returning the resulting value. Initializes a new instance of with a delegate. The delegate to invoke when resolving a string. Some utility extensions on to suppliment those available from Linq. Execute for each element of . Type of items in . Sequence of items to act on. Action to invoke for each item. Given a sequence, combine it with another sequence, passing the corresponding elements of each sequence to the action to create a new single value from the two sequence elements. "Zip" here refers to a zipper, not the compression algorithm. The resulting sequence will have the same number of elements as the shorter of sequence1 and sequence2. Type of the elments in the first sequence. Type of the elements in the second sequence. Type of the resulting sequence elements. The first sequence to combine. The second sequence to combine. Func used to calculate the resulting values. The result sequence. Take two sequences and return a new sequence of objects. Type of objects in sequence1. Type of objects in sequence2. First sequence. Second sequence. The sequence of objects. Take two sequences and return a with the first sequence holding the keys and the corresponding elements of the second sequence containing the values. Type of keys in the dictionary. Type of values in the dictionary. Sequence of dictionary keys. Sequence of dictionary values. The constructed dictionary. A static helper class that includes various parameter checking routines. Throws if the given argument is null. The value is null. The argument value to test. The name of the argument to test. Throws an exception if the tested string argument is null or an empty string. The string value is null. The string is empty. The argument value to test. The name of the argument to test. Resolves strings by retrieving them from assembly resources, falling back to a specified value. If both the resource type and the resource name are available, a resource lookup will be performed; otherwise, the default value will be returned. Initializes a new instance of for a resource type, a resource name and a fallback value. The type that identifies the resources file. The name of the resource. The fallback value, to use when any of the resource identifiers is not available. Initializes a new instance of for a resource type name, a resource name and a fallback value. The name of the type that identifies the resources file. The name of the resource. The fallback value, to use when any of the resource identifiers is not available. Provides a set of helper methods that retrieve objects for the methods described in lambda expressions. Retrieves a object from an expression in the form () => SomeClass.SomeMethod(). The expression that describes the method to call. The object for the specified method. Retrieves a object from an expression in the form x => x.SomeMethod(). The type where the method is defined. The expression that describes the method to call. The object for the specified method. Retrieves a object for the get method from an expression in the form x => x.SomeProperty. The type where the method is defined. The type of the property. The expression that describes the property for which the get method is to be extracted. The object for the get method. Retrieves a object for the set method from an expression in the form x => x.SomeProperty. The type where the method is defined. The type of the property. The expression that describes the property for which the set method is to be extracted. The object for the set method. Retrieves a object for the set method from an expression in the form x => x.SomeProperty. The type where the method is defined. The type of the property. The expression that describes the property for which the property informationis to be extracted. The object for the property. Retrieves a object from an expression in the form () => new SomeType(). The type where the constructor is defined. The expression that calls the desired constructor. The object for the constructor. Extensios to Locates the generic parent of the type Type to begin search from. Open generic type to seek The found parent that is a closed generic of the or null A helper class that provides the code needed to wrap an existing asynchronous operation and return a different implementation of . Start an asyncronous operation that wraps a lower-level async operation. Type that implements IAsyncResult that will be returned from this method. The user's callback method to be called when the async operation completes. A delegate that invokes the underlying async operation that we're wrapping. A delegate that takes the inner async result and returns the wrapping instance of . The .