Exemplo n.º 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return(((HandlerType != null ? HandlerType.GetHashCode() : 0) * 397) ^ Priority);
     }
 }
Exemplo n.º 2
0
 public override int GetHashCode()
 {
     unchecked
     {
         return(((HandlerType?.GetHashCode() ?? 0) * 397) ^ Priority);
     }
 }
Exemplo n.º 3
0
 public override int GetHashCode()
 {
     unchecked
     {
         return(((HandlerType != null ? HandlerType.GetHashCode() : 0) * 397) ^
                (Method != null ? Method.GetHashCode() : 0));
     }
 }
Exemplo n.º 4
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = HandlerType.GetHashCode();
         hashCode = (hashCode * 397) ^ MessageHandlerType.GetHashCode();
         return(hashCode);
     }
 }
Exemplo n.º 5
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Method.GetHashCode();
         hashCode = (hashCode * 397) ^ HandlerType.GetHashCode();
         hashCode = (hashCode * 397) ^ InterfaceType.GetHashCode();
         return(hashCode);
     }
 }
Exemplo n.º 6
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hash = 69;
         hash = (hash * 7799) ^ (HandlerType?.GetHashCode() ?? 0);
         hash = (hash * 7799) ^ (MessageType?.GetHashCode() ?? 0);
         return(hash);
     }
 }
Exemplo n.º 7
0
 public override int GetHashCode()
 {
     unchecked
     {
         int result = (_route != null ? _route.GetHashCode() : 0);
         result = (result * 397) ^ (HandlerType != null ? HandlerType.GetHashCode() : 0);
         result = (result * 397) ^ (Method != null ? Method.GetHashCode() : 0);
         return(result);
     }
 }
Exemplo n.º 8
0
            /// <remarks/>
            public override int GetHashCode()
            {
                var hashCode = Constants.HashInitializer;

                unchecked
                {
                    hashCode = Constants.HashMultiplier * hashCode + HandlerType.GetHashCode();
                    hashCode = Constants.HashMultiplier * hashCode + ReturnType.GetHashCode();
                }

                return(hashCode);
            }
Exemplo n.º 9
0
 public override int GetHashCode()
 {
     return(HandlerType.GetHashCode() ^ MessageHandlerType.GetHashCode());
 }
Exemplo n.º 10
0
 public override int GetHashCode()
 {
     return(HandlerType.GetHashCode() ^ SubType.GetHashCode());
 }