Beispiel #1
0
 //--------------------------------------------------------Constructor:----------------------------------------------------------------\\
 #region --Constructors--
 public AppxInstaller(string appxBundlePath, string certPath, string dependenciesPath)
 {
     APPX_BUNDLE_PATH  = appxBundlePath;
     CERT_PATH         = certPath;
     DEPENDENCIES_PATH = dependenciesPath;
     state             = AppxInstallerState.NOT_STARTED;
 }
Beispiel #2
0
 //--------------------------------------------------------Set-, Get- Methods:---------------------------------------------------------\\
 #region --Set-, Get- Methods--
 private void SetState(AppxInstallerState newState, Exception e = null)
 {
     if (newState != state)
     {
         state = newState;
         StateChanged?.Invoke(this, new StateChangedEventArgs(newState, e));
     }
 }