2 // System.Runtime.Remoting.Activation.UrlAttribute.cs
4 // Author: Duncan Mak (duncan@ximian.com)
6 // (C) Copyright, Ximian, Inc.
9 using System.Runtime.Remoting.Contexts;
11 namespace System.Runtime.Remoting.Activation {
14 public sealed class UrlAttribute : ContextAttribute
18 public UrlAttribute (string callsiteURL)
24 public string UrlValue {
28 public override bool Equals (object o)
30 if (!(o is UrlAttribute))
33 return (((UrlAttribute) o).UrlValue == url);
36 public override int GetHashCode ()
38 return url.GetHashCode ();
42 public override void GetPropertiesForNewContext (IConstructionCallMessage ctorMsg)
44 throw new NotImplementedException ();
48 public override bool IsContextOK (Context ctx, IConstructionCallMessage msg)
50 throw new NotImplementedException ();