Class TypeInfo<T>
- Namespace
- Cratis.Reflection
- Assembly
- Cratis.Fundamentals.dll
Represents an implementation of ITypeInfo.
public class TypeInfo<T> : ITypeInfo
Type Parameters
TType it holds info for.
- Inheritance
-
TypeInfo<T>
- Implements
- Inherited Members
- Extension Methods
Fields
Instance
Gets a singleton instance of the TypeInfo.
public static readonly TypeInfo<T> Instance
Field Value
- TypeInfo<T>
Properties
HasDefaultConstructor
Gets a value indicating whether or not the type has a default constructor that takes no arguments.
public bool HasDefaultConstructor { get; }