Version 3.1.1.0

UnitySerializableType struct

Namespace: Sirenix.OdinValidator.Editor
Assembly: Sirenix.OdinValidator.Editor
public struct UnitySerializableType : IEquatable<UnitySerializableType>, IEquatable<Type>

Fields

TypeName
public string TypeName

Properties

Type
public Type Type { get; set; }

Methods

Equals(UnitySerializableType)
public bool Equals(UnitySerializableType other)
Parameters
UnitySerializableType other

Returns
System.Boolean

Equals(Object)
public override bool Equals(object obj)
Parameters
System.Object obj

Returns
System.Boolean

Equals(Type)
public bool Equals(Type other)
Parameters
System.Type other

Returns
System.Boolean

GetHashCode()
public override int GetHashCode()
Returns
System.Int32

GetNiceFullName()
public string GetNiceFullName()
Returns
System.String

GetNiceName()
public string GetNiceName()
Returns
System.String

Operators

Equality(UnitySerializableType, UnitySerializableType)
public static bool operator ==(UnitySerializableType a, UnitySerializableType b)
Returns
System.Boolean

Equality(UnitySerializableType, Type)
public static bool operator ==(UnitySerializableType a, Type b)
Parameters
UnitySerializableType a

System.Type b

Returns
System.Boolean

Equality(Type, UnitySerializableType)
public static bool operator ==(Type a, UnitySerializableType b)
Parameters
System.Type a

UnitySerializableType b

Returns
System.Boolean

Implicit(UnitySerializableType to Type)
public static implicit operator Type(UnitySerializableType type)
Parameters
UnitySerializableType type

Returns
System.Type

Implicit(Type to UnitySerializableType)
public static implicit operator UnitySerializableType(Type type)
Parameters
System.Type type

Inequality(UnitySerializableType, UnitySerializableType)
public static bool operator !=(UnitySerializableType a, UnitySerializableType b)
Returns
System.Boolean

Inequality(UnitySerializableType, Type)
public static bool operator !=(UnitySerializableType a, Type b)
Parameters
UnitySerializableType a

System.Type b

Returns
System.Boolean

Inequality(Type, UnitySerializableType)
public static bool operator !=(Type a, UnitySerializableType b)
Parameters
System.Type a

UnitySerializableType b

Returns
System.Boolean