KlusterKite  0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
KlusterKite.API.Attributes.DeclareMutationAttribute Class Reference

Declare method as published to api and a data mutation More...

Inheritance diagram for KlusterKite.API.Attributes.DeclareMutationAttribute:
KlusterKite.API.Attributes.PublishToApiAttribute KlusterKite.API.Attributes.ApiDescriptionAttribute

Public Member Functions

 DeclareMutationAttribute ()
 Initializes a new instance of the DeclareMutationAttribute class. More...
 
 DeclareMutationAttribute (string description)
 Initializes a new instance of the DeclareMutationAttribute class. More...
 
- Public Member Functions inherited from KlusterKite.API.Attributes.ApiDescriptionAttribute
 ApiDescriptionAttribute ()
 Initializes a new instance of the ApiDescriptionAttribute class. More...
 
 ApiDescriptionAttribute (string description)
 Initializes a new instance of the ApiDescriptionAttribute class. More...
 
string GetName (MemberInfo member)
 Creates name for the type field More...
 
string GetName (Type type)
 Creates name for the type More...
 

Additional Inherited Members

- Static Public Member Functions inherited from KlusterKite.API.Attributes.PublishToApiAttribute
static string GetMemberName (MemberInfo memberInfo)
 Gets the declared member name More...
 
- Static Public Member Functions inherited from KlusterKite.API.Attributes.ApiDescriptionAttribute
static Type CheckType (Type type, Type typeToCheck)
 Checks the interface implementation More...
 
static string GetParameterName (ParameterInfo parameter)
 Creates name for the method parameter More...
 
static string GetTypeName (Type type)
 Creates name for the type More...
 
static string ToCamelCase (string name)
 Converts string to camel case More...
 
- Protected Member Functions inherited from KlusterKite.API.Attributes.PublishToApiAttribute
 PublishToApiAttribute ()
 Initializes a new instance of the PublishToApiAttribute class. More...
 
 PublishToApiAttribute (string description)
 Initializes a new instance of the PublishToApiAttribute class. More...
 
- Properties inherited from KlusterKite.API.Attributes.PublishToApiAttribute
Type ReturnType [get, set]
 Gets or sets the return type to be described for an api More...
 
- Properties inherited from KlusterKite.API.Attributes.ApiDescriptionAttribute
string Description [get, set]
 Gets or sets the description to publish More...
 
string Name [get, set]
 Gets or sets the published property / method name More...
 

Detailed Description

Declare method as published to api and a data mutation

Definition at line 18 of file DeclareMutationAttribute.cs.

Constructor & Destructor Documentation

◆ DeclareMutationAttribute() [1/2]

KlusterKite.API.Attributes.DeclareMutationAttribute.DeclareMutationAttribute ( )

Initializes a new instance of the DeclareMutationAttribute class.

Definition at line 23 of file DeclareMutationAttribute.cs.

◆ DeclareMutationAttribute() [2/2]

KlusterKite.API.Attributes.DeclareMutationAttribute.DeclareMutationAttribute ( string  description)

Initializes a new instance of the DeclareMutationAttribute class.

Parameters
descriptionThe description.

Definition at line 33 of file DeclareMutationAttribute.cs.


The documentation for this class was generated from the following file: