DocumentConfig Delegate

Summary

A delegate that uses a document and the execution context.
Assembly
Wyam.Common.dll
Namespace
Wyam.Common.Configuration
Interfaces
  • ICloneable
  • ISerializable
Base Types
  • object
  • Delegate
  • MulticastDelegate
graph TD Base0["MulticastDelegate"]-->Type Base1["Delegate"]-->Base0 Base2["object"]-->Base1 Interface0["ICloneable"]-.->Type Interface1["ISerializable"]-.->Type Type["DocumentConfig"] class Type type-node

Syntax

public delegate object DocumentConfig(IDocument doc, IExecutionContext ctx) : MulticastDelegate, 
    ICloneable, ISerializable

Operators

Name Value Summary
operator !=(Delegate, Delegate) bool
Inherited from Delegate
operator !=(MulticastDelegate, MulticastDelegate) bool
Inherited from MulticastDelegate
operator ==(Delegate, Delegate) bool
Inherited from Delegate
operator ==(MulticastDelegate, MulticastDelegate) bool
Inherited from 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