WhiskWork.Core.WorkStep.GetHashCode C# (CSharp) Метод

GetHashCode() публичный Метод

public GetHashCode ( ) : int
Результат int
        public override int GetHashCode()
        {
            var hc = Path != null ? Path.GetHashCode() : 2;
            hc ^= ParentPath != null ? ParentPath.GetHashCode() : 4;
            hc ^= _ordinal.HasValue ? _ordinal.Value.GetHashCode() :8 ;
            hc ^= _type.HasValue ? _type.Value.GetHashCode() : 16;
            hc ^= WorkItemClass != null ? WorkItemClass.GetHashCode() : 32;
            hc ^= Title != null ? Title.GetHashCode() : 64;
            hc ^= WipLimit.HasValue ? WipLimit.Value.GetHashCode() : 128;

            return hc;
        }