public bool Equals(InterceptorMapping other)
 {
     if (ReferenceEquals(null, other)) {
         return false;
     }
     if (ReferenceEquals(this, other)) {
         return true;
     }
     return Equals(other.InterceptorType, InterceptorType) && Equals(other.InterceptorKey, InterceptorKey);
 }
 protected InterceptorReference GetInterceptorReference(InterceptorMapping mapping)
 {
     return string.IsNullOrEmpty(mapping.InterceptorKey) ?
         InterceptorReference.ForType(mapping.InterceptorType) :
         InterceptorReference.ForKey(mapping.InterceptorKey);
 }