Author: spouliot
Date: 2005-09-11 10:06:45 -0400 (Sun, 11 Sep 2005)
New Revision: 49906
Added:
Modified:
Log:
2005-09-11 Sebastien Pouliot <sebastien (AT) ximian (DOT) com>
* IWFactory.cs: New. 2.0 interface.
* IWebPropertyAccessor.cs: New. 2.0 interface.
* Transactions.cs: Added [Link|Inheritance]Demand for Minimal.
* WorkItem.cs: Added [Link|Inheritance]Demand for Minimal. Added
Demand for UnmanagedCode on the static Post method,
Modified:
2005-09-11 14:03:20 UTC (rev 49905)
2005-09-11 14:06:45 UTC (rev 49906)
@@ -1,3 +1,11 @@
+2005-09-11 Sebastien Pouliot <sebastien (AT) ximian (DOT) com>
+
+* IWFactory.cs: New. 2.0 interface.
+* IWebPropertyAccessor.cs: New. 2.0 interface.
+* Transactions.cs: Added [Link|Inheritance]Demand for Minimal.
+* WorkItem.cs: Added [Link|Inheritance]Demand for Minimal. Added
+Demand for UnmanagedCode on the static Post method,
+
2005-08-28 Gonzalo Paniagua Javier <gonzalo (AT) ximian (DOT) com>
* UrlUtils.cs: removed 2 unused methods. IsRelativeUrl returns false if
Added:
2005-09-11 14:03:20 UTC (rev 49905)
2005-09-11 14:06:45 UTC (rev 49906)
@@ -0,0 +1,39 @@
+//
+// System.Web.Util.IWFactory interface
+//
+// Author:
+//Sebastien Pouliot <sebastien (AT) ximian (DOT) com>
+//
+// Copyright (C) 2005 Novell, Inc (http://www.novell.com)
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SFTWARE IS PRVIDED "AS IS", WITHUT WARRANTY F ANY KIND,
+// EXPRESS R IMPLIED, INCLUDING BUT NT LIMITED T THE WARRANTIES F
+// MERCHANTABILITY, FITNESS FR A PARTICULAR PURPSE AND
+// NNINFRINGEMENT. IN N EVENT SHALL THE AUTHRS R CPYRIGHT HLDERS BE
+// LIABLE FR ANY CLAIM, DAMAGES R THER LIABILITY, WHETHER IN AN ACTIN
+// F CNTRACT, TRT R THERWISE, ARISING FRM, UT F R IN CNNECTIN
+// WITH THE SFTWARE R THE USE R THER DEALINGS IN THE SFTWARE.
+//
+
+#if NET_2_0
+
+namespace System.Web.Util {
+
+public interface IWFactory {
+
+object CreateInstance ();
+}
+}
+
+#endif
Property changes on:
Name: svn:eol-style
+ native
Added:
2005-09-11 14:03:20 UTC (rev 49905)
2005-09-11 14:06:45 UTC (rev 49906)
@@ -0,0 +1,40 @@
+//
+// interface
+//
+// Author:
+//Sebastien Pouliot <sebastien (AT) ximian (DOT) com>
+//
+// Copyright (C) 2005 Novell, Inc (http://www.novell.com)
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SFTWARE IS PRVIDED "AS IS", WITHUT WARRANTY F ANY KIND,
+// EXPRESS R IMPLIED, INCLUDING BUT NT LIMITED T THE WARRANTIES F
+// MERCHANTABILITY, FITNESS FR A PARTICULAR PURPSE AND
+// NNINFRINGEMENT. IN N EVENT SHALL THE AUTHRS R CPYRIGHT HLDERS BE
+// LIABLE FR ANY CLAIM, DAMAGES R THER LIABILITY, WHETHER IN AN ACTIN
+// F CNTRACT, TRT R THERWISE, ARISING FRM, UT F R IN CNNECTIN
+// WITH THE SFTWARE R THE USE R THER DEALINGS IN THE SFTWARE.
+//
+
+#if NET_2_0
+
+namespace System.Web.Util {
+
+public interface IWebPropertyAccessor {
+
+object GetProperty (object target);
+void SetProperty (object target, object value);
+}
+}
+
+#endif
Property changes on:
Name: svn:eol-style
+ native
Modified:
2005-09-11 14:03:20 UTC (rev 49905)
2005-09-11 14:06:45 UTC (rev 49906)
@@ -4,7 +4,7 @@
// Author:
// Andreas Nahr (ClassDevelopment (AT) A-SoftTech (DOT) com)
//
-
+// Copyright (C) 2005 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
@@ -26,11 +26,15 @@
// WITH THE SFTWARE R THE USE R THER DEALINGS IN THE SFTWARE.
//
-using System;
using System.EnterpriseServices;
+using System.Security.Permissions;
namespace System.Web.Util
{
+[MonoTD]
+// CAS
+[AspNetHostingPermission (SecurityAction.LinkDemand, Level = )]
+[AspNetHostingPermission (, Level = )]
public class Transactions
{
public Transactions ()
@@ -47,6 +51,8 @@
T mode,
ref bool transactionAborted)
{
+// note: this is the documented exception for (Windows) S prior to NT
+// so in this case we won't throw a NotImplementedException
throw new PlatformNotSupportedException ("Not supported on mono");
}
}
Modified:
2005-09-11 14:03:20 UTC (rev 49905)
2005-09-11 14:06:45 UTC (rev 49906)
@@ -4,7 +4,7 @@
// Author:
// Andreas Nahr (ClassDevelopment (AT) A-SoftTech (DOT) com)
//
-
+// Copyright (C) 2005 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
@@ -26,18 +26,25 @@
// WITH THE SFTWARE R THE USE R THER DEALINGS IN THE SFTWARE.
//
-using System;
+using System.Security.Permissions;
namespace System.Web.Util
{
+[MonoTD]
+// CAS
+[AspNetHostingPermission (SecurityAction.LinkDemand, Level = )]
+[AspNetHostingPermission (, Level = )]
public class WorkItem
{
public WorkItem ()
{
}
+[SecurityPermission (SecurityAction.Demand, UnmanagedCode = true)]
public static void Post (WorkItemCallback callback)
{
+// note: this is the documented exception for (Windows) S prior to NT
+// so in this case we won't throw a NotImplementedException
throw new PlatformNotSupportedException ("Not supported on mono");
}
}
Mono-patches maillist - Mono-patches (AT) lists (DOT) ximian.com