Class AddDeleteActionWorkspaceParameters
Parameters wrapper class for AddDeleteAction(IList<ActionConfiguration>, AddDeleteActionWorkspaceParameters) method.
public record AddDeleteActionWorkspaceParameters
- Inheritance
-
objectAddDeleteActionWorkspaceParameters
- Extension Methods
Constructors
AddDeleteActionWorkspaceParameters(AddDeleteActionWorkspaceParameters)
protected AddDeleteActionWorkspaceParameters(AddDeleteActionWorkspaceParameters original)
Parameters
original
AddDeleteActionWorkspaceParameters
AddDeleteActionWorkspaceParameters(string, ActionWorkspaceProperties)
Initializes a new instance of the AddDeleteActionWorkspaceParameters record.
public AddDeleteActionWorkspaceParameters(string commandName, ActionWorkspaceProperties actionWorkspaceProperties)
Parameters
commandName
stringactionWorkspaceProperties
ActionWorkspaceProperties
Properties
ActionStateEvaluator
Action used for state evaluation per each row.
public Func<ActionConfiguration, IDataContainer, CancellationToken, Task> ActionStateEvaluator { get; init; }
Property Value
- Func<ActionConfiguration, IDataContainer, CancellationToken, Task>
Remarks
Please use Task.CompletedTask when no async action is necessary.
ActionWorkspaceProperties
Action properties for a workspace.
public ActionWorkspaceProperties ActionWorkspaceProperties { get; }
Property Value
CommandName
Unique action name.
public string CommandName { get; }
Property Value
- string
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
- Type
Label
Label of the action.
public string Label { get; init; }
Property Value
- string
Title
Gets or sets the tooltip of a button.
public string Title { get; init; }
Property Value
- string
Methods
Equals(AddDeleteActionWorkspaceParameters?)
public virtual bool Equals(AddDeleteActionWorkspaceParameters? other)
Parameters
Returns
- bool
Equals(object?)
public override bool Equals(object? obj)
Parameters
obj
object
Returns
- bool
GetHashCode()
public override int GetHashCode()
Returns
- int
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builder
StringBuilder
Returns
- bool
ToString()
public override string ToString()
Returns
- string
Operators
operator ==(AddDeleteActionWorkspaceParameters?, AddDeleteActionWorkspaceParameters?)
public static bool operator ==(AddDeleteActionWorkspaceParameters? left, AddDeleteActionWorkspaceParameters? right)
Parameters
Returns
- bool
operator !=(AddDeleteActionWorkspaceParameters?, AddDeleteActionWorkspaceParameters?)
public static bool operator !=(AddDeleteActionWorkspaceParameters? left, AddDeleteActionWorkspaceParameters? right)
Parameters
Returns
- bool