Ver a proveniência

Rename CapDatabaseStorageMarkerService to CapStorageMarkerService

master
Savorboard há 5 anos
ascendente
cometimento
c555b18356
6 ficheiros alterados com 7 adições e 7 eliminações
  1. +1
    -1
      src/DotNetCore.CAP.MongoDB/CAP.MongoDBCapOptionsExtension.cs
  2. +1
    -1
      src/DotNetCore.CAP.MySql/CAP.MySqlCapOptionsExtension.cs
  3. +1
    -1
      src/DotNetCore.CAP.PostgreSql/CAP.PostgreSqlCapOptionsExtension.cs
  4. +1
    -1
      src/DotNetCore.CAP.SqlServer/CAP.SqlServerCapOptionsExtension.cs
  5. +1
    -1
      src/DotNetCore.CAP/CAP.AppBuilderExtensions.cs
  6. +2
    -2
      src/DotNetCore.CAP/CAP.Builder.cs

+ 1
- 1
src/DotNetCore.CAP.MongoDB/CAP.MongoDBCapOptionsExtension.cs Ver ficheiro

@@ -21,7 +21,7 @@ namespace DotNetCore.CAP.MongoDB

public void AddServices(IServiceCollection services)
{
services.AddSingleton<CapDatabaseStorageMarkerService>();
services.AddSingleton<CapStorageMarkerService>();
services.AddSingleton<IStorage, MongoDBStorage>();
services.AddSingleton<IStorageConnection, MongoDBStorageConnection>();



+ 1
- 1
src/DotNetCore.CAP.MySql/CAP.MySqlCapOptionsExtension.cs Ver ficheiro

@@ -21,7 +21,7 @@ namespace DotNetCore.CAP

public void AddServices(IServiceCollection services)
{
services.AddSingleton<CapDatabaseStorageMarkerService>();
services.AddSingleton<CapStorageMarkerService>();
services.AddSingleton<IStorage, MySqlStorage>();
services.AddSingleton<IStorageConnection, MySqlStorageConnection>();



+ 1
- 1
src/DotNetCore.CAP.PostgreSql/CAP.PostgreSqlCapOptionsExtension.cs Ver ficheiro

@@ -21,7 +21,7 @@ namespace DotNetCore.CAP

public void AddServices(IServiceCollection services)
{
services.AddSingleton<CapDatabaseStorageMarkerService>();
services.AddSingleton<CapStorageMarkerService>();
services.AddSingleton<IStorage, PostgreSqlStorage>();
services.AddSingleton<IStorageConnection, PostgreSqlStorageConnection>();



+ 1
- 1
src/DotNetCore.CAP.SqlServer/CAP.SqlServerCapOptionsExtension.cs Ver ficheiro

@@ -22,7 +22,7 @@ namespace DotNetCore.CAP

public void AddServices(IServiceCollection services)
{
services.AddSingleton<CapDatabaseStorageMarkerService>();
services.AddSingleton<CapStorageMarkerService>();
services.AddSingleton<DiagnosticProcessorObserver>();
services.AddSingleton<IStorage, SqlServerStorage>();
services.AddSingleton<IStorageConnection, SqlServerStorageConnection>();


+ 1
- 1
src/DotNetCore.CAP/CAP.AppBuilderExtensions.cs Ver ficheiro

@@ -60,7 +60,7 @@ namespace Microsoft.AspNetCore.Builder
"You must be config used message queue provider at AddCap() options! eg: services.AddCap(options=>{ options.UseKafka(...) })");
}

var databaseMarker = app.ApplicationServices.GetService<CapDatabaseStorageMarkerService>();
var databaseMarker = app.ApplicationServices.GetService<CapStorageMarkerService>();
if (databaseMarker == null)
{
throw new InvalidOperationException(


+ 2
- 2
src/DotNetCore.CAP/CAP.Builder.cs Ver ficheiro

@@ -15,9 +15,9 @@ namespace DotNetCore.CAP
}

/// <summary>
/// Used to verify cap database storage extension was added on a ServiceCollection
/// Used to verify cap storage extension was added on a ServiceCollection
/// </summary>
public class CapDatabaseStorageMarkerService
public class CapStorageMarkerService
{
}



Carregando…
Cancelar
Guardar