C# Class System.Composition.SharedAttribute

Inheritance: System.Composition.PartMetadataAttribute
显示文件 Open project: mikedn/runtime

Public Methods

Method Description
SharedAttribute ( )

Mark a part as globally shared.

SharedAttribute ( string sharingBoundaryName )

Construct a SharedAttribute for the specified boundary name.

Method Details

SharedAttribute() public method

Mark a part as globally shared.
public SharedAttribute ( )

SharedAttribute() public method

Construct a SharedAttribute for the specified boundary name.
public SharedAttribute ( string sharingBoundaryName )
sharingBoundaryName string The boundary outside of which this part is inaccessible.