コード例 #1
0
 public UninstallWindowsServiceCommand(
     [NotNull] IWindowsServiceConfiguration configuration, [NotNull] IInstallContextProvider installContextProvider,
     [NotNull] IPersistentInstallState persistentInstallState)
 {
     _Configuration          = configuration ?? throw new ArgumentNullException(nameof(configuration));
     _InstallContextProvider = installContextProvider ?? throw new ArgumentNullException(nameof(installContextProvider));
     _PersistentInstallState = persistentInstallState ?? throw new ArgumentNullException(nameof(persistentInstallState));
 }