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

Class GraphQLTypeExtensions

Inheritance
Object
GraphQLTypeExtensions
Namespace: GraphZen.TypeSystem
Assembly: GraphZen.TypeSystem.dll
Syntax
public static class GraphQLTypeExtensions

Methods

GetNamedType(IGraphQLType)

Declaration
public static NamedType GetNamedType(this IGraphQLType type)
Parameters
Type Name Description
IGraphQLType type
Returns
Type Description
NamedType

GetNullableType(IGraphQLType)

Declaration
public static INullableType GetNullableType(this IGraphQLType type)
Parameters
Type Name Description
IGraphQLType type
Returns
Type Description
INullableType

IsInputType(IGraphQLTypeReference)

Declaration
public static bool IsInputType(this IGraphQLTypeReference type)
Parameters
Type Name Description
IGraphQLTypeReference type
Returns
Type Description
Boolean

IsOutputType(IGraphQLTypeReference)

Declaration
public static bool IsOutputType(this IGraphQLTypeReference type)
Parameters
Type Name Description
IGraphQLTypeReference type
Returns
Type Description
Boolean

Print(ISyntaxConvertable)

Declaration
public static string Print(this ISyntaxConvertable source)
Parameters
Type Name Description
ISyntaxConvertable source
Returns
Type Description
String

ToSyntaxNodes(IEnumerable<ISyntaxConvertable>)

Declaration
public static IEnumerable<SyntaxNode> ToSyntaxNodes(this IEnumerable<ISyntaxConvertable> source)
Parameters
Type Name Description
IEnumerable<ISyntaxConvertable> source
Returns
Type Description
IEnumerable<SyntaxNode>

ToSyntaxNodes<TSyntaxNode>(IEnumerable<ISyntaxConvertable>)

Declaration
public static IReadOnlyList<TSyntaxNode> ToSyntaxNodes<TSyntaxNode>(this IEnumerable<ISyntaxConvertable> source)
    where TSyntaxNode : SyntaxNode
Parameters
Type Name Description
IEnumerable<ISyntaxConvertable> source
Returns
Type Description
IReadOnlyList<TSyntaxNode>
Type Parameters
Name Description
TSyntaxNode
Back to top Copyright © 2017-2019 GraphZen LLC