Open sandboxFocus

Class TypeFactory

Exposes methods that return instances of the IType interface.

Inheritance
TypeFactory
Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public static class TypeFactory

Methods

Name Description
GetType(SpecialType)

Gets a INamedType representing a given SpecialType.

GetType(string)

Get type based on its full name, as used in reflection.

GetType(Type)

Gets an IType given a reflection Type.

ToNonNullableType(INamedType)
ToNonNullableType(IType)
ToNonNullableType(ITypeParameter)
ToNonNullableType(IArrayType)
ToNonNullableType(IDynamicType)
ToNullableType(INamedType)
ToNullableType(IType)
ToNullableType(IArrayType)
ToNullableType(IDynamicType)