Table of Contents

Class ActionContext

Namespace
Dassie.Extensions
Assembly
dc.dll

The context in which an action is executed.

public record ActionContext : IEquatable<ActionContext>
Inheritance
ActionContext
Implements
Inherited Members
Extension Methods

Constructors

ActionContext(List<XmlNode>, List<XmlAttribute>, string, ActionModes, string, DassieConfig)

The context in which an action is executed.

public ActionContext(List<XmlNode> XmlElements, List<XmlAttribute> XmlAttributes, string Text, ActionModes Mode, string BuildEventName, DassieConfig Configuration)

Parameters

XmlElements List<XmlNode>

The XML elements passed to the action.

XmlAttributes List<XmlAttribute>

The XML attributes passed to the action.

Text string

The string argument passed to the action.

Mode ActionModes

The mode the action is being invoked in.

BuildEventName string

The name of the build event executing the action, if the action is executed as part of a build event.

Configuration DassieConfig

The configuration the build action is being invoked with.

Properties

BuildEventName

The name of the build event executing the action, if the action is executed as part of a build event.

public string BuildEventName { get; init; }

Property Value

string

Configuration

The configuration the build action is being invoked with.

public DassieConfig Configuration { get; init; }

Property Value

DassieConfig

Mode

The mode the action is being invoked in.

public ActionModes Mode { get; init; }

Property Value

ActionModes

Text

The string argument passed to the action.

public string Text { get; init; }

Property Value

string

XmlAttributes

The XML attributes passed to the action.

public List<XmlAttribute> XmlAttributes { get; init; }

Property Value

List<XmlAttribute>

XmlElements

The XML elements passed to the action.

public List<XmlNode> XmlElements { get; init; }

Property Value

List<XmlNode>