C# Class Dev2.Runtime.Hosting.ExplorerItemFactory

Inheritance: IExplorerItemFactory
Afficher le fichier Open project: Warewolf-ESB/Warewolf Class Usage Examples

Méthodes publiques

Méthode Description
BuildRoot ( ) : IExplorerItem
CreateResourceItem ( IResource resource ) : ServerExplorerItem
CreateRootExplorerItem ( ResourceType type, string workSpacePath, System.Guid workSpaceId ) : IExplorerItem
CreateRootExplorerItem ( string workSpacePath, System.Guid workSpaceId ) : IExplorerItem
ExplorerItemFactory ( IResourceCatalog catalogue, IDirectory directory, IAuthorizationService authService ) : System
IsChild ( string parent, string maybeChild ) : bool

Private Methods

Méthode Description
AddChildren ( IExplorerItem rootNode, IEnumerable resourceList ) : void
AddChildren ( IExplorerItem rootNode, IEnumerable resourceList, ResourceType type ) : void
BuildStructureFromFilePath ( IDirectory directory, string path, string rootPath ) : IList
BuildStructureFromFilePathRoot ( IDirectory directory, string path, IExplorerItem root ) : IExplorerItem
GetResourceParent ( string resourcePath ) : string

Method Details

BuildRoot() public méthode

public BuildRoot ( ) : IExplorerItem
Résultat IExplorerItem

CreateResourceItem() public méthode

public CreateResourceItem ( IResource resource ) : ServerExplorerItem
resource IResource
Résultat Dev2.Explorer.ServerExplorerItem

CreateRootExplorerItem() public méthode

public CreateRootExplorerItem ( ResourceType type, string workSpacePath, System.Guid workSpaceId ) : IExplorerItem
type ResourceType
workSpacePath string
workSpaceId System.Guid
Résultat IExplorerItem

CreateRootExplorerItem() public méthode

public CreateRootExplorerItem ( string workSpacePath, System.Guid workSpaceId ) : IExplorerItem
workSpacePath string
workSpaceId System.Guid
Résultat IExplorerItem

ExplorerItemFactory() public méthode

public ExplorerItemFactory ( IResourceCatalog catalogue, IDirectory directory, IAuthorizationService authService ) : System
catalogue IResourceCatalog
directory IDirectory
authService IAuthorizationService
Résultat System

IsChild() public méthode

public IsChild ( string parent, string maybeChild ) : bool
parent string
maybeChild string
Résultat bool