Skip to contents

Wrapper class for .NET objects

Wrapper class for .NET objects

Super class

rSharp::NetObject -> DotNetWrapper

Examples


sim <- loadSimulation(system.file("extdata", "Aciclovir.pkml", package = "ospsuite"))

# looking at a reference to `.NET` simulation object
sim$pointer
#> <pointer: 0x55ed2be2ded0>

# create a new instance of `DotNetWrapper` class using this reference
DotNetWrapper$new(sim)
#> 
#> ── <DotNetWrapper> ──
#> 
#> Type: OSPSuite.R.Domain.Simulation
#> 
#> ── Available Methods 
#>   • `AcceptVisitor()`
#>   • `add_Changed()`
#>   • `add_PropertyChanged()`
#>   • `AddAnalysis()`
#>   • `All()`
#>   • `Equals()`
#>   • `get_Analyses()`
#>   • `get_BodyWeight()`
#>   • `get_BuildConfiguration()`
#>   • `get_Charts()`
#>   • `get_ComesFromPKSim()`
#>   • `get_CompoundNames()`
#>   • `get_Configuration()`
#>   • `get_CoreSimulation()`
#>   • `get_Creation()`
#>   • `get_Description()`
#>   • `get_EndTime()`
#>   • `get_HasChanged()`
#>   • `get_HasUpToDateResults()`
#>   • `get_Icon()`
#>   • `get_Id()`
#>   • `get_IsLoaded()`
#>   • `get_Model()`
#>   • `get_Name()`
#>   • `get_OutputMappings()`
#>   • `get_OutputSelections()`
#>   • `get_Reactions()`
#>   • `get_ResultsDataRepository()`
#>   • `get_Settings()`
#>   • `GetHashCode()`
#>   • `GetType()`
#>   • `MolWeightFor()`
#>   • `MolWeightFor()`
#>   • `remove_Changed()`
#>   • `remove_PropertyChanged()`
#>   • `RemoveAnalysis()`
#>   • `RemoveOutputMappings()`
#>   • `RemoveUsedObservedData()`
#>   • `set_Configuration()`
#>   • `set_Creation()`
#>   • `set_Description()`
#>   • `set_HasChanged()`
#>   • `set_Icon()`
#>   • `set_Id()`
#>   • `set_IsLoaded()`
#>   • `set_Model()`
#>   • `set_Name()`
#>   • `set_OutputMappings()`
#>   • `set_ResultsDataRepository()`
#>   • `ToString()`
#>   • `TotalDrugMassFor()`
#>   • `UpdatePropertiesFrom()`
#>   • `UsesObservedData()`
#> 
#> ── Available Properties 
#>Analyses
#>BodyWeight
#>BuildConfiguration
#>Charts
#>ComesFromPKSim
#>CompoundNames
#>Configuration
#>CoreSimulation
#>Creation
#>Description
#>EndTime
#>HasChanged
#>HasUpToDateResults
#>Icon
#>Id
#>IsLoaded
#>Model
#>Name
#>OutputMappings
#>OutputSelections
#>Reactions
#>ResultsDataRepository
#>Settings