C# Class csCommon.Types.DataServer.PoI.IO.PoiServiceExporterUtil

Exporting one file format from another, with a PoiService as content, can have a common implementation. This is static so that any classes using this code can still extend other classes.
Mostrar archivo Open project: TNOCS/csTouch

Public Methods

Method Description
ConvertFile ( FileLocation source, FileLocation>.IExporter exporter, FileLocation destination = null ) : IOResult
ConvertFile ( FileLocation source, string>.IExporter exporter, FileLocation destination = null, bool includeGuid = false ) : IOResult
ExportPoiService ( PoiService data, string>.IExporter exporter, FileLocation destination = null, bool includeGuid = false ) : IOResult
GetOutputFileLocation ( FileLocation file, PoiService poiService, string extension, bool includeGuid ) : FileLocation
GetOutputFileLocation ( PoiService poiService, string extension, bool includeGuid ) : FileLocation

Private Methods

Method Description
ConvertFile ( FileLocation source, PoiService poiService, string>.IExporter exporter, FileLocation destination, bool includeGuid ) : IOResult

Method Details

ConvertFile() public static method

public static ConvertFile ( FileLocation source, FileLocation>.IExporter exporter, FileLocation destination = null ) : IOResult
source csCommon.Utils.IO.FileLocation
exporter FileLocation>.IExporter
destination csCommon.Utils.IO.FileLocation
return IOResult

ConvertFile() public static method

public static ConvertFile ( FileLocation source, string>.IExporter exporter, FileLocation destination = null, bool includeGuid = false ) : IOResult
source csCommon.Utils.IO.FileLocation
exporter string>.IExporter
destination csCommon.Utils.IO.FileLocation
includeGuid bool
return IOResult

ExportPoiService() public static method

public static ExportPoiService ( PoiService data, string>.IExporter exporter, FileLocation destination = null, bool includeGuid = false ) : IOResult
data PoiService
exporter string>.IExporter
destination csCommon.Utils.IO.FileLocation
includeGuid bool
return IOResult

GetOutputFileLocation() public static method

public static GetOutputFileLocation ( FileLocation file, PoiService poiService, string extension, bool includeGuid ) : FileLocation
file csCommon.Utils.IO.FileLocation
poiService PoiService
extension string
includeGuid bool
return csCommon.Utils.IO.FileLocation

GetOutputFileLocation() public static method

public static GetOutputFileLocation ( PoiService poiService, string extension, bool includeGuid ) : FileLocation
poiService PoiService
extension string
includeGuid bool
return csCommon.Utils.IO.FileLocation