C# Class Dev2.Runtime.Hosting.ExplorerItemFactory

Inheritance: IExplorerItemFactory
ファイルを表示 Open project: Warewolf-ESB/Warewolf Class Usage Examples

Public Methods

Method 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

Method 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 method

public BuildRoot ( ) : IExplorerItem
return IExplorerItem

CreateResourceItem() public method

public CreateResourceItem ( IResource resource ) : ServerExplorerItem
resource IResource
return Dev2.Explorer.ServerExplorerItem

CreateRootExplorerItem() public method

public CreateRootExplorerItem ( ResourceType type, string workSpacePath, System.Guid workSpaceId ) : IExplorerItem
type ResourceType
workSpacePath string
workSpaceId System.Guid
return IExplorerItem

CreateRootExplorerItem() public method

public CreateRootExplorerItem ( string workSpacePath, System.Guid workSpaceId ) : IExplorerItem
workSpacePath string
workSpaceId System.Guid
return IExplorerItem

ExplorerItemFactory() public method

public ExplorerItemFactory ( IResourceCatalog catalogue, IDirectory directory, IAuthorizationService authService ) : System
catalogue IResourceCatalog
directory IDirectory
authService IAuthorizationService
return System

IsChild() public method

public IsChild ( string parent, string maybeChild ) : bool
parent string
maybeChild string
return bool