public static FirebaseCloudMessageManager Create(string senderId, string applicationId) { if (string.IsNullOrWhiteSpace(senderId)) { throw new ArgumentNullException("Firebase cloud message senderId can't be empty or null"); } if (string.IsNullOrWhiteSpace(applicationId)) { throw new ArgumentNullException("Firebase cloid message applicationId can't be empty or null"); } return(new FirebaseCloudMessageManager(FirebaseCloudMessageConnectionString.Create(senderId, applicationId))); }
public FirebaseCloudMessageManager(FirebaseCloudMessageConnectionString conn) { ConnectionString = conn; }