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

Interface IFieldBuilder<TDeclaringType, TField, TContext>

Inherited Members
IAnnotableBuilder<IFieldBuilder<TDeclaringType, TField, TContext>>.DirectiveAnnotation(String, Object)
IAnnotableBuilder<IFieldBuilder<TDeclaringType, TField, TContext>>.IgnoreDirectiveAnnotation(String)
IArgumentsDefinitionBuilder<IFieldBuilder<TDeclaringType, TField, TContext>>.Argument(String, Action<InputValueBuilder>)
IArgumentsDefinitionBuilder<IFieldBuilder<TDeclaringType, TField, TContext>>.Argument(String)
IArgumentsDefinitionBuilder<IFieldBuilder<TDeclaringType, TField, TContext>>.Argument(String, String, Action<InputValueBuilder>)
IArgumentsDefinitionBuilder<IFieldBuilder<TDeclaringType, TField, TContext>>.Argument<TArg>(String, Action<InputValueBuilder>)
IArgumentsDefinitionBuilder<IFieldBuilder<TDeclaringType, TField, TContext>>.IgnoreArgument(String)
IArgumentsDefinitionBuilder<IFieldBuilder<TDeclaringType, TField, TContext>>.UnignoreArgument(String)
Namespace: GraphZen.TypeSystem
Assembly: GraphZen.TypeSystem.dll
Syntax
public interface IFieldBuilder<out TDeclaringType, in TField, TContext> : IAnnotableBuilder<IFieldBuilder<TDeclaringType, TField, TContext>>, IArgumentsDefinitionBuilder<IFieldBuilder<TDeclaringType, TField, TContext>> where TContext : GraphQLContext
Type Parameters
Name Description
TDeclaringType
TField
TContext

Methods

Deprecated(Boolean)

Declaration
IFieldBuilder<TDeclaringType, TField, TContext> Deprecated(bool deprecated = true)
Parameters
Type Name Description
Boolean deprecated
Returns
Type Description
IFieldBuilder<TDeclaringType, TField, TContext>

Deprecated(String)

Declaration
IFieldBuilder<TDeclaringType, TField, TContext> Deprecated(string reason)
Parameters
Type Name Description
String reason
Returns
Type Description
IFieldBuilder<TDeclaringType, TField, TContext>

Description(String)

Declaration
IFieldBuilder<TDeclaringType, TField, TContext> Description(string description)
Parameters
Type Name Description
String description
Returns
Type Description
IFieldBuilder<TDeclaringType, TField, TContext>

FieldType(String)

Declaration
IFieldBuilder<TDeclaringType, object, TContext> FieldType(string type)
Parameters
Type Name Description
String type
Returns
Type Description
IFieldBuilder<TDeclaringType, Object, TContext>

FieldType<TFieldNew>(Boolean, Boolean)

Declaration
IFieldBuilder<TDeclaringType, TFieldNew, TContext> FieldType<TFieldNew>(bool canBeNull = false, bool itemCanBeNull = false)
    where TFieldNew : IEnumerable
Parameters
Type Name Description
Boolean canBeNull
Boolean itemCanBeNull
Returns
Type Description
IFieldBuilder<TDeclaringType, TFieldNew, TContext>
Type Parameters
Name Description
TFieldNew

Name(String)

Declaration
IFieldBuilder<TDeclaringType, TField, TContext> Name(string name)
Parameters
Type Name Description
String name
Returns
Type Description
IFieldBuilder<TDeclaringType, TField, TContext>

Resolve(Func<TDeclaringType, TField>)

Declaration
IFieldBuilder<TDeclaringType, TField, TContext> Resolve(Func<TDeclaringType, TField> resolver)
Parameters
Type Name Description
Func<TDeclaringType, TField> resolver
Returns
Type Description
IFieldBuilder<TDeclaringType, TField, TContext>

Resolve(Func<TDeclaringType, Object, TField>)

Declaration
IFieldBuilder<TDeclaringType, TField, TContext> Resolve(Func<TDeclaringType, dynamic, TField> resolver)
Parameters
Type Name Description
Func<TDeclaringType, Object, TField> resolver
Returns
Type Description
IFieldBuilder<TDeclaringType, TField, TContext>

Resolve(Func<TDeclaringType, Object, GraphQLContext, TField>)

Declaration
IFieldBuilder<TDeclaringType, TField, TContext> Resolve(Func<TDeclaringType, dynamic, GraphQLContext, TField> resolver)
Parameters
Type Name Description
Func<TDeclaringType, Object, GraphQLContext, TField> resolver
Returns
Type Description
IFieldBuilder<TDeclaringType, TField, TContext>

Resolve(Func<TDeclaringType, Object, GraphQLContext, ResolveInfo, TField>)

Declaration
IFieldBuilder<TDeclaringType, TField, TContext> Resolve(Func<TDeclaringType, dynamic, GraphQLContext, ResolveInfo, TField> resolver)
Parameters
Type Name Description
Func<TDeclaringType, Object, GraphQLContext, GraphZen.TypeSystem.Internal.ResolveInfo, TField> resolver
Returns
Type Description
IFieldBuilder<TDeclaringType, TField, TContext>

Resolve(Func<TField>)

Declaration
IFieldBuilder<TDeclaringType, TField, TContext> Resolve(Func<TField> resolver)
Parameters
Type Name Description
Func<TField> resolver
Returns
Type Description
IFieldBuilder<TDeclaringType, TField, TContext>

Resolve<TSource>(Func<TSource, TField>)

Declaration
IFieldBuilder<TSource, TField, TContext> Resolve<TSource>(Func<TSource, TField> resolver)
Parameters
Type Name Description
Func<TSource, TField> resolver
Returns
Type Description
IFieldBuilder<TSource, TField, TContext>
Type Parameters
Name Description
TSource

Extension Methods

DeprecatedBuilderExtensions.Deprecated<TBuilder>(TBuilder, String)
Back to top Copyright © 2017-2019 GraphZen LLC