ConfigExtensions Class

Summary

Extensions for dealing with config delegates.
Assembly
Wyam.Common.dll
Namespace
Wyam.Common.Configuration
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["ConfigExtensions"] class Type type-node

Syntax

public static class ConfigExtensions

Methods

Name Value Summary
Invoke<T>(ContextConfig, IExecutionContext) T
Invokes the delegate.
static
Invoke<T>(ContextConfig, IExecutionContext, string) T
Invokes the delegate with additional information in the exception message if the conversion fails.
static
Invoke<T>(DocumentConfig, IDocument, IExecutionContext) T
Invokes the delegate.
static
Invoke<T>(DocumentConfig, IDocument, IExecutionContext, string) T
Invokes the delegate with additional information in the exception message if the conversion fails.
static
TryInvoke<T>(ContextConfig, IExecutionContext) T
Attempts to invoke the delegate and returns a default value of T if the conversion fails.
static
TryInvoke<T>(DocumentConfig, IDocument, IExecutionContext) T
Attempts to invoke the delegate and returns a default value of T if the conversion fails.
static
GitHub