diff options
Diffstat (limited to 'mcs/class/System/System.IO/RenamedEventArgs.cs')
-rw-r--r-- | mcs/class/System/System.IO/RenamedEventArgs.cs | 44 |
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
+ }
+}
|