Esempio n. 1
0
 /// <summary>
 /// Данный тип сообщения поддерживается сервером
 /// </summary>
 public static bool IsServerSupported(this MessageDestinationTypes type)
 => type == MessageDestinationTypes.Server || type == MessageDestinationTypes.Both;
Esempio n. 2
0
 /// <summary>
 /// Данный тип сообщения поддерживается клиентом
 /// </summary>
 public static bool IsClientSupported(this MessageDestinationTypes type)
 => type == MessageDestinationTypes.Client || type == MessageDestinationTypes.Both;
Esempio n. 3
0
 public MessageDestination(MessageDestinationTypes type)
 {
     Type = type;
 }