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