From 2e4cf022ae0d633a45e24f39f137194b4ba7ce11 Mon Sep 17 00:00:00 2001 From: ahmedmmt <40493732+ahmedmmt@users.noreply.github.com> Date: Mon, 19 Oct 2020 00:03:49 +0200 Subject: [PATCH] Update TransformationInstruction.cs --- .../Instructions/TransformationInstruction.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BREPipelineFramework/BREPipelineFramework.SampleInstructions/Instructions/TransformationInstruction.cs b/BREPipelineFramework/BREPipelineFramework.SampleInstructions/Instructions/TransformationInstruction.cs index 4bc89a3..673c202 100644 --- a/BREPipelineFramework/BREPipelineFramework.SampleInstructions/Instructions/TransformationInstruction.cs +++ b/BREPipelineFramework/BREPipelineFramework.SampleInstructions/Instructions/TransformationInstruction.cs @@ -8,6 +8,7 @@ using Microsoft.BizTalk.Streaming; using BREPipelineFramework.Helpers.Tracing; using Microsoft.BizTalk.Component; +using Microsoft.XLANGs.BaseTypes; namespace BREPipelineFramework.SampleInstructions.Instructions { @@ -89,7 +90,7 @@ public void Execute(ref Microsoft.BizTalk.Message.Interop.IBaseMessage inmsg, Mi { XPathDocument input = new XPathDocument(inmsg.BodyPart.GetOriginalDataStream()); pc.ResourceTracker.AddResource(input); - dynamic transform = transformMetaData.Transform; + ITransform transform = transformMetaData.Transform; Stream output = new VirtualStream(); TraceManager.PipelineComponent.TraceInfo("{0} - Applying transformation {1} to the message", callToken, mapName);