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

            ProcessProjectFile(projectFile);
        }
Пример #2
0
        public FolderNode(IProjectIO projectIO, INodeFactory nodeFactory, string dirpath, bool isRoot = false)
        {
            _io = projectIO;
            _nodeFactory = nodeFactory;
            _dirpath = dirpath;
            _isRoot = isRoot;

            _children.CollectionChanged += OnCollectionChanged;

            LoadFilesAndDirectories();
        }
Пример #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();
        }
Пример #4
0
 public FileCreatedComparison(IProjectIO io)
 {
     _io = io;
 }
Пример #5
0
 public DirectoryCreatedComparison(IProjectIO io)
 {
     _io = io;
 }
Пример #6
0
 public FileNode(IProjectIO projectIO, string file)
 {
     _io = projectIO;
     FilePath = file;
     _logger.Trace("Created {0}: {1}", GetType().Name, file);
 }
Пример #7
0
 public IFileNode Create(string path, IProjectIO io)
 {
     return new FileNode(io,path);
 }
Пример #8
0
 public NodeFactory(IProjectIO io)
 {
     _io = io;
 }
Пример #9
0
 public NodeFactory(IProjectIO io)
 {
     _io = io;
 }
Пример #10
0
 public IFileNode Create(string path, IProjectIO io)
 {
     return(new FileNode(io, path));
 }
Пример #11
0
        public Project(string projectFile, IProjectIO projectIO, INodeFactory nodeFactory)
            : base(projectIO, nodeFactory, ".", true)
        {
            _projectFile = projectFile;
            _io = projectIO;
            _nodeFactory = nodeFactory;

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