using System;
using System.Reflection;
using Tapeti.Config;
namespace Tapeti.Flow.Default
{
///
///
/// Default implementation for IFlowHandlerContext
///
internal class FlowHandlerContext : IFlowHandlerContext
{
///
public FlowHandlerContext()
{
}
///
public FlowHandlerContext(IControllerMessageContext source)
{
if (source == null)
return;
Config = source.Config;
Controller = source.Controller;
Method = source.Binding.Method;
ControllerMessageContext = source;
}
///
public void Dispose()
{
}
///
public ITapetiConfig Config { get; set; }
///
public object Controller { get; set; }
///
public MethodInfo Method { get; set; }
///
public IControllerMessageContext ControllerMessageContext { get; set; }
}
}