FlavoredProjectBase Class
A project that is a subtype/flavor of an inner project.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Shell.Flavor.FlavoredProjectBase
Namespace: Microsoft.VisualStudio.Shell.Flavor
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaración
Public MustInherit Class FlavoredProjectBase _
Implements IVsAggregatableProjectCorrected, IServiceProvider, IVsUIHierarchy, IVsHierarchy, _
IOleCommandTarget
public abstract class FlavoredProjectBase : IVsAggregatableProjectCorrected,
IServiceProvider, IVsUIHierarchy, IVsHierarchy, IOleCommandTarget
The FlavoredProjectBase type exposes the following members.
Constructors
Name | Description | |
---|---|---|
FlavoredProjectBase |
Top
Methods
Name | Description | |
---|---|---|
AdviseHierarchyEvents | ||
Close | ||
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
ExecCommand | ||
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FreeInterfaces | ||
GetCanonicalName | ||
GetComInterface<Interface_T> | A project derived from this base class will be aggregated with a native COM component (the ProjectAggregator object) that can also aggregate an inner project in case of flavoring. | |
GetGuidProperty | ||
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetNestedHierarchy | ||
GetProperty | ||
GetSite | ||
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
InitializeForOuter | Allows the project to initialize itself. At this point it possible to call the inner project. This method also allows canceling the project creation process. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnAggregationComplete | This is called when all object in aggregation have received InitializeForOuter calls. At this point the aggregation is complete and fully functional. | |
ParseCanonicalName | ||
QueryClose | ||
QueryStatusCommand | ||
SetGuidProperty | ||
SetInnerProject | This is were all QI for interface on the inner object should happen Then set the inner project wait for InitializeForOuter to be called to do the real initialization | |
SetProperty | ||
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UnadviseHierarchyEvents | ||
Unused0 | ||
Unused1 | ||
Unused2 | ||
Unused3 | ||
Unused4 |
Top
Events
Name | Description | |
---|---|---|
DirectoryAdded | Called after a directory was added to this project. | |
DirectoryRemoved | Called after a directory was remove from this project. | |
DirectoryRenamed | Called after a directory was renamed in this project. | |
FileAdded | Called after a file was added to this project. | |
FileRemoved | Called after a file was remove from this project. | |
FileRenamed | Called after a file was renamed in this project. | |
SccStatusChanged | Called after the source code control status of a file in this project changed. |
Top
Extension Methods
Name | Description | |
---|---|---|
IsCapabilityMatch | (Defined by PackageUtilities.) |
Top
Fields
Name | Description | |
---|---|---|
_innerOleCommandTarget | ||
_innerVsAggregatableProject | ||
_innerVsHierarchy | ||
_innerVsUIHierarchy | ||
serviceProvider |
Top
Explicit Interface Implementations
Top
Remarks
The default behavior of all methods is to delegate to the inner project. For any behavior you want to change, simply handle the request yourself.
You must set the serviceProvider field on this class before attempting to load the project.
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.