GraphZen
  • Home
  • Blog
  • Documentation
  • API
  • Get Started
Show / Hide Table of Contents

Class TypeReference

Inheritance
Object
TypeReference
Implements
INamedTypeReference
IGraphQLTypeReference
INamed
Namespace: GraphZen.TypeSystem
Assembly: GraphZen.TypeSystem.dll
Syntax
public class TypeReference : INamedTypeReference, IGraphQLTypeReference, INamed

Constructors

TypeReference(TypeIdentity, TypeSyntax)

Declaration
public TypeReference(TypeIdentity identity, TypeSyntax typeSyntax)
Parameters
Type Name Description
TypeIdentity identity
TypeSyntax typeSyntax

Properties

Identity

Declaration
public TypeIdentity Identity { get; }
Property Value
Type Description
TypeIdentity

Name

Declaration
public string Name { get; }
Property Value
Type Description
String

TypeSyntax

Declaration
public TypeSyntax TypeSyntax { get; }
Property Value
Type Description
TypeSyntax

Methods

ToString()

Declaration
public override string ToString()
Returns
Type Description
String
Overrides
Object.ToString()

ToType(Schema)

Declaration
public IGraphQLType ToType(Schema schema)
Parameters
Type Name Description
Schema schema
Returns
Type Description
IGraphQLType

Implements

INamedTypeReference
IGraphQLTypeReference
INamed

Extension Methods

GraphQLTypeExtensions.IsInputType(IGraphQLTypeReference)
GraphQLTypeExtensions.IsOutputType(IGraphQLTypeReference)
Back to top Copyright © 2017-2019 GraphZen LLC