public UploadClipViewModel(IClipCreator clipCreator, UploadData data)
 {
     _clipCreator = clipCreator;
     OriginalFile = data.OriginalFile;
     StartTime    = data.StartTime;
     EndTime      = data.EndTime;
     FileName     = "";
 }
Example #2
0
 public UploadClipViewModel(IClipCreator clipCreator,
                            ISettings settings,
                            IEventAggregator eventAggregator,
                            IJsonWebApiClient apiClient,
                            IFileDeleter fileDeleter,
                            UploadData data)
 {
     _clipCreator     = clipCreator;
     _settings        = settings;
     _eventAggregator = eventAggregator;
     _apiClient       = apiClient;
     _fileDeleter     = fileDeleter;
     OriginalFile     = data.OriginalFile;
     Timelines        = data.Timelines;
     IsMultiClip      = data.IsMultiClip;
     VideoFiles       = data.IsMultiClip ? new BindableCollection <VideoFile>(data.VideoFiles) : null;
     FileName         = "";
     DisplayName      = "Uploader";
 }