Revision 70f12b36 trunk/Pithos.Core/Agents/WorkflowAgent.cs

b/trunk/Pithos.Core/Agents/WorkflowAgent.cs
54 54
    [Export]
55 55
    public class WorkflowAgent
56 56
    {
57
        Agent<WorkflowState> _agent;
57
        readonly Agent<WorkflowState> _agent;
58 58
                
59 59
        public IStatusNotification StatusNotification { get; set; }
60 60
        [System.ComponentModel.Composition.Import]
......
65 65

  
66 66
        private static readonly ILog Log = LogManager.GetLogger("WorkflowAgent");
67 67

  
68
        public void Start()
68
        public WorkflowAgent()
69 69
        {
70 70
            _agent = Agent<WorkflowState>.Start(inbox =>
71 71
            {

Also available in: Unified diff