Click or drag to resize
ISettingsPresenterProvider Interface
The interface for objects that abstract away the environment for ISettingsPresenter tests.

Namespace: VirtualRadar.Interface.Presenter
Assembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public interface ISettingsPresenterProvider : IDisposable

The ISettingsPresenterProvider type exposes the following members.

Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodFileExists
Returns true if there is a file with the full path as passed.
Public methodFolderExists
Returns true if there is a folder with the path as passed.
Public methodGetSerialPortNames
Returns a list of serial port names. Guaranteed not to throw an exception and to be current (i.e. no caching).
Public methodGetVoiceNames
Returns a collection of voice names for the installed text-to-speech service. Guaranteed not to throw an exception and to be current (i.e. no caching).
Public methodTestNetworkConnection
Returns the exception (if any) that was thrown while attempting to establish a connection to a data feed using the network settings passed across.
Public methodTestSerialConnection
Returns the exception (if any) that was thrown while attempting to establish a connection to a data feed using the serial settings passed across.
Public methodTestTextToSpeech
Conducts a test of the text-to-speech settings passed across.
Top
See Also