Interface IOutputLogger
Marker interface for all result logger
Namespace: Mars.Core.Data
Assembly: Mars.Core.dll
Syntax
public interface IOutputLogger
Properties
| Improve this Doc View SourceConfigLoader
Gets or sets the config loader to access the simulation inputConfiguration
and the model description.
Declaration
IConfigLoader ConfigLoader { get; set; }
Property Value
Type | Description |
---|---|
IConfigLoader |
Context
Gets or sets the simulation context of this just-in-time compiled mapper.
Declaration
ISimulationContext Context { get; set; }
Property Value
Type | Description |
---|---|
ISimulationContext |
Culture
Gets or sets the culture used to serialize/deserialize data from/to the model
Declaration
CultureInfo Culture { get; set; }
Property Value
Type | Description |
---|---|
System.Globalization.CultureInfo |
Remarks
For example the decimal point can be replace by comma when
'es-ES' as the culture name is used instead.
|
Improve this Doc
View Source
HasOutputProperties
Gets the flag indicating that this proxy type has any kind of output
Declaration
bool HasOutputProperties { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Mapping
Gets the underlying inputConfiguration for this logger specifying individual or type-specific options
for serialization/deserialization
Declaration
TypeMapping Mapping { get; }
Property Value
Type | Description |
---|---|
TypeMapping |
OutputFrequency
Gets or sets the output group valid for each individual proxy
Default is 1
Declaration
int OutputFrequency { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
OutputTicks
The output ticks, when the result data of this instances shall be write out.
Default is always (null).
Declaration
ISet<long> OutputTicks { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ISet<System.Int64> |
ProxyKey
Gets or sets the unique integer type index.
Declaration
int ProxyKey { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Type
Gets the TypeElement describing the static semantics as properties, inherited types etc.
Declaration
TypeElement Type { get; set; }
Property Value
Type | Description |
---|---|
TypeElement |
TypeLogger
Gets or sets the type logger responsible for this proxy
Declaration
IGeneratedTypeLogger TypeLogger { get; set; }
Property Value
Type | Description |
---|---|
IGeneratedTypeLogger |
Methods
| Improve this Doc View SourceInitialize()
Performs a deferred initialization of this entity(-type) specific mapper.
This makes it possible to assign properties from outside an not during the
construction type of this JIT object (e.g., the concrete entity Type).
Declaration
void Initialize()
Remarks
This method should always be used when something have to be implemented within the constructor scope.