Synced
SerializationRegistry.GetMetadata
Section titled “SerializationRegistry.GetMetadata”
- Reads the current provider’s declaration metadata for domain operations such as prefab overrides.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.Serialization
Declaration
Section titled “Declaration”public Inno.Core.Serialization.SerializationTypeMetadata Inno.Core.Serialization.SerializationRegistry.GetMetadata(System.Type type)Parameters
Section titled “Parameters”Parameter type: The exact declaration owned by the current serialization generation.
Returns
Section titled “Returns”Immutable declaration accessors owned by this generation; unsupported declarations throw. The caller must not retain the result across generation retirement.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: The declaration is null.
Exception T:System.ObjectDisposedException: The registry has been disposed.