+2002-07-24 Duncan Mak <duncan@ximian.com>
+
+ * System.Runtime.Remoting.Activation/UrlAttribute.cs: Add to CVS.
+
+ * System.Runtime.Remoting.Activation/IConstructionCallMessage.cs:
+ This implements IMessage, IMethodCallMessage and IMethodMessage.
+
2002-07-23 Duncan Mak <duncan@ximian.com>
* list:
//
using System.Collections;
+using System.Runtime.Remoting.Messaging;
namespace System.Runtime.Remoting.Activation {
- public interface IConstructionCallMessage {
+ public interface IConstructionCallMessage : IMessage, IMethodCallMessage, IMethodMessage {
Type ActivationType {
get;
}
--- /dev/null
+//
+// System.Runtime.Remoting.Activation.UrlAttribute.cs
+//
+// Author: Duncan Mak (duncan@ximian.com)
+//
+// (C) Copyright, Ximian, Inc.
+//
+
+using System.Runtime.Remoting.Contexts;
+
+namespace System.Runtime.Remoting.Activation {
+
+ [Serializable]
+ public sealed class UrlAttribute : ContextAttribute
+ {
+ string url;
+
+ public UrlAttribute (string callsiteURL)
+ {
+ url = callsiteURL;
+ }
+
+ public string UrlValue {
+ get { return url; }
+ }
+
+ public override bool Equals (object o)
+ {
+ if (!(o is UrlAttribute))
+ return false;
+
+ return (((UrlAttribute) o).UrlValue == url);
+ }
+
+ [MonoTODO]
+ public override int GetHashCode ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public override void GetPropertiesForNewContexts (IConstructionCallMessage ctorMsg)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public override bool IsContextOK (Context ctx, IConstructionCallMessage msg)
+ {
+ throw new NotImplementedException ();
+ }
+ }
+}
System.Runtime.Remoting.Activation/IActivator.cs
System.Runtime.Remoting.Activation/IConstructionCallMessage.cs
System.Runtime.Remoting.Activation/IConstructionReturnMessage.cs
+System.Runtime.Remoting.Activation/UrlAttribute.cs
System.Runtime.Remoting.Contexts/Context.cs
System.Runtime.Remoting.Contexts/ContextAttribute.cs
System.Runtime.Remoting.Contexts/IContextAttribute.cs