Skip to main content

Class SystemType

Namespace: RealityCollective.ServiceFramework

Reference to a class Type with support for Unity serialization.

[Serializable]
public sealed class SystemType : ISerializationCallbackReceiver

Inheritance

ISerializationCallbackReceiver ← SystemType

Constructors

SystemType(SerializedProperty)

Initializes a new instance of the SystemType class.

public SystemType(UnityEditor.SerializedProperty property)

Parameters

property UnityEditor.SerializedProperty

The serialized property of the type reference.

SystemType(Type)

Initializes a new instance of the SystemType class.

public SystemType(Type type)

Parameters

type Type

Class type.

SystemType(string)

Initializes a new instance of the SystemType class.

public SystemType(string typeGuid)

Parameters

typeGuid string

GUID reference as String.

SystemType(Guid)

Initializes a new instance of the SystemType class.

public SystemType(Guid guid)

Parameters

guid Guid

GUID reference of the type to instantiate.

Properties

Guid

Gets the Guid associated with the Type.

public Guid Guid { get; }

Property Value

Guid

Type

Gets or sets type of class reference.

public Type Type { get; set; }

Property Value

Type

Methods

ToString()

public override string ToString()

Returns

string

Operators

implicit operator Guid(SystemType)

public static implicit operator Guid(SystemType type)

Parameters

type SystemType

Returns

Guid

implicit operator string(SystemType)

public static implicit operator string(SystemType type)

Parameters

type SystemType

Returns

string

implicit operator Type(SystemType)

public static implicit operator Type(SystemType type)

Parameters

type SystemType

Returns

Type

implicit operator SystemType(Type)

public static implicit operator SystemType(Type type)

Parameters

type Type

Returns

SystemType

implicit operator SystemType(Guid)

public static implicit operator SystemType(Guid guid)

Parameters

guid Guid

Returns

SystemType