Allows to get instances of the IType interface or to test for type equality or inheritance.
Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public interface IDeclarationFactoryMethods
| Name | Description |
|---|---|
| GetDeclarationFromId(SerializableDeclarationId) | Gets a declaration from a serialized identifier generated by ToSerializableId(). |
| GetNamedTypeByReflectionType(Type) | |
| GetSpecialType(SpecialType) | Gets a INamedType representing a given SpecialType. |
| GetTypeByReflectionName(string) | Get type based on its full name, as used in reflection. |
| GetTypeByReflectionType(Type) | |
| GetTypeFromId(SerializableTypeId, IReadOnlyDictionary<string, IType>?) | |
| Translate<T>(T?, IGenericContext?) |