Skip to content

Interface IEventWithResult<T>

Namespace: Void.Proxy.Api.Events
Assembly: Void.Proxy.Api.dll

Represents an event whose listeners can communicate an outcome by setting .

public interface IEventWithResult<T> : IEvent

Type Parameters

T

The type of value produced by listeners for this event.

Implements

IEvent

Remarks

The event service publishes the event to listeners first and then returns the final value to the caller.

Properties

Result

Gets or sets the value produced while handling the event.

T? Result { get; set; }

Property Value

T?