internal async Task <ResultData> GetDataAsync(string cgiPath, string api, SynologyRequestParameters parameters) => await Connection.GetDataFromApiAsync(cgiPath, api, parameters.Version, parameters.Method, parameters.Additional);
protected async Task <ResultData> GetDataAsync(SynologyRequestParameters parameters) => await Api.GetDataAsync(CgiPath, ApiName, parameters);
internal ResultData GetData(string cgiPath, string api, SynologyRequestParameters parameters) => Connection.GetDataFromApi(cgiPath, api, parameters.Version, parameters.Method, parameters.Additional);
protected ResultData GetData(SynologyRequestParameters parameters) => Api.GetData(CgiPath, ApiName, parameters);
public ResultData <T> GetData <T>(string cgiPath, string api, SynologyRequestParameters parameters) => Connection.GetDataFromApi <T>(cgiPath, api, parameters.Version, parameters.Method, parameters.Additional);
internal static async Task <ResultData> GetDataAsync(this ISynologyApi api, string cgiPath, string apiName, SynologyRequestParameters parameters) => await api.Connection.GetDataFromApiAsync(cgiPath, apiName, parameters.Version, parameters.Method, parameters.Additional);
internal static ResultData GetData(this ISynologyApi api, string cgiPath, string apiName, SynologyRequestParameters parameters) => api.Connection.GetDataFromApi(cgiPath, apiName, parameters.Version, parameters.Method, parameters.Additional);
internal static async Task <ResultData> GetDataAsync(this ISynologyRequest request, SynologyRequestParameters parameters) => await request.Api.GetDataAsync(await request.CgiPathAsync(), request.ApiName, parameters);