public static ISchemaBuilder SetSchema <TSchema>( this ISchemaBuilder builder) where TSchema : ISchema { if (builder == null) { throw new ArgumentNullException(nameof(builder)); } return(builder.SetSchema(typeof(TSchema))); }