Esempio n. 1
0
        public static ExpectedEvent ExpectNewDataAvailable(this PresetGatherer gatherer)
        {
            var x = new ExpectedEvent();

            gatherer.NewDataAvailable += x.Event;
            return(x);
        }
        public ExpectedEvent ExpectNewDataAvailable()
        {
            var x = new ExpectedEvent();

            NewDataAvailable += x.Event;
            return(x);
        }