public static BucketExportHandler GetInstance(ExportHandler eh) { return(new BucketExportHandler(eh.BlipClientFactory) { Node = eh.Node, Authorization = eh.Authorization, OutputFilePath = eh.OutputFilePath, Model = eh.Model, Verbose = eh.Verbose }); }
public static NLPExportHandler GetInstance(ExportHandler eh) { return(new NLPExportHandler(eh.BlipClientFactory, eh.ExcelGeneratorService) { Node = eh.Node, Authorization = eh.Authorization, OutputFilePath = eh.OutputFilePath, Model = eh.Model, Verbose = eh.Verbose, Excel = eh.Excel }); }