public static void CheckProperties(InternetClientSettings settings) { TestUtilities.TestProperty(settings, r => r.CanRunReports, false); TestUtilities.TestProperty(settings, r => r.CanShowPictures, false); TestUtilities.TestProperty(settings, r => r.CanShowPinText, false); TestUtilities.TestProperty(settings, r => r.CanSubmitRoutes, false); TestUtilities.TestProperty(settings, r => r.TimeoutMinutes, 20, 10); TestUtilities.TestProperty(settings, r => r.CanPlayAudio, false); TestUtilities.TestProperty(settings, r => r.AllowInternetProximityGadgets, false); }
/// <summary> /// Creates a new object. /// </summary> public Configuration() { BaseStationSettings = new BaseStationSettings(); FlightRouteSettings = new FlightRouteSettings(); WebServerSettings = new WebServerSettings(); GoogleMapSettings = new GoogleMapSettings(); VersionCheckSettings = new VersionCheckSettings(); InternetClientSettings = new InternetClientSettings(); AudioSettings = new AudioSettings(); RawDecodingSettings = new RawDecodingSettings(); }
/// <summary> /// Creates a new object. /// </summary> public Configuration() { BaseStationSettings = new BaseStationSettings(); FlightRouteSettings = new FlightRouteSettings(); WebServerSettings = new WebServerSettings(); GoogleMapSettings = new GoogleMapSettings(); VersionCheckSettings = new VersionCheckSettings(); InternetClientSettings = new InternetClientSettings(); AudioSettings = new AudioSettings(); RawDecodingSettings = new RawDecodingSettings(); MonoSettings = new MonoSettings(); _MergedFeeds.ListChanged += MergedFeeds_ListChanged; _RebroadcastSettings.ListChanged += RebroadcastSettings_ListChanged; _ReceiverLocations.ListChanged += ReceiverLocations_ListChanged; _Receivers.ListChanged += Receivers_ListChanged; }
public void TestInitialise() { _Implementation = new InternetClientSettings(); }