C# Class GraphQL.AspNet.Attributes.MutationAttribute

Inheritance: GraphQL.AspNet.Attributes.GraphFieldAttribute
Afficher le fichier Open project: graphql-aspnet/graphql-aspnet

Méthodes publiques

Méthode Description
MutationAttribute ( ) : System

Initializes a new instance of the MutationAttribute class.

MutationAttribute ( Type returnType ) : System

Initializes a new instance of the MutationAttribute class.

MutationAttribute ( string template ) : System

Initializes a new instance of the MutationAttribute class.

MutationAttribute ( string template, Type returnType ) : System

Initializes a new instance of the MutationAttribute class.

MutationAttribute ( string template, string unionTypeName, Type unionTypeA, Type unionTypeB ) : System

Initializes a new instance of the MutationAttribute class.

Method Details

MutationAttribute() public méthode

Initializes a new instance of the MutationAttribute class.
public MutationAttribute ( ) : System
Résultat System

MutationAttribute() public méthode

Initializes a new instance of the MutationAttribute class.
public MutationAttribute ( Type returnType ) : System
returnType Type The type of the object returned from this method. If this type implements /// this field will be declared as returning the union defined by the type.
Résultat System

MutationAttribute() public méthode

Initializes a new instance of the MutationAttribute class.
public MutationAttribute ( string template ) : System
template string The template naming scheme to use to generate a graph field from this method.
Résultat System

MutationAttribute() public méthode

Initializes a new instance of the MutationAttribute class.
public MutationAttribute ( string template, Type returnType ) : System
template string The template naming scheme to use to generate a graph field from this method.
returnType Type The type of the object returned from this method. If this type implements /// this field will be declared as returning the union defined by the type.
Résultat System

MutationAttribute() public méthode

Initializes a new instance of the MutationAttribute class.
public MutationAttribute ( string template, string unionTypeName, Type unionTypeA, Type unionTypeB ) : System
template string The template naming scheme to use to generate a graph field from this method.
unionTypeName string Name of the union type.
unionTypeA Type The first of two required types to include in the union.
unionTypeB Type The second of two required types to include in the union.
Résultat System