Exemple #1
0
        private void SnapshotPulseCount(int pulseCount)
        {
            var handler = PulseSnapshot;

            if (handler == null)
            {
                return;
            }

            var dto = new PulseDTO {
                Count = pulseCount
            };

            handler(this, new PulseSnapshotArgs(dto));
        }
Exemple #2
0
 public PulseSnapshotArgs(PulseDTO pulseData)
 {
     PulseData = pulseData;
 }