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
Public method ComponentCreator<TComponent>(Int32) Initializes a new instance of the ComponentCreator class.
Public method ComponentCreator<TComponent>(Int32, Boolean) Initializes a new instance of the ComponentCreator class.

Top

Properties

Name Description
Public property IsTransitionCreator
Public property ServiceVersion The version of the component/service that this class creates.

Top

Methods

Name Description
Public method Create(TeamFoundationRequestContext, String) Creates a component using request context and the database category.
Public method Create(String, Int32, Int32, Int32) Creates a component using connection string.
Public method CreateHttp
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method 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.

See Also

Reference

Microsoft.TeamFoundation.Framework.Server Namespace