Microsoft.Practices.EnterpriseLibrary.Common
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 PerformanceCounter interface that allows an application to maintain both individually
named counter instances and a single counter total instance.
Initializes a single performance counter instance named "Total"
Performance counter category name, as defined during installation
Performance counter name, as defined during installation
Initializes multiple instances of performance counters to be managed by this object.
Performance counter category name, as defined during installation
Performance counter name, as defined during installation
Param array of instance names to be managed
Initializes this object with performance counters created externally. It is the responsibility of the external
counter factory to create an instance for the "Total" counter.
Param array of already initialized s to be managed
by this instance.
Clears the raw count associated with all managed performance counters
Increments each performance counter managed by this instance.
Increments by the given each performance counter managed by this instance.
Amount by which to increment each counter
Gets the current value of the given performance counter instance.
Instance name of counter for which to get value.
Value of the given performance counter.
Sets the value of the given performance counter instance.
Instance name of counter for which to set the value.
Value to which the given instance should be set.
Initializes a performance counter, giving it the specified .
Instance name to be given to the instantiated .
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.
Binds an event source to an event handler.
Initializes this object with the source and listener objects to be bound together.
Object owning the event that will be bound to
Object owning the method that will be added as a handler for specified event.
Adds specified as an event handler for
the .
Event on source object to which will be added.
Method to be added as event handler for .
Base class for attributes used to identify instrumentation producers or consumers.
Initializes this instance with the instrumentation subject name.
Subject name being produced or consumed
Gets the subject name
Defines methods that are consuming instrumentation events.
Initializes this instance with the instrumentation subject name being consumed.
Subject name of the event being consumed.
Defines a class that will listen for instrumentation events broadcast by other classes
and report them to system services. This attribute is placed on the class that is to be
listened to, in order to define the class that will listen to it.
Initializes attribute with given .
Initializes attribute with given .
Instrumentation listener type to instantiate.
Initializes attribute with given . Use when
you need to specify an explicit binder class.
Instrumentation listener type to instantiate.
Instrumentation binder listener type to instantiate.
Gets type of class to instantiate to listen for events.
Gets type of class to use to bind an instance of the attributed class to
an instance of the listener class
Defines events that are producing instrumentation events.
Initializes this object with the instrumentation subject name being produced.
Subect name of event being produced.
Defines those classes and structs that have some sort of resources that need to be installed.
Defines a . Used by the reflection-based installers to
prepare a performance counter for installation.
Initializes this object with all data needed to install a .
Performance counter name.
Name of Help resource string. This is not the help text itself,
but is the resource name used to look up the internationalized help text at install-time.
Performance Counter type.
Used to determine if the counter being installed has a base counter associated with it.
True if counter being installed has a base counter associated with it.
Gets the type.
Get the name of Help resource string. This is not the help text itself,
but is the resource name used to look up the internationalized help text at install-time.
Gets the name.
Gets and sets the base type. This is an optional
property used when the counter being defined requires a base counter to operate, such as for
averages.
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 "nameSuffix"
A strongly-typed resource class, for looking up localized strings, etc.
Returns the cached ResourceManager instance used by this class.
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
Looks up a localized string similar to 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 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.
Base class for configuration information stored about a call handler.
Represents a that has a name and type.
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.
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.
Creates a new instance of .
Creates a new instance of .
Name of handler entry.
Type of handler to create.
Creates a new instance of .
Name of handler entry.
Type of handler to create.
The order of the handler.
Get the set of objects needed to
register the call handler represented by this config element and its associated objects.
A suffix for the names in the generated type registration objects.
The set of objects.
Gets or sets the Order in which the call handler will be executed
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.
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.
Entry point that is used for programatically building up a configution source.
Base class that manages the logic for tracking configuration source changes and
reconfiguring the container, and raising all the appropriate events.
Implement this interface to create an object that can read a set
of objects representing the current
Enterprise Library configuration and configure a dependency injection
container with that information.
Consume the set of objects and
configure the associated container.
Configuration source to read registrations from.
that knows how to
read the and return all relevant type registrations.
A interface describing objects that raise events when a
container's type registrations need to updated due to
a configuration source change.
The event raised when a container must be reconfigured.
Deregister for change notification on the configuration source.
Consume the set of objects and
configure the associated container.
Configuration source to read registrations from.
that knows how to
read the and return all relevant type registrations.
When overridden in a derived class, this method should perform the actual registration with the container.
Configuration source to read registrations from.
that knows how to
read the and return all relevant type registrations.
When overridden in a derived class, this method should reconfigure the container
with the provided .
The new type registrations to apply to the container.
When overridden in a derived class, this method should return an implementation
of that wraps the actual container.
The that objects can use to re-resolve
dependencies after the container has been reconfigured.
Raise the event in response to a configuration source change.
Source of the event - the configuraton source.
Event arguments.
The event raised when this container must be reconfigured.
The implementation that should
be registered with the container. This object will be used to signal interested
objects that the container has completed reconfiguration.
This class is the event arguments received when a container is being
reconfigured due to a configuration source change. This class is a
collecting argument: new type registrations should be added via the
AddTypeRegistrations method.
Initializes a new instance of the class.
The that changed,
causing the need to reconfigure the container.
Sequence of changed section names in
.
Called by event receivers to collect the set of type registrations that
must be used to update the container.
The new set of type registrations.
The updated configuration source.
The section names that have changed.
A that can be configured through a .
Create a that contains all the default registration
providers, ignoring any configuration section.
The that will return all registrations.
Create a that contains all the default registration
providers, honoring any configuration overrides of locators.
The configuration source to use when creating s
The responsible for raising container reconfiguration events.
The that will return all registrations.
public for unittesting purposes.
An object that can be injected into various entlib objects
that supplies events that indicate when the current configuration
source has changed. This provides some isolation from the actual
configuration source.
Used to get an object that lets you register a change handler for a
particular configuration section.
Type of the configuration section to register against.
The object that implements the SectionChanged event.
Utility function to raise the event.
Configuration source that changed.
object that has been configured with the
contents of .
Sequence of the section names in
that have changed.
Event raised when the underlying configuration source has changed
any section.
A helper interface used as the return type of the GetSection method.
The event raised when the section of type TSection is
changed.
The primary implementation of .
Used to get an object that lets you register a change handler for a
particular configuration section.
Type of the configuration section to register against.
The object that implements the SectionChanged event.
Used to raise the event,
supplying the appropriate event args.
The that changed.
which has been configured with the
contents of the .
Section names in the
that have changed, as reported by the configuration source.
Used to raise the event,
and the associated section changed events.
This overload is primarily provided for test convenience.
The that changed.
which has been configured with the
contents of the .
Section names in the
that have changed, as reported by the configuration source.
An implementation of that does
nothing. Saves null checking everywhere.
The event raised when the configuration source changes.
With this implementation the event is never raised.
This class implements the Visitor pattern over the hierarchy of
types. This makes it easier for container
authors to figure out which type of they're
dealing with and centralize processing without manually having to switch
on the runtime type.
Main entry point. When this method is called, this class will figure out
the current runtime type of the passed
and then call the corresponding strongly-typed visit method based on that runtime
type.
The object to process.
The method called when a object is visited.
By default, this method throws an exception. Override it to provide your
specific processing.
The to process.
The method called when a object is visited.
By default, this method throws an exception. Override it to provide your
specific processing.
The to process.
The method called when a object is visited.
By default, this method throws an exception. Override it to provide your
specific processing.
The to process.
The method called when a object is visited and we haven't
been able to otherwise identify the runtime type as a ,
, or .
By default, this method throws an exception. Override it to provide your
specific processing or do further type checking if you have extended the type hierarchy.
The to process.
A configuration element that allows you to configure arbitrary
call handlers that don't otherwise have configuration support.
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.
Represents the configuration settings for a custom provider.
Gets the name for the represented provider.
Gets the attributes for the represented provider.
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.
Constructs a new instance.
Constructs a new instance.
Name of handler instance.
Type of handler to configure.
Constructs a new instance.
Name of handler instance.
Name of the handler type to configure.
Constructs a new instance.
Name of handler instance.
Name of the handler type to configure.
Order of the handler type to configure.
Sets the attribute value for a key.
The attribute name.
The attribute value.
Modifies the object to remove all values that should not be saved.
A object at the current level containing a merged view of the properties.
A parent object or if this is the top level.
One of the values.
Resets the internal state of the object,
including the locks and the properties collection.
The parent element.
Indicates whether this configuration element has been modified since it was last
saved or loaded when implemented in a derived class.
if the element has been modified; otherwise, .
Called when an unknown attribute is encountered while deserializing the object.
The name of the unrecognized attribute.
The value of the unrecognized attribute.
if the processing of the element should continue; otherwise, .
Invokes the inherited behavior.
Gets the given property value.
the requested property's value
Invokes the inherited behavior.
Sets the given property.
New value for the property.
Invokes the inherited behavior.
Source configuration element
Parent configuration element
ConfigurationSaveMode
Invokes the inherited behavior.
Parent element
Invokes the inherited behavior.
True if element has been modified, false if not.
Get the set of objects needed to
register the call handler represented by this config element and its associated objects.
A suffix for the names in the generated type registration objects.
The set of objects.
Overridden in order to apply .
Gets or sets custom configuration attributes.
Collection of 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.
Gets the helper.
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 The position of the handler within the policy handler chain, starting from 1.
The default value is zero, which means that there is no explicit order specified for
the handler in relation to other handlers in the same handler chain..
Looks up a localized string similar to Order.
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 custom implementation of a Call Handler that is added to Enterprise Library..
Looks up a localized string similar to Custom Call Handler.
Looks up a localized string similar to The fully qualified type name of the Custom Call Handler..
Looks up a localized string similar to Type.
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 InstrumentationViewModel class, declared in the Configuration.DesignTime Assembly.
Type name of the ManageableConfigurationSourceViewModel 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.
Fluent interface that allows to add instances.
Adds a instance to configuration source builder.
The name of the instance.
Fluent interface used to configure a instance.
Specifies the type of the instance that should be used to retrieve type registrations.
The type of the instance that should be used to retrieve type registrations.
Fluent interface that allows to add more type registration providers.
Specifies the type of the instance that should be used to retrieve type registrations.
The type of the instance that should be used to retrieve type registrations.
Fluent interface that allows to add more type registration providers.
Specifies the name of the configuration section that implements .
The name of the configuration section that implements .
Fluent interface that allows to add more type registration providers.
extensions to support creation of type registration provider settings.
Main entry point to configure a section.
The builder interface to extend.
A fluent interface that allows to add instances.
Main entry point to configure a section with no
default type registrations.
The builder interface to extend.
A fluent interface that allows to add instances.
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.
Gets the name of the which contains the configuration section.
The name of the which contains the configuration section.
Event argument passed when a configuration section signals that it has changed.
Type of the configuration section class that changed.
Create an instance of the class
that wraps the given section.
Configuration section that changed.
that's been configured with
the contents of the .
The configuration section that changed.
Container that can be used to resolve newly configured objects.
Contains settings to determine which to configure the with.
Represents a configuration section that can be serialized and deserialized to XML.
Returns the XML schema for the configuration section.
A string with the XML schema, or (Nothing
in Visual Basic) if there is no schema.
Updates the configuration section with the values from an .
The that reads the configuration source located at the element that describes the configuration section.
Writes the configuration section values as an XML element to an .
The that writes to the configuration source.
The section name under which this configuration section is expected to be found.
The Type Registration Provider name for the Caching Application Block
The Type Registration Provider name for the Cryptography Application Block
The Type Registration Provider name for the Exception Handling Application Block
The Type Registration Provider name for Instrumentation Configuration
The Type Registration Provider name for the Logging Application Block
The Type Registration Provider name for the Policy Injection Application Block
The Type Registration Provider name for the Security Application Block
The Type Registration Provider name for the Data Access Application Block
The Type Registration Provider name for the Validation Application Block
Gets the collection of configured in this 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.
Crypto block section name
Data Access Application Block custom settings
Exception Handling Application Block section name
Caching Application Block section name
Security Application Block section name
Logging Application Block section name
Instrumentation section name
Policy injection section name
Validation section name
Not actually a section name, this is the type name used to get the
TypeRegistrationProviderLocatorStrategy used to retrieve information
for the Data Access Application Block.
Not actually a section name, this is the type name used to get the
TypeRegistrationProviderLocatorStrategy used to retrieve information
for the Validation Application Block.
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.
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.
Initializes a new instance of the class.
Configuration source that changed.
object that has been configured with the
contents of .
Sequence of the section names in
that have changed.
The configuration source that has changed.
The container that has been configured with the new
configuration.
If this event is received directly from a
this property will
be null. Otherwise it will reference a valid container
that has been configured with the contents of the updated
configuration source.
The set of section names that have changed.
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.
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.
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.
A implementation that looks up
a provider by looking for the named configuration section in the given .
If found, tries to cast the config section to .
This class encapsulates the logic used to find the type registration providers
in the current application.
This interface represents an object that can return configuration information
used to configure a container to resolve Entlib objects.
Return the objects needed to configure
the container.
The containing
the configuration information.
The sequence of objects.
Return the objects needed to reconfigure
the container after a configuration source has changed.
If there are no reregistrations, return an empty sequence.
The containing
the configuration information.
The sequence of objects.
Create a new instance
without a name.
Create a new instance.
Return the objects needed to configure
the container.
The sequence of objects.
Return the objects needed to reconfigure
the container after a configuration source has changed.
If there are no reregistrations, return an empty sequence.
The containing
the configuration information.
The sequence of objects.
Creates a new that will return all the
configuration for entlib blocks.
The locator.
Creates a new that will return all the
configuration for entlib blocks.
Configuration source containing any customizations
to the locator list.
Event source notifying of container reconfiguration events.
The locator.
Every locator has a name associated with it so that it can be added and removed
from composites. This property returns that name.
Construct an instance of that will
look for the given .
Section name in configuration to look for.
Construct an instance of that
will look for the given . It also
registers for the
event, and will request updated type registrations from the section
at that time.
Section name in configuration to look for.
Event source to signal when reconfiguration is needed.
Return the objects needed to configure
the container.
The sequence of objects.
Return the objects needed to reconfigure
the container after a configuration source has changed.
If there are no reregistrations, return an empty sequence.
The containing
the configuration information.
The sequence of objects.
A static marker class to denote types constructed by the container when registering a .
Indicates a type to be resolved from a container.
The type to resolve from the container.
The type resolved
Indicates a type to be resolved by name from a container.
The type to resolve from the container.
The name to use when resolving the type.
The type resolved.
Indicates a type to be resolved by name from a container, if the name is not null.
The type to resolve from the container.
The name to use when resolving the type.
The type resolved.
Indicates an enumberable set to be resolved from a container using the names supplied
in .
The type to resolve from the container.
The set of names to use when resolving from the container.
Class that can be used as a base class for instance factories.
This class is used to create instances of types compatible with described
by a configuration source.
Type of instance to create
Create an instance of that resolves objects
using the supplied .
to use to resolve objects.
Create an instance of . A container will be
constructed under the hood and be initialized with the information in .
Configuration information.
Create an instance of that resolves objects
through the Entlib default container.
Returns a new instance of based on the default instance configuration.
A new instance of .
Returns an new instance of based on the configuration for .
The name of the required instance.
A new instance of .
Releases resources currently held by this object.
A parameter representing a set of named items to be resolved by the container.
Represents a strategy to retrieve a value to inject.
These strategies can either represent values known at container configuration time or
values that need to be resolved during object construction.
Initializes a new instance of the class with a .
The representing the value to inject.
Gets the representing the value to inject.
Concrete strategies interpret the expression to provide relevant registration data.
Gets the of the value to inject.
The set of names to resolve in the container.
Enumeration type
Represents a construction parameter resolved through the container.
Initializes the construction parameter from the . This method call expression
expected to be respresented through the static marker class.
Given a class Example defined as:
public class Example
{
public Example(Argument arg);
}
A and for this configuration might appear as follows:
new TypeRegistration<Example>(() => new Example(Container.Resolved<Argument>("SomeName"));
During construction of the Example class, Argument will be resolved and injected by the container.
The marker interface is used to represent
this requirement to a container configurator and is translated to a .
The method expression representing the type to resolve and named value.
The name to use when resolving the type represented by the method call expression.
Represents a property injected in a .
Gets the name of the injected property.
Gets the describing the value injected through the property.
Builds expression used in for custom and standard Enterprise Library objects.
Builds a expected for custom Enterprise Library objects based on the supplied type's object
and provide attributes.
The must supply an accessible constructor that takes a single parameter of type .
The object type to build the expression around.
Attributes to pass to the constructor of
A that defines the construction of in a .
Is thrown if the does not provide a proper constructor.
Builds a expected for custom Enterprise Library objects based on the supplied type's object
and provide attributes.
The must supply an accessible constructor that takes a single parameter of type .
The object type to build the expression around.
Attributes to pass to the constructor of
A that defines the construction of in a .
Is thrown if the does not provide a proper constructor.
A implementation that
loads a type by name, and returns an instance of that type as the provider.
This is primarily used to support the Data Access Application Block's configuration provider, which
has to pull stuff from several spots. Also, we load by name rather than
using a type object directly to avoid a compile time dependency from Common on the
Data assembly.
Construct a that will use the
type named in as the provider.
type to construct as a provider. This type must have a single argument
constructor that takes an parameter.
Construct a that will use the
type named in as the provider.
type to construct as a provider. This type must have a single argument
constructor that takes an parameter.
The event source containing events raised when the configuration source is changed.
Return the objects needed to configure
the container.
The sequence of objects.
Return the objects needed to reconfigure
the container after a configuration source has changed.
If there are no reregistrations, return an empty sequence.
The containing
the configuration information.
The sequence of objects.
Represents a container registration entry as a and additional metadata.
Initialize a new instance of the class with a
as the model for injection.
The representing the injection.
Initialize a new instance of the class with a
as the model for injection.
The representing the injection.
The service type to register the implementation against.
Returns the default name for a type that will be returned if no name
is otherwise specified.
Type that was registered.
Default name that will be used.
Returns the default name for a type that will be returned if no name
is otherwise specified.
Type that was registered.
Default name that will be used.
Gets the for the registration entry.
Returns the expression body representing the creation constructor call.
Gets the for which the provides an implementation.
Gets the name under which the entry should be registered to the container.
Is this registration for a type that is part of a public API? If
true, configurators should not transform the name in any way. If
false, this is an internal implementation class that users will not
be resolving directly, and as such the name can be manipulated safely
without interfering with the public API.
Some containers have restrictions on the allowed names (for example,
many require names to be globally unique). Some object names need to be
left alone (for example, Database or Exception policies) becuase that is
what the user will use to get those objects. Other names (like for instrumentation
providers) are internal and can be freely changed by the configurator as
needed to fit into the container.
Gets representing the injection.
Gets if the registration is to be considered the default for the service type,
otherwise.
The required lifetime for this service implementation.
Gets the instances describing values injected through the constructor.
Gets the instances describing values injected to properties.
Represents a container registration entry as a and additional metadata for constructing a specific type.
The service type registered with the container
Initializes the TypeRegistration with a for T.
that providing the construction model for T.
A set of values indicating what the lifetime of service implementations
in the container should be.
This implementation should be stored by the container and it should return
the same object for each request.
A new instance should be returned for each request.
A that provides a composite
over a collection of individual s.
Create the composite with the list of locators to use.
The locators.
Create the composite with the list of locators to use.
The locators.
Return the objects needed to configure
the container.
The sequence of objects.
Return the objects needed to reconfigure
the container after a configuration source has changed.
If there are no reregistrations, return an empty sequence.
The containing
the configuration information.
The sequence of objects.
The specific configurator for entries.
Initializer for the configurator.
The to configure.
Consume the set of objects and
configure the associated container.
Configuration source to read registrations from.
that knows how to
read the and return all relevant type registrations.
When overridden in a derived class, this method should reconfigure the container
with the provided .
The new type registrations to apply to the container.
When overridden in a derived class, this method should return an implementation
of that wraps the actual container.
The that objects can use to re-resolve
dependencies after the container has been reconfigured.
Registers the entry with the container.
The type registration entry to add to the container.
Represents an injected parameter value that can be determined at the time of container configuration.
Initializes a value parameter with the specified expression to be evaluated when providing the value parameter.
The expression representing the value to provide to the parameter.
The parameter value to inject.
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
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 a category on an ADM template file.
Initialize a new instance of the class.
The categor name.
Gest the list of sub categories.
Gets the name.
Gets the list of policies in a category.
Represents a CHECKBOX part on an ADM template.
Represents a part in an ADM template.
The part start template.
The part end template.
The part value name.
The part key name.
Initializes a new instance of the class.
The name for the part.
The registry key for part, or
if no key name is required for the part.
The name for the registry value for the part.
Writes the part the .
The to write.
Writes the text representing the part to the .
The to where the text for the part should be written to.
Gets the registry key for the part, or if no key name is required for the part.
Gets the name for the part.
Gets the name for the registry value for the part.
Gest the template representing the type of the part.
Writes the text representing the part to the .
The to where the text for the part should be written to.
Gets the indication of whether the checkbox should be checked by default.
Gets the indication of whether a value for the checked state should be added.
Gets the indication of whether a value for the unchecked state should be added.
Gest the template representing the type of the part.
Represents a COMBOBOX part on an ADM template.
Represents an EDITTEXT part on an ADM template.
Initializes a new instance of the class.
The name for the part.
The registry key for part, or
if no key name is required for the part.
The name for the registry value for the part.
The default value for the part, or
if no default value is available.
The maximum length for the part's value.
The indication of whether values for the part are required.
Writes the text representing the part to the .
The to where the text for the part should be written to.
Gets the default value for the part, or
if no default value is available.
Gets the maximum length for the part's value.
Gets the indication of whether values for the part are required.
Gest the template representing the type of the part.
Writes the text representing the part to the .
The to where the text for the part should be written to.
Gets the list of suggested values for the part.
Gest the template representing the type of the part.
Represents the contents of an ADM template file.
Initializes a new empty instance of the class.
Add a category to the content
The category to add.
Writes the contents represented by the receiver to .
The to where the contents should be written.
Gets the categories.
The categories.
Represents the process of building the contents of an ADM file.
During the building process categories and policies are started and ended: several levels of nested categories
can be started, but only one level of policies are allowed. When a category or policy is started, it becomes the current
until it is ended.
Parts are added to the current policy; parts are not started and stopped.
String representing the name of the registry value that represents the availability of a configuration element.
The value names for policies are set to this name.
String representing the value for a value in a drop down list.
Initialize a new instance of the class.
Initializes a new instance of the class.
The content that will be built.
Adds a checkbox part to the current policy, with values for "on" and "off" states.
The name for the new part.
The value name for the new part.
Whether the new part should be checked by default.
when there is no current policy.
Adds a checkbox part to the current policy.
The name for the new part.
The value name for the new part.
Whether the new part should be checked by default.
Whether a value should be set for the checked state.
Whether a value should be set for the unchecked state.
when there is no current policy.
Adds a checkbox part to the current policy.
The name for the new part.
The registry key for the part, to override its policy's key.
The value name for the new part.
Whether the new part should be checked by default.
Whether a value should be set for the checked state.
Whether a value should be set for the unchecked state.
when there is no current policy.
Adds a combo box part to the current policy.
The name for the new part.
The value name for the new part.
The default value for the new part, or if there is no such default value.
The max length for the new part's values
Whether values for the new part are mandatory.
The suggested values for the new part.
when there is no current policy.
Adds a combo box part to the current policy.
The name for the new part.
The registry key for the part, to override its policy's key.
The value name for the new part.
The default value for the new part, or if there is no such default value.
The max length for the new part's values
Whether values for the new part are mandatory.
The suggested values for the new part.
when there is no current policy.
Adds a new drop down list part to the current policy.
The name for the new part.
The value name for the new part.
The list of items to include in the new part.
The default value for the new part, or if there is no such default value.
when there is no current policy.
Adds a new drop down list part to the current policy.
The name for the new part.
The registry key for the part, to override its policy's key.
The value name for the new part.
The list of items to include in the new part.
The default value for the new part, or if there is no such default value.
when there is no current policy.
Adds a new drop down list part to the current policy with items representing an enumeration's values.
The enumeration type.
The name for the new part.
The value name for the new part.
The default value for the new part.
when there is no current policy.
Adds a new drop down list part to the current policy with items representing an enumeration's values.
The enumeration type.
The name for the new part.
The registry key for the part, to override its policy's key.
The value name for the new part.
The default value for the new part.
when there is no current policy.
Adds a new drop down list part to the current policy with items representing the elements in a configuration
elements collection.
The base class for the configuration elements in the collection.
The name for the new part.
The value name for the new part.
The collection of configuration elements.
The name for the default element, or if there is no such default name.
Whether an additional entry to represent that no element is selected should be added.
when there is no current policy.
FxCop message CA1004 is supressed because it seems like the rule does not detect the
existing 'elements' method parameter that uses the generic parameter T.
Adds a new drop down list part to the current policy with items representing the elements in a configuration
elements collection.
The base class for the configuration elements in the collection.
The name for the new part.
The registry key for the part, to override its policy's key.
The value name for the new part.
The collection of configuration elements.
The name for the default element, or if there is no such default name.
Whether an additional entry to represent that no element is selected should be added.
when there is no current policy.
FxCop message CA1004 is supressed because it seems like the rule does not detect the
existing 'elements' method parameter that uses the generic parameter T.
Adds a new edit text part to the current policy.
The name for the new part.
The value name for the new part.
The default value for the new part, or if there is no such default value.
The max length for the new part's values
Whether values for the new part are mandatory.
when there is no current policy.
Adds a new edit text part to the current policy.
The name for the new part.
The registry key for the part, to override its policy's key.
The value name for the new part.
The default value for the new part, or if there is no such default value.
The max length for the new part's values
Whether values for the new part are mandatory.
when there is no current policy.
Adds a new numeric part to the current policy.
The name for the new part.
The value name for the new part.
The default value for the new part, or if there is no such default value.
when there is no current policy.
Adds a new numeric part to the current policy.
The name for the new part.
The registry key for the part, to override its policy's key.
The value name for the new part.
The default value for the new part, or if there is no such default value.
when there is no current policy.
Adds a new numeric part to the current policy.
The name for the new part.
The registry key for the part, to override its policy's key.
The value name for the new part.
The default value for the new part, or
if there is no such default value.
The minimum value, or
if there is no minimum value.
The maximum value, or
if there is no maximum value.
when there is no current policy.
Add a part to the builder.
The to add.
Adds a new text part to the current policy.
The name for the new part.
when there is no current policy.
Ends the current category.
If the current category has a parent category, the parent category is made the current category.
when there is no current category.
when there is an unfinished policy being built.
Ends the current policy.
when there is no current policy.
Gets the content for the builder.
A object.
Starts a new category in the built content and makes it the current category.
The name for the new category
The category is created as a child of the current category, or as a top level category if there is
no such current category.
when there is an unfinished policy being built.
Starts a new policy on the current category.
The name for the new policy.
The registry key for the new policy.
when there is no current category.
when there is an unfinished policy being built.
Represents an item in a drop down list.
Initializes a new instance of the class.
The item name.
The item value.
Gets the name of the item.
Gets the value of the item.
Represents a DROPDOWNLIST part on an ADM template.
The drop down list template.
The item list start template.
The list item template.
The default list item template.
The end list template.
Initialize a new instance of the class.
The part name.
The key name.
The value name.
The items.
The default value.
Writes the text representing the part to the .
The to where the text for the part should be written to.
Gets the default value for the part.
Gets the list of name/value pairs for the part.
Gest the template representing the type of the part.
Encapsulates the process to generate the ADM template contents to represent the configuration
information contained in a , delegating to registered
instances the generation of the
specific contents for each section.
Generates the ADM template contents that represent the configuration information in
The configuration source holding the configuration sections.
The ApplicationName to be used when generating the ADM policy keys.
The mapping from section names to the
The generated content.
instances that generate the ADM contents.
Both MACHINE and USER policies are generated.
Represents a NUMERIC part in an ADM template.
Writes the text representing the part to the .
The to where the text for the part should be written to.
Gets the default value for the part, or
if no default value is available.
Gets the maximum value for the part, or
if no maximum value is available.
Gets the minimum value for the part, or
if no minimum value is available.
Gest the template representing the type of the part.
Represents a policy in an ADM template.
Gets the registry key for the policy.
Gets the parts for the policy.
Gets the name for the policy.
Gets the registry value name for the policy, or if no value name is required for the policy.
Represents a TEXT part in an ADM template.
Initialize a new instance of the class.
The name of the part.
Gest the template representing the type of the part.
Represents a coordinator for configuration change notifications.
Add a section handler for a section.
The name of the section.
The handler to add.
Notify updated configuration sections.
The name of the sections to notify.
Remove a section change handler.
The section to remove the handler.
The handler to remove.
Manages the configuration file watchers for a collection of configuration sections.
The main configuration file source.
Initialize a new instance of the class.
The main configuration file.
true to refresh configuration; otherwise, false.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Determines if the configuration source is being watched.
The configuration source.
true if the source is being watched; otherwise, false.
Raises the event.
The sender of the event.
The event arguments.
Removes a watcher for the configuration source.
The source to remove the watcher.
Sets a watcher for a configuration source.
The configuration source to watch.
Gets a collection of watch configuration sources.
A collection of watch configuration sources.
Event to notify when configuration changes.
Represents the behavior required to provide Group Policy updates for a .
Subclasses define the implementation necessary to provide manageability for a specific type of configuration
element.
Element providers are usually necessary when dealing with collections of ,
as the concrete type of the elements in the collections is only known at runtime, and it is possible that
the elements are defined in 'extension' assemblies.
Element providers are registered with the configuration element types they provide manageability to using
the attribute, which is bound to assemblies.
Element providers are also responsible for generating the ADM instructions that describe the policies that can be
used to override the values in the configuration elements. Usually the ADM instructions generated by element providers
consist of a single policy with parts that map to the specific configuration element instance of the type the provider
manages. This is not mandatory, however, and the ADM instructions generated by element providers must be consistent
with the ADM structure determined by the section provider that interacts with them.
ADM instructions must be generated for each element instance in a given context, using the elements' names to build
each instruction key.
The name of the value used to hold policy enablement status.
Initializes a new instance of the class.
Adds the ADM instructions that describe the policies that can be used to override the properties of
a specific instance of the configuration element type managed by the receiver.
The to which the Adm instructions are to be appended.
The configuration object instance.
The configuration source from where to get additional configuration
information, if necessary.
The key path for which the generated instructions' keys must be subKeys of.
ADM instructions are generated on a per-instance basis.
Overrides the 's properties with the Group Policy values from the
registry, if any.
The configuration object for instances that must be managed.
if Group Policy overrides must be applied; otherwise,
.
The which holds the Group Policy overrides for the
configuration element at the machine level, or
if there is no such registry key.
The which holds the Group Policy overrides for the
configuration element at the user level, or
if there is no such registry key.
if the policy settings do not disable the configuration element, otherwise
.
when the type of is not
the type.
Logs an error detected while overriding a configuration object with policy values.
The exception representing the error.
Specifies which must be used to provide manageability
for instances a given subclass.
Manageability providers for configuration elements are registered both to the configuration element type
and the manageability provider for the configuration section where the configuration element resides.
The attribute is bound to assemblies.
Initializes a new instance of the class.
The type.
The type.
The type.
Gets the registered type.
Gets the type
for which the registered type provides manageability.
Gets the registered to manage the
section where the
instances managed by the registered type reside.
Provides a default implementation for that
processes policy overrides, performing appropriate logging of
policy processing errors.
The managed configuration element type. Must inherit from .
Default to ReadOnly
Adds the ADM instructions that describe the policies that can be used to override the properties of
a specific instance of the configuration element type managed by the receiver.
The to which the Adm instructions are to be appended.
The configuration object instance.
The configuration source from where to get additional configuration
information, if necessary.
The key path for which the generated instructions' keys must be subKeys of.
Class provides a default implementation for this method that
calls the strongly-typed
method.
Adds the ADM instructions that describe the policies that can be used to override the properties of
a specific instance of the configuration element type managed by the receiver.
The to which the Adm instructions are to be appended.
The configuration object instance.
The configuration source from where to get additional configuration
information, if necessary.
The key for the element's policies.
The default implementation for this method creates a policy, using
to create the policy name and invoking
to add the policy parts.
Subclasses managing objects that must not create a policy must override this method to just add the parts.
Adds the ADM parts that represent the properties of
a specific instance of the configuration element type managed by the receiver.
The to which the Adm instructions are to be appended.
The configuration object instance.
The configuration source from where to get additional configuration
information, if necessary.
The key for the element's policies.
Subclasses managing objects that must not create a policy will likely need to include the elements' keys when creating the parts.
Adds a new drop down list part to the current policy with items representing an enumeration's values.
The enumeration type.
The content builder.
The registry key for the part, to override its policy's key.
The default value for the new part.
when there is no current policy.
Overrides the 's properties with the Group Policy values from the
registry, if any.
The configuration object for instances that must be managed.
if Group Policy overrides must be applied; otherwise,
.
The which holds the Group Policy overrides for the
configuration element at the machine level, or
if there is no such registry key.
The which holds the Group Policy overrides for the
configuration element at the user level, or
if there is no such registry key.
if the policy settings do not disable the configuration element, otherwise
.
when the type of is not
the type .
Provides a default implementation that performs appropriate logging of errors when processing
policy overrides.
ConfigurationElementManageabilityProvider.OverrideWithGroupPolicies
Overrides the 's properties with the Group Policy values from the
registry.
The configuration object for instances that must be managed.
The which holds the Group Policy overrides for the
configuration element.
Subclasses implementing this method must retrieve all the override values from the registry
before making modifications to the so any error retrieving
the override values will cancel policy processing.
Gets the template for the name of the policy associated to the object.
Elements that override
to avoid creating a policy must still override this property.
Represents a configuration accessor for system configuration (.NET configuration).
Defines an accessor for configuration.
Get a configuration section based on name.
The name of the configuration section.
The for the name.
Remove a configuration section.
The name of the section to remove.
Gets the section names for the requested configuration.
A collection of configuration names.
Initialize a new instance of the with the configuration to access.
The configuration to access.
Gets the section names for the requested configuration.
A collection of configuration names.
Get a configuration section based on name.
The name of the configuration section.
The for the name.
Remove a configuration section.
The name of the section to remove.
Represents the behavior required to provide Group Policy updates for a .
Subclasses define the implementation necessary to provide manageability for a specific type of configuration
section.
Section providers delegate the manageability support for internal configuration elements to registered instances
of when collections of heterogeneous elements are involved
and the concrete type of the configuration elements is unknown in advance.
Section providers are registered with the configuration section name they provide manageability to using
the attribute, which is bound to assemblies.
Section providers are also responsible for generating the ADM instructions that describe the policies that can be
used to override the values for all the configuration settings in the section. Usually the ADM instructions generated
for a section consist of a policy for block-wide settings and one policy for each configuration element in a collection;
however some sections might require a different structure. Manageability providers for elements in a section must be
consistent with the ADM structure defined by the section's manageability provider.
The name of the value used to hold policy enablement status.
Initializes a new instance of the class with a
given set of manageability providers for the elements in the section's collections.
The mapping from configuration element type to
.
Adds the ADM instructions that describe the policies that can be used to override the configuration
information represented by a configuration section.
The to which the Adm instructions are to be appended.
The configuration section instance.
The configuration source from where to get additional configuration
information, if necessary.
The key path for which the generated instructions' keys must be sub keys of.
Adds the ADM instructions that describe the policies that can be used to override the configuration
information for the element using the supplied element manageability provider.
The base type for the configuration element.
The to which the Adm instructions are to be appended.
The configuration element.
The used to append the ADM instructions
for the element.
The configuration source from where to get additional configuration
information, if necessary.
The key path for which the generated instructions' keys must be sub keys of.
Adds the ADM instructions that describe the policies that can be used to override the configuration
information for the elements in a collection of configuration elements, using the registered element
manageability providers for each element.
A new category and one policy for each element in the collection are generated; the element manageability
providers are responsible for generating the policies.
Elements for which no manageability provider is registered are ignored.
The base type for the configuration elements collection.
The to which the Adm instructions are to be appended.
The collection of configuration elements.
The configuration source from where to get additional configuration
information, if necessary.
The key path for which the generated instructions' keys must be sub keys of.
The name for the category where the generated policies will be created.
FxCop message CA1004 is supressed because it seems like the rule does not detect the
existing 'elements' method parameter that uses the generic parameter T.
Returns the registry key that represents a policy.
The key for the policy on the machine tree.
The key for the policy on the user tree.
The if it is not and
it represents a policy; otherwise the if it is not
and it represents a policy, otherwise .
IRegistryKey.IsPolicyKey
Returns the instance registered
for type .
The configuration element type of the instance needing management.
The manageability provider registered to manage the type, or
if no provider is registered for the type.
Utility method that loads sub keys at the machine and user level.
The name of the required sub key.
The parent key at the machine level, or
if there is no registry key.
The parent key at the user level, or
if there is no registry key.
When this method returns, contains a reference to the sub key of
named , or
if either machineKey is or it does not have a sub key with
the requested name.
When this method returns, contains a reference to the sub key of
named , or
if either userKey is or it does not have a sub key with
the requested name.
Logs an error detected while overriding a configuration object with policy values.
The exception representing the error.
Overrides the 's and its internal configuration elements' properties
with the Group Policy values from the registry, if any.
The configuration section that must be managed.
if Group Policy overrides must be applied; otherwise,
.
The which holds the Group Policy overrides for the
configuration section at the machine level, or
if there is no such registry key.
The which holds the Group Policy overrides for the
configuration section at the user level, or
if there is no such registry key.
if the policy settings do not disable the configuration section, otherwise
.
Overrides the properties for the configuration element.
The base type for the configuration elements collection.
The configuration element.
The used to override the element's
properties.
if Group Policy overrides must be applied; otherwise,
.
The which holds the Group Policy overrides for the
configuration section at the machine level, or
if there is no such registry key.
The which holds the Group Policy overrides for the
configuration section at the user level, or
if there is no such registry key.
if the policy settings do not disable the configuration element, otherwise
.
This method assumes a specific layout for the policy values: there is a registry key representing the collection
of elements, and a sub key with the policy values for each element. An element's sub key may also contains a value
stating whether the policy for an element is disabled; in that case the element is removed from the collection.
Such a layout for the policy values can be constructed manually, or method
can be invoked during the construction
of the ADM template to generate it.
Overrides the properties for the configuration elements in the given collection.
The base type for the configuration elements collection.
The collection of configuration elements.
The name of the sub key where the policy values for the elements in the collection
reside.
if Group Policy overrides must be applied; otherwise,
.
The which holds the Group Policy overrides for the
configuration section at the machine level, or
if there is no such registry key.
The which holds the Group Policy overrides for the
configuration section at the user level, or
if there is no such registry key.
This method assumes a specific layout for the policy values: there is a registry key representing the collection
of elements, and a sub key with the policy values for each element. An element's sub key may also contains a value
stating whether the policy for an element is disabled; in that case the element is removed from the collection.
Such a layout for the policy values can be constructed manually, or method
can be invoked during the construction
of the ADM template to generate it.
FxCop message CA1004 is supressed because it seems like the rule does not detect the
existing 'elements' method parameter that uses the generic parameter T.
Utility method that closes registry keys.
The registry keys to close.
Gets the mapping from configuration element type to
The mapping from configuration element type to
Specifies which must be used to provide manageability
for a configuration section.
Manageability providers for configuration sections are registered to configuration section name.
The attribute is bound to assemblies.
Initializes a new instance of the class.
The name of the section that needs manageability.
The type.
Gets the name of the for which the registered
type provides manageability.
Gets the registered type.
Provides a default base implementation for that
processes policy override processing, performing appropriate logging of
policy processing errors, from policy override processing for configuration objects
contained by the section.
Initializes a new instance of the class with a
given set of manageability providers for the elements in the section's collections.
The mapping from configuration element type to
.
Adds the ADM instructions that describe the policies that can be used to override the configuration
information represented by a configuration section.
The to which the Adm instructions are to be appended.
The configuration section instance.
The configuration source from where to get additional configuration
information, if necessary.
The key path for which the generated instructions' keys must be sub keys of.
Adds the ADM instructions that describe the policies that can be used to override the configuration
information represented by a configuration section.
The to which the Adm instructions are to be appended.
The configuration section instance.
The configuration source from where to get additional configuration
information, if necessary.
The root key for the section's policies.
Overrides the 's and its internal configuration elements' properties
with the Group Policy values from the registry, if any.
The configuration section that must be managed.
if Group Policy overrides must be applied; otherwise,
.
The which holds the Group Policy overrides for the
configuration section at the machine level, or
if there is no such registry key.
The which holds the Group Policy overrides for the
configuration section at the user level, or
if there is no such registry key.
if the policy settings do not disable the configuration section, otherwise
.
when the type of is not
the type .
Overrides the 's properties with the Group Policy values from
the registry.
The configuration section that must be managed.
The which holds the Group Policy overrides.
Subclasses implementing this method must retrieve all the override values from the registry
before making modifications to the so any error retrieving
the override values will cancel policy processing.
Overrides the 's configuration elements' properties
with the Group Policy values from the registry, if any.
The configuration section that must be managed.
if Group Policy overrides must be applied; otherwise,
.
The which holds the Group Policy overrides for the
configuration section at the machine level, or
if there is no such registry key.
The which holds the Group Policy overrides for the
configuration section at the user level, or
if there is no such registry key.
Errors detected while processing policy overrides for the configuration elements in the section
must be logged but processing for other objects must not be interrupted.
Gets the name of the category that represents the whole configuration section.
Gets the name of the managed configuration section.
Represents the configuration settings that describe an .
Initializes a new instance of the class with default values.
Initializes a new instance of the class.
The name of the configuration element.
The type.
The type that is managed by the provider type.
Gets or sets the type that is managed by the provider type.
Represents the configuration settings that describe an .
Initializes a new instance of the class with default values.
Initializes a new instance of the class.
The name for the configuration section that is managed by the provider type.
The type.
Gets the collection of that represent
the instances that the
instance represented by the receiver might require
to provide manageability to configuration elements.
Represents the configuration settings that describe a .
Represents the minimum application name length allowed.
Represents the maximumapplication name length allowed.
Initializes a new instance of the class with default values.
Initializes a new instance of the class.
The instance name.
The path to the configuration file.
The name that identifies the application consuming the configuration information.
Initializes a new instance of the class.
The instance name.
The path to the configuration file.
The name that identifies the application consuming the configuration information.
if Group Policy overrides must be appliedby the represented
configuration source; otherwise, .
Returns a new configured with the receiver's settings.
A new configuration source.
Gets a value indicating whether an unknown attribute is encountered during deserialization.
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.
Gets or sets the application. This is a required field.
Gets or sets the value for GP enablement.
Gets the collection of registered types
necessary to provide manageability by the represented configuration source.
Base class for implementations that provide manageability
support for custom provider's configuration.
The custon provider's configuration element type.
The basic configuration for a custom provider includes the provider type and a collection of attributes.
Name for the value holding the policy overrides for the custom provider's attributes.
Name for the value holding the policy overrides for the custom provider's type.
Initializes a new instance of the class with a
policy name template.
The template to use when generating the policy associated to a custom provider
configuration instance.
Adds the ADM parts that represent the properties of
a specific instance of the configuration element type managed by the receiver.
The to which the Adm instructions are to be appended.
The configuration object instance.
The configuration source from where to get additional configuration
information, if necessary.
The key for the element's policies.
Subclasses that manage custom provider's configuration objects with additional properties may
override this method to add the corresponding parts.
Returns a string with the encoded key/value pairs that represent the collection.
The collection of attributes.
The encoded representation of the attributes collection.
Overrides the 's properties with the Group Policy values from the
registry.
The configuration object for instances that must be managed.
The which holds the Group Policy overrides for the
configuration element.
Subclasses that manage custom provider's configuration objects with additional properties may
override this method to override these properties.
Gets the template for the name of the policy associated to the object.
Represents a Group Policy notification registration to watch Group Policy notifications.
Initialize a new instance of the object.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Gets the machine policy event.
An for the machine policy.
Gets the user policy event.
An for the user policy.
Represents a builder for Group Policy notification registration.
Creates the registration.
A object.
The policy watcher can be started and stopped many times. To deal with this, when a watcher thread is started
it is given an 'exit' event that will be signaled when the thread needs to be stopped. Once the thread is started
it own the exit event, and will release it when it terminates. More than one watching thread may be active at the
same time, having different exit events, if the old watching thread doesn't get processing time before the new
thread is started; when the old thread gets to run it will consume the signaled exit event and finish.
Defines a watcher for Group Policy.
Starts watching Group Policy.
Stops watching Group Policy.
The event to update the policy.
Initialize a new instance of the class.
Initialize a new instance of the class with a registration builder.
The builder used to create the registration for Group Policy.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Allows an to attempt to free resources and perform other cleanup operations before the is reclaimed by garbage collection.
\
Starts watching Group Policy.
Stops watching Group Policy.
The event to update the policy.
The delegate used to update the Group Policy based on machine.
The machine where Group Policy is updated.
Defines a helper for manageability configuration.
Updates configuration management from the given configuration.
The accessor for the configuration.
Updates configuration management from the given configuration in the given section.
The accessor for the configuration.
The section to update.
Represents a key for manageability configuration implementation.
Gets or sets the application name.
The application name.
Gets or sets weather to enable Group Policies.
true to enable Group Policies; otherwise false.
Gets or sets the configuration file name.
The configuration file name.
Initialize a new instance of the struct.
The configuration file name.
The application name.
true to enable Group Policy; otherwise, false.
A comparer for an .
Determines whether the specified objects are equal.
true if the specified objects are equal; otherwise, false.
The second object of type T to compare.
The first object of type T to compare.
Returns a hash code for the specified object.
A hash code for the specified object.
The for which a hash code is to be returned.
The type of obj is a reference type and obj is null.
Installer for the WMI objects defined in the assembly.
This member supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
Provides the installer for the Core library, installing WMI Events and event log sources defined for this library.
Initializes the installer.
This member supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
Required designer variable.
Clean up any resources being used.
true if managed resources should be disposed; otherwise, false.
Required method for Designer support - do not modify
the contents of this method with the code editor.
Represents a instrumentation configuration section provider.
The name of the property to determine if event logging is enabled.
The name of the property to determine if performance counters is enabled.
Initialize a new instance of the class.
The sub providers.
Adds the ADM instructions that describe the policies that can be used to override the configuration
information represented by a configuration section.
The to which the Adm instructions are to be appended.
The configuration section instance.
The configuration source from where to get additional configuration
information, if necessary.
The root key for the section's policies.
Overrides the 's configuration elements' properties
with the Group Policy values from the registry, if any.
The configuration section that must be managed.
if Group Policy overrides must be applied; otherwise,
.
The which holds the Group Policy overrides for the
configuration section at the machine level, or
if there is no such registry key.
The which holds the Group Policy overrides for the
configuration section at the user level, or
if there is no such registry key.
Overrides the 's properties with the Group Policy values from
the registry.
The configuration section that must be managed.
The which holds the Group Policy overrides.
Gets the name of the category that represents the whole configuration section.
Gets the name of the managed configuration section.
Provides access to the registry.
This interface allows for unit testing without requiring access to the machine's registry.
Gets registry key HKCU.
Gets registry key HKLM.
Provides access to a registry key sub keys and values.
This interface allows for unit testing without requiring access to the machine's registry.
Closes the registry key.
Gets the Boolean value represented by the value for requested name in the registry key.
An integer value of 1 is considered true, any other
value is considered false.
The name of the value to get.
The Boolean value for the requested name in the registry key.
when there is no value for the given name,
or the value exists but it is not an integer representing a boolean.
Gets the enum value for the given name.
The name of the value to get.
The enum value of type represented by the value
for the requested name in the registry key.
when there is no value for the given name,
or the value exists but it is not an string, or it is a string value but it is not a
valid value name for enum type .
The enum type.
FxCop message CA1004 is supressed because the T parameter is used to drive the
type of the method return value, so it is not possible to provide a method
parameter that enables generic parameter inference.
Gets the integer value for the given name.
The name of the value to get.
The integer value for the requested name in the registry key.
when there is no value for the given name,
or the value exists but it is not an integer.
Gets the string value for the given name.
The name of the value to get.
The string value for the requested name in the registry key.
when there is no value for the given name,
or the value exists but it is not a string.
Gets the value for the given name.
The name of the value to get.
The instance of represented by the value for
the requested name in the registry key.
when there is no value for the given name,
or the value exists but it is not an string, or it is a string value but it is not a
valid type name.
Gets the names for the values.
The value names.
Gets the sub key for the given key name.
The name fo the key to get.
The sub key with the requested name if it exists; otherwise .
Gets the indication of whether the registry key represents a policy.
Gets the full name of the registry key.
Represents the logic to encode key/value pairs into a string of semicolon separated entries.
Initializes a new instance of the class.
Adds a key/value pair to the encoded string being built.
The key of the pair.
The value of the pair.
Gets the encoded key/value pairs string built.
Returns a string representing a single encoded key/value pair.
The key of the pair.
The value of the pair.
The encoded key/value pair.
Returns a string representing a single encoded key/value pair with semicolons escaped if
appropriate.
The key of the pair.
The value of the pair.
if semicolons should be escaped;
otherwise .
The encoded key/value pair.
Helper class to extract a key/value pair collection from an encoded string of semicolon
separated key/value pairs.
Extracts the key/value pairs encoded in ,
adding them to .
The string where the key/value pairs are encoded.
The dictionary where the extracted key/value pairs should be added.
Provides logging services to the Enterprise Library Manageability Extensions.
Logs an error detected while overriding a configuration object with policy values.
The exception representing the error.
Logs an error.
The exception representing the error.
The title that describes the error.
Represents a manageability configuration helper.
Initialize a new instance of a class.
The manageability propvodiers.
true to read Group Policies; otherwise, false.
The application name.
Initialize a new instance of the class.
The manageability providers.
true to read Group Policies; otherwise, false.
A registry accessor.
The application name.
Builds the section key name.
The application name.
The section name.
The section key name.
Updates configuration management from the given configuration.
The accessor for the configuration.
Updates configuration management from the given configuration in the given section.
The accessor for the configuration.
The section to update.
Gets the manageability providers.
The manageability providers.
Represents a configuration source that retrieves configuration information from an arbitrary file, overrides
the configuration information with values from the registry's Group Policy keys.
This configuration source uses a object to deserialize configuration, so
the configuration file must be a valid .NET Framework configuration file.
Multiple instances of can be created with a given configuration; however
instances with the same configuration will share the same configuration objects.
Initializes a new instance of the class.
The configuration file path. The path can be absolute or relative.
The that will
provide manageability for each configuration section.
if Group Policy overrides must be applied; otherwise,
.
The name of the running application. This name is used to look for policy overrides.
Initialize a new instance of the class with the implementation.
A to use.
Adds a to the configuration and saves the configuration source.
This operation is not implemented.
Adds a handler to be called when changes to section sectionName
are detected.
This call should always be followed by a . Failure to remove change
handlers will result in .NET resource leaks.
The name of the section to watch for.
The handler.
Retrieves the specified .
The name of the section to be retrieved.
The specified , or
if a section by that name is not found.
Removes a from the configuration and saves the configuration source.
This operation is not implemented.
Remove a handler to be called when changes to section sectionName
are detected.
This class should always follow a call to . Failure
to call these methods in pairs will result in .NET resource leaks.
The name of the section to watch for.
The handler.
Public for testing purposes.
Gets the implementation for configuration source.
Event raised when any section in this configuration source has changed.
Represents a manageable configuration source (like Group Policy).
Initialize a new instance of the class.
The path to the configuration file.
true to refresh configuration; otherwise, false.
The providers used for managment.
true to read Group Policy; otherwise, false.
The name of the application.
Initialize a new instance o the class.
The configuration file path.
The to use.
The to use.
The to use.
The to use.
Adds a change handler for a section.
The section to add the handler.
The handler to add.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Get the configuration section.
The section name to get.
A for the section name.
Removes a change handler from a section.
The section to remove the handler.
The handler to remove.
Gets the manageability helper for the source.
The manageability helper for the source.
Manages the singleton instance for a given
file name, application name and Group Policy enablement combination.
Initialzie a new instance of the class.
Initialize a new instace of the class.
true to support refreshing; otherwise, false.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Gets a for a configuration.
The path to a configuration file.
The list of managment providers.
true to read Group Policies; otherwise, false.
The name of the application.
A object.
Attempt to parse a string into the given Enum type,
returning whether conversion was successful.
Enum type to convert to.
String to convert.
Converted result if successful.
true if conversion was successful, false if it failed.
A strongly-typed resource class, for looking up localized strings, etc.
Returns the cached ResourceManager instance used by this class.
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
Looks up a localized string similar to Expected an instance of InstrumentationConfigurationSection..
Looks up a localized string similar to Expected and instance of '{0}' but got an instance of '{1}' instead..
Looks up a localized string similar to Attributes.
Looks up a localized string similar to Type.
Looks up a localized string similar to A started category is required to perform the operation..
Looks up a localized string similar to A started policy is required to perform the operation..
Looks up a localized string similar to A policy construction is in process..
Looks up a localized string similar to The built content is requested but there are outstanding categories being built..
Looks up a localized string similar to The default value is above the max value for part '{0}' on policy '{1}': {2} versus {3}..
Looks up a localized string similar to The default value is below the min value for part '{0}' on policy '{1}': {2} versus {3}..
Looks up a localized string similar to The default value for part '{0}' on policy '{1}' is longer than the max length {2}..
Looks up a localized string similar to Registry key path contains invalid characters or is missing parts: '{0}'.
Looks up a localized string similar to The default value is invalid: '{0}'.
Looks up a localized string similar to The max len of {2} is invalid on part '{0}' for policy '{1}'. The allowed values are 0-1024..
Looks up a localized string similar to String '{0}' is not a valid name on an ADM template..
Looks up a localized string similar to The suggestion is invalid: '{0}'.
Looks up a localized string similar to Min value is larger than max value for part '{0}' on policy '{1}': {2} versus {3}..
Looks up a localized string similar to The numeric constraint '{2}' for part '{0}' on policy '{1}' is outside the allowed range. The valued values are 0-999999999. .
Looks up a localized string similar to Path segment over 255 chars in length for registry key: '{0}'.
Looks up a localized string similar to Registry value name over 255 chars in length: '{0}'.
Looks up a localized string similar to The application name cannot be longer than 255 characters..
Looks up a localized string similar to The parameter is an empty string.
Looks up a localized string similar to Group policy processing could not be locked prior to reading the registry.
Looks up a localized string similar to The configuration file {0} could not be found..
Looks up a localized string similar to Exception caught from callback for change on section '{0}' calling method '{1}'.
Looks up a localized string similar to An error was detected while a configuration element's properties were being overriden with policy values..
Looks up a localized string similar to There is no value with name '{1}' on key '{0}'..
Looks up a localized string similar to The value for '{1}' on key '{0}' is not a valid value name for enum type '{2}': '{3}'.
Looks up a localized string similar to The value for '{1}' on key '{0}' is not a valid assembly qualified type name: '{2}'.
Looks up a localized string similar to The value for '{1}' on key '{0}' is not of the correct type:
Expected {2} but got {3} instead..
Looks up a localized string similar to The value can not be null or string or empty..
Looks up a localized string similar to Unexpected error while processing section '{0}'.
Looks up a localized string similar to The expected type '{0}' was not provided..
Looks up a localized string similar to Group policy notification thread.
Looks up a localized string similar to Instrumentation.
Looks up a localized string similar to Event logging enabled.
Looks up a localized string similar to Performance counters enabled.
Looks up a localized string similar to Specify settings for the instrumentation section.
Looks up a localized string similar to Manageable Configuration Source.
Looks up a localized string similar to Updates to configuration through the ManageableConfigurationSource are not supported. Use the FileConfigurationSource instead..
Looks up a localized string similar to None.
Represents an error that occurs while accessing the registry.
Initializes a new instance of the class.
Initializes a new instance of the class with a specified error message.
The message that describes the error.
Initializes a new instance of the class with a specified error message
and a reference to the inner exception that is the cause of this exception.
The message that describes the error.
The inner exception reference.
Initializes a new instance of the class with serialized data.
The that holds the serialized object data about the exception being thrown.
The that contains contextual information about the source or destination.
Provides access to a registry key sub keys and values.
The name of the policy value.
Closes the registry key.
Gets an actual value from the registry.
The name of the value to get.
The value from the registry, or if
there is no such value.
Gets the sub key for the given key name.
The name fo the key to get.
The sub key with the requested name if it exists; otherwise .
Gets the Boolean value represented by the value for requested name in the registry key.
An integer value of 1 is considered true, any other
value is considered false.
The name of the value to get.
The Boolean value for the requested name in the registry key.
when there is no value for the given name,
or the value exists but it is not an integer representing a Boolean.
Gets the enum value for the given name.
The name of the value to get.
The enum value of type represented by the value
for the requested name in the registry key.
when there is no value for the given name,
or the value exists but it is not an string, or it is a string value but it is not a
valid value name for enum type .
The enum type.
Gets the integer value for the given name.
The name of the value to get.
The integer value for the requested name in the registry key.
when there is no value for the given name,
or the value exists but it is not an integer.
Gets the string value for the given name.
The name of the value to get.
The string value for the requested name in the registry key.
when there is no value for the given name,
or the value exists but it is not a string.
Gets the value for the given name.
The name of the value to get.
The instance of represented by the value for
the requested name in the registry key.
when there is no value for the given name,
or the value exists but it is not an string, or it is a string value but it is not a
valid type name.
Gets the names for the values.
The value names.
Gets the sub key for the given key name.
The name fo the key to get.
The sub key with the requested name if it exists; otherwise .
when is .
when is not a valid name.
Gets the indication of whether the registry key represents a policy.
Gets the full name of the registry key.
Builder for manageability configuration providers.
Create a manageability configuration provider.
The provdier data.
A object.
Create a manageability configuration provider.
The provdier data.
A object.
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.
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.
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.
Allows an to attempt to free resources and perform other cleanup operations before the is reclaimed by garbage collection.
Returns the of the last change of the information watched
The information is retrieved using the watched file modification timestamp
The of the last modificaiton, or DateTime.MinValue
if the information can't be retrieved
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.
Contains settings specific to the registration of a .
The section name used to retrieve the if available.
The name of the type that implements .
Contains a collection of .
Creates a new instance of .
Base class for Enterprise Library Blocks' container extensions.
Ensure that this container has been configured to resolve Enterprise Library
objects.
Main for Enterprise Library.
This extension configures its container to resolve all Enterprise Library
objects. It's a convienence method to save having to manually create a
object and configure it yourself.
Initializes a new instance of the class with the
default .
Initializes a new instance of the class with the
the specified .
The to use when retrieving
configuration information.
Configures the Unity container to be able to resolve Enterprise Library
objects.
Entry point for the container infrastructure for Enterprise Library.
Read the current Enterprise Library configuration in the given
and supply the corresponding type information to the .
object used to consume the configuration
information.
Configuration information.
Read the current Enterprise Library configuration in the given
and supply the corresponding type information to the .
used to identify what information
to pull from the configuration file.
object used to consume the configuration
information.
Configuration information.
Create a new instance of that has been configured
with the information in the default
The object.
Create a new instance of that has been configured
with the information in the given .
containing Enterprise Library
configuration information.
The object.
Get or set the current container used to resolve Entlib objects (for use by the
various static factories).
Provides Reader/Writer lock logic to allow reconfiguring of the container.
Initial the container with this extension's functionality.
When overridden in a derived class, this method will modify the given
by adding strategies, policies, and so forth. to
install it's functions into the container.
Called during the chain of responsibility for a build operation. The
PreBuildUp method is called when the chain is being executed in the
forward direction.
Context of the build operation.
Called during the chain of responsibility for a build operation. The
PostBuildUp method is called when the chain has finished the PreBuildUp
phase and executes in reverse order from the PreBuildUp calls.
Context of the build operation.
Container extension that allows for supplying additional, transient policies while building up an object
through a container.
Initializes the container with this extension's functionality.
This extension does not permfom any initialization.
Run an existing object through the container and perform injection on it.
of object to perform injection on.
Instance to build up.
Name to use when looking up the typemappings and other configurations.
Providers for transient policies to use.
The resulting object. By default, this will be object supplied in the
parameter, but container extensions may add things like automatic proxy creation which would cause this to
return a different object (but still type compatible with t).
Extension methods on that provides
some convenience wrappers.
Add a new extension to the given , only
if the extension hasn't already been added to the container.
The container to add the extension to.
The extension object.
Add a new extension to the given , only
if the extension hasn't already been added to the container.
Type of extension to add.
Container to add the extension to.
Base class for the reflection-based installers. These reflection-based installers
search through assemblies looking for the appropriate kinds of installable resources and
arrange for them to be registered with the appropriate installer
Fills the given installer with other, more specific kinds of installers that have been
filled with the appropriate kinds of installable resources
Outer installer to be filled with nested installers for specific resources
Initializes object by giving it access to an array of all available types and a specification of
the more specific resource type that will be installed.
Array of available types through which installer should look
Attribute specifying the more specific resource type to search for
Helper method to determine if the given type is attributed with the necessary attributes to be installed
for a given installer
Type in question
More specific attribute used to match resource being installed
True if the attributes on the given matches
Helper method to determine if the attributes for a given type match the attributes used to
specify a specific kind of installable resource. The type should be attributed with
and the attribute passed to this method call.
Type in question
More specific attribute used to match resource being installed
true if the type specifies intallable resources.
Creates one or more installers after iterating over the .
The number of iterators returned depends on the specific needs of the particular installable type.
Collection of installers created through iterating over included types
Gets or sets a list of all instrumentented types found in a given assembly. Types are instrumented if they are
attributed with and another attribute specifying
another, more specific resource type.
Configuration object for Instrumentation. This section defines the instrumentation behavior
for the entire application
Section name
Initializes enabled state of the three forms of instrumentation
True if performance counter instrumentation is to be enabled
True if event logging instrumentation is to be enabled
Initializes enabled state of the three forms of instrumentation and the instance name
True if performance counter instrumentation is to be enabled
True if event logging instrumentation is to be enabled
Value of the InstanceName
Initializes object to default settings of all instrumentation types disabled and an empty InstanceName
Retrieve the from the given configuratio source.
If the source is null, or does not contain an instrumentation section, then return a default
section with instrumentation turned off.
Configuration source containing section (or not).
The configuration section.
Gets a value indicating whether an unknown attribute is encountered during deserialization.
Gets and sets the value of PerformanceCountersEnabled
Gets and sets the value of EventLoggingEnabled
Gets and sets value of ApplicationInstanceName
Provides instrumentation specific configuration extensions to
Configure Instrumentation for Enterprise Library.
Extends the
Defines instrumentation configuration options.
Enable logging
Enable performance counters for instrumentation
Set application instance for instrumentation.
Factory for s. Individual
instances are cached to prevent the same instance from being created multiple times.
Creates an initialized with individual
instances. Instances are named according to passed to this method.
Performance counter category name, as defined during installation.
Performance counter name, as defined during installation.
Param array of instance names for which individual counters should be created.
The new counter instance.
This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code.
Defines an event source to be installed by the reflection based installer system. Each field
in this attribute is a placeholder for the same field as defined in the .
Initializes this object with the event log name and source to be installed.
Event log name to which the source should be added.
Event log source to be added.
Gets the event log name.
Gets the event source name.
Gets and sets the category count.
Gets the category resource file name.
Gets and sets the message resource file name.
Gets and sets the parameter resource file name
Formats an event log entry to the defined format.
Formats an event log entry for logging to event log.
Creates a formatted message, suitable for logging to the event log.
Creates a formatted message, suitable for logging to the event log.
Message to be formatted, with format tags embedded.
Extra strings to be matched up with the format tags provided in .
Formatted message, suitable for logging to the event log.
Creates a formatted message, suitable for logging to the event log.
Message to be formatted, with format tags embedded.
Exception containing message text to be added to event log message produced by this method
Extra strings to be matched up with the format tags provided in .
Formatted message, suitable for logging to the event log.
Initializes this object with the name of the specific block using this class.
Initializes this object with the name of the specific block using this class.
Name of block using this functionality.
Initializes this object with the given application and block names.
Name of the application.
Name of the block using this functionality.
Creates a formatted message, suitable for logging to the event log.
Creates a formatted message, suitable for logging to the event log.
Message to be formatted, with format tags embedded.
Extra strings to be matched up with the format tags provided in .
Formatted message, suitable for logging to the event log.
Creates a formatted message, suitable for logging to the event log.
Message to be formatted, with format tags embedded.
Exception containing message text to be added to event log message produced by this method
Extra strings to be matched up with the format tags provided in .
Formatted message, suitable for logging to the event log.
Add event log source definitions for classes that have been attributed
with HasInstallableResourceAttribute and EventLogDefinition attributes to EventLogInstallers.
One installer is created for each unique event log source that is found.
Initializes this object with a list of s that may potentially be attributed appropriately.
Array of types to inspect check for event log sources needing installation
Creates instances for each separate event log source needing installation.
Collection of s that represent types defining
event log sources to be installed.
Collection of installers containing event log sources to be installed.
Listens for events raised by block classes and reports them to appropriate instrumentation
services (EventLog, or PeformanceCounters).
Base constructor for .
Base constructor for .
True if performance counter reporting is enabled
True if event logging is enabled
Creates unique name for each instance.
Base constructor for .
Unique name for this instance
True if performance counter reporting is enabled
True if event logging is enabled
Creates unique name for each instance.
Base constructor for .
Unique names for th instances to be managed by this listener.
True if performance counter reporting is enabled
True if event logging is enabled
Creates unique name for each instance.
Gets the event source name as defined in the class metadata.
The event source name.
Initializes the performance counter instances managed by this listener.
Instance names for performance counters.
Creates a unique name for a specific performance counter instance.
Instance name for a specific performance counter.
The created instance name.
Gets and sets the EventLoggingEnabled property
Gets and sets the PerformanceCountersEnabled property
Add event log source definitions for classes that have been attributed
with HasInstallableResourceAttribute and EventLogDefinition attributes to EventLogInstallers.
One installer is created for each unique performance counter category that is found.
Initializes this object with a list of s that may potentially be attributed appropriately.
Array of types to inspect check for performance counter definitions needing installation
Creates instances for each separate performance counter definition needing installation.
Collection of s that represent types defining
performance counter definitions to be installed.
Collection of installers containing performance counter definitions to be installed.
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.
A formatter object that allows replacement tokens in a string.
The supported tokens are:
- {appdomain}Includes the current appdomain's friendly name.
- {assembly}Includes the assembly name.
- {namespace}Includes the target class's namespace.
- {type}Includes the name of the type containing the target method.
- {method}Includes the name of the target method.
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.
Creates a that replaces tokens
using the information in the given method invocation.
object containing information
about the current method call.
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.
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.
Extension methods on for convenience.
If the object implements then call it.
The service locator to dispose, if possible.
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 .