Gurux.DLMS.TranslatorSimpleTags.GetServiceError C# (CSharp) Méthode

GetServiceError() static private méthode

static private GetServiceError ( String value ) : ServiceError
value String Service error simple XML tag.
Résultat ServiceError
        internal static ServiceError GetServiceError(String value)
        {
            foreach (var it in GetServiceErrors())
            {
                if (string.Compare(value, it.Value, true) == 0)
                {
                    return it.Key;
                }
            }
            throw new ArgumentException();
        }