public override System.Collections.Generic.IEnumerable<IPathNode> GetNodeChildren(CodeOwls.PowerShell.Provider.PathNodeProcessors.IProviderContext context)
 {
     var children = _scale.Scale.Ranges;
     foreach( var child in children )
     {
         yield return new RangeNodeFactory(_scale.Scale, child);
     }
 }
        public override IEnumerable<INodeFactory> GetNodeChildren(CodeOwls.PowerShell.Provider.PathNodeProcessors.IContext context)
        {
            var factories = new List<INodeFactory>();
            var entities = from entity in _drive.GetPOCOs() select entity;
            foreach (var entity in entities)
            {
                var factory = CreateNodeFactoryForEntity(entity);
                factories.Add(factory);
            }

            return factories;
        }
示例#3
0
 public override IEnumerable<IPathNode> GetNodeChildren(CodeOwls.PowerShell.Provider.PathNodeProcessors.IProviderContext providerContext)
 {
     return from assembly in AppDomain.CurrentDomain.GetAssemblies()
            select new AssemblyPathNode(assembly) as IPathNode;
 }
示例#4
0
 public override IEnumerable<IPathNode> GetNodeChildren(CodeOwls.PowerShell.Provider.PathNodeProcessors.IProviderContext providerContext)
 {
     return from type in _assembly.GetExportedTypes()
            select new TypePathNode(type) as IPathNode;
 }
示例#5
0
	    private void OnShellCommandExecutionStateChange(object sender, CodeOwls.PowerShell.Host.Utility.EventArgs<bool> e)
	    {
	        var statusAnimation = _statusBarAnimation;
            if( null == statusAnimation )
            {
                return;
            }

	        statusAnimation.IsPSIconEnabled = e.Data;
	    }