Table of Contents

Class ServeDirectoryAction

Namespace
Fluxzy.Rules.Actions.HighLevelActions
Assembly
Fluxzy.Core.dll
[ActionMetadata("Serve a folder as a static web site. This action is made for mocking purpose and not production ready for a web site.")]
public class ServeDirectoryAction : Action
Inheritance
ServeDirectoryAction
Inherited Members

Constructors

ServeDirectoryAction(string)

public ServeDirectoryAction(string directory)

Parameters

directory string

Properties

ActionScope

public override FilterScope ActionScope { get; }

Property Value

FilterScope

DefaultDescription

public override string DefaultDescription { get; }

Property Value

string

Directory

public string Directory { get; set; }

Property Value

string

Methods

GetExamples()

public override IEnumerable<ActionExample> GetExamples()

Returns

IEnumerable<ActionExample>

InternalAlter(ExchangeContext, Exchange?, Connection?, FilterScope, BreakPointManager)

public override ValueTask InternalAlter(ExchangeContext context, Exchange? exchange, Connection? connection, FilterScope scope, BreakPointManager breakPointManager)

Parameters

context ExchangeContext
exchange Exchange
connection Connection
scope FilterScope
breakPointManager BreakPointManager

Returns

ValueTask