C# Class GraphQL.Types.DirectiveGraphType

Directives are used by the GraphQL runtime as a way of modifying execution behavior.Type system creators will usually not create these directly.
Show file Open project: graphql-dotnet/graphql-dotnet Class Usage Examples

Public Properties

Property Type Description
Deprecated GraphQLDeprecatedDirective
Include IncludeDirective
Skip SkipDirective

Public Methods

Method Description
DirectiveGraphType ( string name, IEnumerable locations ) : System.Collections.Generic

Method Details

DirectiveGraphType() public method

public DirectiveGraphType ( string name, IEnumerable locations ) : System.Collections.Generic
name string
locations IEnumerable
return System.Collections.Generic

Property Details

Deprecated public static property

public static GraphQLDeprecatedDirective,GraphQL.Types Deprecated
return GraphQLDeprecatedDirective

Include public static property

public static IncludeDirective,GraphQL.Types Include
return IncludeDirective

Skip public static property

public static SkipDirective,GraphQL.Types Skip
return SkipDirective