C# Class GraphQL.AspNet.Attributes.MutationAttribute

Inheritance: GraphQL.AspNet.Attributes.GraphFieldAttribute
ファイルを表示 Open project: graphql-aspnet/graphql-aspnet

Public Methods

Method 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 method

Initializes a new instance of the MutationAttribute class.
public MutationAttribute ( ) : System
return System

MutationAttribute() public method

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.
return System

MutationAttribute() public method

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.
return System

MutationAttribute() public method

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.
return System

MutationAttribute() public method

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.
return System