Gurux.DLMS.TranslatorStandardTags.GetServiceError C# (CSharp) Method

GetServiceError() static private method

static private GetServiceError ( String value ) : ServiceError
value String Service error standard XML tag.
return 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();
    }