Beispiel #1
0
        public Project(string projectFile, IProjectIO projectIO, INodeFactory nodeFactory)
            : base(projectIO, nodeFactory, ".", true)
        {
            _projectFile = projectFile;
            _io          = projectIO;
            _nodeFactory = nodeFactory;

            ProcessProjectFile(projectFile);
        }
        public FolderNode(IProjectIO projectIO, INodeFactory nodeFactory, string dirpath, bool isRoot = false)
        {
            _io = projectIO;
            _nodeFactory = nodeFactory;
            _dirpath = dirpath;
            _isRoot = isRoot;

            _children.CollectionChanged += OnCollectionChanged;

            LoadFilesAndDirectories();
        }
Beispiel #3
0
        public FolderNode(IProjectIO projectIO, INodeFactory nodeFactory, string dirpath, bool isRoot = false)
        {
            _io          = projectIO;
            _nodeFactory = nodeFactory;
            _dirpath     = dirpath;
            _isRoot      = isRoot;

            _children.CollectionChanged += OnCollectionChanged;

            LoadFilesAndDirectories();
        }
Beispiel #4
0
 public FileCreatedComparison(IProjectIO io)
 {
     _io = io;
 }
Beispiel #5
0
 public DirectoryCreatedComparison(IProjectIO io)
 {
     _io = io;
 }
 public FileNode(IProjectIO projectIO, string file)
 {
     _io = projectIO;
     FilePath = file;
     _logger.Trace("Created {0}: {1}", GetType().Name, file);
 }
Beispiel #7
0
 public IFileNode Create(string path, IProjectIO io)
 {
     return new FileNode(io,path);
 }
 public NodeFactory(IProjectIO io)
 {
     _io = io;
 }
 public NodeFactory(IProjectIO io)
 {
     _io = io;
 }
Beispiel #10
0
 public IFileNode Create(string path, IProjectIO io)
 {
     return(new FileNode(io, path));
 }
Beispiel #11
0
        public Project(string projectFile, IProjectIO projectIO, INodeFactory nodeFactory)
            : base(projectIO, nodeFactory, ".", true)
        {
            _projectFile = projectFile;
            _io = projectIO;
            _nodeFactory = nodeFactory;

            ProcessProjectFile(projectFile);
        }
Beispiel #12
0
 public FileNode(IProjectIO projectIO, string file)
 {
     _io      = projectIO;
     FilePath = file;
     _logger.Trace("Created {0}: {1}", GetType().Name, file);
 }