Class AddLinkParameters
Parameters wrapper class for AddLink<TPage>(IList<ActionConfiguration>, AddLinkParameters) method.
public record AddLinkParameters
- Inheritance
-
objectAddLinkParameters
- Extension Methods
Constructors
AddLinkParameters(AddLinkParameters)
protected AddLinkParameters(AddLinkParameters original)
Parameters
original
AddLinkParameters
AddLinkParameters(string)
Initializes a new instance of the AddLinkParameters record.
public AddLinkParameters(string label)
Parameters
label
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.
ConfirmationParameters
Confirmation dialog parameters.
public ConfirmationParameters ConfirmationParameters { get; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
- Type
Icon
Icon of the action.
public string Icon { get; init; }
Property Value
- string
Label
Label of the action.
public string Label { get; }
Property Value
- string
PageParameterValues
Parameter values to be substituted into the URL.
public PageParameterValues PageParameterValues { get; init; }
Property Value
Title
Gets or sets the tooltip of a button.
public string Title { get; init; }
Property Value
- string
Methods
Equals(AddLinkParameters?)
public virtual bool Equals(AddLinkParameters? other)
Parameters
other
AddLinkParameters
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 ==(AddLinkParameters?, AddLinkParameters?)
public static bool operator ==(AddLinkParameters? left, AddLinkParameters? right)
Parameters
left
AddLinkParametersright
AddLinkParameters
Returns
- bool
operator !=(AddLinkParameters?, AddLinkParameters?)
public static bool operator !=(AddLinkParameters? left, AddLinkParameters? right)
Parameters
left
AddLinkParametersright
AddLinkParameters
Returns
- bool