Class GeoJsonWrapper
Provides the input/output mapping to process GeoJson files
This mapper can be configured by using Mars.Core.Data.Wrapper.File.GeoJsonWrapper.GeoJsonOptions
of the SimulationConfig.
Inheritance
System.Object
GeoJsonWrapper
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mars.Core.Data.Wrapper.File
Assembly: Mars.Core.dll
Syntax
public sealed class GeoJsonWrapper : AbstractFileWrapper<GeoJsonOptions>, IWrapper, IDisposable
Constructors
| Improve this Doc View SourceGeoJsonWrapper(IConfigLoader, ISerializerManager, GeoJsonOptions)
Creates a new instance of ths AbstractWrapper<TOptions>, implementing
the IWrapper contract.
Declaration
public GeoJsonWrapper(IConfigLoader config, ISerializerManager serializer, GeoJsonOptions options)
Parameters
Type | Name | Description |
---|---|---|
IConfigLoader | config | The result adapter root inputConfiguration object. |
ISerializerManager | serializer | The serializer endpoint to access the model without any reflection. |
GeoJsonOptions | options | The options object describing input/output specifics. |
Methods
| Improve this Doc View SourceSaveSnapshot(Int64, IGeneratedLayerLogger)
This method applies the write operation of the specified
for the
associated to the
.
Declaration
public override void SaveSnapshot(long currentTick, IGeneratedLayerLogger layerProxy)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | currentTick | The current simulation tick |
IGeneratedLayerLogger | layerProxy | The considered layer instance to write a snapshot for |
Overrides
Exceptions
Type | Condition |
---|---|
System.ApplicationException | No implementation |
TearDown()
Indicates that the simulation is now finished with computing.
Declaration
public override void TearDown()
Overrides
Implements
System.IDisposable