BaseReadOnlyExchangeModel class
Base implementation of IExchangeReader for read-only exchange models.
public abstract class BaseReadOnlyExchangeModel : BaseExchangeModel, IExchangeReader
Public Members
| name | description |
|---|---|
| BaseReadOnlyExchangeModel(…) | Initializes a new instance of the BaseReadOnlyExchangeModel class. Initializes a new instance of BaseReadOnlyExchangeModel. |
| event AfterGetLatestExchangeDetails | Occurs after the latest exchange details have been loaded into the host application. |
| event BeforeGetLatestExchangeDetails | Occurs before the latest exchange details are loaded into the host application. |
| override event ExchangeUpdated | Occurs when a loaded exchange is updated on the service. Handlers receive identifiers for the affected exchange and revision. |
| event GetLatestExchangeDetails | Occurs during get-latest processing so the host application can load exchange element data. Handlers are invoked asynchronously and receive cancellation support through the event args. |
| virtual GetExchangeAsync(…) | Retrieves exchange metadata for the specified identifier. |
| virtual GetLatestUpdatesForExchangesAsync(…) | Determines whether a newer exchange version is available for each input exchange. |
| virtual GetValidExchangesAsync(…) | Validates each exchange against hosting-provider state such as folder deletion or relocation. |
| virtual OnGetLatestExchangeDataAction(…) | Runs the get-latest workflow: raises before/load/after events so the host application can synchronize the latest exchange data. |
| abstract UnloadExchangesAsync(…) | Unloads exchanges from the host application and returns the identifiers that were removed. |
| virtual ValidateGetLatestExchangeAsync(…) | Validates whether loading the latest exchange data can proceed. |
| virtual ValidateGetLatestExchangeDetailsAsync(…) | Validates whether retrieving the latest exchange details can proceed. |
See Also
- class BaseExchangeModel
- namespace Autodesk.DataExchange.BaseModels