Summary
Defines a scope of applicability of a config setting.
Some of the configuration settings can be either:
- enabled globally;
- enabled individually for a specified class;
- disabled.
Some of the configuration settings can be either:
- enabled globally;
- enabled individually for a specified class;
- disabled.
- Assembly
- Db4objects
.Db4o-2010 .dll - Namespace
- Db4objects
.Db4o .Config - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["ConfigScope"]
class Type type-node
Syntax
[System.Serializable]
public sealed class ConfigScope
Attributes
Type | Description |
---|---|
Serializable |
Fields
Name | Constant Value | Summary |
---|---|---|
Disabled |
Marks a configuration feature as globally disabled.
static
|
|
DisabledId | -1 |
static
|
Globally |
Marks a configuration feature as globally enabled.
static
|
|
GloballyId | 2147483647 |
static
|
Individually |
Marks a configuration feature as individually configurable.
static
|
|
IndividuallyId | 1 |
static
|
Methods
Name | Value | Summary |
---|---|---|
ApplyConfig |
bool |
Checks if the current configuration scope is globally
enabled or disabled.
|
Equals |
bool | |
GetHashCode |
int | |
ToString |
string |
See Also
- IFileConfiguration.GenerateUUIDs(ConfigScope)