Analysis-Services/MetadataTranslator/Metadata Translator/Translations/TranslationGroup.cs
2021-02-24 17:34:03 -08:00

29 lines
647 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Metadata_Translator
{
public class TranslationGroup
{
public string Name { get; set; }
public string Tag { get; set; }
public override bool Equals(object obj)
{
if (obj is TranslationGroup comparewith)
{
return Name == comparewith.Name && Tag == comparewith.Tag;
}
return false;
}
public override int GetHashCode()
{
return new { Tag, Name }.GetHashCode();
}
}
}