共用方式為


RequestContextExtensions.CreateComponent Method

Include Protected Members
Include Inherited Members

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  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

See Also

Reference

RequestContextExtensions Class

Microsoft.TeamFoundation.Framework.Server Namespace