class · System

Activator

public class System.Activator : System.Any

Objects of types known at run time.

Kind
class
Namespace
System
Assembly
System.Core
Access
public, static, abstract
Source file
Reflection.ant

Inheritance

Base classes
Any Activator

Methods

static method CreateInstance(type: System.Type) -> System.Any
#

static

A new object of type through its constructor without parameters (a value type's zero value when it has none).

static method CreateInstance(type: System.Type, arguments: System.Any?[]) -> System.Any
#

static

A new object of type through the public constructor that takes arguments.

Private and internal members (1)

static field None: System.Any?[]
#

internal static

No arguments.

Inherited members (5)

Source

Activator as Larva HIR, decompiled from its Larva HIR.

System.Activator.hir
// Objects of types known at run time.
public class System.Activator : System.Any
{
    // No arguments.
    static field None: System.Any?[]
    // A new object of `type` through its constructor without parameters (a value type's zero value when it has none).
    static method CreateInstance(type: System.Type) -> System.Any
    // A new object of `type` through the public constructor that takes `arguments`.
    static method CreateInstance(type: System.Type, arguments: System.Any?[]) -> System.Any
}
Esc