Merge pull request #2802 from BrzVlad/feature-evacuation-opt2
[mono.git] / mcs / tools / installutil / demo.cs
1 using System;
2 using System.Configuration.Install;
3 using System.ComponentModel;
4 using System.Collections;
5
6 [RunInstaller(true)]
7 class MyInstall : Installer {
8         public MyInstall ()
9         {
10                 Committed += new InstallEventHandler(MyInstaller_Committed);
11         }
12
13         // Event handler for 'Committed' event.
14         private void MyInstaller_Committed(object sender, InstallEventArgs e)
15         {
16                 Console.WriteLine("");
17                 Console.WriteLine("Committed Event occured.");
18                 Console.WriteLine("");
19         }
20         
21         public override void Install (IDictionary state)
22         {
23                 Console.WriteLine ("Installing");
24         }
25 }
26
27 class X {
28         static void Main ()
29         {
30         }
31 }