Ejemplo n.º 1
0
        public async Task Uninstall(IUninstallSession contentInstaller, CancellationToken cancelToken,
                                    string constraint = null)
        {
            await contentInstaller.UninstallCollection(this, cancelToken, constraint).ConfigureAwait(false);

            RemoveRecentInfo();
        }
Ejemplo n.º 2
0
 public virtual async Task PreUninstall(IUninstallSession installerSession, CancellationToken cancelToken,
                                        bool processed)
 {
     foreach (var a in AdditionalPreUninstallActions)
     {
         await a(processed).ConfigureAwait(false);
     }
 }
Ejemplo n.º 3
0
 public Task Uninstall(IUninstallSession installerSession, CancellationToken cancelToken,
                       string constraint = null) => installerSession.Uninstall(this);
Ejemplo n.º 4
0
 public Task Uninstall(IUninstallSession installerSession, CancellationToken cancelToken,
     string constraint = null) => installerSession.Uninstall(this);
Ejemplo n.º 5
0
 public Task Uninstall(IUninstallSession installerSession) {
     return installerSession.Uninstall(this);
 }
Ejemplo n.º 6
0
 public async Task Uninstall(IUninstallSession contentInstaller, CancellationToken cancelToken,
     string constraint = null) {
     await contentInstaller.UninstallCollection(this, cancelToken, constraint).ConfigureAwait(false);
     RemoveRecentInfo();
 }