浏览代码

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;
}
}

正在加载...
取消
保存