src/XML parser/XmlParser.cs
/// <summary>
/// Validation checking content-specific restrictions, like max>min etc.
/// </summary>
/// <param name="mes">Message object to be validated</param>
/// <returns>True if Ok, false otherwise</returns>
Validation checking content-specific restrictions, like max>min etc.
Validation checking content - specific restrictions like max > min etc .
private static bool Validate(message mes)
    {
        if (mes._gameMasterLogin != null)
            if (mes._gameMasterLogin._playersMin < 1 || mes._gameMasterLogin._playersMax < mes._gameMasterLogin._playersMin)
                return false;
        return true;
    }
private static bool Validate ( message mes ) { if ( mes . _gameMasterLogin != null ) if ( mes . _gameMasterLogin . _playersMin < 1 || mes . _gameMasterLogin . _playersMax < mes . _gameMasterLogin . _playersMin ) return false ; return true ; }
Validation checking content-specific restrictions, like max>min etc.
Validation checking content - specific restrictions like max > min etc .
True if Ok, false otherwise
True if Ok false otherwise
mes
message
Message object to be validated
Message object to be validated