class · System

Environment

public class System.Environment : System.Any
Tipo
class
Espacio de nombres
System
Ensamblado
System.Core
Acceso
public, static, abstract
Archivo fuente
Runtime.ant

Herencia

Clases base
Any Environment

Propiedades

static property NewLine: System.String<u8>
#

static read-only

static property TickCount64: i64
#

static read-only

Milliseconds from an arbitrary start (it only goes forward).

static property ProcessorCount: i32
#

static read-only

How many processors the program can run on.

static property CurrentManagedThreadId: i32
#

static read-only

The number of the thread that asks (1: the program's first).

Métodos

static method GetCommandLineArgs() -> System.List<System.String<u8>>
#

static

The program's arguments (not its own name).

static method GetEnvironmentVariable(name: System.String<u8>) -> System.String<u8>?
#

static

An environment variable, or null when it is not set.

Miembros privados e internos (8)

static method ArgumentCount() -> i64
#

private static

static method ArgumentLength(index: i64) -> i64
#

private static

static method ArgumentUnit(index: i64, at: i64) -> i64
#

private static

static method VariableInto(name: u16[]) -> i64
#

private static

static method VariableUnit(index: i64) -> i64
#

private static

static method Now() -> i64
#

private static

static method Processors() -> i64
#

private static

static method ThreadNumber() -> i64
#

private static

Miembros heredados (5)

Código fuente

Environment en Larva HIR, descompilado a partir de su Larva HIR.

System.Environment.hir
public class System.Environment : System.Any
{
    static method ArgumentCount() -> i64
    static method ArgumentLength(index: i64) -> i64
    static method ArgumentUnit(index: i64, at: i64) -> i64
    static method VariableInto(name: u16[]) -> i64
    static method VariableUnit(index: i64) -> i64
    static method Now() -> i64
    static method Processors() -> i64
    static method ThreadNumber() -> i64
    // The program's arguments (not its own name).
    static method GetCommandLineArgs() -> System.List<System.String<u8>>
    // An environment variable, or null when it is not set.
    static method GetEnvironmentVariable(name: System.String<u8>) -> System.String<u8>?
    static property NewLine: System.String<u8>
    // Milliseconds from an arbitrary start (it only goes forward).
    static property TickCount64: i64
    // How many processors the program can run on.
    static property ProcessorCount: i32
    // The number of the thread that asks (1: the program's first).
    static property CurrentManagedThreadId: i32
}
Esc