Synced
TypeRef
Section titled “TypeRef”
- Identifies one logical runtime type without retaining its assembly or load context.
Required contracts
Section titled “Required contracts”API: engine
Implements: System.IEquatable<Inno.Extensibility.Types.TypeRef>
Inherits: System.ValueType
Project: Inno.Extensibility.Types
Declaration
Section titled “Declaration”public readonly struct Inno.Extensibility.Types.TypeRef : System.IEquatable<Inno.Extensibility.Types.TypeRef>Remarks
Section titled “Remarks”Equality and persistence use P:Inno.Extensibility.Types.TypeRef.stableId. The P:Inno.Extensibility.Types.TypeRef.runtimeId is only a generation-local resolution hint and can become stale after an assembly reload.
Members
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | TypeRef.Constructor | Creates an unresolved type reference from its persistent identity. |
| Methods | TypeRef.Equals(Inno.Extensibility.Types.TypeRef) | Determines whether this instance and the supplied value represent the same logical state. |
| Methods | TypeRef.Equals(System.Object) | Determines whether this instance and the supplied value represent the same logical state. |
| Methods | TypeRef.GetHashCode | Computes a hash code from the fields that participate in logical equality. |
| Methods | TypeRef.IsValid | Determines whether one type catalog currently resolves this reference. |
| Methods | TypeRef.op_Equality | Determines whether two references identify the same logical type. |
| Methods | TypeRef.op_Inequality | Determines whether two references identify different logical types. |
| Methods | TypeRef.Resolve(Inno.Extensibility.Types.TypeCacheSnapshot) | Resolves this reference against a specific immutable type-cache snapshot. |
| Methods | TypeRef.Resolve(Inno.Extensibility.Types.TypeCatalog) | Resolves this reference against one catalog’s active immutable generation. |
| Methods | TypeRef.ToString | Formats this value as a human-readable representation. |
| Properties | TypeRef.runtimeId | Gets the generation-local lookup hint captured when this value was created. |
| Properties | TypeRef.stableId | Gets the persistent identity used across assembly generations and process launches. |