6 instantiations of PolicyLevel
mscorlib (6)
system\security\policy\policylevel.cs (2)
175
return new
PolicyLevel
(System.Security.PolicyLevelType.AppDomain);
1128
PolicyLevel level = new
PolicyLevel
(m_type, path);
system\security\policymanager.cs (3)
41
policyLevels.Add(new
PolicyLevel
(System.Security.PolicyLevelType.Enterprise, enterpriseConfig, ConfigId.EnterprisePolicyLevel));
44
policyLevels.Add(new
PolicyLevel
(System.Security.PolicyLevelType.Machine, machineConfig, ConfigId.MachinePolicyLevel));
49
policyLevels.Add(new
PolicyLevel
(System.Security.PolicyLevelType.User, userConfig, ConfigId.UserPolicyLevel));
system\security\securitymanager.cs (1)
212
PolicyLevel level = new
PolicyLevel
(type, path);
74 references to PolicyLevel
mscorlib (62)
system\appdomain.cs (2)
1021
PolicyLevel
level = securityManager.DomainPolicy;
2605
public void SetAppDomainPolicy(
PolicyLevel
domainPolicy)
system\iappdomain.cs (1)
253
void SetAppDomainPolicy(
PolicyLevel
domainPolicy);
system\security\hostsecuritymanager.cs (1)
64
public virtual
PolicyLevel
DomainPolicy {
system\security\isecuritypolicyencodable.cs (2)
25
SecurityElement ToXml(
PolicyLevel
level );
27
void FromXml( SecurityElement e,
PolicyLevel
level );
system\security\permissions\permissionattributes.cs (1)
1188
return
PolicyLevel
.GetBuiltInSet( m_name );
system\security\permissionset.cs (2)
2350
PolicyLevel
level =
PolicyLevel
.CreateAppDomainLevel();
system\security\policy\allmembershipcondition.cs (2)
62
public SecurityElement ToXml(
PolicyLevel
level )
75
public void FromXml( SecurityElement e,
PolicyLevel
level )
system\security\policy\applicationdirectorymembershipcondition.cs (2)
101
public SecurityElement ToXml(
PolicyLevel
level )
114
public void FromXml( SecurityElement e,
PolicyLevel
level )
system\security\policy\codegroup.cs (6)
35
private
PolicyLevel
m_parentLevel;
310
public SecurityElement ToXml(
PolicyLevel
level )
321
internal SecurityElement ToXml(
PolicyLevel
level, String policyClassName )
393
protected virtual void CreateXml( SecurityElement element,
PolicyLevel
level )
397
public void FromXml( SecurityElement e,
PolicyLevel
level )
418
protected virtual void ParseXml( SecurityElement e,
PolicyLevel
level )
system\security\policy\filecodegroup.cs (2)
178
protected override void CreateXml(SecurityElement element,
PolicyLevel
level) {
182
protected override void ParseXml(SecurityElement e,
PolicyLevel
level) {
system\security\policy\gacmembershipcondition.cs (2)
72
public SecurityElement ToXml(
PolicyLevel
level )
80
public void FromXml( SecurityElement e,
PolicyLevel
level )
system\security\policy\hashmembershipcondition.cs (2)
162
public SecurityElement ToXml(
PolicyLevel
level) {
183
public void FromXml(SecurityElement e,
PolicyLevel
level) {
system\security\policy\netcodegroup.cs (2)
833
protected override void CreateXml( SecurityElement element,
PolicyLevel
level )
857
protected override void ParseXml( SecurityElement e,
PolicyLevel
level )
system\security\policy\policylevel.cs (2)
174
public static
PolicyLevel
CreateAppDomainLevel() {
1128
PolicyLevel
level = new PolicyLevel(m_type, path);
system\security\policy\policystatement.cs (5)
307
public SecurityElement ToXml(
PolicyLevel
level )
312
internal SecurityElement ToXml(
PolicyLevel
level, bool useInternal )
356
public void FromXml( SecurityElement et,
PolicyLevel
level )
362
internal void FromXml( SecurityElement et,
PolicyLevel
level, bool allowInternalOnly )
439
internal void FromXml( SecurityDocument doc, int position,
PolicyLevel
level, bool allowInternalOnly )
system\security\policy\publishermembershipcondition.cs (2)
160
public SecurityElement ToXml(
PolicyLevel
level )
178
public void FromXml( SecurityElement e,
PolicyLevel
level )
system\security\policy\sitemembershipcondition.cs (2)
143
public SecurityElement ToXml(
PolicyLevel
level )
162
public void FromXml( SecurityElement e,
PolicyLevel
level )
system\security\policy\strongnamemembershipcondition.cs (2)
216
public SecurityElement ToXml(
PolicyLevel
level )
239
public void FromXml( SecurityElement e,
PolicyLevel
level )
system\security\policy\urlmembershipcondition.cs (2)
147
public SecurityElement ToXml(
PolicyLevel
level )
165
public void FromXml( SecurityElement e,
PolicyLevel
level )
system\security\policy\zonemembershipcondition.cs (2)
158
public SecurityElement ToXml(
PolicyLevel
level )
177
public void FromXml( SecurityElement e,
PolicyLevel
level )
system\security\policymanager.cs (13)
40
string enterpriseConfig =
PolicyLevel
.GetLocationFromType(System.Security.PolicyLevelType.Enterprise);
43
string machineConfig =
PolicyLevel
.GetLocationFromType(System.Security.PolicyLevelType.Machine);
48
string userConfig =
PolicyLevel
.GetLocationFromType(System.Security.PolicyLevelType.User);
60
internal void AddLevel (
PolicyLevel
level) {
95
PolicyLevel
currentLevel = null;
112
currentLevel = (
PolicyLevel
)levelEnumerator.Current;
146
PolicyLevel
appDomainLevel = null;
150
currentLevel = (
PolicyLevel
) PolicyLevels[i];
204
CodeGroup temp = ((
PolicyLevel
)levelEnumerator.Current).ResolveMatchingCodeGroups(evidence);
264
PolicyLevel
currentLevel = (
PolicyLevel
) PolicyLevels[i];
276
internal static void EncodeLevel (
PolicyLevel
level)
413
private static QuickCacheEntryType GenerateQuickCache(
PolicyLevel
level)
system\security\securitymanager.cs (5)
165
static public
PolicyLevel
LoadPolicyLevelFromFile(string path, PolicyLevelType type)
199
static public
PolicyLevel
LoadPolicyLevelFromString(string str, PolicyLevelType type)
206
private static
PolicyLevel
LoadPolicyLevelFromStringHelper (string str, string path, PolicyLevelType type)
212
PolicyLevel
level = new PolicyLevel(type, path);
243
static public void SavePolicyLevel(
PolicyLevel
level )
System.Web (12)
Hosting\ApplicationManager.cs (3)
916
PolicyLevel
policyLevel = null;
1378
private static
PolicyLevel
GetPartialTrustPolicyLevel(
1388
PolicyLevel
policyLevel = null;
Hosting\HostingEnvironment.cs (2)
279
internal void Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters,
PolicyLevel
policyLevel) {
286
HostingEnvironmentParameters hostingParameters,
PolicyLevel
policyLevel,
HttpRuntime.cs (7)
185
private
PolicyLevel
_policyLevel;
390
private void HostingInit(HostingEnvironmentFlags hostingFlags,
PolicyLevel
policyLevel, Exception appDomainCreationException) {
579
internal static void InitializeHostingFeatures(HostingEnvironmentFlags hostingFlags,
PolicyLevel
policyLevel, Exception appDomainCreationException) {
2483
internal static
PolicyLevel
PolicyLevel {
3161
PolicyLevel
policyLevel = CreatePolicyLevel(file, AppDomainAppPathInternal, CodegenDirInternal, trustSection.OriginUrl, out foundGacToken);
3241
private static
PolicyLevel
CreatePolicyLevel(String configFile, String appDir, String binDir, String strOriginUrl, out bool foundGacToken) {
3282
private void SetTrustParameters(TrustSection trustSection, SecurityPolicySection securityPolicySection,
PolicyLevel
policyLevel) {