SettingsProvider(IProfile) Constructor

Initializes a new instance of the SettingsProvider class with the supplied Profile Provider. This is useful for injecting a mock profile object during unit testing.

Definition

Namespace: ASCOM
Assembly: ASCOM.SettingsProvider (in ASCOM.SettingsProvider.dll) Version: 7.1.3+4851.c5da65c2b
C#
public SettingsProvider(
	IProfile profileProvider
)

Parameters

profileProvider  IProfile
The IProfile component to be used.

See Also