Browse Source

Rename class.

master
yangxiaodong 7 years ago
parent
commit
29b45a33be
2 changed files with 3 additions and 3 deletions
  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 View File

@@ -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 View File

@@ -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…
Cancel
Save