Delen via


ComposablePartDefinition.IsSharingBoundaryInferred Property

Definition

Gets a value indicating whether the sharing boundary must be inferred from what is imported.

public bool IsSharingBoundaryInferred { get; }
member this.IsSharingBoundaryInferred : bool
Public ReadOnly Property IsSharingBoundaryInferred As Boolean

Property Value

Remarks

This is true when the part was discovered by MEFv1 attributes, since these attributes do not have a way to convey a sharing boundary. This is false when the part is discovered by MEFv2 attributes, which have a SharedAttribute(string) that they can use to specify the value. When this is true, the SharingBoundary property is set to Empty.

Applies to