-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Copy pathInstallEvent.cs
60 lines (53 loc) · 2.69 KB
/
InstallEvent.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
//------------------------------------------------------------------------------
// <copyright file="InstallEvent.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
/*
*/
namespace System.Configuration.Install {
using System.Diagnostics;
using System;
using System.Collections;
/// <include file='doc\InstallEvent.uex' path='docs/doc[@for="InstallEventArgs"]/*' />
/// <devdoc>
/// <para>
/// Provides data for the <see cref='System.Configuration.Install.Installer.OnBeforeInstall'/>, <see cref='System.Configuration.Install.Installer.OnAfterInstall'/>, <see cref='System.Configuration.Install.Installer.OnCommitting'/>, <see cref='System.Configuration.Install.Installer.OnCommitted'/>, <see cref='System.Configuration.Install.Installer.OnBeforeRollback'/>, <see cref='System.Configuration.Install.Installer.OnAfterRollback'/>, <see cref='System.Configuration.Install.Installer.OnBeforeUninstall'/>, and <see cref='System.Configuration.Install.Installer.OnAfterUninstall'/> events.
/// </para>
/// </devdoc>
public class InstallEventArgs : EventArgs {
private IDictionary savedState;
/// <include file='doc\InstallEvent.uex' path='docs/doc[@for="InstallEventArgs.InstallEventArgs"]/*' />
/// <devdoc>
/// <para>
/// Initializes a new instance of the <see cref='System.Configuration.Install.InstallEventArgs'/>
/// class, leaving the <paramref name="savedState"/>
/// field empty.
/// </para>
/// </devdoc>
public InstallEventArgs() : base() {
}
/// <include file='doc\InstallEvent.uex' path='docs/doc[@for="InstallEventArgs.InstallEventArgs1"]/*' />
/// <devdoc>
/// <para>
/// Initializes a new instance of the <see cref='System.Configuration.Install.InstallEventArgs'/> class, with the saved state
/// parameter.
/// </para>
/// </devdoc>
public InstallEventArgs(IDictionary savedState) : base() {
this.savedState = savedState;
}
/// <include file='doc\InstallEvent.uex' path='docs/doc[@for="InstallEventArgs.SavedState"]/*' />
/// <devdoc>
/// <para>
/// An <see cref='System.Collections.IDictionary'/>
/// that represents the current state of the installation.
/// </para>
/// </devdoc>
public IDictionary SavedState {
get {
return this.savedState;
}
}
}
}