Attribute used to associate a type converter
Inheritance Hierarchy
SystemAttribute
log4net.Util.TypeConvertersTypeConverterAttribute
Namespace: log4net.Util.TypeConverters
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax
The TypeConverterAttribute type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| TypeConverterAttribute |
Default constructor
| |
| TypeConverterAttribute(String) |
Create a new type converter attribute for the specified type name
| |
| TypeConverterAttribute(Type) |
Create a new type converter attribute for the specified type
|
Properties
| Name | Description | |
|---|---|---|
| ConverterTypeName |
The string type name of the type converter
| |
| TypeId |
When implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute.) |
Methods
| Name | Description | |
|---|---|---|
| Equals |
Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute.) | |
| GetHashCode |
Returns the hash code for this instance.
(Inherited from Attribute.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| IsDefaultAttribute |
When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute.) | |
| Match |
When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute.) | |
| ToString | (Inherited from Object.) |
Remarks
Class and Interface level attribute that specifies a type converter to use with the associated type.
To associate a type converter with a target type apply a TypeConverterAttribute to the target type. Specify the type of the type converter on the attribute.
See Also