TypeConverterAttribute ClassApache log4net™ SDK Documentation
Attribute used to associate a type converter
Inheritance Hierarchy

SystemObject
  SystemAttribute
    log4net.Util.TypeConvertersTypeConverterAttribute

Namespace: log4net.Util.TypeConverters
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

public sealed class TypeConverterAttribute : Attribute

The TypeConverterAttribute type exposes the following members.

Constructors

  NameDescription
Public methodTypeConverterAttribute
Default constructor
Public methodTypeConverterAttribute(String)
Create a new type converter attribute for the specified type name
Public methodTypeConverterAttribute(Type)
Create a new type converter attribute for the specified type
Top
Properties

  NameDescription
Public propertyConverterTypeName
The string type name of the type converter
Public propertyTypeId
When implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute.)
Top
Methods

  NameDescription
Public methodEquals
Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from Attribute.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsDefaultAttribute
When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute.)
Public methodMatch
When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
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

Reference