Class TypeInfo
- Namespace
- Elegy.Common.Reflection
- Assembly
- Elegy.Common.dll
Caches a bunch of metadata about a given datatype.
public class TypeInfo
- Inheritance
-
TypeInfo
- Inherited Members
Constructors
TypeInfo(Type)
Gathers all type information from the given type.
public TypeInfo(Type type)
Parameters
type
Type
Properties
Attributes
The attributes this type has.
public IReadOnlyList<Attribute> Attributes { get; }
Property Value
Methods
This type's methods.
public IReadOnlyList<MethodWrapper> Methods { get; }
Property Value
Properties
This type's properties.
public IReadOnlyList<PropertyWrapper> Properties { get; }
Property Value
Methods
From<T>()
Gathers all type information from T
.
public static TypeInfo From<T>()
Returns
Type Parameters
T