Пример #1
0
        /// <summary>
        /// Pour affichage
        /// </summary>
        /// <returns>Le texte à afficher</returns>
        public override string ToString()
        {
            if (this.SqlActionId == SqlAction.CodeClient)
            {
                return($"Bloc CodeClientIs({GetClientCode()?.ClientCodeName ?? ClientCodeId.ToString()}) at ({BlocIndex}, {BlocLength})");
            }

            return(EnumHelper.ToString(GetAction(), GetWhat(), Identifier) + $" at ({BlocIndex}, {BlocLength})");
        }
Пример #2
0
 public override int GetHashCode() => ClientCodeId.GetHashCode();