Delen via


TeamFoundationExtensionUtility Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Server.TeamFoundationExtensionUtility

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public NotInheritable Class TeamFoundationExtensionUtility
public static class TeamFoundationExtensionUtility
public ref class TeamFoundationExtensionUtility abstract sealed
[<AbstractClass>]
[<Sealed>]
type TeamFoundationExtensionUtility =  class end
public final class TeamFoundationExtensionUtility

The TeamFoundationExtensionUtility type exposes the following members.

Methods

  Name Description
Public methodStatic member LoadExtensions<T>(String, Boolean) Loads and instantiates classes of type T that are directly attributed with an ExportAttribute or inherit from a type attributed with an InheritedExportAttribute. The target classes must have a default constructor.
Public methodStatic member LoadExtensions<T>(TeamFoundationRequestContext, Boolean) Create plugins using the default plugin directory of the request context's service host.
Public methodStatic member LoadExtensionTypeMap<T> Get a mapping the full class name of an extension to the Type.

Top

Fields

  Name Description
Public fieldStatic member DefaultPluginPath The plugin path is a property of a service host instance. A TFS application may set the default path here so static contexts without a service host can retrieve the plugin path.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.Framework.Server Namespace