瀏覽代碼

Rename class.

master
yangxiaodong 7 年之前
父節點
當前提交
29b45a33be
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. +1
    -1
      src/Cap.Consistency/Job/IProcessor.cs
  2. +2
    -2
      src/Cap.Consistency/Microsoft.AspNetCore.Builder/BuilderExtensions.cs

+ 1
- 1
src/Cap.Consistency/Job/IProcessor.cs 查看文件

@@ -5,7 +5,7 @@ using System.Threading.Tasks;

namespace Cap.Consistency.Job
{
public interface IProcessor
public interface IJobProcessor
{
Task ProcessAsync(ProcessingContext context);
}


+ 2
- 2
src/Cap.Consistency/Microsoft.AspNetCore.Builder/BuilderExtensions.cs 查看文件

@@ -27,8 +27,8 @@ namespace Microsoft.AspNetCore.Builder
}

var provider = app.ApplicationServices;
var bootstrapper = provider.GetRequiredService<ITopicServer>();
bootstrapper.Start();
var bootstrapper = provider.GetRequiredService<IBootstrapper>();
bootstrapper.BootstrapAsync();
return app;
}
}

Loading…
取消
儲存