public FFmpegConfig(string ffmpegPath, IUserInterfaceManager userInterfaceManager) { this.FFmpegPath = ffmpegPath; this.UserInterfaceManager = userInterfaceManager; this.api = new WindowsApiService(); this.fileSystem = new FileSystemService(); }
public MainPageViewModel( IMathOperationsService mathOperationsService, IWindowsApiService windowsApiService) { _mathOperationsService = mathOperationsService; _windowsApiService = windowsApiService; SumCommand = DelegateCommand.FromAsyncHandler(Sum); SubtractCommand = DelegateCommand.FromAsyncHandler(Subtract); MultiplyCommand = DelegateCommand.FromAsyncHandler(Multiply); DivideCommand = DelegateCommand.FromAsyncHandler(Divide); }
public FFmpegConfig(IWindowsApiService winApi, IFileSystemService fileSystemService) { this.api = winApi ?? throw new ArgumentNullException(nameof(winApi)); this.fileSystem = fileSystemService ?? throw new ArgumentNullException(nameof(fileSystemService)); }
public MediaConfig(IWindowsApiService winApi, IFileSystemService fileSystemService) { _api = winApi ?? throw new ArgumentNullException(nameof(winApi)); _fileSystem = fileSystemService ?? throw new ArgumentNullException(nameof(fileSystemService)); }