Synced
ReferenceDescriptor.Constructor
Section titled “ReferenceDescriptor.Constructor”
- Creates a persistent reference descriptor.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.References
Declaration
Section titled “Declaration”public Inno.References.ReferenceDescriptor.ReferenceDescriptor(Inno.References.ReferenceKindId kindId, System.Guid targetPersistentId, System.Guid expectedStableTypeId = default(System.Guid), string? lastKnownName = null, string? lastKnownPath = null)Parameters
Section titled “Parameters”Parameter kindId: The open protocol used to resolve the target.
Parameter targetPersistentId: The target object’s persistent identity, or an empty value for an explicitly unassigned slot.
Parameter expectedStableTypeId: An optional stable type constraint interpreted by the resolver.
Parameter lastKnownName: Optional non-authoritative display text retained while the target is missing.
Parameter lastKnownPath: Optional non-authoritative source path retained for diagnostics.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: Thrown when kindId is invalid.