Browse Source

remove IEquatable implementation.

pull/7686/head
Ilkay Ilknur 6 years ago
parent
commit
82aef9d909
  1. 9
      framework/src/Volo.Abp.AspNetCore.Components.WebAssembly/Volo/Abp/AspNetCore/Components/Extensibility/TableColumns/TableColumn.cs

9
framework/src/Volo.Abp.AspNetCore.Components.WebAssembly/Volo/Abp/AspNetCore/Components/Extensibility/TableColumns/TableColumn.cs

@ -1,12 +1,11 @@
using JetBrains.Annotations;
using Microsoft.AspNetCore.Components;
using System;
using System.Collections.Generic;
using Volo.Abp.AspNetCore.Components.Extensibility.EntityActions;
namespace Volo.Abp.AspNetCore.Components.Extensibility.TableColumns
{
public class TableColumn : IEquatable<TableColumn>
public class TableColumn
{
public string Title { get; set; }
public string Data { get; set; }
@ -18,11 +17,5 @@ namespace Volo.Abp.AspNetCore.Components.Extensibility.TableColumns
{
Actions = new List<EntityAction>();
}
public bool Equals(TableColumn other)
{
return string.Equals(Title, other?.Title, StringComparison.OrdinalIgnoreCase) &&
string.Equals(Data, other?.Data, StringComparison.OrdinalIgnoreCase);
}
}
}
Loading…
Cancel
Save