Merge pull request #1542 from ninjarobot/UriTemplateMatchException
[mono.git] / mcs / class / corlib / ReferenceSources / Environment.cs
1 using System.Globalization;
2
3 namespace System
4 {
5         partial class Environment
6         {
7                 internal static string GetResourceString (string key)
8                 {
9                         return Messages.GetMessage (key);
10                 }
11
12                 internal static string GetResourceString (string key, CultureInfo culture)
13                 {
14                         return GetResourceString (key);
15                 }
16
17                 internal static string GetResourceString (string key, params object[] values)
18                 {
19                         key = Messages.GetMessage (key);
20                         return string.Format (CultureInfo.InvariantCulture, key, values);
21                 }
22         }
23 }