mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-16 23:34:10 +02:00
Initial checkin
This commit is contained in:
parent
c74712dad9
commit
078564ac9e
3242 changed files with 1616395 additions and 0 deletions
31
IDE/mintest/minlib/src/System/Environment.bf
Normal file
31
IDE/mintest/minlib/src/System/Environment.bf
Normal file
|
@ -0,0 +1,31 @@
|
|||
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);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue