Esempio n. 1
0
        /// <summary>
        /// Adds the Orleans HealthCheck Dependencies.
        /// </summary>
        /// <param name="siloBuilder">The <see cref="ISiloBuilder" />.</param>
        /// <returns>The <see cref="ISiloBuilder" />.</returns>
        public static ISiloBuilder AddHealthCheckDependencies([NotNull] this ISiloBuilder siloBuilder)
        {
            if (siloBuilder == null)
            {
                throw new ArgumentNullException(nameof(siloBuilder));
            }

            return(siloBuilder.AddAssemblies(typeof(HealthCheckGrain)));
        }