ConfigScope Class

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.

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
SerializableAttribute

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(TernaryBool) bool
Checks if the current configuration scope is globally enabled or disabled.
Equals(Object) bool
GetHashCode() int
ToString() string

See Also

  • IFileConfiguration.GenerateUUIDs(ConfigScope)