共用方式為


FlavoredProjectFactory Members

Include Protected Members
Include Inherited Members

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

The FlavoredProjectFactory type exposes the following members.

Constructors

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

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 attempt to free resources and perform other cleanup operations before the Object 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

Properties

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

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

See Also

Reference

FlavoredProjectFactory Class

Microsoft.VisualStudio.Shell.Flavor Namespace