2017-01-31 11:01:08 +00:00
|
|
|
|
using System;
|
2017-02-05 22:22:34 +00:00
|
|
|
|
using System.Collections.Generic;
|
2017-01-31 11:01:08 +00:00
|
|
|
|
using Tapeti.Config;
|
|
|
|
|
|
|
|
|
|
namespace Tapeti.Flow.Default
|
|
|
|
|
{
|
|
|
|
|
internal class FlowContext : IDisposable
|
|
|
|
|
{
|
|
|
|
|
public IMessageContext MessageContext { get; set; }
|
|
|
|
|
public IFlowStateLock FlowStateLock { get; set; }
|
|
|
|
|
public FlowState FlowState { get; set; }
|
|
|
|
|
|
2017-02-05 22:22:34 +00:00
|
|
|
|
public Guid ContinuationID { get; set; }
|
|
|
|
|
public ContinuationMetadata ContinuationMetadata { get; set; }
|
2017-01-31 11:01:08 +00:00
|
|
|
|
|
|
|
|
|
public void Dispose()
|
|
|
|
|
{
|
|
|
|
|
FlowStateLock?.Dispose();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|