FlavoredProjectFactory Class
A factory for creating flavored projects, otherwise known as project subtypes.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Shell.Flavor.FlavoredProjectFactory
Namespace: Microsoft.VisualStudio.Shell.Flavor
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣言
Public MustInherit Class FlavoredProjectFactory _
Implements IVsAggregatableProjectFactory, IVsProjectFactory
public abstract class FlavoredProjectFactory : IVsAggregatableProjectFactory,
IVsProjectFactory
The FlavoredProjectFactory type exposes the following members.
Constructors
Name | Description | |
---|---|---|
FlavoredProjectFactory | Initializes a new instance of FlavoredProjectFactory. |
Top
Properties
Name | Description | |
---|---|---|
serviceProvider | Gets the project's service provider. |
Top
Methods
Name | Description | |
---|---|---|
CanCreateProject | Determines whether or not the project can be created with the supplied parameters. | |
CreateProject | Creates a project. | |
Dispose | Disposes the service provider. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Initialize | Initializes the project factory. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
PreCreateForOuter | Creates an instance of the project. | |
ProjectTypeGuids | Gets the set of project type GUIDs from the project file. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IVsAggregatableProjectFactory.GetAggregateProjectType | Gets a semicolon-delimited string of project type GUIDs. | |
IVsAggregatableProjectFactory.PreCreateForOuter | Creates an aggregatable inner project. | |
IVsProjectFactory.CanCreateProject | Determines whether or not the project can be created. | |
IVsProjectFactory.Close | Disposes this object. | |
IVsProjectFactory.CreateProject | Creates a flavored project. | |
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.