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

RenamedEventArgs.cs « System.IO « System « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 134dca7a4b143bbf1d3adabd0b5bc7ff9282ee01 (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
44
// 
// System.IO.RenamedEventArgs.cs
//
// Author:
//   Tim Coleman (tim@timcoleman.com)
//
// Copyright (C) Tim Coleman, 2002
//

using System;

namespace System.IO {
	public class RenamedEventArgs : FileSystemEventArgs {

		#region Fields

		string oldName;

		#endregion // Fields

		#region Constructors

		public RenamedEventArgs (WatcherChangeTypes changeType, string directory, string name, string oldName)
			: base (changeType, directory, name)
		{
			this.oldName = oldName;
		}
		
		#endregion // Constructors

		#region Properties

		public string OldFullPath {
			[MonoTODO]
			get { throw new NotImplementedException (); }
		}

		public string OldName {
			get { return oldName; }
		}

		#endregion // Properties
	}
}