/// <summary> /// Binds a transform. /// </summary> /// <param name="transform">The transform to bind.</param> /// <param name="outputPath">The transform to create.</param> private void BindTransform(Output transform, string outputPath) { BindTransformCommand command = new BindTransformCommand(); command.Extensions = this.extensions; command.FileManagers = this.fileManagers; command.TableDefinitions = this.core.TableDefinitions; command.TempFilesLocation = this.TempFilesLocation; command.Transform = transform; command.OutputPath = outputPath; command.Execute(); }
public IBindResult Bind(IBindContext context) { #if TODO_PATCHING var command = new BindTransformCommand(); command.Extensions = context.Extensions; command.TempFilesLocation = context.IntermediateFolder; command.Transform = context.IntermediateRepresentation; command.OutputPath = context.OutputPath; command.Execute(); return(new BindResult(Array.Empty <FileTransfer>(), Array.Empty <string>())); #endif throw new NotImplementedException(); }