LeanCloud C# SDK
Loading...
Searching...
No Matches
Static Public Member Functions | Properties | List of all members
LeanCloud.Storage.LCCloud Class Reference

LCCloud contains static functions that call LeanEngine cloud functions. More...

Static Public Member Functions

static async Task< Dictionary< string, object > > Run (string name, Dictionary< string, object > parameters=null)
 Invokes a cloud function.
 
static async Task< T > Run< T > (string name, Dictionary< string, object > parameters=null)
 Invokes a cloud function.
 
static async Task< object > RPC (string name, object parameters=null)
 Invokes a cloud function as a remote procedure call.
 
static object Encode (object parameters)
 

Properties

static bool IsProduction = true [get, set]
 Whether using production environment (default) or staging environment.
 

Detailed Description

LCCloud contains static functions that call LeanEngine cloud functions.

Member Function Documentation

◆ Encode()

static object LeanCloud.Storage.LCCloud.Encode ( object  parameters)
inlinestatic

◆ RPC()

static async Task< object > LeanCloud.Storage.LCCloud.RPC ( string  name,
object  parameters = null 
)
inlinestatic

Invokes a cloud function as a remote procedure call.

Parameters
nameCloud function name.
parametersParameters of cloud function.
Returns
LCObject, List<LCObject>, or Map<string, LCObject>.

◆ Run()

static async Task< Dictionary< string, object > > LeanCloud.Storage.LCCloud.Run ( string  name,
Dictionary< string, object >  parameters = null 
)
inlinestatic

Invokes a cloud function.

Parameters
nameCloud function name.
parametersParameters of cloud function.
Returns
Dictionary<string, object> or List<object>.

◆ Run< T >()

static async Task< T > LeanCloud.Storage.LCCloud.Run< T > ( string  name,
Dictionary< string, object >  parameters = null 
)
inlinestatic

Invokes a cloud function.

Template Parameters
TThe type of return value.
Parameters
nameCloud function name.
parametersParameters of the cloud function.
Returns

Property Documentation

◆ IsProduction

bool LeanCloud.Storage.LCCloud.IsProduction = true
staticgetset

Whether using production environment (default) or staging environment.


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