| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- //
- // System.Runtime.Remoting.Activation.UrlAttribute.cs
- //
- // Author: Duncan Mak ([email protected])
- //
- // (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)
- : base (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);
- }
- public override int GetHashCode ()
- {
- return url.GetHashCode ();
- }
- [MonoTODO]
- public override void GetPropertiesForNewContext (IConstructionCallMessage ctorMsg)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public override bool IsContextOK (Context ctx, IConstructionCallMessage msg)
- {
- throw new NotImplementedException ();
- }
- }
- }
|