42 references to ConfigurationAllowDefinition
System.Configuration (33)
System\Configuration\BaseConfigurationRecord.cs (12)
2426
ConfigurationAllowDefinition
allowDefinition =
ConfigurationAllowDefinition
.Everywhere;
2684
static internal
ConfigurationAllowDefinition
2688
return
ConfigurationAllowDefinition
.Everywhere;
2691
return
ConfigurationAllowDefinition
.MachineOnly;
2694
return
ConfigurationAllowDefinition
.MachineToApplication;
2697
return
ConfigurationAllowDefinition
.MachineToWebRoot;
2983
ConfigurationAllowDefinition
.Everywhere,
3340
Host.IsDefinitionAllowed(_configPath,
ConfigurationAllowDefinition
.MachineToWebRoot, ConfigurationAllowExeDefinition.MachineOnly)) {
3559
internal bool IsDefinitionAllowed(
ConfigurationAllowDefinition
allowDefinition, ConfigurationAllowExeDefinition allowExeDefinition) {
4406
ConfigurationAllowDefinition
.Everywhere, // allowDefinition
4434
ConfigurationAllowDefinition
.Everywhere, // allowDefinition
System\Configuration\ClientConfigurationHost.cs (2)
388
public override bool IsDefinitionAllowed(string configPath,
ConfigurationAllowDefinition
allowDefinition, ConfigurationAllowExeDefinition allowExeDefinition) {
417
public override void VerifyDefinitionAllowed(string configPath,
ConfigurationAllowDefinition
allowDefinition, ConfigurationAllowExeDefinition allowExeDefinition, IConfigErrorInfo errorInfo) {
System\Configuration\FactoryRecord.cs (5)
33
private
ConfigurationAllowDefinition
_allowDefinition; // the allowed definition
49
ConfigurationAllowDefinition
allowDefinition,
89
ConfigurationAllowDefinition
allowDefinition,
173
internal
ConfigurationAllowDefinition
AllowDefinition {
277
ConfigurationAllowDefinition
allowDefinition,
System\Configuration\Internal\DelegatingConfigHost.cs (2)
166
public virtual bool IsDefinitionAllowed(string configPath,
ConfigurationAllowDefinition
allowDefinition, ConfigurationAllowExeDefinition allowExeDefinition) {
170
public virtual void VerifyDefinitionAllowed(string configPath,
ConfigurationAllowDefinition
allowDefinition, ConfigurationAllowExeDefinition allowExeDefinition, IConfigErrorInfo errorInfo) {
System\Configuration\Internal\IInternalConfigHost.cs (2)
81
bool IsDefinitionAllowed(string configPath,
ConfigurationAllowDefinition
allowDefinition, ConfigurationAllowExeDefinition allowExeDefinition);
82
void VerifyDefinitionAllowed(string configPath,
ConfigurationAllowDefinition
allowDefinition, ConfigurationAllowExeDefinition allowExeDefinition, IConfigErrorInfo errorInfo);
System\Configuration\Internal\InternalConfigHost.cs (2)
360
bool IInternalConfigHost.IsDefinitionAllowed(string configPath,
ConfigurationAllowDefinition
allowDefinition, ConfigurationAllowExeDefinition allowExeDefinition) {
364
void IInternalConfigHost.VerifyDefinitionAllowed(string configPath,
ConfigurationAllowDefinition
allowDefinition, ConfigurationAllowExeDefinition allowExeDefinition, IConfigErrorInfo errorInfo) {
System\Configuration\MgmtConfigurationRecord.cs (5)
1346
if ((configSection.SectionInformation.AllowDefinition !=
ConfigurationAllowDefinition
.Everywhere) ||
1352
case
ConfigurationAllowDefinition
.Everywhere:
1355
case
ConfigurationAllowDefinition
.MachineOnly:
1359
case
ConfigurationAllowDefinition
.MachineToWebRoot:
1363
case
ConfigurationAllowDefinition
.MachineToApplication:
System\Configuration\SectionInformation.cs (3)
48
private
ConfigurationAllowDefinition
_allowDefinition;
74
_allowDefinition =
ConfigurationAllowDefinition
.Everywhere;
288
public
ConfigurationAllowDefinition
AllowDefinition {
System.Web (9)
Configuration\WebConfigurationHost.cs (9)
566
public override bool IsDefinitionAllowed(string configPath,
ConfigurationAllowDefinition
allowDefinition, ConfigurationAllowExeDefinition allowExeDefinition) {
568
case
ConfigurationAllowDefinition
.MachineOnly:
571
case
ConfigurationAllowDefinition
.MachineToWebRoot:
574
case
ConfigurationAllowDefinition
.MachineToApplication:
582
case
ConfigurationAllowDefinition
.Everywhere:
592
public override void VerifyDefinitionAllowed(string configPath,
ConfigurationAllowDefinition
allowDefinition, ConfigurationAllowExeDefinition allowExeDefinition, IConfigErrorInfo errorInfo) {
595
case
ConfigurationAllowDefinition
.MachineOnly:
598
case
ConfigurationAllowDefinition
.MachineToWebRoot:
601
case
ConfigurationAllowDefinition
.MachineToApplication: