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