C# Class FlatRedBall.Glue.Reflection.ExposedVariableManager

ファイルを表示 Open project: vchelaru/FlatRedBall

Public Methods

Method Description
GetAvailableNewVariableTypes ( bool allowNone = true ) : List
GetExposableMembersFor ( IElement element, bool removeAlreadyExposed ) : List
GetExposableMembersFor ( NamedObjectSave namedObjectSave ) : List
GetMemberTypeForEntity ( string memberName, EntitySave entitySave ) : string
GetMemberTypeForNamedObject ( NamedObjectSave namedObject, string variableName ) : string
GetMemberTypeForPositionedObject ( string memberName ) : string
GetMemberTypeForScreen ( string memberName, ScreenSave screen ) : string
GetPositionedObjectRateVariables ( ) : List
GetPositionedObjectRelativeValues ( ) : List
GetTunnelableMembersFor ( EntitySave entitySave, bool removeAlreadyExposed ) : List
Initialize ( ) : void
IsExposedVariable ( string variableName, NamedObjectSave namedObjectSave ) : bool
IsMemberDefinedByEntity ( string memberName, EntitySave entitySave ) : bool
IsMemberDefinedByPositionedObject ( string memberName ) : bool
IsReservedPositionedPositionedObjectMember ( string memberName ) : bool

Private Methods

Method Description
AddSpecialCasePropertiesFor ( Type type, List returnValue ) : void
AddStateVariables ( IElement element, List returnValues ) : void
AreTypesEquivalent ( string type1, string type2 ) : bool
FillFromVariableDefinitions ( List returnValue, AssetTypeInfo assetTypeInfo ) : void
FillListWithAvailableVariablesInType ( Type type, List listToFill ) : void
FillWithExposableMembersForFlatRedBallType ( NamedObjectSave namedObjectSave, List returnValue ) : void
GetExposableMembersForEntity ( EntitySave entitySave, bool removeAlreadyExposed, List returnValues ) : List
GetExposableMembersForScreen ( ScreenSave screenSave, bool removeAlreadyExposed, List returnValues ) : List
GetTypeForMemberInType ( Type type, string memberName ) : Type
InitializeTypesNotSupported ( ) : void
RemoveAlreadyExposedIfNecessary ( bool removeAlreadyExposed, List returnValues, List customVariableList ) : void
RemoveUnwantedVariables ( ) : void
ReorganizeVariables ( ) : void
ShouldIncludeField ( FieldInfo fieldInfo, Type owner ) : bool
ShouldIncludeProperty ( PropertyInfo propertyInfo, Type owner ) : bool
SortByAttribute ( MemberInfo first, MemberInfo second ) : int
TryGetStateInCategory ( string memberName, IElement entitySave, string &foundType ) : bool

Method Details

GetAvailableNewVariableTypes() public static method

public static GetAvailableNewVariableTypes ( bool allowNone = true ) : List
allowNone bool
return List

GetExposableMembersFor() public static method

public static GetExposableMembersFor ( IElement element, bool removeAlreadyExposed ) : List
element IElement
removeAlreadyExposed bool
return List

GetExposableMembersFor() public static method

public static GetExposableMembersFor ( NamedObjectSave namedObjectSave ) : List
namedObjectSave FlatRedBall.Glue.SaveClasses.NamedObjectSave
return List

GetMemberTypeForEntity() public static method

public static GetMemberTypeForEntity ( string memberName, EntitySave entitySave ) : string
memberName string
entitySave FlatRedBall.Glue.SaveClasses.EntitySave
return string

GetMemberTypeForNamedObject() public static method

public static GetMemberTypeForNamedObject ( NamedObjectSave namedObject, string variableName ) : string
namedObject FlatRedBall.Glue.SaveClasses.NamedObjectSave
variableName string
return string

GetMemberTypeForPositionedObject() public static method

public static GetMemberTypeForPositionedObject ( string memberName ) : string
memberName string
return string

GetMemberTypeForScreen() public static method

public static GetMemberTypeForScreen ( string memberName, ScreenSave screen ) : string
memberName string
screen FlatRedBall.Glue.SaveClasses.ScreenSave
return string

GetPositionedObjectRateVariables() public static method

public static GetPositionedObjectRateVariables ( ) : List
return List

GetPositionedObjectRelativeValues() public static method

public static GetPositionedObjectRelativeValues ( ) : List
return List

GetTunnelableMembersFor() public static method

public static GetTunnelableMembersFor ( EntitySave entitySave, bool removeAlreadyExposed ) : List
entitySave FlatRedBall.Glue.SaveClasses.EntitySave
removeAlreadyExposed bool
return List

Initialize() public static method

public static Initialize ( ) : void
return void

IsExposedVariable() public static method

public static IsExposedVariable ( string variableName, NamedObjectSave namedObjectSave ) : bool
variableName string
namedObjectSave FlatRedBall.Glue.SaveClasses.NamedObjectSave
return bool

IsMemberDefinedByEntity() public static method

public static IsMemberDefinedByEntity ( string memberName, EntitySave entitySave ) : bool
memberName string
entitySave FlatRedBall.Glue.SaveClasses.EntitySave
return bool

IsMemberDefinedByPositionedObject() public static method

public static IsMemberDefinedByPositionedObject ( string memberName ) : bool
memberName string
return bool

IsReservedPositionedPositionedObjectMember() public static method

public static IsReservedPositionedPositionedObjectMember ( string memberName ) : bool
memberName string
return bool