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
Properties
Action
Gets or sets the Macro action
public string Action { get; set; }
Property Value
Description
Gets or sets the Macro action description
public string Description { get; set; }
Property Value
Name
Gets or sets the name of the Macro
public string Name { get; set; }
Property Value
Methods
Equals(MacroAction?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(MacroAction? other)
Parameters
other
MacroActionAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? other)
Parameters
other
object
Returns
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
Parse(string)
Parses the macro action id.
public static MacroAction? Parse(string macroActionId)
Parameters
macroActionId
stringMacro action id