namespace ZB.MOM.WW.MxGateway.Worker.Sta;

/// <summary>
/// Initializes and uninitializes the COM apartment for the STA thread.
/// </summary>
public interface IStaComApartmentInitializer
{
    /// <summary>
    /// Initializes the COM apartment on the STA thread.
    /// </summary>
    void Initialize();

    /// <summary>
    /// Uninitializes the COM apartment on the STA thread.
    /// </summary>
    void Uninitialize();
}
