Request

Response

    BaseExchangeModel class

    Base implementation of IExchange shared by read, write, and read-write exchange models.

    public abstract class BaseExchangeModel : IExchange
    

    Public Members

    namedescription
    BaseExchangeModel(…) Initializes a new instance of the BaseExchangeModel class.
    virtual Client { get; protected internal set; } Gets or sets the Autodesk.DataExchange instance.
    event AfterGetExchanges Occurs after GetExchangesAsync completes. Handlers receive the search filter and the retrieved exchanges.
    event AfterViewExchange Occurs after ViewExchangeAsync opens the exchange URL.
    event BeforeGetExchanges Occurs before GetExchangesAsync retrieves exchanges. Handlers receive the search filter and may prepare the host application.
    event BeforeViewExchange Occurs before ViewExchangeAsync opens the exchange URL.
    virtual event ExchangeUpdated Occurs when a loaded exchange is updated on the service. Handlers receive identifiers for the affected exchange and revision.
    virtual CopyExchangeLinkAsync(…) Copies the Exchange link to the clipboard.
    abstract GetCachedExchanges() Retrieves exchanges currently stored in the local cache.
    virtual GetExchangeFilterView() The user-specific exchange filter view allows users to customize their exchange filtering preferences. The implementation of user control resides entirely on the client side and is optional.
    abstract GetExchangesAsync(…) Retrieves exchanges that match the specified search filter.
    abstract SelectElementsAsync(…) Select elements belongs to the data exchanges.
    virtual SetExchangeVisibilityAsync(…)
    ViewExchangeAsync(…) Opens the exchange viewable URL in the default web browser.

    Protected Members

    namedescription
    EventsController
    _sDKOptions
    InvokeOnGetLatestExchangeDetailsAsync(…) Invokes all handlers registered on getLatestExchangeDetails.
    RaiseAfterGetLatestExchangeDetailsAsync(…) Raises AfterGetLatestExchangeDetails asynchronously.
    RaiseBeforeGetLatestExchangeDetailsAsync(…) Raises BeforeGetLatestExchangeDetails asynchronously.

    See Also