Class ExtendedTypeInfo<T>
Provides extended information about a type.
This class is mainly used to define sets of types within the Constants class and it is not meant for other than querying the BasicTypesInfo dictionary.
Inherited Members
Namespace: Swan.Reflection
Syntax
public class ExtendedTypeInfo<T> : ExtendedTypeInfo
Type Parameters
Name | Description |
---|---|
T | The type of extended type information. |
Constructors
ExtendedTypeInfo()
Initializes a new instance of the ExtendedTypeInfo<T> class.
Declaration
public ExtendedTypeInfo()
Methods
ToStringInvariant(T)
Converts this instance to its string representation, trying to use the CultureInfo.InvariantCulture IFormat provider if the overload is available.
Declaration
public string ToStringInvariant(T instance)
Parameters
Type | Name | Description |
---|---|---|
T | instance | The instance. |
Returns
Type | Description |
---|---|
String | A String that represents the current object. |