using System.Windows.Media; namespace BS.Shared.DataContracts.Compact { public partial class CompactCustomerTeamDC : IFilterableDC { public ActivationTypeId ActivationType { get { return ActivationTypeId.Active; } set { } } public string DetailDescription { get { return ToString(); } } public string FilterRelevants { get { return this.Name; } } public string IconPath { get { return @"..\..\Ressources\Icons\UserGroupBusinessDisabled.png"; } } public string SimpleDescription { get { return this.Name; } } public bool SupportsActivationType { get { return false; } } public long Version { get { return CustomerTeamVersion; } set { CustomerTeamVersion = value; } } public override bool Equals(object obj) { if (obj is CompactCustomerTeamDC) { return CustomerTeamOid == ((CompactCustomerTeamDC) obj).CustomerTeamOid; } return false; } public override int GetHashCode() { return GetType().Name.GetHashCode() ^ CustomerTeamOid.GetHashCode(); } public override string ToString() { return Name; } public SolidColorBrush FilterableBrush { get { return new SolidColorBrush(Colors.Transparent); } } } }