Поделиться через


RequestContextExtensions Class

Common extensions to TeamFoundationRequestContext

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Server.RequestContextExtensions

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

Syntax

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

Methods

  Name Description
Public methodStatic member CreateComponent<TInterface, TComponent>(TeamFoundationRequestContext) Creates a component that can be used to communicate to the current version of the database. Construct via an interface so that it is more trivially mock/stubbable using Fakes.
Public methodStatic member CreateComponent<TInterface, TComponent>(TeamFoundationRequestContext, String) Creates a component that can be used to communicate to the current version of the database. Construct via an interface so that it is more trivially mock/stubbable using Fakes.

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