Ejemplo n.º 1
0
        public void ExportDefinitionCall(object sender)
        {
            var definition = sender as ExportDefinition;

            ExportWrapperStartHandler?.Invoke(this, null);
            foreach (ExportAsset asset in AssetList)
            {
                if (asset.AssetExport)
                {
                    asset.Export(definition);
                }
            }
            ExportWrapperEndHandler?.Invoke(this, null);
        }
Ejemplo n.º 2
0
 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);
 }
Ejemplo n.º 3
0
 public void ExportAssetCall(object sender)
 {
     ExportWrapperStartHandler?.Invoke(this, null);
     SelectedAsset.Export(SelectedDefinition);
     ExportWrapperEndHandler?.Invoke(this, null);
 }