rmarkdown中的下标越界错误

时间:2016-09-06 20:39:00

标签: r r-markdown

使用rmarkdown

执行以下代码时
    [HttpPost]
    public void Post([FromBody]EmailSchedulerDto emailSchedulerDto)
    {
        // test only
        emailSchedulerDto = new EmailSchedulerDto
        {
            UserId = "",
            Email = "myEmail@gmail.com",
            StoresId = new List<string>(),
            CronPattern = "* * * * *"
        };
        RecurringJob.AddOrUpdate(
            () =>
                _emailScheduler.ScheduleEmail(emailSchedulerDto.UserId, emailSchedulerDto.Email,
                    emailSchedulerDto.StoresId), emailSchedulerDto.CronPattern);
    }

我收到错误

// Job ID: #183
using MyProject.Services.Email;

var emailScheduler = Activate<EmailScheduler>();
await emailScheduler.ScheduleEmail(
    "",
    "myEmail@gmail.com",
    FromJson<IEnumerable`1>("[]")
storesId
);

我在哪里做错了?

0 个答案:

没有答案