From 07a2d1d919b94699f7715fc386e6dfbba544f96b Mon Sep 17 00:00:00 2001 From: Martin Jul Date: Wed, 17 Apr 2013 16:32:33 +0200 Subject: [PATCH] Fixed typo in variable name --- src/proj/CommonDomain.Core/RegistrationEventRouter.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/proj/CommonDomain.Core/RegistrationEventRouter.cs b/src/proj/CommonDomain.Core/RegistrationEventRouter.cs index 530e1ac..5e0b2d0 100644 --- a/src/proj/CommonDomain.Core/RegistrationEventRouter.cs +++ b/src/proj/CommonDomain.Core/RegistrationEventRouter.cs @@ -6,7 +6,7 @@ namespace CommonDomain.Core public class RegistrationEventRouter : IRouteEvents { private readonly IDictionary> handlers = new Dictionary>(); - private IAggregate regsitered; + private IAggregate registered; public virtual void Register(Action handler) { @@ -17,7 +17,7 @@ public virtual void Register(IAggregate aggregate) if (aggregate == null) throw new ArgumentNullException("aggregate"); - this.regsitered = aggregate; + this.registered = aggregate; } public virtual void Dispatch(object eventMessage) @@ -25,7 +25,7 @@ public virtual void Dispatch(object eventMessage) Action handler; if (!this.handlers.TryGetValue(eventMessage.GetType(), out handler)) - this.regsitered.ThrowHandlerNotFound(eventMessage); + this.registered.ThrowHandlerNotFound(eventMessage); handler(eventMessage); }