PageRenderTime 27ms CodeModel.GetById 20ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/Source/Samples/ExplicitConsole/Domain/CreatePerson.cs

#
C# | 19 lines | 17 code | 2 blank | 0 comment | 0 complexity | 738bab2ed876d6fa6938e3b23f6139e2 MD5 | raw file
 1using System;
 2using Bifrost.Commands;
 3
 4namespace ExplicitConsole.Domain
 5{
 6	public class CreatePerson : ICommand
 7	{
 8		public Guid Id { get; private set; }
 9		public string FirstName { get; private set; }
10		public string LastName { get; private set; }
11		
12		public CreatePerson(Guid id, string firstName, string lastName)
13		{
14			Id = id;
15			FirstName = firstName;
16			LastName = lastName;
17		}
18	}
19}