C# 클래스 FlatRedBall.Glue.SaveClasses.CustomVariableExtensionMethods

파일 보기 프로젝트 열기: vchelaru/FlatRedBall 1 사용 예제들

공개 메소드들

메소드 설명
CustomVariableToString ( CustomVariable cv ) : string
FixEnumerationTypes ( this customVariable ) : void
GetDefiningCustomVariable ( this customVariable ) : CustomVariable

If a CustomVariable has its SetByDerived to true, then any Elements that inherit from the Element that has this CustomVariable will also have CustomVariables with matching name that have their DefinedByBase set to true. The variable with DefinedByBase often has incomplete information (like whether it is tunneling or not) so sometimes we need the defining variable for information like state types.

GetIsAnimationChain ( this variable ) : bool
GetIsCsv ( this customVariable ) : bool
GetIsEnumeration ( this customVariable ) : bool
GetIsExposingVariable ( this customVariable, IElement container ) : bool
GetIsFile ( Type runtimeType ) : bool
GetIsFile ( string typeName ) : bool
GetIsFile ( this customVariable ) : bool
GetIsListCsv ( this customVariable ) : bool
GetIsNewVariable ( this customVariable, IElement container ) : bool
GetIsSourceFile ( this customVariable, IElement container ) : bool
GetIsTunneling ( this customVariable ) : bool
GetIsVariableState ( this customVariable, IElement containingElement = null ) : bool
GetRuntimeType ( this customVariable ) : Type
GetTypeConverter ( this customVariable, IElement containingElement ) : TypeConverter
GetTypeConverter ( this customVariable, IElement containingElement, StateSave stateSave, FlatRedBall glueState ) : TypeConverter
HasAccompanyingVelocityConsideringTunneling ( this variable, IElement container, int maxDepth ) : bool
SetDefaultValueAccordingToType ( this customVariable, string typeAsString ) : void

메소드 상세

CustomVariableToString() 공개 정적인 메소드

public static CustomVariableToString ( CustomVariable cv ) : string
cv CustomVariable
리턴 string

FixEnumerationTypes() 공개 정적인 메소드

public static FixEnumerationTypes ( this customVariable ) : void
customVariable this
리턴 void

GetDefiningCustomVariable() 공개 정적인 메소드

If a CustomVariable has its SetByDerived to true, then any Elements that inherit from the Element that has this CustomVariable will also have CustomVariables with matching name that have their DefinedByBase set to true. The variable with DefinedByBase often has incomplete information (like whether it is tunneling or not) so sometimes we need the defining variable for information like state types.
public static GetDefiningCustomVariable ( this customVariable ) : CustomVariable
customVariable this The variable to get the defining variable for.
리턴 CustomVariable

GetIsAnimationChain() 공개 정적인 메소드

public static GetIsAnimationChain ( this variable ) : bool
variable this
리턴 bool

GetIsCsv() 공개 정적인 메소드

public static GetIsCsv ( this customVariable ) : bool
customVariable this
리턴 bool

GetIsEnumeration() 공개 정적인 메소드

public static GetIsEnumeration ( this customVariable ) : bool
customVariable this
리턴 bool

GetIsExposingVariable() 공개 정적인 메소드

public static GetIsExposingVariable ( this customVariable, IElement container ) : bool
customVariable this
container IElement
리턴 bool

GetIsFile() 공개 정적인 메소드

public static GetIsFile ( Type runtimeType ) : bool
runtimeType System.Type
리턴 bool

GetIsFile() 공개 정적인 메소드

public static GetIsFile ( string typeName ) : bool
typeName string
리턴 bool

GetIsFile() 공개 정적인 메소드

public static GetIsFile ( this customVariable ) : bool
customVariable this
리턴 bool

GetIsListCsv() 공개 정적인 메소드

public static GetIsListCsv ( this customVariable ) : bool
customVariable this
리턴 bool

GetIsNewVariable() 공개 정적인 메소드

public static GetIsNewVariable ( this customVariable, IElement container ) : bool
customVariable this
container IElement
리턴 bool

GetIsSourceFile() 공개 정적인 메소드

public static GetIsSourceFile ( this customVariable, IElement container ) : bool
customVariable this
container IElement
리턴 bool

GetIsTunneling() 공개 정적인 메소드

public static GetIsTunneling ( this customVariable ) : bool
customVariable this
리턴 bool

GetIsVariableState() 공개 정적인 메소드

public static GetIsVariableState ( this customVariable, IElement containingElement = null ) : bool
customVariable this
containingElement IElement
리턴 bool

GetRuntimeType() 공개 정적인 메소드

public static GetRuntimeType ( this customVariable ) : Type
customVariable this
리턴 Type

GetTypeConverter() 공개 정적인 메소드

public static GetTypeConverter ( this customVariable, IElement containingElement ) : TypeConverter
customVariable this
containingElement IElement
리턴 TypeConverter

GetTypeConverter() 공개 정적인 메소드

public static GetTypeConverter ( this customVariable, IElement containingElement, StateSave stateSave, FlatRedBall glueState ) : TypeConverter
customVariable this
containingElement IElement
stateSave StateSave
glueState FlatRedBall
리턴 TypeConverter

HasAccompanyingVelocityConsideringTunneling() 공개 정적인 메소드

public static HasAccompanyingVelocityConsideringTunneling ( this variable, IElement container, int maxDepth ) : bool
variable this
container IElement
maxDepth int
리턴 bool

SetDefaultValueAccordingToType() 공개 정적인 메소드

public static SetDefaultValueAccordingToType ( this customVariable, string typeAsString ) : void
customVariable this
typeAsString string
리턴 void