Beispiel #1
0
    private static void CreateEventWatcher(string line)
    {
        EventWatchObj eWatch = new EventWatchObj();

        eWatch.GlobalEvent = line.GetWord(0, " ");

        List <KeyValuePair <string, string> > values = BreakLine(line);

        foreach (KeyValuePair <string, string> pair in values)
        {
            SetProperty(eWatch, pair.Key, pair.Value);
        }
        CurrentPhase.AddEventWatcher(eWatch);
    }