ContextConfig Delegate

Summary

A delegate that uses the execution context.
Assembly
Wyam.Common.dll
Namespace
Wyam.Common.Configuration
Base Types
  • MulticastDelegate
graph BT Type-->Base0["MulticastDelegate"] Type["ContextConfig"] class Type type-node

Syntax

public delegate Object ContextConfig(IExecutionContext ctx) : MulticastDelegate

Extension Methods

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