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

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/System/System.IO/RenamedEventArgs.cs')
-rw-r--r--mcs/class/System/System.IO/RenamedEventArgs.cs44
1 files changed, 44 insertions, 0 deletions
diff --git a/mcs/class/System/System.IO/RenamedEventArgs.cs b/mcs/class/System/System.IO/RenamedEventArgs.cs
new file mode 100644
index 00000000000..134dca7a4b1
--- /dev/null
+++ b/mcs/class/System/System.IO/RenamedEventArgs.cs
@@ -0,0 +1,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
+ }
+}