예제 #1
0
파일: SR.cs 프로젝트: TheJohny/wpftoolkit
        internal static string Get(SRID id, params object[] args)
        {
            string message = _resourceManager.GetString(id.String);
            if (message != null)
            {
                // Apply arguments to formatted string (if applicable)
                if (args != null && args.Length > 0)
                {
                    message = String.Format(CultureInfo.CurrentCulture, message, args);
                }
            }

            return message;
        }
예제 #2
0
        internal static string Get(SRID id, params object[] args)
        {
            string message = _resourceManager.GetString(id.String);

            if (message != null)
            {
                // Apply arguments to formatted string (if applicable)
                if (args != null && args.Length > 0)
                {
                    message = String.Format(CultureInfo.CurrentCulture, message, args);
                }
            }

            return(message);
        }
예제 #3
0
파일: SR.cs 프로젝트: TheJohny/wpftoolkit
 internal static string Get(SRID id)
 {
     return _resourceManager.GetString(id.String);
 }
예제 #4
0
 internal static string Get(SRID id)
 {
     return(_resourceManager.GetString(id.String));
 }