PreEvaluation.WithScript Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Microsoft.FSharp.Core.CompilationArgumentCounts(new System.Int32[] { 1, 1 })]
public static Microsoft.Quantum.QsCompiler.SyntaxTree.QsCompilation WithScript (Func<System.Collections.Immutable.ImmutableDictionary<Microsoft.Quantum.QsCompiler.SyntaxTree.QsQualifiedName,Microsoft.Quantum.QsCompiler.SyntaxTree.QsCallable>,System.Collections.Generic.IEnumerable<Microsoft.Quantum.QsCompiler.Experimental.TransformationBase>> script, Microsoft.Quantum.QsCompiler.SyntaxTree.QsCompilation arg);
[<Microsoft.FSharp.Core.CompilationArgumentCounts(new System.Int32[] { 1, 1 })>]
static member WithScript : Func<System.Collections.Immutable.ImmutableDictionary<Microsoft.Quantum.QsCompiler.SyntaxTree.QsQualifiedName, Microsoft.Quantum.QsCompiler.SyntaxTree.QsCallable>, seq<Microsoft.Quantum.QsCompiler.Experimental.TransformationBase>> -> Microsoft.Quantum.QsCompiler.SyntaxTree.QsCompilation -> Microsoft.Quantum.QsCompiler.SyntaxTree.QsCompilation
Public Shared Function WithScript (script As Func(Of ImmutableDictionary(Of QsQualifiedName, QsCallable), IEnumerable(Of TransformationBase)), arg As QsCompilation) As QsCompilation
Parameters
- arg
- QsCompilation
Returns
- Attributes
-
Microsoft.FSharp.Core.CompilationArgumentCountsAttribute