[This is preliminary documentation and is subject to change.]

Adds output functionality to an handler.

Namespace: Simple.Web.BehaviorsSimple.Web.BehaviorsSimple::Web::Behaviors
Assembly: Simple.Web (in Simple.Web.dll)

Syntax

C#

[OutputBehavior(typeof(WriteOutput))]

public interface IOutput<out TOutput>

VB

<OutputBehavior(GetType(WriteOutput))> _

Public Interface IOutput(Of Out TOutput)

C++

generic<typename TOutput>

[OutputBehavior(WriteOutput::typeid)]

public interface class IOutput

Type Parameters

TOutput
The type of the output.

The IOutput<TOutput>IOutput(Of TOutput)IOutput<TOutput> type exposes the following members.

Properties

Name Description
OutputOutputOutput Gets the output.
Top

Remarks

For asynchronous handlers, consider using IOutputAsync<TOutput>IOutputAsync(Of TOutput)IOutputAsync<TOutput>

See Also

Simple.Web.BehaviorsSimple.Web.BehaviorsSimple::Web::Behaviors Namespace