Skip to content

ReplInvocationResult

A decision made by a parsed invocation hook.

public sealed class ReplInvocationResult

Continues to the next hook or normal execution.

public static ReplInvocationResult Continue()

ReplInvocationResult - A continuation decision.

Stops dispatch and renders the supplied result using the normal result pipeline.

public static ReplInvocationResult Handled(object? result = null)
  • result (object): A command result, including an explicit exit result if desired.

ReplInvocationResult - A terminal decision.

Replaces the complete request; earlier hooks are not replayed.

public static ReplInvocationResult Replace(ReplInvocationRequest request)

ReplInvocationResult - A replacement decision.