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

Declares current method as a node connection More...

Inheritance diagram for KlusterKite.API.Attributes.DeclareConnectionAttribute:
KlusterKite.API.Attributes.DeclareFieldAttribute KlusterKite.API.Attributes.PublishToApiAttribute KlusterKite.API.Attributes.ApiDescriptionAttribute

Public Member Functions

 DeclareConnectionAttribute ()
 Initializes a new instance of the DeclareConnectionAttribute class. More...
 
 DeclareConnectionAttribute (string description)
 Initializes a new instance of the DeclareConnectionAttribute class. More...
 
- Public Member Functions inherited from KlusterKite.API.Attributes.DeclareFieldAttribute
 DeclareFieldAttribute ()
 Initializes a new instance of the DeclareFieldAttribute class. More...
 
 DeclareFieldAttribute (string description)
 Initializes a new instance of the DeclareFieldAttribute 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...
 

Properties

bool CanCreate [get, set]
 Gets or sets a value indicating whether new node creation is possible More...
 
bool CanUpdate [get, set]
 Gets or sets a value indicating whether node update is possible More...
 
bool CanDelete [get, set]
 Gets or sets a value indicating whether new node deletion is possible More...
 
string CreateDescription [get, set]
 Gets or sets the description for the create mutation More...
 
string UpdateDescription [get, set]
 Gets or sets the description for the update mutation More...
 
string DeleteDescription [get, set]
 Gets or sets the description for the delete mutation More...
 
- Properties inherited from KlusterKite.API.Attributes.DeclareFieldAttribute
bool IsKey [get, set]
 Gets or sets a value indicating whether current property is entity identification key. More...
 
Type Converter [get, set]
 Gets or sets the converter type. It will be used to transfer property / method value to the API representable values More...
 
EnAccessFlag Access [get, set]
 Gets or sets the field access type. This is not checked for methods as all published methods are considered EnAccessFlag.Queryable 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...
 

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

Detailed Description

Declares current method as a node connection

Definition at line 18 of file DeclareConnectionAttribute.cs.

Constructor & Destructor Documentation

◆ DeclareConnectionAttribute() [1/2]

KlusterKite.API.Attributes.DeclareConnectionAttribute.DeclareConnectionAttribute ( )

Initializes a new instance of the DeclareConnectionAttribute class.

Definition at line 23 of file DeclareConnectionAttribute.cs.

◆ DeclareConnectionAttribute() [2/2]

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

Initializes a new instance of the DeclareConnectionAttribute class.

Parameters
descriptionThe description.

Definition at line 33 of file DeclareConnectionAttribute.cs.

Property Documentation

◆ CanCreate

bool KlusterKite.API.Attributes.DeclareConnectionAttribute.CanCreate
getset

Gets or sets a value indicating whether new node creation is possible

Definition at line 41 of file DeclareConnectionAttribute.cs.

◆ CanDelete

bool KlusterKite.API.Attributes.DeclareConnectionAttribute.CanDelete
getset

Gets or sets a value indicating whether new node deletion is possible

Definition at line 51 of file DeclareConnectionAttribute.cs.

◆ CanUpdate

bool KlusterKite.API.Attributes.DeclareConnectionAttribute.CanUpdate
getset

Gets or sets a value indicating whether node update is possible

Definition at line 46 of file DeclareConnectionAttribute.cs.

◆ CreateDescription

string KlusterKite.API.Attributes.DeclareConnectionAttribute.CreateDescription
getset

Gets or sets the description for the create mutation

Definition at line 56 of file DeclareConnectionAttribute.cs.

◆ DeleteDescription

string KlusterKite.API.Attributes.DeclareConnectionAttribute.DeleteDescription
getset

Gets or sets the description for the delete mutation

Definition at line 66 of file DeclareConnectionAttribute.cs.

◆ UpdateDescription

string KlusterKite.API.Attributes.DeclareConnectionAttribute.UpdateDescription
getset

Gets or sets the description for the update mutation

Definition at line 61 of file DeclareConnectionAttribute.cs.


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