// // 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 (); } } }