ConnectionStringParserTParameterAttribute, TNestedSettingsAttribute Class

Parses connection strings based on a settings object whose properties are annotated with TParameterAttribute and TNestedSettingsAttribute.

Definition

Namespace: Gemstone.Configuration
Assembly: Gemstone.Configuration (in Gemstone.Configuration.dll) Version: 1.0.128 -- Release Build+e642e346f6a184b82d0191f20af9f896bef9bb3d
public class ConnectionStringParser<TParameterAttribute, TNestedSettingsAttribute> : ConnectionStringParser<TParameterAttribute>
where TParameterAttribute : Attribute
where TNestedSettingsAttribute : Attribute
Inheritance
Object    ConnectionStringParser    ConnectionStringParserTParameterAttribute    ConnectionStringParserTParameterAttribute, TNestedSettingsAttribute

Type Parameters

TParameterAttribute
The type of the attribute to search for when determining whether to serialize a property to the connection string.
TNestedSettingsAttribute
The type of the attribute to search for when determining which parameters are to be parsed recursively as connection strings.

Constructors

ConnectionStringParserTParameterAttribute, TNestedSettingsAttributeInitializes a new instance of the ConnectionStringParserTParameterAttribute, TNestedSettingsAttribute class

Properties

EndValueDelimiter Gets or sets the end value delimiter used to denote the end of a value in the cases where the value contains one of the delimiters defined for the connection string.
(Inherited from ConnectionStringParser)
ExplicitlySpecifyDefaults Gets or sets the flag that determines whether to explicitly specify parameter values that match their defaults when serializing settings to a connection string.
(Inherited from ConnectionStringParser)
KeyValueDelimiter Gets or sets the key-value delimiter used to separate keys from values in the connection string.
(Inherited from ConnectionStringParser)
ParameterDelimiter Gets or sets the parameter delimiter used to separate key-value pairs in the connection string.
(Inherited from ConnectionStringParser)
SerializeUnspecifiedProperties Redefined to throw an exception. This property has no meaning when property serialization is determined by the existence of the typed parameter.
(Inherited from ConnectionStringParserTParameterAttribute)
StartValueDelimiter Gets or sets the start value delimiter used to denote the start of a value in the cases where the value contains one of the delimiters defined for the connection string.
(Inherited from ConnectionStringParser)

Methods

ComposeConnectionString Serializes the given settingsObject into a connection string.
(Overrides ConnectionStringParserComposeConnectionString(Object))
ConvertToPropertyType Converts the given string value to the type of the given property.
(Inherited from ConnectionStringParser)
ConvertToString Converts the given object to a string.
(Inherited from ConnectionStringParser)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetConnectionStringProperties Gets the set of properties which are part of the connection string.
(Inherited from ConnectionStringParserTParameterAttribute)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ParseConnectionString Deserializes the connection string parameters into the given settingsObject.
(Overrides ConnectionStringParserParseConnectionString(String, Object))
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also