internal static string GetErrorText(string errorText, VmapErrorId errorId)
 {
     var vmapError = VmapErrors[errorId];
     return errorText.Replace(ErrorCodeMacro, vmapError.Code.ToString()).Replace(ErrorMessageMacro, vmapError.Message);
 }
Пример #2
0
        internal static string GetErrorText(string errorText, VmapErrorId errorId)
        {
            var vmapError = VmapErrors[errorId];

            return(errorText.Replace(ErrorCodeMacro, vmapError.Code.ToString()).Replace(ErrorMessageMacro, vmapError.Message));
        }