Author: miguel
Date: 2007-11-02 17:06:36 -0500 (Fri, 02 Nov 2007)
New Revision: 88750

Modified:
   trunk/monodoc/class/System/en/System.IO/FileSystemWatcher.xml
Log:
Add docs

Modified: trunk/monodoc/class/System/en/System.IO/FileSystemWatcher.xml
===================================================================
--- trunk/monodoc/class/System/en/System.IO/FileSystemWatcher.xml       
2007-11-02 22:03:58 UTC (rev 88749)
+++ trunk/monodoc/class/System/en/System.IO/FileSystemWatcher.xml       
2007-11-02 22:06:36 UTC (rev 88750)
@@ -26,7 +26,17 @@
   <ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the 
&lt;link location="node:gtk-sharp/programming/threads"&gt;Gtk# Thread 
Programming&lt;/link&gt; for details.</ThreadSafetyStatement>
   <Docs>
     <summary>Monitors File System's changes in directories, files and files 
inside directories.</summary>
-    <remarks>To be added</remarks>
+    <remarks>
+      <para>
+Mono's implementation of the FileSystemWatcher has multiple backends.   This 
is necessary because not all operating systems supported by Mono have all the 
features necessary to provide the functionality expected by applications.
+</para>
+      <para>
+If the operating system kernel supports watching directories (inotify on 
Linux, KEvents on BSD or OSX) that feature is used;   Otherwise it falls back 
to using the Gamin or FAM libraries (these libraries provide an API to monitor 
directories) and if none of those features are available, Mono will poll every 
750 milliseconds the directories watched.  
+</para>
+      <para>
+You can force the polling behavior (instead of using the kernel support) by 
setting the MONO_MANAGED_WATCHER environment variable before executing your 
application.   This might be useful for filesystems that do not support inotify 
and still require polling to detect changes.
+</para>
+    </remarks>
   </Docs>
   <Base>
     <BaseTypeName>System.ComponentModel.Component</BaseTypeName>
@@ -82,9 +92,9 @@
         <Parameter Name="disposing" Type="System.Boolean" />
       </Parameters>
       <Docs>
-        <summary>To be added</summary>
-        <param name="disposing">To be added: an object of type 'bool'</param>
-        <remarks>To be added</remarks>
+        <summary>Releases the resources for the watcher.</summary>
+        <param name="disposing">Whether this is being called from an 
IDisposable.Dispose methods.</param>
+        <remarks>This will release the resources associated with the watcher 
and will stop watching for changes.  No more events will be generated.</remarks>
       </Docs>
     </Member>
     <Member MemberName="OnChanged">
@@ -97,9 +107,9 @@
         <Parameter Name="e" Type="System.IO.FileSystemEventArgs" />
       </Parameters>
       <Docs>
-        <summary>To be added</summary>
-        <param name="e">To be added: an object of type 
'FileSystemEventArgs'</param>
-        <remarks>To be added</remarks>
+        <summary>Raises the Changed event.</summary>
+        <param name="e">The event to raise.</param>
+        <remarks>This raises the <see 
cref="System.IO.FileSystemChanger.Changed" /> event.   The event is raised 
using the threadpool.</remarks>
       </Docs>
     </Member>
     <Member MemberName="OnCreated">
@@ -112,9 +122,9 @@
         <Parameter Name="e" Type="System.IO.FileSystemEventArgs" />
       </Parameters>
       <Docs>
-        <summary>To be added</summary>
+        <summary>Raises the Created event.</summary>
         <param name="e">To be added: an object of type 
'FileSystemEventArgs'</param>
-        <remarks>To be added</remarks>
+        <remarks>This raises the <see 
cref="F:System.IO.FileSystemWatcher.Created" /> event. The event is raised 
using the threadpool.</remarks>
       </Docs>
     </Member>
     <Member MemberName="OnDeleted">
@@ -127,9 +137,9 @@
         <Parameter Name="e" Type="System.IO.FileSystemEventArgs" />
       </Parameters>
       <Docs>
-        <summary>To be added</summary>
+        <summary>Raises the Deleted event.</summary>
         <param name="e">To be added: an object of type 
'FileSystemEventArgs'</param>
-        <remarks>To be added</remarks>
+        <remarks>This raises the <see 
cref="F:System.IO.FileSystemWatcher.Deleted" /> event. The event is raised 
using the threadpool.</remarks>
       </Docs>
     </Member>
     <Member MemberName="OnError">
@@ -142,9 +152,9 @@
         <Parameter Name="e" Type="System.IO.ErrorEventArgs" />
       </Parameters>
       <Docs>
-        <summary>To be added</summary>
+        <summary>Raise the Error event.</summary>
         <param name="e">To be added: an object of type 'ErrorEventArgs'</param>
-        <remarks>To be added</remarks>
+        <remarks>This raises the <see 
cref="F:System.IO.FileSystemWatcher.Error" /> event. The event is raised using 
the threadpool.</remarks>
       </Docs>
     </Member>
     <Member MemberName="OnRenamed">
@@ -157,9 +167,10 @@
         <Parameter Name="e" Type="System.IO.RenamedEventArgs" />
       </Parameters>
       <Docs>
-        <summary>To be added</summary>
+        <summary>Raises the Renamed event.</summary>
         <param name="e">To be added: an object of type 
'RenamedEventArgs'</param>
-        <remarks>To be added</remarks>
+        <remarks>This raises the <see 
cref="F:System.IO.FileSystemWatcher.Renamed" /> event. The event is raised 
using the threadpool.
+</remarks>
       </Docs>
     </Member>
     <Member MemberName="WaitForChanged">
@@ -220,8 +231,8 @@
         <summary>
           <para>Constructs a new instance of the <see 
cref="T:System.IO.FileSystemWatcher" /> class using path as default directoty 
to monitor.</para>
         </summary>
-        <param name="path">To be added: an object of type 'string'</param>
-        <returns>To be added: an object of type 'FileSystemWatcher'</returns>
+        <param name="path">The directory to monitor.</param>
+        <returns />
         <remarks>To be added</remarks>
       </Docs>
     </Member>
@@ -238,9 +249,9 @@
           <para>Constructs a new instance of the <see 
cref="T:System.IO.FileSystemWatcher" /> class using path as default directoty 
to monitor and filter to determine the files to monitor.</para>
         </summary>
         <param name="path">To be added: an object of type 'string'</param>
-        <param name="filter">To be added: an object of type 'string'</param>
-        <returns>To be added: an object of type 'FileSystemWatcher'</returns>
-        <remarks>To be added</remarks>
+        <param name="filter">A glob pattern specification for file changes to 
monitor.</param>
+        <returns />
+        <remarks>Use this constructor if you want to limit the notifications 
to only the files that match the glob pattern specified.   This is the same 
pattern that you could use in a call to <see 
cref="M:System.IO.Directory.GetFiles(string,string)" />.</remarks>
       </Docs>
     </Member>
     <Member MemberName="NotifyFilter">

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to