Пример #1
0
        public FileChangeWatcher(string root, FileSet fileSet, IChangeSetHandler handler)
        {
            _files   = new FubuApplicationFiles(root);
            _fileSet = fileSet;
            _handler = handler;
            _timer   = new Timer
            {
                AutoReset = false
            };

            Root = root;

            _timer.Elapsed += _timer_Elapsed;
        }
        public void SetUp()
        {
            var files = new FubuApplicationFiles();

            theRepository = new FlatFileMembershipRepository(files);
        }
Пример #3
0
 public void SetUp()
 {
     theFiles = new FubuApplicationFiles();
 }
 public void SetUp()
 {
     theFiles = new FubuApplicationFiles(AppDomain.CurrentDomain.BaseDirectory.ParentDirectory().ParentDirectory());
 }