init
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Kreta.Ellenorzo.Domain.VN.UniqueIdentifier;
|
||||
|
||||
namespace Kreta.Ellenorzo.Domain.VN.Felhasznalo.Tanulo
|
||||
{
|
||||
[Serializable]
|
||||
public class TanuloSimplifiedResponse : IEqualityComparer<TanuloSimplifiedResponse>
|
||||
{
|
||||
public TanuloUid Uid { get; set; }
|
||||
|
||||
public bool Equals(TanuloSimplifiedResponse x, TanuloSimplifiedResponse y) => x.Uid.Equals(x.Uid, y.Uid);
|
||||
|
||||
public int GetHashCode(TanuloSimplifiedResponse obj) => obj.Uid.UidRaw.GetHashCode();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user