Table of Contents

Class MacroAction

Namespace
Dynamicweb.Extensibility.Macros
Assembly
Dynamicweb.Core.dll

The macro action

public class MacroAction : IEquatable<MacroAction>
Inheritance
MacroAction
Implements
Inherited Members

Constructors

MacroAction(string, string)

public MacroAction(string name, string action)

Parameters

name string
action string

Properties

Action

Gets or sets the Macro action

public string Action { get; set; }

Property Value

string

Description

Gets or sets the Macro action description

public string Description { get; set; }

Property Value

string

Name

Gets or sets the name of the Macro

public string Name { get; set; }

Property Value

string

Methods

Equals(MacroAction?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(MacroAction? other)

Parameters

other MacroAction

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? other)

Parameters

other object

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetId()

public string GetId()

Returns

string

Parse(string)

Parses the macro action id.

public static MacroAction? Parse(string macroActionId)

Parameters

macroActionId string

Macro action id

Returns

MacroAction
To top