Table of Contents

Class AddDeleteActionWorkspaceParameters

Namespace
Kentico.Xperience.Admin.Base
Assembly
Kentico.Xperience.Admin.Base.dll
public record AddDeleteActionWorkspaceParameters
Inheritance
object
AddDeleteActionWorkspaceParameters
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 string
actionWorkspaceProperties 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

ActionWorkspaceProperties

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

other AddDeleteActionWorkspaceParameters

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

left AddDeleteActionWorkspaceParameters
right AddDeleteActionWorkspaceParameters

Returns

bool

operator !=(AddDeleteActionWorkspaceParameters?, AddDeleteActionWorkspaceParameters?)

public static bool operator !=(AddDeleteActionWorkspaceParameters? left, AddDeleteActionWorkspaceParameters? right)

Parameters

left AddDeleteActionWorkspaceParameters
right AddDeleteActionWorkspaceParameters

Returns

bool