示例#1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = RsId.GetHashCode();
         hashCode = (hashCode * 397) ^ (ReferenceAllele?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ (AlternateAllele?.GetHashCode() ?? 0);
         return(hashCode);
     }
 }
示例#2
0
        /// <summary>Returns localized string constants.</summary>
        public static string GetString(RsId id)
        {
            string name = Enum.GetName(typeof(RsId), id);

            return(rm.GetString(name));
        }
示例#3
0
 /// <summary>Returns localized string constants.</summary>
 public static string GetString(RsId id)
 {
     string name = Enum.GetName(typeof(RsId), id);
       return rm.GetString(name);
 }