diff options
author | Gonzalo Paniagua Javier <gonzalo.mono@gmail.com> | 2005-07-01 02:29:17 +0400 |
---|---|---|
committer | Gonzalo Paniagua Javier <gonzalo.mono@gmail.com> | 2005-07-01 02:29:17 +0400 |
commit | d6de82f9364062d5c21e187b7a67120fb78a7aab (patch) | |
tree | 235d8b35ee16c8a7739ebb7870a7dc5f5c3ac77c /mcs | |
parent | a0a5d6712c49cd0f97acf793887efa82291d8632 (diff) |
from head
svn path=/branches/mono-1-1-8/mcs/; revision=46803
Diffstat (limited to 'mcs')
-rwxr-xr-x | mcs/class/System.Web/System.Web.dll.sources | 6 | ||||
-rw-r--r-- | mcs/class/System.Web/System.Web/GhHttpAsyncResult.jvm.cs | 73 |
2 files changed, 79 insertions, 0 deletions
diff --git a/mcs/class/System.Web/System.Web.dll.sources b/mcs/class/System.Web/System.Web.dll.sources index e7ef22afeb4..265b0f3e547 100755 --- a/mcs/class/System.Web/System.Web.dll.sources +++ b/mcs/class/System.Web/System.Web.dll.sources @@ -95,6 +95,11 @@ System.Web.Configuration/SiteMapSection.cs System.Web.Configuration/TraceConfig.cs System.Web.Configuration/TraceConfigurationHandler.cs System.Web.Configuration/TraceDisplayMode.cs +System.Web.Configuration/VirtualDirectoryMapping.cs +System.Web.Configuration/VirtualDirectoryMappingCollection.cs +System.Web.Configuration/WebConfigurationFileMap.cs +System.Web.Configuration/WebConfigurationHost.cs +System.Web.Configuration/WebConfigurationManager.cs System.Web.Configuration/WebConfigurationSettings.cs System.Web.Configuration/WebControlsSectionHandler.cs System.Web.Handlers/AssemblyResourceLoader.cs @@ -812,6 +817,7 @@ System.Web.Util/AltSerialization.cs System.Web.Util/DataSourceHelper.cs System.Web.Util/ICalls.cs System.Web.Util/NativeFileChangeEventHandler.cs +System.Web.Util/StrUtils.cs System.Web.Util/TimeUtil.cs System.Web.Util/TransactedCallback.cs System.Web.Util/Transactions.cs diff --git a/mcs/class/System.Web/System.Web/GhHttpAsyncResult.jvm.cs b/mcs/class/System.Web/System.Web/GhHttpAsyncResult.jvm.cs new file mode 100644 index 00000000000..285dcc916da --- /dev/null +++ b/mcs/class/System.Web/System.Web/GhHttpAsyncResult.jvm.cs @@ -0,0 +1,73 @@ +//
+// System.Web.HttpAsyncResult
+//
+// Author:
+// Patrik Torstensson (ptorsten@hotmail.com)
+//
+using System;
+using System.Threading;
+
+namespace System.Web
+{
+ internal class GhHttpAsyncResult : IAsyncResult
+ {
+ private object _result;
+ private object _asyncState;
+ private AsyncCallback _callback;
+ private Exception _error;
+
+ private bool _ready;
+ private bool _readySync;
+
+ internal GhHttpAsyncResult(AsyncCallback callback, object state) {
+ _callback = callback;
+ _asyncState = state;
+ }
+
+ internal void Complete(bool sync, object result, Exception error) {
+ _ready = true;
+ _readySync = sync;
+ _result = result;
+ _error = error;
+ if (null != _callback) {
+ _callback(this);
+ }
+ }
+
+ internal Exception Error {
+ get {
+ return null;
+ }
+ }
+
+ public object AsyncState {
+ get {
+ return _asyncState;
+ }
+ }
+
+ public object AsyncObject {
+ get {
+ return null;
+ }
+ }
+
+ public WaitHandle AsyncWaitHandle {
+ get {
+ return null;
+ }
+ }
+
+ public bool CompletedSynchronously {
+ get {
+ return _readySync;
+ }
+ }
+
+ public bool IsCompleted {
+ get {
+ return _ready;
+ }
+ }
+ }
+}
|