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

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

            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;
        }
Exemple #4
0
        /// <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);
        }