public int CreateNewReport(NewReportInfo reportInfo) { if (reportInfo == null) throw new ArgumentNullException("reportInfo"); if (reportInfo.Limit != null && reportInfo.Offset != null) throw new ArgumentException("Only one of \"Limit\" and \"Offset\" should be set"); return 1; }
public int CreateNewReport(NewReportInfo reportInfo) { if (reportInfo == null) throw new ArgumentNullException("reportInfo"); if (reportInfo.Limit != null && reportInfo.Offset != null) throw new ArgumentException("Only one of \"Limit\" and \"Offset\" should be set"); return YandexApiClient.Invoke<int>(ApiMethod.CreateNewReport, reportInfo); }
public int CreateNewReport(NewReportInfo reportInfo) { if (reportInfo == null) { throw new ArgumentNullException("reportInfo"); } if (reportInfo.Limit != null && reportInfo.Offset != null) { throw new ArgumentException("Only one of \"Limit\" and \"Offset\" should be set"); } return(1); }
public int CreateNewReport(NewReportInfo reportInfo) { if (reportInfo == null) { throw new ArgumentNullException("reportInfo"); } if (reportInfo.Limit != null && reportInfo.Offset != null) { throw new ArgumentException("Only one of \"Limit\" and \"Offset\" should be set"); } return(YandexApiClient.Invoke <int>(ApiMethod.CreateNewReport, reportInfo)); }