C# Class GraphQL.Validation.ValidationContext

Mostrar archivo Open project: graphql-dotnet/graphql-dotnet Class Usage Examples

Public Methods

Method Description
GetFragment ( string name ) : FragmentDefinition
GetFragmentSpreads ( SelectionSet node ) : IEnumerable
GetRecursiveVariables ( Operation operation ) : IEnumerable
GetRecursivelyReferencedFragments ( Operation operation ) : IEnumerable
GetVariables ( IHaveSelectionSet node ) : IEnumerable
Print ( IGraphType type ) : string
Print ( INode node ) : string
ReportError ( ValidationError error ) : void

Method Details

GetFragment() public method

public GetFragment ( string name ) : FragmentDefinition
name string
return FragmentDefinition

GetFragmentSpreads() public method

public GetFragmentSpreads ( SelectionSet node ) : IEnumerable
node GraphQL.Language.AST.SelectionSet
return IEnumerable

GetRecursiveVariables() public method

public GetRecursiveVariables ( Operation operation ) : IEnumerable
operation Operation
return IEnumerable

GetRecursivelyReferencedFragments() public method

public GetRecursivelyReferencedFragments ( Operation operation ) : IEnumerable
operation Operation
return IEnumerable

GetVariables() public method

public GetVariables ( IHaveSelectionSet node ) : IEnumerable
node IHaveSelectionSet
return IEnumerable

Print() public method

public Print ( IGraphType type ) : string
type IGraphType
return string

Print() public method

public Print ( INode node ) : string
node INode
return string

ReportError() public method

public ReportError ( ValidationError error ) : void
error ValidationError
return void