Skip to contents

Wrapper class for .NET objects

Super class

rSharp::NetObject -> DotNetWrapper

Examples


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

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

# 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()`
#>   • `AddUsedObservedData()`
#>   • `AddUsedObservedData()`
#>   • `All()`
#>   • `CalculationMethodFor()`
#>   • `Equals()`
#>   • `get_AgingData()`
#>   • `get_Analyses()`
#>   • `get_BodyWeight()`
#>   • `get_Charts()`
#>   • `get_ComesFromPKSim()`
#>   • `get_CompoundNames()`
#>   • `get_Configuration()`
#>   • `get_CoreSimulation()`
#>   • `get_Creation()`
#>   • `get_Description()`
#>   • `get_EndTime()`
#>   • `get_EntitySources()`
#>   • `get_HasChanged()`
#>   • `get_HasUpToDateResults()`
#>   • `get_Icon()`
#>   • `get_Id()`
#>   • `get_IndividualValuesCache()`
#>   • `get_IsLoaded()`
#>   • `get_IsPopulation()`
#>   • `get_Model()`
#>   • `get_Name()`
#>   • `get_OutputMappings()`
#>   • `get_OutputSelections()`
#>   • `get_Reactions()`
#>   • `get_ResultsDataRepository()`
#>   • `get_Settings()`
#>   • `get_UsedObservedData()`
#>   • `GetHashCode()`
#>   • `GetType()`
#>   • `MolWeightFor()`
#>   • `MolWeightFor()`
#>   • `remove_Changed()`
#>   • `remove_PropertyChanged()`
#>   • `RemoveAnalysis()`
#>   • `RemoveOutputMappings()`
#>   • `RemoveUsedObservedData()`
#>   • `set_AgingData()`
#>   • `set_Configuration()`
#>   • `set_Creation()`
#>   • `set_Description()`
#>   • `set_EntitySources()`
#>   • `set_HasChanged()`
#>   • `set_Icon()`
#>   • `set_Id()`
#>   • `set_IndividualValuesCache()`
#>   • `set_IsLoaded()`
#>   • `set_Model()`
#>   • `set_Name()`
#>   • `set_OutputMappings()`
#>   • `set_ResultsDataRepository()`
#>   • `ToString()`
#>   • `TotalDrugMassFor()`
#>   • `UpdatePropertiesFrom()`
#>   • `UsesObservedData()`
#> 
#> ── Available Properties 
#>   • AgingData
#>   • Analyses
#>   • BodyWeight
#>   • Charts
#>   • ComesFromPKSim
#>   • CompoundNames
#>   • Configuration
#>   • CoreSimulation
#>   • Creation
#>   • Description
#>   • EndTime
#>   • EntitySources
#>   • HasChanged
#>   • HasUpToDateResults
#>   • Icon
#>   • Id
#>   • IndividualValuesCache
#>   • IsLoaded
#>   • IsPopulation
#>   • Model
#>   • Name
#>   • OutputMappings
#>   • OutputSelections
#>   • Reactions
#>   • ResultsDataRepository
#>   • Settings
#>   • UsedObservedData