Skip to content

Commit

Permalink
"e" to "evnt" in Projections
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerry Street committed Feb 7, 2013
1 parent e9dc23e commit 0886b4b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Source/Gtd.Console/Projections/InboxProjection.cs
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ public sealed class Thought
public sealed class InboxProjection public sealed class InboxProjection
{ {
public InboxView ViewInstance = new InboxView(); public InboxView ViewInstance = new InboxView();

public void When(TenantCreated e) public void When(TenantCreated evnt)
{ {
ViewInstance.TenantInboxes.Add(e.Id, new List<InboxView.Thought>()); ViewInstance.TenantInboxes.Add(evnt.Id, new List<InboxView.Thought>());
} }


public void When(ThoughtCaptured evnt) public void When(ThoughtCaptured evnt)
Expand All @@ -32,9 +32,9 @@ public void When(ThoughtCaptured evnt)
Added = evnt.TimeUtc Added = evnt.TimeUtc
}); });
} }
public void When(ThoughtArchived e) public void When(ThoughtArchived evnt)
{ {
ViewInstance.TenantInboxes[e.Id].RemoveAll(t => t.ItemId == e.ThoughtId); ViewInstance.TenantInboxes[evnt.Id].RemoveAll(t => t.ItemId == evnt.ThoughtId);
} }
} }
} }

0 comments on commit 0886b4b

Please sign in to comment.