Permalink
Browse files

Made IServiceBus and ServiceBus partial to make it easier to extend t…

…hem with more functionality
  • Loading branch information...
1 parent d74c726 commit a9b28a13fbc5123f15cee06b23a492466e2a78f3 @HCanber HCanber committed Sep 14, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 MiniBuss/ServiceBus.cs
View
@@ -9,7 +9,7 @@
namespace MiniBuss
{
- public interface IServiceBus
+ public partial interface IServiceBus
{
void RegisterMessageHandler<TCommand>(Action<TCommand> handler) where TCommand : class;
void RegisterMessageEndpoint<TCommand>(string targetEndpoint) where TCommand : class;
@@ -28,7 +28,7 @@ public interface IServiceBus
string LocalEndpoint { get; set; }
}
- public class ServiceBus : IServiceBus
+ public partial class ServiceBus : IServiceBus
{
private readonly ConcurrentDictionary<RuntimeTypeHandle, string> _replyQueues = new ConcurrentDictionary<RuntimeTypeHandle, string>();
private readonly ConcurrentDictionary<RuntimeTypeHandle, string> _targetQueues = new ConcurrentDictionary<RuntimeTypeHandle, string>();

0 comments on commit a9b28a1

Please sign in to comment.