/// <summary>
        ///     Adds a new dependency instance to the SDK's <see cref="Dependencies" />.
        /// </summary>
        public DiagnosticsHeader AddDependency(DiagnosticsComponent dependency)
        {
            Dependencies = Dependencies.Concat(new[] { dependency });

            return(this);
        }
        /// <summary>
        ///     Adds a new dependency instance to the SDK's <see cref="Dependencies" />.
        /// </summary>
        public DiagnosticsHeader AddDependency(DiagnosticsComponent dependency)
        {
            Dependencies = Dependencies.Concat(new[] {dependency});

            return this;
        }
        /// <summary>
        ///     Adds a new environment entry instance to the SDK's Environment />.
        /// </summary>
        public DiagnosticsHeader AddEnvironment(DiagnosticsComponent environment)
        {
            Environments = Environments.Concat(new[] { environment });

            return(this);
        }
        /// <summary>
        ///     Adds a new environment entry instance to the SDK's Environment />.
        /// </summary>
        public DiagnosticsHeader AddEnvironment(DiagnosticsComponent environment)
        {
            Environments = Environments.Concat(new[] {environment});

            return this;
        }