Exemple #1
0
 /// <inheritdoc />
 public Task <ResourceModel> CreateResource(string typeName, MethodEntry constructor)
 {
     return(PostAsync <ResourceModel>($"construct/{typeName}?method={constructor.Name}", constructor.Parameters));
 }
Exemple #2
0
 /// <inheritdoc />
 public Task <Entry> InvokeMethod(long resourceId, MethodEntry method)
 {
     return(PostAsync <Entry>($"resource/{resourceId}/invoke/{method.Name}", method.Parameters));
 }