C# Class Gum.DataTypes.InstanceSaveExtensionMethods

Afficher le fichier Open project: vchelaru/FlatRedBall

Méthodes publiques

Méthode Description
GetValueFromThisOrBase ( this instance, ElementSave parent, string variable, bool forceDefault = false ) : object
GetValueFromThisOrBase ( this instance, List elementStack, string variable, bool forceDefault = false ) : object
GetVariableFromThisOrBase ( this instance, ElementWithState parent, string variable ) : VariableSave
GetVariableFromThisOrBase ( this instance, ElementWithState parent, string variable, bool forceDefault ) : VariableSave
GetVariableFromThisOrBase ( this instance, ElementWithState parent, string variable, bool forceDefault, bool onlyIfSetsValue ) : VariableSave
GetVariableFromThisOrBase ( this instance, List elementStack, RecursiveVariableFinder rvf, string variable, bool forceDefault, bool onlyIfSetsValue ) : VariableSave
GetVariableFromThisOrBase ( this instance, List elementStack, string variable ) : VariableSave
GetVariableFromThisOrBase ( this instance, List elementStack, string variable, bool forceDefault ) : VariableSave
GetVariableListFromThisOrBase ( this instance, ElementSave parentContainer, string variable ) : VariableListSave
Initialize ( this instanceSave ) : void
IsComponent ( this instanceSave ) : bool
IsOfType ( this instance, string elementName ) : bool
IsParentASibling ( this instanceSave, List elementStack ) : bool

Private Methods

Méthode Description
GetStatesToUse ( InstanceSave instance, List elementStack, bool forceDefault, ElementSave instanceBase, RecursiveVariableFinder rvf, List &statesToPullFrom, StateSave &defaultState ) : void
TryGetVariableFromStateOnInstance ( InstanceSave instance, string variable, IEnumerable statesToPullFrom, string stateVariableName, StateSave fallbackState, List statesToLoopThrough ) : VariableSave
TryGetVariableFromStatesOnInstance ( InstanceSave instance, string variable, ElementSave instanceBase, IEnumerable statesToPullFrom ) : VariableSave

Method Details

GetValueFromThisOrBase() public static méthode

public static GetValueFromThisOrBase ( this instance, ElementSave parent, string variable, bool forceDefault = false ) : object
instance this
parent ElementSave
variable string
forceDefault bool
Résultat object

GetValueFromThisOrBase() public static méthode

public static GetValueFromThisOrBase ( this instance, List elementStack, string variable, bool forceDefault = false ) : object
instance this
elementStack List
variable string
forceDefault bool
Résultat object

GetVariableFromThisOrBase() public static méthode

public static GetVariableFromThisOrBase ( this instance, ElementWithState parent, string variable ) : VariableSave
instance this
parent Gum.Wireframe.ElementWithState
variable string
Résultat Gum.DataTypes.Variables.VariableSave

GetVariableFromThisOrBase() public static méthode

public static GetVariableFromThisOrBase ( this instance, ElementWithState parent, string variable, bool forceDefault ) : VariableSave
instance this
parent Gum.Wireframe.ElementWithState
variable string
forceDefault bool
Résultat Gum.DataTypes.Variables.VariableSave

GetVariableFromThisOrBase() public static méthode

public static GetVariableFromThisOrBase ( this instance, ElementWithState parent, string variable, bool forceDefault, bool onlyIfSetsValue ) : VariableSave
instance this
parent Gum.Wireframe.ElementWithState
variable string
forceDefault bool
onlyIfSetsValue bool
Résultat Gum.DataTypes.Variables.VariableSave

GetVariableFromThisOrBase() public static méthode

public static GetVariableFromThisOrBase ( this instance, List elementStack, RecursiveVariableFinder rvf, string variable, bool forceDefault, bool onlyIfSetsValue ) : VariableSave
instance this
elementStack List
rvf RecursiveVariableFinder
variable string
forceDefault bool
onlyIfSetsValue bool
Résultat Gum.DataTypes.Variables.VariableSave

GetVariableFromThisOrBase() public static méthode

public static GetVariableFromThisOrBase ( this instance, List elementStack, string variable ) : VariableSave
instance this
elementStack List
variable string
Résultat Gum.DataTypes.Variables.VariableSave

GetVariableFromThisOrBase() public static méthode

public static GetVariableFromThisOrBase ( this instance, List elementStack, string variable, bool forceDefault ) : VariableSave
instance this
elementStack List
variable string
forceDefault bool
Résultat Gum.DataTypes.Variables.VariableSave

GetVariableListFromThisOrBase() public static méthode

public static GetVariableListFromThisOrBase ( this instance, ElementSave parentContainer, string variable ) : VariableListSave
instance this
parentContainer ElementSave
variable string
Résultat Gum.DataTypes.Variables.VariableListSave

Initialize() public static méthode

public static Initialize ( this instanceSave ) : void
instanceSave this
Résultat void

IsComponent() public static méthode

public static IsComponent ( this instanceSave ) : bool
instanceSave this
Résultat bool

IsOfType() public static méthode

public static IsOfType ( this instance, string elementName ) : bool
instance this
elementName string
Résultat bool

IsParentASibling() public static méthode

public static IsParentASibling ( this instanceSave, List elementStack ) : bool
instanceSave this
elementStack List
Résultat bool