Author: alanmc
Date: 2007-01-05 09:51:41 -0500 (Fri, 05 Jan 2007)
New Revision: 70531

Modified:
   trunk/Mono.Nat/AsyncResults/PortMapAsyncResult.cs
Log:
Added corresponding synchronous methods for all async methods. Refactored code 
to fix FXCop warnings. Misc renamings to make things more consistant. Fixing up 
of XML comments. All thanks to Ramon S.

Modified: trunk/Mono.Nat/AsyncResults/PortMapAsyncResult.cs
===================================================================
--- trunk/Mono.Nat/AsyncResults/PortMapAsyncResult.cs   2007-01-05 13:53:41 UTC 
(rev 70530)
+++ trunk/Mono.Nat/AsyncResults/PortMapAsyncResult.cs   2007-01-05 14:51:41 UTC 
(rev 70531)
@@ -76,14 +76,14 @@
         }
         private AsyncCallback completionCallback;
 
+// TODO: Not used
+//        internal bool UsingManHeader
+//        {
+//            get { return this.usingManHeader; }
+//        }
+//        private bool usingManHeader;
 
-        internal bool UsingManHeader
-        {
-            get { return this.usingManHeader; }
-        }
-        private bool usingManHeader;
 
-
         internal HttpWebRequest Request
         {
             get { return this.request; }
@@ -99,11 +99,10 @@
         private IMessage savedMessage;
 
 
-        public PortMapAsyncResult(bool usingManHeader, HttpWebRequest request, 
AsyncCallback callback, object asyncState)
+        public PortMapAsyncResult(HttpWebRequest request, AsyncCallback 
callback, object asyncState)
         {
             this.asyncState = asyncState;
             this.completionCallback = callback;
-            this.usingManHeader = usingManHeader;
             this.request = request;
             this.waitHandle = new ManualResetEvent(false);
         }

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

Reply via email to