public void RemoveAssetCall(object sender) { ExportAsset asset = sender as ExportAsset; AssetEventArgs eventArgs = new AssetEventArgs() { Object = asset }; RemoveAssetHandler?.Invoke(this, eventArgs); AssetList.Remove(asset); }
public void AddExportAsset(ExportAsset asset) { AssetList.Add(asset); asset.DateCreated = DateTime.Now; AssetListViewSource.View.Refresh(); }