C# 클래스 Gum.DataTypes.VariableSaveExtensionMethods

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

공개 메소드들

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