Example #1
0
    public static ISchemaBuilder TryAddSchemaInterceptor <T>(
        this ISchemaBuilder builder)
        where T : ISchemaInterceptor
    {
        if (builder is null)
        {
            throw new ArgumentNullException(nameof(builder));
        }

        return(builder.TryAddSchemaInterceptor(typeof(T)));
    }