private void SnapshotPulseCount(int pulseCount) { var handler = PulseSnapshot; if (handler == null) { return; } var dto = new PulseDTO { Count = pulseCount }; handler(this, new PulseSnapshotArgs(dto)); }
public PulseSnapshotArgs(PulseDTO pulseData) { PulseData = pulseData; }