src/Orleans.Core/Configuration/Options/TelemetryOptions.cs
/// <summary>
/// Adds a telemetry consumer to <see cref="TelemetryOptions.Consumers"/>.
/// </summary>
/// <typeparam name="T">The telemetry consumer type.</typeparam>
/// <param name="options">The options.</param>
/// <returns>The options.</returns>
Adds a telemetry consumer to .
Adds a telemetry consumer to .
public static TelemetryOptions AddConsumer<T>(this TelemetryOptions options) where T : ITelemetryConsumer
        {
            options.Consumers.Add(typeof(T));
            return options;
        }
public static TelemetryOptions AddConsumer < T > ( this TelemetryOptions options ) where T : ITelemetryConsumer { options . Consumers . Add ( typeof ( T ) ) ; return options ; }
Adds a telemetry consumer to .
Adds a telemetry consumer to .
None
TelemetryOptions
this
options
None
typeparam
The telemetry consumer type.
The telemetry consumer type .