C# Class Gum.DataTypes.VariableSaveExtensionMethods

Afficher le fichier Open project: vchelaru/FlatRedBall

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
GetTypeConverter ( this variableSave, Type type ) : TypeConverter

Method Details

Clone() public static méthode

public static Clone ( this whatToClone ) : VariableSave
whatToClone this
Résultat Gum.DataTypes.Variables.VariableSave

FixEnumerations() public static méthode

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.
Résultat bool

GetIsEnumeration() public static méthode

public static GetIsEnumeration ( this variableSave ) : bool
variableSave this
Résultat bool

GetIsFileFromRoot() public static méthode

public static GetIsFileFromRoot ( this variable, ElementSave element ) : bool
variable this
element ElementSave
Résultat bool

GetIsFileFromRoot() public static méthode

public static GetIsFileFromRoot ( this variable, InstanceSave instance ) : bool
variable this
instance InstanceSave
Résultat bool

GetPrimitiveType() public static méthode

public static GetPrimitiveType ( string typeAsString ) : Type
typeAsString string
Résultat System.Type

GetRuntimeType() public static méthode

public static GetRuntimeType ( this variableSave ) : Type
variableSave this
Résultat System.Type

GetTypeConverter() public static méthode

public static GetTypeConverter ( this variableSave, ElementSave container = null ) : TypeConverter
variableSave this
container ElementSave
Résultat System.ComponentModel.TypeConverter

IsEnumeration() public static méthode

public static IsEnumeration ( this variableSave ) : bool
variableSave this
Résultat bool

IsState() public static méthode

public static IsState ( this variableSave, ElementSave container ) : bool
variableSave this
container ElementSave
Résultat bool

IsState() public static méthode

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
Résultat bool