/// <summary> /// Initializes a new instance of <see cref="SagaLibrarian"/> /// </summary> /// <param name="entityContext">A <see cref="IEntityContext{SagaHolder}"/> to use for working with persisting and resuming <see cref="ISaga">Sagas</see></param> /// <param name="sagaConverter">A <see cref="ISagaConverter"/> for converting a <see cref="ISaga"/> to a <see cref="SagaHolder"/> and back</param> public SagaLibrarian(IEntityContext<SagaHolder> entityContext, ISagaConverter sagaConverter) { _entityContext = entityContext; _sagaConverter = sagaConverter; }
/// <summary> /// Initializes a new instance of <see cref="SagaLibrarian"/> /// </summary> /// <param name="entityContext">A <see cref="IEntityContext{SagaHolder}"/> to use for working with persisting and resuming <see cref="ISaga">Sagas</see></param> /// <param name="sagaConverter">A <see cref="ISagaConverter"/> for converting a <see cref="ISaga"/> to a <see cref="SagaHolder"/> and back</param> public SagaLibrarian(IEntityContext <SagaHolder> entityContext, ISagaConverter sagaConverter) { _entityContext = entityContext; _sagaConverter = sagaConverter; }
public SagaLibrarian(ISagaConverter sagaConverter) { _sagaConverter = sagaConverter; }
public SagaLibrarian(ISagaConverter sagaConverter) { _sagaConverter = sagaConverter; }