Class InterfaceType
Inheritance
InterfaceType
Assembly: GraphZen.TypeSystem.dll
Syntax
public class InterfaceType : NamedType, IInterfaceType, IInterfaceTypeDefinition, IOutputDefinition, ICompositeType, ICompositeTypeDefinition, IAbstractType, IAbstractTypeDefinition, IFields, IFieldsDefinition, INamedType, INamedTypeDefinition, IMemberDefinition, IDescription, INamedTypeReference, INamed, IDirectiveAnnotations, IDirectiveAnnotationsDefinition, IClrType, INullableType, IGraphQLType, IGraphQLTypeReference, ISyntaxConvertable
Constructors
InterfaceType(String, String, Type, IEnumerable<IFieldDefinition>, TypeResolver<Object, GraphQLContext>, IReadOnlyList<IDirectiveAnnotation>, Schema)
Declaration
public InterfaceType(string name, string description, Type clrType, IEnumerable<IFieldDefinition> fields, TypeResolver<object, GraphQLContext> resolveType, IReadOnlyList<IDirectiveAnnotation> directives, Schema schema)
Parameters
Properties
DirectiveLocation
Declaration
public override DirectiveLocation DirectiveLocation { get; }
Property Value
Overrides
Fields
Declaration
public IReadOnlyDictionary<string, Field> Fields { get; }
Property Value
Kind
Declaration
public override TypeKind Kind { get; }
Property Value
Overrides
ResolveType
Declaration
public TypeResolver<object, GraphQLContext> ResolveType { get; }
Property Value
Methods
From(IInterfaceTypeDefinition, Schema)
Declaration
public static InterfaceType From(IInterfaceTypeDefinition definition, Schema schema)
Parameters
Returns
GetFields()
Declaration
public IEnumerable<Field> GetFields()
Returns
ToSyntaxNode()
Declaration
public override SyntaxNode ToSyntaxNode()
Returns
Overrides
Explicit Interface Implementations
IFieldsDefinition.GetFields()
Declaration
IEnumerable<IFieldDefinition> IFieldsDefinition.GetFields()
Returns
Implements
Extension Methods