コード例 #1
0
        public static IInputObjectTypeDescriptor UseValidation(
            this IInputObjectTypeDescriptor descriptor)
        {
            descriptor
            .Extend()
            .OnBeforeCreate(inputTypeDefinition => Annotate(inputTypeDefinition));

            return(descriptor);
        }