UnityEssentials
Small but useful tools and features for Unity
Public Member Functions | Static Public Member Functions | Properties | Private Member Functions | Private Attributes | List of all members
UnityEngine.TypeSerializable Class Reference

Simple helper class that allows you to serialize System.Type objects More...

Collaboration diagram for UnityEngine.TypeSerializable:
Collaboration graph

Public Member Functions

 TypeSerializable (System.Type _SystemType)
 
override bool Equals (System.Object obj)
 
bool Equals (TypeSerializable _Object)
 
override int GetHashCode ()
 

Static Public Member Functions

static bool operator== (TypeSerializable a, TypeSerializable b)
 
static bool operator!= (TypeSerializable a, TypeSerializable b)
 

Properties

string Name [get]
 The name of the type. More...
 
string AssemblyQualifiedName [get]
 The assembly-qualified name of the type, which includes the name of the assembly from which the Type object was loaded. More...
 
string AssemblyName [get]
 The display name of the assembly of the type. More...
 
System.Type SystemType [get]
 The type. More...
 

Private Member Functions

void GetSystemType ()
 

Private Attributes

string m_Name
 The name of the type. More...
 
string m_AssemblyQualifiedName
 The assembly-qualified name of the type, which includes the name of the assembly from which the Type object was loaded. More...
 
string m_AssemblyName
 The display name of the assembly of the type. More...
 
System.Type m_SystemType
 The type. More...
 

Detailed Description

Simple helper class that allows you to serialize System.Type objects

Definition at line 11 of file TypeSerializable.cs.

Constructor & Destructor Documentation

◆ TypeSerializable()

UnityEngine.TypeSerializable.TypeSerializable ( System.Type  _SystemType)

Definition at line 67 of file TypeSerializable.cs.

Here is the caller graph for this function:

Member Function Documentation

◆ Equals() [1/2]

override bool UnityEngine.TypeSerializable.Equals ( System.Object  obj)

Definition at line 75 of file TypeSerializable.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Equals() [2/2]

bool UnityEngine.TypeSerializable.Equals ( TypeSerializable  _Object)

Definition at line 85 of file TypeSerializable.cs.

◆ GetHashCode()

override int UnityEngine.TypeSerializable.GetHashCode ( )

Definition at line 113 of file TypeSerializable.cs.

◆ GetSystemType()

void UnityEngine.TypeSerializable.GetSystemType ( )
private

Definition at line 62 of file TypeSerializable.cs.

◆ operator!=()

static bool UnityEngine.TypeSerializable.operator!= ( TypeSerializable  a,
TypeSerializable  b 
)
static

Definition at line 108 of file TypeSerializable.cs.

◆ operator==()

static bool UnityEngine.TypeSerializable.operator== ( TypeSerializable  a,
TypeSerializable  b 
)
static

Definition at line 91 of file TypeSerializable.cs.

Here is the call graph for this function:

Member Data Documentation

◆ m_AssemblyName

string UnityEngine.TypeSerializable.m_AssemblyName
private

The display name of the assembly of the type.

Definition at line 37 of file TypeSerializable.cs.

◆ m_AssemblyQualifiedName

string UnityEngine.TypeSerializable.m_AssemblyQualifiedName
private

The assembly-qualified name of the type, which includes the name of the assembly from which the Type object was loaded.

Definition at line 27 of file TypeSerializable.cs.

◆ m_Name

string UnityEngine.TypeSerializable.m_Name
private

The name of the type.

Definition at line 17 of file TypeSerializable.cs.

◆ m_SystemType

System.Type UnityEngine.TypeSerializable.m_SystemType
private

The type.

Definition at line 46 of file TypeSerializable.cs.

Property Documentation

◆ AssemblyName

string UnityEngine.TypeSerializable.AssemblyName
get

The display name of the assembly of the type.

Definition at line 41 of file TypeSerializable.cs.

◆ AssemblyQualifiedName

string UnityEngine.TypeSerializable.AssemblyQualifiedName
get

The assembly-qualified name of the type, which includes the name of the assembly from which the Type object was loaded.

Definition at line 31 of file TypeSerializable.cs.

◆ Name

string UnityEngine.TypeSerializable.Name
get

The name of the type.

Definition at line 21 of file TypeSerializable.cs.

◆ SystemType

System.Type UnityEngine.TypeSerializable.SystemType
get

The type.

Definition at line 50 of file TypeSerializable.cs.


The documentation for this class was generated from the following file: