ComponentCreator<TComponent> Class
Team Foundation Server component creator.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Framework.Server.ComponentCreator<TComponent>
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public NotInheritable Class ComponentCreator(Of TComponent As {New, TeamFoundationSqlResourceComponent}) _
Implements IComponentCreator
public sealed class ComponentCreator<TComponent> : IComponentCreator
where TComponent : new(), TeamFoundationSqlResourceComponent
generic<typename TComponent>
where TComponent : gcnew(), TeamFoundationSqlResourceComponent
public ref class ComponentCreator sealed : IComponentCreator
[<Sealed>]
type ComponentCreator<'TComponent when 'TComponent : new() and TeamFoundationSqlResourceComponent> =
class
interface IComponentCreator
end
JScript does not support generic types or methods.
Type Parameters
- TComponent
The type of component to create.
The ComponentCreator<TComponent> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ComponentCreator<TComponent>(Int32) | Initializes a new instance of the ComponentCreator class. | |
ComponentCreator<TComponent>(Int32, Boolean) | Initializes a new instance of the ComponentCreator class. |
Top
Properties
Name | Description | |
---|---|---|
IsTransitionCreator | ||
ServiceVersion | The version of the component/service that this class creates. |
Top
Methods
Name | Description | |
---|---|---|
Create(TeamFoundationRequestContext, String) | Creates a component using request context and the database category. | |
Create(String, Int32, Int32, Int32) | Creates a component using connection string. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
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.