Class AscWrapper
Provides the input/output mapping to process ASCII Grid (*.asc) files.
Inheritance
System.Object
AscWrapper
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 class AscWrapper : AbstractFileWrapper<AscOptions>, IWrapper, IDisposable
Constructors
| Improve this Doc View SourceAscWrapper(IConfigLoader, ISerializerManager, AscOptions)
Creates a new instance of ths AbstractWrapper, implementing
the IWrapper contract.
Declaration
public AscWrapper(IConfigLoader config, ISerializerManager serializer, AscOptions 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. |
AscOptions | options | The options object containing all configurations for the ASC output. |
Methods
| Improve this Doc View SourceSaveSnapshot(Int64, IGeneratedLayerLogger)
Writes the actual content of the layer instance with provided
layerTypeProxy
and layerProxy
.
Each layer can have individual output, therefore the the proxy is used to encapsulate this transformation.
Declaration
public override void SaveSnapshot(long currentTick, IGeneratedLayerLogger layerProxy)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | currentTick | |
IGeneratedLayerLogger | layerProxy |
Overrides
Implements
System.IDisposable