Share via


PartCreationPolicyConstraint.GetRequiredCreationPolicyConstraints Method

Definition

Creates a set of constraints to apply to an import given its required part creation policy.

public static System.Collections.Immutable.ImmutableHashSet<Microsoft.VisualStudio.Composition.IImportSatisfiabilityConstraint> GetRequiredCreationPolicyConstraints (Microsoft.VisualStudio.Composition.CreationPolicy requiredCreationPolicy);
static member GetRequiredCreationPolicyConstraints : Microsoft.VisualStudio.Composition.CreationPolicy -> System.Collections.Immutable.ImmutableHashSet<Microsoft.VisualStudio.Composition.IImportSatisfiabilityConstraint>
Public Shared Function GetRequiredCreationPolicyConstraints (requiredCreationPolicy As CreationPolicy) As ImmutableHashSet(Of IImportSatisfiabilityConstraint)

Parameters

requiredCreationPolicy
CreationPolicy

Returns

Applies to