Class TypeDescriptor
[Obsolete("This feature will be removed in the next major version. See https://steeltoe.io/docs/v3/obsolete for details.")]
public class TypeDescriptor
- Inheritance
-
TypeDescriptor
- Inherited Members
Constructors
TypeDescriptor(Type, bool)
public TypeDescriptor(Type type, bool boxed = false)
Parameters
Fields
A
public static readonly TypeDescriptor A
Field Value
B
public static readonly TypeDescriptor B
Field Value
C
public static readonly TypeDescriptor C
Field Value
D
public static readonly TypeDescriptor D
Field Value
F
public static readonly TypeDescriptor F
Field Value
I
public static readonly TypeDescriptor I
Field Value
J
public static readonly TypeDescriptor J
Field Value
M
public static readonly TypeDescriptor M
Field Value
N
public static readonly TypeDescriptor N
Field Value
O
public static readonly TypeDescriptor O
Field Value
OBJECT
public static readonly TypeDescriptor OBJECT
Field Value
P
public static readonly TypeDescriptor P
Field Value
Q
public static readonly TypeDescriptor Q
Field Value
S
public static readonly TypeDescriptor S
Field Value
STRING
public static readonly TypeDescriptor STRING
Field Value
TYPE
public static readonly TypeDescriptor TYPE
Field Value
V
public static readonly TypeDescriptor V
Field Value
Z
public static readonly TypeDescriptor Z
Field Value
Properties
IsBoxable
public bool IsBoxable { get; }
Property Value
IsBoxed
public bool IsBoxed { get; }
Property Value
IsBoxedNumber
public bool IsBoxedNumber { get; }
Property Value
IsBoxedPrimitive
public bool IsBoxedPrimitive { get; }
Property Value
IsBoxedValueType
public bool IsBoxedValueType { get; }
Property Value
IsPrimitive
public bool IsPrimitive { get; }
Property Value
IsReferenceType
public bool IsReferenceType { get; }
Property Value
IsValueType
public bool IsValueType { get; }
Property Value
IsVoid
public bool IsVoid { get; }
Property Value
Value
public Type Value { get; }
Property Value
Methods
Boxed()
public TypeDescriptor Boxed()
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
UnBox()
public TypeDescriptor UnBox()
Returns
Operators
operator ==(TypeDescriptor, TypeDescriptor)
public static bool operator ==(TypeDescriptor lhs, TypeDescriptor rhs)
Parameters
lhsTypeDescriptorrhsTypeDescriptor
Returns
operator !=(TypeDescriptor, TypeDescriptor)
public static bool operator !=(TypeDescriptor lhs, TypeDescriptor rhs)
Parameters
lhsTypeDescriptorrhsTypeDescriptor