- Namespace
- Statiq
.Common - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["Config"]
class Type type-node
Syntax
public static class Config
Methods
| Name | Return Value | Summary |
|---|---|---|
| ContainsAnySettings |
Config |
Creates a config value that returns
true if the settings contains any of the specified keys.
static
|
| ContainsSettings |
Config |
Creates a config value that returns
true if the settings contains all the specified keys.
static
|
| FromContext |
Config |
Creates a config value from an action that uses the execution context and returns null.
static
|
| FromContext |
Config |
Creates a config value from an action that uses the execution context and returns null.
static
|
| FromContext |
Config |
Creates a config value from an action that uses the execution context and returns
the default value of TValue.
static
|
| FromContext |
Config |
Creates a config value from a delegate that uses the execution context.
static
|
| FromContext |
Config |
Creates a config value from an action that uses the execution context and returns
the default value of TValue.
static
|
| FromContext |
Config |
Creates a config value from a delegate that uses the execution context.
static
|
| FromDocument |
Config |
Creates a config value from an action that uses a document and the execution context and returns null.
static
|
| FromDocument |
Config |
Creates a config value from an action that uses a document and returns null.
static
|
| FromDocument |
Config |
Creates a config value from an action that uses a document and the execution context and returns null.
static
|
| FromDocument |
Config |
Creates a config value from an action that uses a document and returns null.
static
|
| FromDocument |
Config |
Creates a config value by getting the metadata value of a specified key from a document.
static
|
| FromDocument |
Config |
Creates a config value from an action that uses a document and the execution context and returns
the default value of TValue.
static
|
| FromDocument |
Config |
Creates a config value from an action that uses a document and returns
the default value of TValue.
static
|
| FromDocument |
Config |
Creates a config value from a delegate that uses a document and the execution context.
static
|
| FromDocument |
Config |
Creates a config value from an action that uses a document and the execution context and returns
the default value of TValue.
static
|
| FromDocument |
Config |
Creates a config value from a delegate that uses a document and the execution context.
static
|
| FromDocument |
Config |
Creates a config value from a delegate that uses a document.
static
|
| FromDocument |
Config |
Creates a config value from an action that uses a document and returns
the default value of TValue.
static
|
| FromDocument |
Config |
Creates a config value from a delegate that uses a document.
static
|
| FromDocument |
Config |
Creates a config value by getting the metadata value of a specified key from a document.
static
|
| FromDocument |
Config |
Creates a config value by getting the metadata value of a specified key from a document.
static
|
| FromSetting |
Config |
Creates a config value by getting the metadata value from the execution context of a specified key.
static
|
| FromSetting |
Config |
Creates a config value by getting the string metadata value from the execution context of a specified key.
static
|
| FromSetting |
Config |
Creates a config value by getting the string metadata value from the execution context of a specified key.
static
|
| FromSetting |
Config |
Creates a config value by getting the metadata value from the execution context of a specified key.
static
|
| FromSetting |
Config |
Creates a config value by getting the metadata value from the execution context of a specified key.
static
|
| FromSettings |
Config |
Creates a config value from an action that uses the settings and returns null.
static
|
| FromSettings |
Config |
Creates a config value from an action that uses the settings and returns null.
static
|
| FromSettings |
Config |
Creates a config value from an action that uses the settings and returns
the default value of TValue.
static
|
| FromSettings |
Config |
Creates a config value from a delegate that uses the settings.
static
|
| FromSettings |
Config |
Creates a config value from an action that uses the settings and returns
the default value of TValue.
static
|
| FromSettings |
Config |
Creates a config value from a delegate that uses the settings.
static
|
| FromValue |
Config |
Creates a config value.
static
|
| FromValue |
Config |
Creates a config value.
static
|
| FromValues |
Config |
Creates an enumeration of config values.
static
|