ConnectionStringParserTParameterAttribute Class

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

Definition

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

Type Parameters

TParameterAttribute
The type of the attribute to search for when determining whether to serialize a property to the connection string.

Constructors

ConnectionStringParserTParameterAttributeInitializes a new instance of the ConnectionStringParserTParameterAttribute 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.
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)
TypeRegistry Gets or sets TypeRegistry instance used for evaluating encountered instances of the DefaultValueExpressionAttribute on modeled connection string values that are marked with TParameterAttribute.

Methods

ComposeConnectionString Serializes the given settingsObject into a connection string.
(Inherited from ConnectionStringParser)
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.
(Overrides ConnectionStringParserGetConnectionStringProperties(Type))
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.
(Inherited from ConnectionStringParser)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also