C# Класс Gum.DataTypes.VariableSaveExtensionMethods

Показать файл Открыть проект

Открытые методы

Метод Описание
Clone ( this whatToClone ) : VariableSave
FixEnumerations ( this variableSave ) : bool

Converts integer values to their corresponding enumeration values. This should be called after variable saves are loaded from XML.

GetIsEnumeration ( this variableSave ) : bool
GetIsFileFromRoot ( this variable, ElementSave element ) : bool
GetIsFileFromRoot ( this variable, InstanceSave instance ) : bool
GetPrimitiveType ( string typeAsString ) : Type
GetRuntimeType ( this variableSave ) : Type
GetTypeConverter ( this variableSave, ElementSave container = null ) : TypeConverter
IsEnumeration ( this variableSave ) : bool
IsState ( this variableSave, ElementSave container ) : bool
IsState ( this variableSave, ElementSave container, ElementSave &categoryContainer, StateSaveCategory &category, bool recursive = true ) : bool

Приватные методы

Метод Описание
GetTypeConverter ( this variableSave, Type type ) : TypeConverter

Описание методов

Clone() публичный статический Метод

public static Clone ( this whatToClone ) : VariableSave
whatToClone this
Результат Gum.DataTypes.Variables.VariableSave

FixEnumerations() публичный статический Метод

Converts integer values to their corresponding enumeration values. This should be called after variable saves are loaded from XML.
public static FixEnumerations ( this variableSave ) : bool
variableSave this The VariableSave to fix.
Результат bool

GetIsEnumeration() публичный статический Метод

public static GetIsEnumeration ( this variableSave ) : bool
variableSave this
Результат bool

GetIsFileFromRoot() публичный статический Метод

public static GetIsFileFromRoot ( this variable, ElementSave element ) : bool
variable this
element ElementSave
Результат bool

GetIsFileFromRoot() публичный статический Метод

public static GetIsFileFromRoot ( this variable, InstanceSave instance ) : bool
variable this
instance InstanceSave
Результат bool

GetPrimitiveType() публичный статический Метод

public static GetPrimitiveType ( string typeAsString ) : Type
typeAsString string
Результат System.Type

GetRuntimeType() публичный статический Метод

public static GetRuntimeType ( this variableSave ) : Type
variableSave this
Результат System.Type

GetTypeConverter() публичный статический Метод

public static GetTypeConverter ( this variableSave, ElementSave container = null ) : TypeConverter
variableSave this
container ElementSave
Результат System.ComponentModel.TypeConverter

IsEnumeration() публичный статический Метод

public static IsEnumeration ( this variableSave ) : bool
variableSave this
Результат bool

IsState() публичный статический Метод

public static IsState ( this variableSave, ElementSave container ) : bool
variableSave this
container ElementSave
Результат bool

IsState() публичный статический Метод

public static IsState ( this variableSave, ElementSave container, ElementSave &categoryContainer, StateSaveCategory &category, bool recursive = true ) : bool
variableSave this
container ElementSave
categoryContainer ElementSave
category Gum.DataTypes.Variables.StateSaveCategory
recursive bool
Результат bool