ProxyAttribute.cs 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. //
  2. // System.Runtime.Remoting.Proxies.ProxyAttribute.cs
  3. //
  4. // Author: Duncan Mak ([email protected])
  5. //
  6. // Copyright (C) Ximian, Inc 2002.
  7. //
  8. using System;
  9. using System.Runtime.Remoting;
  10. using System.Runtime.Remoting.Activation;
  11. using System.Runtime.Remoting.Contexts;
  12. namespace System.Runtime.Remoting.Proxies {
  13. [AttributeUsage (AttributeTargets.Class)]
  14. public class ProxyAttribute : Attribute, IContextAttribute
  15. {
  16. public ProxyAttribute ()
  17. {
  18. }
  19. [MonoTODO]
  20. public virtual MarshalByRefObject CreateInstance (Type serverType)
  21. {
  22. throw new NotImplementedException ();
  23. }
  24. [MonoTODO]
  25. public virtual RealProxy CreateProxy (ObjRef objref, Type serverType, object serverObject, Context serverContext)
  26. {
  27. throw new NotImplementedException ();
  28. }
  29. [MonoTODO]
  30. public void GetPropertiesForNewContext (IConstructionCallMessage msg)
  31. {
  32. throw new NotImplementedException ();
  33. }
  34. [MonoTODO]
  35. public bool IsContextOK (Context ctx, IConstructionCallMessage msg)
  36. {
  37. throw new NotImplementedException ();
  38. }
  39. }
  40. }