C# Class FlatRedBall.Glue.Elements.ObjectFinder

Inheritance: IObjectFinder
显示文件 Open project: vchelaru/FlatRedBall

Public Methods

Method Description
DoesEntityExist ( string entityName ) : bool
GetAllBaseElementsRecursively ( IElement derivedElement ) : List
GetAllElementsReferencingFile ( string rfsName ) : List
GetAllElementsThatInheritFrom ( IElement baseElement ) : List
GetAllElementsThatInheritFrom ( string elementName ) : List
GetAllEntitiesThatInheritFrom ( EntitySave baseEntity ) : List
GetAllEntitiesThatInheritFrom ( string baseEntity ) : List
GetAllNamedObjectsThatUseElement ( IElement element ) : List
GetAllNamedObjectsThatUseEntity ( EntitySave entity ) : List
GetAllNamedObjectsThatUseEntity ( string baseEntity ) : List
GetAllReferencedFiles ( ) : List
GetAllScreensThatInheritFrom ( ScreenSave baseScreen ) : List
GetAllScreensThatInheritFrom ( string baseScreen ) : List
GetCustomClassFor ( ReferencedFileSave rfs ) : CustomClassSave
GetElementContaining ( CustomVariable customVariable ) : IElement
GetElementContaining ( EventResponseSave ers ) : IElement
GetElementContaining ( NamedObjectSave namedObjectSave ) : IElement
GetElementContaining ( ReferencedFileSave referencedFileSave ) : IElement
GetElementContaining ( StateSave stateSave ) : IElement
GetElementUnqualified ( string elementName ) : IElement
GetElementsUnqualified ( string elementName ) : List
GetEntitySave ( string entityName ) : EntitySave
GetEntitySaveUnqualified ( string entityName ) : EntitySave
GetFirstCsvUsingClass ( string className ) : ReferencedFileSave
GetFirstCsvUsingClass ( string className, IElement elementToLookIn ) : ReferencedFileSave
GetIElement ( string elementName ) : IElement
GetMatchingReferencedFiles ( ReferencedFileSave rfs ) : List
GetNamedObjectContainer ( string namedObjectContainerName ) : INamedObjectContainer
GetReferencedFileSaveFromFile ( string fileName ) : ReferencedFileSave
GetReferencedFileSavesFromSource ( string sourceFile ) : List
GetScreenSave ( string screenName ) : ScreenSave
GetScreenSaveUnqualified ( string screenName ) : ScreenSave
GetVariableContainer ( CustomVariable customVariable ) : IElement
MakeAbsoluteContent ( string fileName ) : string
ObjectFinder ( ) : System

Private Methods

Method Description
GetAllNamedObjectsThatUseElement ( List sourceList, List listToAddTo, string name, SourceType sourceType ) : void
IsContainedInListOrAsChild ( List namedObjects, NamedObjectSave objectToFind ) : bool

Method Details

DoesEntityExist() public method

public DoesEntityExist ( string entityName ) : bool
entityName string
return bool

GetAllBaseElementsRecursively() public method

public GetAllBaseElementsRecursively ( IElement derivedElement ) : List
derivedElement IElement
return List

GetAllElementsReferencingFile() public method

public GetAllElementsReferencingFile ( string rfsName ) : List
rfsName string
return List

GetAllElementsThatInheritFrom() public method

public GetAllElementsThatInheritFrom ( IElement baseElement ) : List
baseElement IElement
return List

GetAllElementsThatInheritFrom() public method

public GetAllElementsThatInheritFrom ( string elementName ) : List
elementName string
return List

GetAllEntitiesThatInheritFrom() public method

public GetAllEntitiesThatInheritFrom ( EntitySave baseEntity ) : List
baseEntity FlatRedBall.Glue.SaveClasses.EntitySave
return List

GetAllEntitiesThatInheritFrom() public method

public GetAllEntitiesThatInheritFrom ( string baseEntity ) : List
baseEntity string
return List

GetAllNamedObjectsThatUseElement() public method

public GetAllNamedObjectsThatUseElement ( IElement element ) : List
element IElement
return List

GetAllNamedObjectsThatUseEntity() public method

public GetAllNamedObjectsThatUseEntity ( EntitySave entity ) : List
entity FlatRedBall.Glue.SaveClasses.EntitySave
return List

GetAllNamedObjectsThatUseEntity() public method

public GetAllNamedObjectsThatUseEntity ( string baseEntity ) : List
baseEntity string
return List

GetAllReferencedFiles() public method

public GetAllReferencedFiles ( ) : List
return List

GetAllScreensThatInheritFrom() public method

public GetAllScreensThatInheritFrom ( ScreenSave baseScreen ) : List
baseScreen FlatRedBall.Glue.SaveClasses.ScreenSave
return List

GetAllScreensThatInheritFrom() public method

public GetAllScreensThatInheritFrom ( string baseScreen ) : List
baseScreen string
return List

GetCustomClassFor() public method

public GetCustomClassFor ( ReferencedFileSave rfs ) : CustomClassSave
rfs FlatRedBall.Glue.SaveClasses.ReferencedFileSave
return FlatRedBall.Glue.SaveClasses.CustomClassSave

GetElementContaining() public method

public GetElementContaining ( CustomVariable customVariable ) : IElement
customVariable FlatRedBall.Glue.SaveClasses.CustomVariable
return IElement

GetElementContaining() public method

public GetElementContaining ( EventResponseSave ers ) : IElement
ers FlatRedBall.Glue.Events.EventResponseSave
return IElement

GetElementContaining() public method

public GetElementContaining ( NamedObjectSave namedObjectSave ) : IElement
namedObjectSave FlatRedBall.Glue.SaveClasses.NamedObjectSave
return IElement

GetElementContaining() public method

public GetElementContaining ( ReferencedFileSave referencedFileSave ) : IElement
referencedFileSave FlatRedBall.Glue.SaveClasses.ReferencedFileSave
return IElement

GetElementContaining() public method

public GetElementContaining ( StateSave stateSave ) : IElement
stateSave FlatRedBall.Glue.SaveClasses.StateSave
return IElement

GetElementUnqualified() public method

public GetElementUnqualified ( string elementName ) : IElement
elementName string
return IElement

GetElementsUnqualified() public method

public GetElementsUnqualified ( string elementName ) : List
elementName string
return List

GetEntitySave() public method

public GetEntitySave ( string entityName ) : EntitySave
entityName string
return FlatRedBall.Glue.SaveClasses.EntitySave

GetEntitySaveUnqualified() public method

public GetEntitySaveUnqualified ( string entityName ) : EntitySave
entityName string
return FlatRedBall.Glue.SaveClasses.EntitySave

GetFirstCsvUsingClass() public method

public GetFirstCsvUsingClass ( string className ) : ReferencedFileSave
className string
return FlatRedBall.Glue.SaveClasses.ReferencedFileSave

GetFirstCsvUsingClass() public method

public GetFirstCsvUsingClass ( string className, IElement elementToLookIn ) : ReferencedFileSave
className string
elementToLookIn IElement
return FlatRedBall.Glue.SaveClasses.ReferencedFileSave

GetIElement() public method

public GetIElement ( string elementName ) : IElement
elementName string
return IElement

GetMatchingReferencedFiles() public method

public GetMatchingReferencedFiles ( ReferencedFileSave rfs ) : List
rfs FlatRedBall.Glue.SaveClasses.ReferencedFileSave
return List

GetNamedObjectContainer() public method

public GetNamedObjectContainer ( string namedObjectContainerName ) : INamedObjectContainer
namedObjectContainerName string
return INamedObjectContainer

GetReferencedFileSaveFromFile() public method

public GetReferencedFileSaveFromFile ( string fileName ) : ReferencedFileSave
fileName string
return FlatRedBall.Glue.SaveClasses.ReferencedFileSave

GetReferencedFileSavesFromSource() public method

public GetReferencedFileSavesFromSource ( string sourceFile ) : List
sourceFile string
return List

GetScreenSave() public method

public GetScreenSave ( string screenName ) : ScreenSave
screenName string
return ScreenSave

GetScreenSaveUnqualified() public method

public GetScreenSaveUnqualified ( string screenName ) : ScreenSave
screenName string
return ScreenSave

GetVariableContainer() public method

public GetVariableContainer ( CustomVariable customVariable ) : IElement
customVariable CustomVariable
return IElement

MakeAbsoluteContent() public method

public MakeAbsoluteContent ( string fileName ) : string
fileName string
return string

ObjectFinder() public method

public ObjectFinder ( ) : System
return System