Quellcode durchsuchen

Reflector and rename.

master
yangxiaodong vor 7 Jahren
Ursprung
Commit
e89225bfb7
4 geänderte Dateien mit 2 neuen und 26 gelöschten Zeilen
  1. +0
    -12
      src/Cap.Consistency/ITopicRouteHandler.cs
  2. +1
    -1
      src/Cap.Consistency/Internal/ConsumerExcutorSelector.cs
  3. +1
    -1
      src/Cap.Consistency/Internal/MethodMatcherCache.cs
  4. +0
    -12
      src/Cap.Consistency/TopicRouteContext.cs

+ 0
- 12
src/Cap.Consistency/ITopicRouteHandler.cs Datei anzeigen

@@ -1,12 +0,0 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace Cap.Consistency
{
public interface ITopicRouteHandler
{
Task RouteAsync(TopicRouteContext context);
}
}

+ 1
- 1
src/Cap.Consistency/Internal/ConsumerExcutorSelector.cs Datei anzeigen

@@ -22,7 +22,7 @@ namespace Cap.Consistency.Internal
return executeDescriptor.FirstOrDefault(x => x.Attribute.Name == key);
}

public IReadOnlyList<ConsumerExecutorDescriptor> SelectCandidates(TopicRouteContext context) {
public IReadOnlyList<ConsumerExecutorDescriptor> SelectCandidates(TopicContext context) {

var consumerServices = context.ServiceProvider.GetServices<IConsumerService>();



+ 1
- 1
src/Cap.Consistency/Internal/MethodMatcherCache.cs Datei anzeigen

@@ -15,7 +15,7 @@ namespace Cap.Consistency.Internal
_selector = selector;
}

public ConcurrentDictionary<string, ConsumerExecutorDescriptor> GetCandidatesMethods(TopicRouteContext routeContext) {
public ConcurrentDictionary<string, ConsumerExecutorDescriptor> GetCandidatesMethods(TopicContext routeContext) {

if (Entries.Count == 0) {



+ 0
- 12
src/Cap.Consistency/TopicRouteContext.cs Datei anzeigen

@@ -1,12 +0,0 @@
using System;
using System.Collections.Generic;

namespace Cap.Consistency
{
public class TopicRouteContext
{
public IServiceProvider ServiceProvider { get; set; }

public IList<ITopicRouteHandler> Routes { get; set; }
}
}

Laden…
Abbrechen
Speichern