Exemple #1
0
 /// <summary>
 /// Returns true is message is a system message type.
 /// </summary>
 public bool IsInSystemConventionList(Type t)
 {
     Guard.AgainstNull(nameof(t), t);
     return(IsSystemMessageActions.Any(isSystemMessageAction => isSystemMessageAction(t)));
 }
 /// <summary>
 /// Returns true is message is a system message type.
 /// </summary>
 public bool IsInSystemConventionList(Type t)
 {
     return(IsSystemMessageActions.Any(isSystemMessageAction => isSystemMessageAction(t)));
 }
 private static bool IsInSystemConventionList(this Type t)
 {
     return(IsSystemMessageActions.Any(isSystemMessageAction => isSystemMessageAction(t)));
 }
 private static bool IsInSystemConventionList(this Type t)
 {
     return(IsSystemMessageActions.Any(isSystemMessageAction => SystemMessagesConventionCache.ApplyConvention(t, isSystemMessageAction)));
 }