C# Class GraphQL.Net.VariableTypes

Afficher le fichier Open project: ckimes89/graphql-net Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
AddType ( ITypeHandler>.Func customHandler ) : void
Complete ( ) : void
TranslateValue ( Value graphQLValue, Type desiredCLRType ) : object

Get a CLR object of type desiredCLRType from the value graphQLValue.

VariableTypeOf ( Type clrType ) : VariableType

Return the schema variable type used to represent values of type clrType.

Method Details

AddType() public méthode

public AddType ( ITypeHandler>.Func customHandler ) : void
customHandler ITypeHandler>.Func
Résultat void

Complete() public méthode

public Complete ( ) : void
Résultat void

TranslateValue() public méthode

Get a CLR object of type desiredCLRType from the value graphQLValue.
public TranslateValue ( Value graphQLValue, Type desiredCLRType ) : object
graphQLValue Value
desiredCLRType System.Type
Résultat object

VariableTypeOf() public méthode

Return the schema variable type used to represent values of type clrType.
public VariableTypeOf ( Type clrType ) : VariableType
clrType System.Type
Résultat VariableType