Exemple #1
0
 /// <summary>
 /// Determines whether an active push transport exists.
 /// </summary>
 /// <returns>
 ///   <c>true</c> if an active push transport exists; otherwise, <c>false</c>.
 /// </returns>
 public static bool HasActivePushTransport()
 {
     return(MediumContainer.HasActiveTransport(Rock.SystemGuid.EntityType.COMMUNICATION_MEDIUM_PUSH_NOTIFICATION.AsGuid()));
 }
Exemple #2
0
 /// <summary>
 /// Determines whether an active email transport exists.
 /// </summary>
 /// <returns>
 ///   <c>true</c> if an active email transport exists; otherwise, <c>false</c>.
 /// </returns>
 public static bool HasActiveEmailTransport()
 {
     return(MediumContainer.HasActiveTransport(Rock.SystemGuid.EntityType.COMMUNICATION_MEDIUM_EMAIL.AsGuid()));
 }