ComposablePartDefinition.IsSharingBoundaryInferred Property
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.
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.