C# 클래스 GraphQL.AspNet.Attributes.MutationAttribute

상속: GraphQL.AspNet.Attributes.GraphFieldAttribute
파일 보기 프로젝트 열기: graphql-aspnet/graphql-aspnet

공개 메소드들

메소드 설명
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.

메소드 상세

MutationAttribute() 공개 메소드

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

MutationAttribute() 공개 메소드

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.
리턴 System

MutationAttribute() 공개 메소드

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.
리턴 System

MutationAttribute() 공개 메소드

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.
리턴 System

MutationAttribute() 공개 메소드

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.
리턴 System