ResourcePermissionBase.cs 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. //
  2. // System.Security.Permissions.ResourcePermissionBase.cs
  3. //
  4. // Authors:
  5. // Jonathan Pryor ([email protected])
  6. //
  7. // (C) 2002
  8. //
  9. using System;
  10. using System.Security.Permissions;
  11. namespace System.Security.Permissions {
  12. [Serializable]
  13. public class ResourcePermissionBase
  14. : CodeAccessPermission, IUnrestrictedPermission {
  15. [MonoTODO]
  16. protected ResourcePermissionBase ()
  17. {
  18. throw new NotImplementedException ();
  19. }
  20. [MonoTODO]
  21. protected ResourcePermissionBase (PermissionState state)
  22. {
  23. throw new NotImplementedException ();
  24. }
  25. [MonoTODO]
  26. public const string Any = "any?";
  27. [MonoTODO]
  28. public const string Local = "local?";
  29. [MonoTODO]
  30. protected Type PermissionAccessType {
  31. get {throw new NotImplementedException ();}
  32. set {throw new NotImplementedException ();}
  33. }
  34. [MonoTODO]
  35. protected string[] TagNames {
  36. get {throw new NotImplementedException ();}
  37. set {throw new NotImplementedException ();}
  38. }
  39. [MonoTODO]
  40. protected void AddPermissionAccess (
  41. ResourcePermissionBaseEntry entry)
  42. {
  43. throw new NotImplementedException ();
  44. }
  45. [MonoTODO]
  46. protected void Clear ()
  47. {
  48. throw new NotImplementedException ();
  49. }
  50. [MonoTODO]
  51. public override IPermission Copy ()
  52. {
  53. throw new NotImplementedException ();
  54. }
  55. [MonoTODO]
  56. public override void FromXml (SecurityElement securityElement)
  57. {
  58. throw new NotImplementedException ();
  59. }
  60. [MonoTODO]
  61. protected ResourcePermissionBaseEntry[] GetPermissionEntries ()
  62. {
  63. throw new NotImplementedException ();
  64. }
  65. [MonoTODO]
  66. public override IPermission Intersect (IPermission target)
  67. {
  68. throw new NotImplementedException ();
  69. }
  70. [MonoTODO]
  71. public override bool IsSubsetOf (IPermission target)
  72. {
  73. throw new NotImplementedException ();
  74. }
  75. [MonoTODO]
  76. public bool IsUnrestricted ()
  77. {
  78. throw new NotImplementedException ();
  79. }
  80. [MonoTODO]
  81. protected void RemovePermissionAccess (
  82. ResourcePermissionBaseEntry entry)
  83. {
  84. throw new NotImplementedException ();
  85. }
  86. [MonoTODO]
  87. public override SecurityElement ToXml ()
  88. {
  89. throw new NotImplementedException ();
  90. }
  91. [MonoTODO]
  92. public override IPermission Union (IPermission target)
  93. {
  94. throw new NotImplementedException ();
  95. }
  96. }
  97. }