Table of Contents

Class AddDeleteActionParameters

Namespace
Kentico.Xperience.Admin.Base
Assembly
Kentico.Xperience.Admin.Base.dll
public record AddDeleteActionParameters
Inheritance
object
AddDeleteActionParameters
Extension Methods

Constructors

AddDeleteActionParameters(AddDeleteActionParameters)

protected AddDeleteActionParameters(AddDeleteActionParameters original)

Parameters

original AddDeleteActionParameters

AddDeleteActionParameters(string)

Initializes a new instance of the AddDeleteActionParameters record.

public AddDeleteActionParameters(string commandName)

Parameters

commandName string

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.

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(AddDeleteActionParameters?)

public virtual bool Equals(AddDeleteActionParameters? other)

Parameters

other AddDeleteActionParameters

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 ==(AddDeleteActionParameters?, AddDeleteActionParameters?)

public static bool operator ==(AddDeleteActionParameters? left, AddDeleteActionParameters? right)

Parameters

left AddDeleteActionParameters
right AddDeleteActionParameters

Returns

bool

operator !=(AddDeleteActionParameters?, AddDeleteActionParameters?)

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

Parameters

left AddDeleteActionParameters
right AddDeleteActionParameters

Returns

bool