public static Task <IScheduledCommand <TTarget> > Schedule <TTarget>( ConstructorCommand <TTarget> command, DateTimeOffset?dueTime = null, IPrecondition deliveryDependsOn = null, IClock clock = null) where TTarget : class => Configuration .Current .CommandScheduler <TTarget>() .Schedule( command, dueTime, deliveryDependsOn, clock);
public FakeAggregateWithEnactCommandConvention(ConstructorCommand <FakeAggregateWithEnactCommandConvention> createCommand) : base(createCommand) { }
/// <summary> /// Initializes a new instance of the <see cref="T:Microsoft.Its.Domain.EventSourcedAggregate`1"/> class by applying the specified command. /// </summary> /// <param name="createCustomerAccount">The create command.</param> public CustomerAccount(ConstructorCommand <CustomerAccount> createCustomerAccount) : base(createCustomerAccount) { }
public EventSourcedCommandTarget(ConstructorCommand <EventSourcedCommandTarget> createCommand) : base(createCommand) { }