private void BindPropertiesFromOptions(EventNotificationServiceOptions options) { Condition.Requires(options, nameof(options)).IsNotNull(); this.FirebaseMessagingApiUri = options.FirebaseMessagingApiUri; this.FirebaseMessagingApiKey = options.FirebaseMessagingApiKey; this.PublicHostName = options.PublicHostName; }
public EventNotificationService(EventNotificationServiceOptions options) { BindPropertiesFromOptions(options); }