Ejemplo n.º 1
0
        /// <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;
		}
Ejemplo n.º 2
0
 /// <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;
 }
Ejemplo n.º 3
0
		public SagaLibrarian(ISagaConverter sagaConverter)
		{
			_sagaConverter = sagaConverter;
		}
Ejemplo n.º 4
0
 public SagaLibrarian(ISagaConverter sagaConverter)
 {
     _sagaConverter = sagaConverter;
 }