mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-16 15:24:10 +02:00
31 lines
815 B
Beef
31 lines
815 B
Beef
![]() |
namespace System
|
||
|
{
|
||
|
class Environment
|
||
|
{
|
||
|
#if !PLATFORM_UNIX
|
||
|
public static readonly String NewLine = "\r\n";
|
||
|
#else
|
||
|
static readonly string NewLine = new string("\n");
|
||
|
#endif // !PLATFORM_UNIX
|
||
|
|
||
|
internal static String GetResourceString(String key)
|
||
|
{
|
||
|
return key;
|
||
|
//return GetResourceFromDefault(key);
|
||
|
}
|
||
|
|
||
|
internal static String GetResourceString(String key, params Object[] values)
|
||
|
{
|
||
|
return key;
|
||
|
//return GetResourceFromDefault(key);
|
||
|
}
|
||
|
|
||
|
internal static String GetRuntimeResourceString(String key, String defaultValue = null)
|
||
|
{
|
||
|
if (defaultValue != null)
|
||
|
return defaultValue;
|
||
|
return key;
|
||
|
//return GetResourceFromDefault(key);
|
||
|
}
|
||
|
}
|
||
|
}
|