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.
显示文件 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_oe static_oe property

public static GraphQLDeprecatedDirective,GraphQL.Types Deprecated
return GraphQLDeprecatedDirective

Include public_oe static_oe property

public static IncludeDirective,GraphQL.Types Include
return IncludeDirective

Skip public_oe static_oe property

public static SkipDirective,GraphQL.Types Skip
return SkipDirective