/// <summary> /// Calls the <see cref="ExportSimulationData"/> event. /// </summary> /// <param name="sender">The sender.</param> /// <param name="args">The argument.</param> public void Export(object sender, ExportDataEventArgs args) { ExportSimulationData?.Invoke(sender, args); }
/// <summary> /// Raises the <see cref="E:ExportSimulationData" /> event. /// </summary> /// <param name="args">The <see cref="ExportDataEventArgs"/> instance containing the event data.</param> protected virtual void OnExport(ExportDataEventArgs args) => ExportSimulationData?.Invoke(this, args);
/// <summary> /// Export the data /// </summary> /// <param name="ckt"></param> public virtual void Export(Circuit ckt) { SimulationData data = new SimulationData(ckt); ExportSimulationData?.Invoke(this, data); }