public IResult Execute(T concept) { IResult Result = null; try { StartEvent?.Invoke(concept, this); Result = DecoratedStep?.Execute(concept); FinishHandler?.Invoke(concept, this, Result); } catch (Exception ex) { ExceptionEvent?.Invoke(concept, this, ex); throw ex; } return(Result); }
public string Description() { return(DecoratedStep?.Description()); }