C# 클래스 Gum.DataTypes.InstanceSaveExtensionMethods

파일 보기 프로젝트 열기: vchelaru/FlatRedBall

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

GetValueFromThisOrBase() 공개 정적인 메소드

public static GetValueFromThisOrBase ( this instance, ElementSave parent, string variable, bool forceDefault = false ) : object
instance this
parent ElementSave
variable string
forceDefault bool
리턴 object

GetValueFromThisOrBase() 공개 정적인 메소드

public static GetValueFromThisOrBase ( this instance, List elementStack, string variable, bool forceDefault = false ) : object
instance this
elementStack List
variable string
forceDefault bool
리턴 object

GetVariableFromThisOrBase() 공개 정적인 메소드

public static GetVariableFromThisOrBase ( this instance, ElementWithState parent, string variable ) : VariableSave
instance this
parent Gum.Wireframe.ElementWithState
variable string
리턴 Gum.DataTypes.Variables.VariableSave

GetVariableFromThisOrBase() 공개 정적인 메소드

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

GetVariableFromThisOrBase() 공개 정적인 메소드

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
리턴 Gum.DataTypes.Variables.VariableSave

GetVariableFromThisOrBase() 공개 정적인 메소드

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
리턴 Gum.DataTypes.Variables.VariableSave

GetVariableFromThisOrBase() 공개 정적인 메소드

public static GetVariableFromThisOrBase ( this instance, List elementStack, string variable ) : VariableSave
instance this
elementStack List
variable string
리턴 Gum.DataTypes.Variables.VariableSave

GetVariableFromThisOrBase() 공개 정적인 메소드

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

GetVariableListFromThisOrBase() 공개 정적인 메소드

public static GetVariableListFromThisOrBase ( this instance, ElementSave parentContainer, string variable ) : VariableListSave
instance this
parentContainer ElementSave
variable string
리턴 Gum.DataTypes.Variables.VariableListSave

Initialize() 공개 정적인 메소드

public static Initialize ( this instanceSave ) : void
instanceSave this
리턴 void

IsComponent() 공개 정적인 메소드

public static IsComponent ( this instanceSave ) : bool
instanceSave this
리턴 bool

IsOfType() 공개 정적인 메소드

public static IsOfType ( this instance, string elementName ) : bool
instance this
elementName string
리턴 bool

IsParentASibling() 공개 정적인 메소드

public static IsParentASibling ( this instanceSave, List elementStack ) : bool
instanceSave this
elementStack List
리턴 bool