protected virtual IInOutLineImageStateCreated MapCreate(ICreateInOutLineImage c, IInOutLineCommand outerCommand, long version, IInOutLineState outerState) { c.RequesterId = outerCommand.RequesterId; var stateEventId = new InOutLineImageEventId(c.InOutDocumentNumber, c.InOutLineLineNumber, c.SequenceId, version); IInOutLineImageStateCreated e = NewInOutLineImageStateCreated(stateEventId); var s = outerState.InOutLineImages.Get(c.SequenceId, true); e.Url = c.Url; e.Active = c.Active; e.CreatedBy = (string)c.RequesterId; e.CreatedAt = ApplicationContext.Current.TimestampService.Now <DateTime>(); return(e); }// END Map(ICreate... ////////////////////////////
public void Remove(ICreateInOutLineImage c) { _innerCommands.Remove(c); }
public void Add(ICreateInOutLineImage c) { _innerCommands.Add(c); }
void ICreateInOutLineImageCommands.Remove(ICreateInOutLineImage c) { _innerCommands.Remove((CreateInOutLineImageDto)c); }
void ICreateInOutLineImageCommands.Add(ICreateInOutLineImage c) { _innerCommands.Add((CreateInOutLineImageDto)c); }