/// <summary> /// Adds the <see cref="block"/> to the servces collection. /// </summary> /// <param name="this">The service collection.</param> /// <param name="block">The block instance.</param> public static IServiceCollection AddBlock(this IServiceCollection @this, IApplicationBlock block) { block.AddTo(@this); return(@this); }