OK, so this has been implemented and I think that I made the events
too large-grained.
For example: The LineExecuted event:
[Serializable]
public class LineExecuted
{
public string Line;
public ExecutionStatus Status;
public string SuccessPart = "";
public string FailedPart = "";
public string ExceptionInfo = "";
public string Suggestion = "";
public Scenario Scenario;
}
Most of the fields are set only in certain cases, depending on
ExecutionStatus (Passed, Failed, Pending).
I am thinking that I will break this out into separate events for
LinePassed, LineFailed, and LinePending.
The trade-off is that we will end up with a lot more event types.
Anyone have any thoughts on this?
Cheers
Dave
On Aug 3, 12:34 pm, David Foley <
davidmfo...@gmail.com> wrote:
> You can see what I have so far (subject to change) here:
>
>
http://github.com/davidmfoley/storevil/tree/event-bus/Core/StorEvil/E...
>
> On Aug 3, 2010, at 11:31 AM, Glenn Block wrote:
>
>
>
> > Looks clean to me. What type of information is provided in the args class?
>