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

Class NonNullType

Inheritance
Object
NonNullType
Implements
INonNullType
IWrappingNullableType
IWrappingType
IGraphQLType
IGraphQLTypeReference
ISyntaxConvertable
Namespace: GraphZen.TypeSystem
Assembly: GraphZen.TypeSystem.dll
Syntax
public class NonNullType : INonNullType, IWrappingNullableType, IWrappingType, IGraphQLType, IGraphQLTypeReference, ISyntaxConvertable

Properties

Kind

Declaration
public TypeKind Kind { get; }
Property Value
Type Description
TypeKind

OfType

Declaration
public INullableType OfType { get; }
Property Value
Type Description
INullableType

Methods

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
Object obj
Returns
Type Description
Boolean
Overrides
Object.Equals(Object)

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
Int32
Overrides
Object.GetHashCode()

Of(INullableType)

Declaration
public static NonNullType Of(INullableType type)
Parameters
Type Name Description
INullableType type
Returns
Type Description
NonNullType

ToString()

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

ToSyntaxNode()

Declaration
public SyntaxNode ToSyntaxNode()
Returns
Type Description
SyntaxNode

Explicit Interface Implementations

IWrappingType.OfType

Declaration
IGraphQLType IWrappingType.OfType { get; }
Returns
Type Description
IGraphQLType

Implements

INonNullType
IWrappingNullableType
IWrappingType
IGraphQLType
IGraphQLTypeReference
ISyntaxConvertable

Extension Methods

GraphQLTypeExtensions.Print(ISyntaxConvertable)
GraphQLTypeExtensions.IsInputType(IGraphQLTypeReference)
GraphQLTypeExtensions.IsOutputType(IGraphQLTypeReference)
GraphQLTypeExtensions.GetNamedType(IGraphQLType)
GraphQLTypeExtensions.GetNullableType(IGraphQLType)
SyntaxHelpers.ToTypeSyntax(IGraphQLType)
TypeComparators.IsSubtypeOf(IGraphQLType, IGraphQLType, Schema)
Back to top Copyright © 2017-2019 GraphZen LLC