コード例 #1
0
ファイル: JsonDataExporter.cs プロジェクト: xiaowuwang/SQLPad
        public async Task <IDataExportContext> StartExportAsync(ExportOptions options, IReadOnlyList <ColumnHeader> columns, IDataExportConverter dataExportConverter, CancellationToken cancellationToken)
        {
            var exportContext = new JsonDataExportContext(options, columns, dataExportConverter);
            await exportContext.InitializeAsync(cancellationToken);

            return(exportContext);
        }
コード例 #2
0
		public async Task<IDataExportContext> StartExportAsync(ExportOptions options, IReadOnlyList<ColumnHeader> columns, IDataExportConverter dataExportConverter, CancellationToken cancellationToken)
		{
			var exportContext = new JsonDataExportContext(options, columns, dataExportConverter);
			await exportContext.InitializeAsync(cancellationToken);
			return exportContext;
		}