Welcome to mirror list, hosted at ThFree Co, Russian Federation.

IsolatedStoragePermissionAttribute.cs « System.Security.Permissions « corlib « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 21563b6b5164d5cde9c9f89e3a17062877664a1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//
// System.Security.Permissions.IsolatedStoragePermissionAttributes.cs
//
// Author:
//   Dan Lewis (dihlewis@yahoo.co.uk)
//
// (C) 2002
//

using System;
using System.Security.Permissions;

namespace System.Security.Permissions {
	
	[AttributeUsage ( AttributeTargets.Assembly | AttributeTargets.Class |
		AttributeTargets.Struct | AttributeTargets.Constructor |
		AttributeTargets.Method)]
	[Serializable]
	public abstract class IsolatedStoragePermissionAttribute : CodeAccessSecurityAttribute {
		
		public IsolatedStoragePermissionAttribute (SecurityAction action) : base (action) {
		}

		public IsolatedStorageContainment UsageAllowed {
			get { return usage_allowed; }
			set { usage_allowed = value; }
		}

		public long UserQuota {
			get { return user_quota; }
			set { user_quota = value; }
		}

		[MonoTODO]
		public override IPermission CreatePermission () {
			return null;
		}

		// private

		private IsolatedStorageContainment usage_allowed;
		private long user_quota;
	}
}