public void ExportCall(object sender) { ExportWrapperStartHandler?.Invoke(this, null); foreach (ExportDefinition definition in ExportDefinitionList) { if (definition.DoExport == true) { DefinitionEventArgs eventArgs = new DefinitionEventArgs() { Object = definition }; SelectedDefinition = definition; foreach (ExportAsset asset in AssetList) { if (asset.AssetExport) { asset.Export(definition); } } } } ExportWrapperEndHandler?.Invoke(this, null); }