// Behavior public Role(RoleId roleId, Name name) : this() { Apply( new AddedRole(roleId, name)); }
void When(AddedRole @event) { Id = new RoleId(@event.RoleId); _permissions = new List <RolePermission>(); _archived = false; }