- Namespace
- Statiq
.Common - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["ConfigExtensions"]
class Type type-node
Syntax
public static class ConfigExtensions
Methods
Name | Return Value | Summary |
---|---|---|
EnsureNonDocument |
TConfig |
Ensures that the config is not null and doesn't require a document and throws
System.ArgumentNullException or System.ArgumentException if it is.
static
|
Ensure |
TConfig |
Ensures that the config doesn't require a document, but only if not null and throws
System.ArgumentException if it does.
static
|
EnsureNonNull |
TConfig |
Ensures that the config is not null and throws
System.ArgumentNullException if it is.
static
|
FilterAsync |
IAsyncEnumerable |
Filters the documents.
static
|
FilterAsync |
IAsyncEnumerable |
Filters the documents using "or" logic on multiple predicates.
static
|
GetValueAsync |
Task |
static
|
GetValueAsync |
Task |
static
|
IsFalse |
Config |
static
|
TryGetValueAsync |
Task |
static
|