|
|
@ -7,12 +7,11 @@ namespace Volo.Abp.AspNetCore.Components.Web.Extensibility.EntityActions |
|
|
{ |
|
|
{ |
|
|
public string Text { get; set; } |
|
|
public string Text { get; set; } |
|
|
public Func<object, Task> Clicked { get; set; } |
|
|
public Func<object, Task> Clicked { get; set; } |
|
|
public string RequiredPolicy { get; set; } |
|
|
|
|
|
public Func<object, string> ConfirmationMessage { get; set; } |
|
|
public Func<object, string> ConfirmationMessage { get; set; } |
|
|
public bool Primary { get; set; } |
|
|
public bool Primary { get; set; } |
|
|
public object Color { get; set; } |
|
|
public object Color { get; set; } |
|
|
public string Icon { get; set; } |
|
|
public string Icon { get; set; } |
|
|
public Func<object, Task<bool>> Visible { get; set; } |
|
|
public Func<object, bool> Visible { get; set; } |
|
|
public bool Equals(EntityAction other) |
|
|
public bool Equals(EntityAction other) |
|
|
{ |
|
|
{ |
|
|
return string.Equals(Text, other?.Text, StringComparison.OrdinalIgnoreCase); |
|
|
return string.Equals(Text, other?.Text, StringComparison.OrdinalIgnoreCase); |
|
|
|