DataExportMapperHelperAddCommands Method |
Adds the set of ExportService items as MapperCommands to the given Mapper
Namespace:
NetQuarry.Data
Assembly:
EAP.Mapper (in EAP.Mapper.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static void AddCommands(
IMapper mapper,
IExtension ext,
List<IServiceInfo> exportServices,
bool isLegacy = false
)
Public Shared Sub AddCommands (
mapper As IMapper,
ext As IExtension,
exportServices As List(Of IServiceInfo),
Optional isLegacy As Boolean = false
)
Parameters
- mapper
- Type: NetQuarry.DataIMapper
The current Mapper - ext
- Type: NetQuarryIExtension
The Extension information for the Extension calling this code. In practice, this is either the DataExport or ExcelExport mapper extensions. - exportServices
- Type: System.Collections.GenericListIServiceInfo
The list of Export Services found in the system - isLegacy (Optional)
- Type: SystemBoolean
If true, we should assume the system is using the old, non-service-based method of adding the Excel Export functionality to the mapper.
See Also