dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnetlib/System/IO FileSystemWatcher.cs,1.1,1.


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/System/IO FileSystemWatcher.cs,1.1,1.2 InternalBufferOverflowException.cs,1.1,1.2
Date: Sun, 25 May 2003 20:06:35 -0400

Update of /cvsroot/dotgnu-pnet/pnetlib/System/IO
In directory subversions:/tmp/cvs-serv20935/System/IO

Modified Files:
        FileSystemWatcher.cs InternalBufferOverflowException.cs 
Log Message:


Signature-compatibility fixes for "System.IO".


Index: FileSystemWatcher.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System/IO/FileSystemWatcher.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** FileSystemWatcher.cs        24 May 2003 04:20:13 -0000      1.1
--- FileSystemWatcher.cs        26 May 2003 00:06:33 -0000      1.2
***************
*** 39,42 ****
--- 39,43 ----
  // hole at the same time.
  
+ [DefaultEvent("Changed")]
  public class FileSystemWatcher : Component, ISupportInitialize
  {
***************
*** 48,52 ****
        private int internalBufferSize;
        private NotifyFilters notifyFilter;
!       private Object synchronizingObject;
  
        // Constructors.
--- 49,53 ----
        private int internalBufferSize;
        private NotifyFilters notifyFilter;
!       private ISynchronizeInvoke synchronizingObject;
  
        // Constructors.
***************
*** 99,102 ****
--- 100,105 ----
  
        // Get or set this object's properties.
+       [IODescription("FSW_Enabled")]
+       [DefaultValue(false)]
        public bool EnableRaisingEvents
                        {
***************
*** 110,113 ****
--- 113,121 ----
                                }
                        }
+       [IODescription("FSW_Filter")]
+       [DefaultValue("*.*")]
+       [RecommendedAsConfigurable(true)]
+       [TypeConverter
+               ("System.Diagnostics.Design.StringValueConverter, 
System.Design")]
        public String Filter
                        {
***************
*** 128,131 ****
--- 136,141 ----
                                }
                        }
+       [IODescription("FSW_IncludeSubdirectories")]
+       [DefaultValue(false)]
        public bool IncludeSubdirectories
                        {
***************
*** 139,142 ****
--- 149,154 ----
                                }
                        }
+       [Browsable(false)]
+       [DefaultValue(8192)]
        public int InternalBufferSize
                        {
***************
*** 150,153 ****
--- 162,166 ----
                                }
                        }
+       [IODescription("FSW_ChangedFilter")]
        public NotifyFilters NotifyFilter
                        {
***************
*** 161,164 ****
--- 174,185 ----
                                }
                        }
+       [IODescription("FSW_Path")]
+       [DefaultValue("")]
+       [RecommendedAsConfigurable(true)]
+       [Editor
+               ("System.Diagnostics.Design.FSWPathEditor, System.Design",
+                "System.Drawing.Design.UITypeEditor, System.Drawing")]
+       [TypeConverter
+               ("System.Diagnostics.Design.StringValueConverter, 
System.Design")]
        public String Path
                        {
***************
*** 179,182 ****
--- 200,204 ----
                                }
                        }
+       [Browsable(false)]
        public override ISite Site
                        {
***************
*** 194,198 ****
                                }
                        }
!       public Object SynchronizingObject
                        {
                                get
--- 216,221 ----
                                }
                        }
!       [IODescription("FSW_SynchronizingObject")]
!       public ISynchronizeInvoke SynchronizingObject
                        {
                                get
***************
*** 207,214 ****
  
        // Begin initialization of a watcher.
!       public virtual void BeginInit() {}
  
        // End initialization of a watcher.
!       public virtual void EndInit() {}
  
        // Wait for a particular kind of change to occur.
--- 230,237 ----
  
        // Begin initialization of a watcher.
!       public void BeginInit() {}
  
        // End initialization of a watcher.
!       public void EndInit() {}
  
        // Wait for a particular kind of change to occur.
***************
*** 227,234 ****
--- 250,262 ----
  
        // Events that are emitted for various filesystem operations.
+       [IODescription("FSW_Changed")]
        public event FileSystemEventHandler Changed;
+       [IODescription("FSW_Created")]
        public event FileSystemEventHandler Created;
+       [IODescription("FSW_Deleted")]
        public event FileSystemEventHandler Deleted;
+       [Browsable(false)]
        public event ErrorEventHandler Error;
+       [IODescription("FSW_Renamed")]
        public event RenamedEventHandler Renamed;
  

Index: InternalBufferOverflowException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/System/IO/InternalBufferOverflowException.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** InternalBufferOverflowException.cs  24 May 2003 04:20:13 -0000      1.1
--- InternalBufferOverflowException.cs  26 May 2003 00:06:33 -0000      1.2
***************
*** 28,32 ****
  
  [Serializable]
! public class InternalBufferOverflowException : Exception
  {
        // Constructors.
--- 28,32 ----
  
  [Serializable]
! public class InternalBufferOverflowException : SystemException
  {
        // Constructors.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]