Table of Contents

Class RunWithRunArgsResults

Namespace
SunamoCl.Results
Assembly
SunamoCl.dll

Contains results from running the application with RunArgs, including the service provider and the name of the executed action.

public class RunWithRunArgsResults
Inheritance
RunWithRunArgsResults
Inherited Members
Extension Methods

Properties

ExecutedActionName

Gets or sets the name of the action that was executed.

public required string ExecutedActionName { get; set; }

Property Value

string

ServiceProvider

Gets or sets the service provider built from the service collection.

public required ServiceProvider ServiceProvider { get; set; }

Property Value

ServiceProvider

Methods

Deconstruct(out ServiceProvider, out string)

Deconstructs the result into its components.

public void Deconstruct(out ServiceProvider serviceProvider, out string executedActionName)

Parameters

serviceProvider ServiceProvider

The service provider.

executedActionName string

The name of the executed action.