Struct dotrust::coreclr::CoreClr
[−]
[src]
pub struct CoreClr { /* fields omitted */ }
Methods
impl CoreClr
[src]
fn new(
dotnet: &DotNet,
exe_path: String,
friendly_name: String,
properties: Option<HashMap<String, String>>
) -> Result<CoreClr, ClrError>
dotnet: &DotNet,
exe_path: String,
friendly_name: String,
properties: Option<HashMap<String, String>>
) -> Result<CoreClr, ClrError>
Creates a new CoreClr instance.
coreclr_library
is the dotnet instance to use for initializing the CLR.exe_path
is the full path to the executable that is invoking this function.friendly_name
is the pretty name of the invoking executable.properties
is a map of properties to be passed to the CLR.
fn get_domain_id(&self) -> u32
Returns the default domain ID for this instance of the CLR