DocumentConfig Delegate

Summary

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

Syntax

public delegate Object DocumentConfig(IDocument doc, IExecutionContext ctx) : MulticastDelegate

Extension Methods

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