Share via


FlavoredProjectFactory Class

A factory for creating flavored projects, otherwise known as project subtypes.

This API is not CLS-compliant. The CLS-compliant alternative is [None].

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Shell.Flavor.FlavoredProjectFactory

Namespace:  Microsoft.VisualStudio.Shell.Flavor
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public MustInherit Class FlavoredProjectFactory _
    Implements IVsAggregatableProjectFactory, IVsProjectFactory
[CLSCompliantAttribute(false)]
public abstract class FlavoredProjectFactory : IVsAggregatableProjectFactory, 
    IVsProjectFactory
[CLSCompliantAttribute(false)]
public ref class FlavoredProjectFactory abstract : IVsAggregatableProjectFactory, 
    IVsProjectFactory
[<AbstractClass>]
[<CLSCompliantAttribute(false)>]
type FlavoredProjectFactory =  
    class
        interface IVsAggregatableProjectFactory
        interface IVsProjectFactory
    end
public abstract class FlavoredProjectFactory implements IVsAggregatableProjectFactory, IVsProjectFactory

The FlavoredProjectFactory type exposes the following members.

Constructors

  Name Description
Public method FlavoredProjectFactory Initializes a new instance of FlavoredProjectFactory.

Top

Properties

  Name Description
Protected property serviceProvider Gets the project's service provider.

Top

Methods

  Name Description
Protected method CanCreateProject Determines whether or not the project can be created with the supplied parameters.
Protected method CreateProject Creates a project.
Protected method Dispose Disposes the service provider.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (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.)
Protected method Initialize Initializes the project factory.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method PreCreateForOuter Creates an instance of the project.
Protected method ProjectTypeGuids Gets the set of project type GUIDs from the project file.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IVsAggregatableProjectFactory.GetAggregateProjectType Gets a semicolon-delimited string of project type GUIDs.
Explicit interface implemetationPrivate method IVsAggregatableProjectFactory.PreCreateForOuter Creates an aggregatable inner project.
Explicit interface implemetationPrivate method IVsProjectFactory.CanCreateProject Determines whether or not the project can be created.
Explicit interface implemetationPrivate method IVsProjectFactory.Close Disposes this object.
Explicit interface implemetationPrivate method IVsProjectFactory.CreateProject Creates a flavored project.
Explicit interface implemetationPrivate method IVsProjectFactory.SetSite Initializes the project and allows the project to obtain services proffered by the environment.

Top

Remarks

This class has been deprecated. Flavored projects should inherit from FlavoredProjectFactoryBase instead.

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.VisualStudio.Shell.Flavor Namespace