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 | |
---|---|---|
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.