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)); }
public FsExplorerService( ITimeStampHelper timeStampHelper) : base( timeStampHelper) { }
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>(); }