IExchangeWriter interface
An interface to write exchange related operations
public interface IExchangeWriter
Members
name | description |
---|---|
event AfterCreateExchange | Event should be invoked after the create exchange. |
event BeforeCreateExchange | Event should be invoked Before the create exchange. |
event ViewableGenerationCompleted | The event will trigger when viewable generation is completed.It can be either failed or successful. The result of viewable generation is sent by event parameter. |
event ViewableGenerationStarted | The event will trigger when viewable generation is started. |
CreateExchangeAsync(…) | Create exchange. |
DeleteExchangeAsync(…) | Delete Exchange. |
UpdateExchangeAsync(…) | Update the Exchange. Upload the view information. |
ValidateCanCreateExchangeAsync() | Asynchronously validates whether the creation of an exchange can proceed. This method can be overridden by the host application to perform necessary checks or validations, ensuring that all preconditions are met before the exchange creation process begins. |
ValidateCanUpdateExchangeAsync(…) | This method can be overridden to allow the host application to intercept and potentially prevent the exchange update process. It provides an opportunity to perform checks or actions, such as prompting the user to save changes or verifying that the current document is in a suitable state for an exchange update. This is particularly useful if modifications have been made to the document or if other preconditions must be met before continuing with the update process. |
See Also
- namespace Autodesk.DataExchange.Core.Interface