Wrapper class for .NET
objects
Wrapper class for .NET
objects
Super class
rSharp::NetObject
-> DotNetWrapper
Methods
Inherited methods
rSharp::NetObject$.printClass()
rSharp::NetObject$.printLine()
rSharp::NetObject$call()
rSharp::NetObject$get()
rSharp::NetObject$getFields()
rSharp::NetObject$getMemberSignature()
rSharp::NetObject$getMethods()
rSharp::NetObject$getProperties()
rSharp::NetObject$getStaticFields()
rSharp::NetObject$getStaticMethods()
rSharp::NetObject$getStaticProperties()
rSharp::NetObject$print()
rSharp::NetObject$set()
Method new()
Initialize a new instance of the class
Usage
DotNetWrapper$new(netObject)
Arguments
netObject
An
rSharp::NetObject
object.
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