SpecializationBundleProperties.Bundle<T> 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[] { 2, 1 })]
public static System.Collections.Generic.Dictionary<Microsoft.Quantum.QsCompiler.DataTypes.QsNullable<System.Collections.Immutable.ImmutableArray<Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType>>,System.Collections.Immutable.ImmutableDictionary<Microsoft.Quantum.QsCompiler.SyntaxTree.QsSpecializationKind,T>> Bundle<T> (Func<T,Microsoft.Quantum.QsCompiler.DataTypes.QsNullable<System.Collections.Immutable.ImmutableArray<Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType>>> getTypeArgs, Func<T,Microsoft.Quantum.QsCompiler.SyntaxTree.QsSpecializationKind> getKind, System.Collections.Generic.IEnumerable<T> specs);
[<Microsoft.FSharp.Core.CompilationArgumentCounts(new System.Int32[] { 2, 1 })>]
static member Bundle : Func<'T, Microsoft.Quantum.QsCompiler.DataTypes.QsNullable<System.Collections.Immutable.ImmutableArray<Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType>>> * Func<'T, Microsoft.Quantum.QsCompiler.SyntaxTree.QsSpecializationKind> -> seq<'T> -> System.Collections.Generic.Dictionary<Microsoft.Quantum.QsCompiler.DataTypes.QsNullable<System.Collections.Immutable.ImmutableArray<Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType>>, System.Collections.Immutable.ImmutableDictionary<Microsoft.Quantum.QsCompiler.SyntaxTree.QsSpecializationKind, 'T>>
Public Shared Function Bundle(Of T) (getTypeArgs As Func(Of T, QsNullable(Of ImmutableArray(Of ResolvedType))), getKind As Func(Of T, QsSpecializationKind), specs As IEnumerable(Of T)) As Dictionary(Of QsNullable(Of ImmutableArray(Of ResolvedType)), ImmutableDictionary(Of QsSpecializationKind, T))
Type Parameters
- T
Parameters
- getTypeArgs
- Func<T,QsNullable<ImmutableArray<ResolvedType>>>
- getKind
- Func<T,QsSpecializationKind>
- specs
- IEnumerable<T>
Returns
- Attributes
-
Microsoft.FSharp.Core.CompilationArgumentCountsAttribute