Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

typo: regsitered -> registered #26

Open
wants to merge 1 commit into from

1 participant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 19, 2012
  1. @larsw

    typo: regsitered -> registered

    larsw authored
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/proj/CommonDomain.Core/RegistrationEventRouter.cs
View
6 src/proj/CommonDomain.Core/RegistrationEventRouter.cs
@@ -6,7 +6,7 @@ namespace CommonDomain.Core
public class RegistrationEventRouter : IRouteEvents
{
private readonly IDictionary<Type, Action<object>> handlers = new Dictionary<Type, Action<object>>();
- private IAggregate regsitered;
+ private IAggregate registered;
public virtual void Register<T>(Action<T> 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<object> handler;
if (!this.handlers.TryGetValue(eventMessage.GetType(), out handler))
- this.regsitered.ThrowHandlerNotFound(eventMessage);
+ this.registered.ThrowHandlerNotFound(eventMessage);
handler(eventMessage);
}
Something went wrong with that request. Please try again.