コード例 #1
0
        public static ISchemaBuilder AddTypeInterceptor <T>(
            this ISchemaBuilder builder)
            where T : ITypeInitializationInterceptor
        {
            if (builder == null)
            {
                throw new ArgumentNullException(nameof(builder));
            }

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