mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-15 23:04:09 +02:00
31 lines
No EOL
809 B
Beef
31 lines
No EOL
809 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
|
|
|
|
public static String GetResourceString(String key)
|
|
{
|
|
return key;
|
|
//return GetResourceFromDefault(key);
|
|
}
|
|
|
|
public static String GetResourceString(String key, params Object[] values)
|
|
{
|
|
return key;
|
|
//return GetResourceFromDefault(key);
|
|
}
|
|
|
|
public static String GetRuntimeResourceString(String key, String defaultValue = null)
|
|
{
|
|
if (defaultValue != null)
|
|
return defaultValue;
|
|
return key;
|
|
//return GetResourceFromDefault(key);
|
|
}
|
|
}
|
|
} |