コード例 #1
0
 private static ISchemaErrorBuilder SetField(
     this ISchemaErrorBuilder errorBuilder,
     IField field,
     string name = "field") =>
 errorBuilder
 .AddSyntaxNode(field.SyntaxNode)
 .SetExtension(name, field);
コード例 #2
0
 private static ISchemaErrorBuilder SetImplementedType(
     this ISchemaErrorBuilder errorBuilder,
     IComplexOutputType type) =>
 errorBuilder
 .AddSyntaxNode(type.SyntaxNode)
 .SetExtension("implementedType", type);
コード例 #3
0
 private static ISchemaErrorBuilder SetType(
     this ISchemaErrorBuilder errorBuilder,
     IComplexOutputType type) =>
 errorBuilder
 .AddSyntaxNode(type.SyntaxNode)
 .SetTypeSystemObject((TypeSystemObjectBase)type);