C# Class FlatRedBall.Glue.BehaviorManager

显示文件 Open project: vchelaru/FlatRedBall

Public Methods

Method Description
CreateNewBehavior ( string behaviorName ) : void
DoesBehaviorExist ( string behaviorName ) : bool
GetAllBehaviors ( ) : List
GetAllContainersReferencingBehavior ( string behaviorName ) : List
GetBehaviorCodeFrom ( BehaviorSave behavior ) : string
GetBehaviorCodeFrom ( string behaviorName ) : string
GetBehaviorRequirementsForBehavior ( BehaviorSave behavior ) : List
GetBehaviorRequirementsForBehavior ( string behaviorName ) : List
GetBehaviorRequirementsForElement ( IBehaviorContainer behaviorContainer ) : List
GetMethodCallForBehavior ( BehaviorSave behavior, IBehaviorContainer container ) : ICodeBlock
GetMethodCallForBehavior ( string behaviorName, IBehaviorContainer container ) : ICodeBlock

Private Methods

Method Description
GetBehaviorContents ( string behaviorName ) : string
GetRawBehaviorMethodHeader ( string behaviorName ) : string
UpdateBehavior ( string changedBehavior ) : void

Method Details

CreateNewBehavior() public static method

public static CreateNewBehavior ( string behaviorName ) : void
behaviorName string
return void

DoesBehaviorExist() public static method

public static DoesBehaviorExist ( string behaviorName ) : bool
behaviorName string
return bool

GetAllBehaviors() public static method

public static GetAllBehaviors ( ) : List
return List

GetAllContainersReferencingBehavior() public static method

public static GetAllContainersReferencingBehavior ( string behaviorName ) : List
behaviorName string
return List

GetBehaviorCodeFrom() public static method

public static GetBehaviorCodeFrom ( BehaviorSave behavior ) : string
behavior FlatRedBall.Glue.SaveClasses.BehaviorSave
return string

GetBehaviorCodeFrom() public static method

public static GetBehaviorCodeFrom ( string behaviorName ) : string
behaviorName string
return string

GetBehaviorRequirementsForBehavior() public static method

public static GetBehaviorRequirementsForBehavior ( BehaviorSave behavior ) : List
behavior FlatRedBall.Glue.SaveClasses.BehaviorSave
return List

GetBehaviorRequirementsForBehavior() public static method

public static GetBehaviorRequirementsForBehavior ( string behaviorName ) : List
behaviorName string
return List

GetBehaviorRequirementsForElement() public static method

public static GetBehaviorRequirementsForElement ( IBehaviorContainer behaviorContainer ) : List
behaviorContainer IBehaviorContainer
return List

GetMethodCallForBehavior() public static method

public static GetMethodCallForBehavior ( BehaviorSave behavior, IBehaviorContainer container ) : ICodeBlock
behavior FlatRedBall.Glue.SaveClasses.BehaviorSave
container IBehaviorContainer
return ICodeBlock

GetMethodCallForBehavior() public static method

public static GetMethodCallForBehavior ( string behaviorName, IBehaviorContainer container ) : ICodeBlock
behaviorName string
container IBehaviorContainer
return ICodeBlock