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
DefaultDescription
public override string DefaultDescription { get; }
Property Value
Directory
public string Directory { get; set; }
Property Value
Methods
GetExamples()
public override IEnumerable<ActionExample> GetExamples()
Returns
InternalAlter(ExchangeContext, Exchange?, Connection?, FilterScope, BreakPointManager)
public override ValueTask InternalAlter(ExchangeContext context, Exchange? exchange, Connection? connection, FilterScope scope, BreakPointManager breakPointManager)
Parameters
context
ExchangeContextexchange
Exchangeconnection
Connectionscope
FilterScopebreakPointManager
BreakPointManager