Пример #1
0
		public Aggregate(Guid id)
		{
			State = new AggregateState();
			Id = id;
		}
Пример #2
0
		public void On(AggregateState state)
		{
			Guard.AgainstNull(state, "state");

			State = state;
		}
		public AggregateCanSnapshot(Guid id)
		{
			_state = new AggregateState();
			Id = id;
		}