WindowsIoTCorePi2FezHat.ConnectTheDotsHelper.ValidateSettings C# (CSharp) Метод

ValidateSettings() приватный Метод

Validate the settings
private ValidateSettings ( ) : bool
Результат bool
        bool ValidateSettings()
        {
            if ((localSettings.IoTDeviceConnectionString == "") ||
                (localSettings.Organization == "") ||
                (localSettings.Location == ""))
            {
                this.localSettings.SettingsSet = false;
                return false;
            }

            this.localSettings.SettingsSet = true;
            return true;

        }