public NotificationHubsOutputAsyncCollector(
            NotificationHubsAttribute attribute)
        {
            if (attribute == null)
            {
                throw new ArgumentNullException(nameof(attribute));
            }

            if (attribute.Connection == null)
            {
                throw new ArgumentNullException(nameof(attribute.Connection));
            }

            if (attribute.HubsName == null)
            {
                throw new ArgumentNullException(nameof(attribute.Connection));
            }

            client = NotificationsManager.GetClient(attribute.Connection, attribute.HubsName);
        }