Example #1
0
        public FsExplorerViewModel(
            MainFormEventsViewModel eventsViewModel,
            IFsPathNormalizer fsPathNormalizer,
            ITimeStampHelper timeStampHelper)
        {
            this.EventsViewModel  = eventsViewModel ?? throw new ArgumentNullException(nameof(eventsViewModel));
            this.FsPathNormalizer = fsPathNormalizer ?? throw new ArgumentNullException(nameof(fsPathNormalizer));
            this.TimeStampHelper  = timeStampHelper ?? throw new ArgumentNullException(nameof(timeStampHelper));

            backHistoryStack    = new ConcurrentStack <string>();
            forwardHistoryStack = new ConcurrentStack <string>();

            Uuid = Guid.NewGuid();
        }
 public MainFormEventsViewModel(
     ITimeStampHelper timeStampHelper)
 {
     this.timeStampHelper = timeStampHelper ?? throw new ArgumentNullException(nameof(timeStampHelper));
 }
Example #3
0
 public FsExplorerService(
     ITimeStampHelper timeStampHelper) : base(
         timeStampHelper)
 {
 }
Example #4
0
 public ConsoleComponent(ITimeStampHelper timeStampHelper)
 {
     this.timeStampHelper = timeStampHelper ?? throw new ArgumentNullException(nameof(timeStampHelper));
 }
 protected DriveExplorerServiceBase(ITimeStampHelper timeStampHelper)
 {
     this.TimeStampHelper             = timeStampHelper ?? throw new ArgumentNullException(nameof(timeStampHelper));
     DriveItemDefaultExceptionHandler = GetDefaultExceptionHandler <DriveItem>();
     StringDefaultExceptionHandler    = GetDefaultExceptionHandler <string>();
 }