GetAvailablePaths() статический приватный Метод

static private GetAvailablePaths ( string contextNodePath, NodeType nodeType, string appFolderName, string appName, HierarchyOption hierarchyOption ) : IEnumerable
contextNodePath string
nodeType SenseNet.ContentRepository.Storage.Schema.NodeType
appFolderName string
appName string
hierarchyOption HierarchyOption
Результат IEnumerable
Пример #1
0
        public IEnumerable <NodeHead> ResolveApplications(string appName, string contextNodePath, NodeType nodeType)
        {
            var paths = ApplicationResolver.GetAvailablePaths(contextNodePath, nodeType, this.AppFolderName, appName, Option);

            if (ResolveAll)
            {
                return(ResolveAllByPaths(paths, ResolveChildren));
            }
            else
            {
                return new NodeHead[] { ResolveFirstByPaths(paths) }
            };
        }
Пример #2
0
 public IEnumerable <string> GetAvailablePaths(string appName, string contextNodePath, NodeType nodeType)
 {
     return(ApplicationResolver.GetAvailablePaths(contextNodePath, nodeType, this.AppFolderName, appName, Option));
 }