ISerialTypeInfo

Description

[ShutdownSurvive]
interface Tinman.Core.IO.Serialization.ISerialTypeInfo

Derived from

IPleaseIncludeInBinaryThanks

Extended by

SerialTypeInfoBase abstract

Provides runtime information about a serializable type.

Public / Methods

Create​Instance


public method CreateInstance → ()

returns → ISerializable

The type instance.

Creates a new instance of the serializable type.

Public / Attributes

Guid


public attribute Guid → (get)

value : GUID

[not-empty]
The type GUID or GUID.Zero if locked (see remarks).

Returns the type GUID.

Types may use locked GUIDs, which are unlocked when the LicenceDomain.Unlock method is called. Serialization will not be functional for locked GUIDs.

Name


public attribute Name → (get)

value : string

[not-empty]
The type name.

Returns the human-readable name of the serializable type.

Extensions

Guid​Throw​If​Locked


public static method GuidThrowIfLocked → (2)

source in : string

The error source tag to use when throwing.

path in : Path

The path info to use when throwing.

returns → GUID

The unlocked type GUID (will never be equal to GUID.Zero).

IOException

If the type GUID is still locked.