KlusterKite  0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
KlusterKite.API.Client.DataUpdater< TObject > Class Template Reference

Utility to update class according to API mutation request More...

Static Public Member Functions

static void Update (TObject destination, TObject source, ApiRequest request, string inputName="newNode")
 Performs data copy from source to destination fields More...
 
static void Update ([NotNull] TObject destination, [NotNull] TObject source, JObject objectJson)
 Performs data copy from source to destination fields More...
 

Detailed Description

Utility to update class according to API mutation request

Template Parameters
TObjectThe type of object to update

Definition at line 28 of file DataUpdater.cs.

Member Function Documentation

◆ Update() [1/2]

static void KlusterKite.API.Client.DataUpdater< TObject >.Update ( TObject  destination,
TObject  source,
ApiRequest  request,
string  inputName = "newNode" 
)
static

Performs data copy from source to destination fields

Parameters
destinationThe object to update
sourceThe object containing new data
requestThe original api request used to update an object
inputNameThe argument name

Definition at line 62 of file DataUpdater.cs.

◆ Update() [2/2]

static void KlusterKite.API.Client.DataUpdater< TObject >.Update ( [NotNull] TObject  destination,
[NotNull] TObject  source,
JObject  objectJson 
)
static

Performs data copy from source to destination fields

Parameters
destinationThe object to update
sourceThe object containing new data
objectJsonThe json object definition

Definition at line 81 of file DataUpdater.cs.


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