LicenseContext.cs 879 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. //
  2. // System.ComponentModel.LicenseContext.cs
  3. //
  4. // Authors:
  5. // Martin Willemoes Hansen ([email protected])
  6. // Andreas Nahr ([email protected])
  7. //
  8. // (C) 2003 Martin Willemoes Hansen
  9. // (C) 2003 Andreas Nahr
  10. //
  11. using System.Reflection;
  12. namespace System.ComponentModel
  13. {
  14. public class LicenseContext : IServiceProvider
  15. {
  16. [MonoTODO]
  17. public LicenseContext()
  18. {
  19. }
  20. [MonoTODO]
  21. public virtual string GetSavedLicenseKey (Type type,
  22. Assembly resourceAssembly)
  23. {
  24. throw new NotImplementedException();
  25. }
  26. [MonoTODO]
  27. public virtual object GetService (Type type)
  28. {
  29. throw new NotImplementedException();
  30. }
  31. [MonoTODO]
  32. public virtual void SetSavedLicenseKey (Type type, string key)
  33. {
  34. throw new NotImplementedException();
  35. }
  36. public virtual LicenseUsageMode UsageMode {
  37. get {
  38. return LicenseUsageMode.Runtime;
  39. }
  40. }
  41. }
  42. }