public static void Request_Entity_Export(EntityExportInfo arg, Action callback = null, Action <ErrorInfo> onError = null) { Action <CmdId, object> wiredCallback = null; if (callback != null) { wiredCallback = (_, val) => callback(); } var apiCmd = new GenericAPICommand( CmdId.Request_Entity_Export, arg, wiredCallback, onError ?? noOpErrorHandler ); Broker.Execute(apiCmd); }
public async Task <bool> Request_Entity_Export(EntityExportInfo arg, CancellationToken ct) { return(await Broker.SendRequestAsync(CmdId.Request_Entity_Export, arg, ct)); }
public async Task <bool> Request_Entity_Export(EntityExportInfo arg) { return(await Broker.SendRequestAsync(CmdId.Request_Entity_Export, arg)); }
public void Request_Entity_Export(EntityExportInfo arg, Action callback = null, Action <ErrorInfo> onError = null) { Broker.Request_Entity_Export(arg, callback, onError); }
public static Task <object> Request_Entity_Export(EntityExportInfo param) { return(Broker.CreateCommandWithArgAndReturn <EntityExportInfo, object>(CmdId.Request_Entity_Export, param)); }
public static Task <object> Request_Entity_Export(EntityExportInfo param, Action callback, Action <ErrorInfo> onError = null) { return(Broker.CreateCommandWithArgAndReturn <EntityExportInfo, object>(CmdId.Request_Entity_Export, param, callback, onError)); }