示例#1
0
        private void Apply(IssueAdded e)
        {
            if (!Issues.Contains(e.Issue))
            {
                Issues.Add(e.Issue);
            }

            UpdatedBy       = e.UserId;
            UpdatedDateTime = e.TimeStamp;
        }
示例#2
0
        private void Apply(IssuesAdded e)
        {
            foreach (var issue in e.Issues)
            {
                if (!Issues.Contains(issue))
                {
                    Issues.Add(issue);
                }
            }

            UpdatedBy       = e.UserId;
            UpdatedDateTime = e.TimeStamp;
        }