Welcome to mirror list, hosted at ThFree Co, Russian Federation.

FileChangedEventArgs.cs « System.Web.Utils « System.Web « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 909711dbbe2630b4cfad0d91548c29655793efb3 (plain)
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
/**
 * Namespace: System.Web.Utils
 * Class:     FileChangedEventArgs
 *
 * Author:  Gaurav Vaish
 * Maintainer: gvaish@iitk.ac.in
 * Contact: <my_scripts2001@yahoo.com>, <gvaish@iitk.ac.in>
 * Implementation: yes
 * Status:  ??%
 *
 * (C) Gaurav Vaish (2001)
 */

namespace System.Web.Utils
{
	internal class FileChangedEventArgs : EventArgs
	{
		private string filename;
		private FileAction action;

		public void FileChangedEvent(FileAction action, string file)
		{
			this.action = action;
			this.filename = file;
		}

		public string FileName
		{
			get
			{
				return filename;
			}
		}

		public FileAction Action
		{
			get
			{
				return action;
			}
		}
	}
}