FlavoredProject Class

 

A project that is a subtype or flavor of an inner project. All methods by default delegate to the inner project. Non-default behaviors should be handled by the flavored project.

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


public abstract class FlavoredProject : CProjectAggregatorClass, 
	IVsAggregatableProject, IServiceProvider, IVsHierarchy, IVsUIHierarchy, 
	IOleCommandTarget, IVsTrackProjectDocumentsEvents2

NameDescription
System_CAPS_pubmethodFlavoredProject()

When overridden in a derived class, initializes an instance of the FlavoredProject class.

NameDescription
System_CAPS_protmethodAdviseHierarchyEvents(IVsHierarchyEvents)

Subscribes to hierarchy events.

System_CAPS_protmethodClose()

Closes and cleans up a hierarchy once the environment determines that it is no longer used.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodExecCommand(UInt32, Guid, UInt32, UInt32, IntPtr, IntPtr)

Executes a command on a specific item within a UI hierarchy window, or on the hierarchy itself.

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_protmethodGetCanonicalName(UInt32, String)

Gets the unique name associated with an item in the hierarchy. Used for workspace persistence, such as remembering window positions.

System_CAPS_protmethodGetGuidProperty(UInt32, Int32)

Gets properties whose values are GUIDs.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_protmethodGetNestedHierarchy(UInt32, Guid, IntPtr, UInt32)

Determines whether or not a node is a nested hierarchy.

System_CAPS_protmethodGetProperty(UInt32, Int32, Object)

Gets the value of a property for a given node.

System_CAPS_protmethodGetSite()

Gets the service provider from which to access the services.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodInitializeForOuter(String, String, String, UInt32, Guid, Boolean)

Called by the outer project subtype to have the owned inner project subtype do its initialization work.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodOnAggregationComplete()

Subscribes to IVsTrackProjectDocumentsEvents2 events. It is not required to flavor a project but makes it easier for derived classes to subscribe to these events.

System_CAPS_protmethodParseCanonicalName(String, UInt32)

Returns the identifier of the hierarchy item, given its canonical name.

System_CAPS_protmethodQueryClose()

Determines whether the hierarchy can be closed.

System_CAPS_protmethodQueryStatusCommand(UInt32, Guid, UInt32, OLECMD[], IntPtr)

Gets the status of the specified commands.

System_CAPS_protmethodSetGuidProperty(UInt32, Int32, Guid)

Sets properties whose values are GUIDs.

System_CAPS_pubmethodSetInner(Object)

Sets the inner project.(Inherited from CProjectAggregatorClass.)

System_CAPS_protmethodSetInnerProject(Object)

Sets up the interfaces and menu commands for the inner project.

System_CAPS_protmethodSetProperty(UInt32, Int32, Object)

Sets properties of a specific node or of the hierarchy.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_protmethodUnadviseHierarchyEvents(UInt32)

Disables client notification of hierarchy events.

System_CAPS_protmethodUnused0()

A placeholder for a future method.

System_CAPS_protmethodUnused1()

A placeholder for a future method.

System_CAPS_protmethodUnused2()

A placeholder for a future method.

System_CAPS_protmethodUnused3()

A placeholder for a future method.

System_CAPS_protmethodUnused4()

A placeholder for a future method.

NameDescription
System_CAPS_protfieldinnerOleCommandTarget

The IOleCommandTarget interface of the inner project.

System_CAPS_protfieldinnerVsAggregatableProject

The IVsAggregatableProject of the inner project.

System_CAPS_protfieldinnerVsHierarchy

The IVsHierarchy interface of the inner project.

System_CAPS_protfieldinnerVsUIHierarchy

The IVsUIHierarchy interface of the inner project.

System_CAPS_protfieldserviceProvider

The service provider of the project.

NameDescription
System_CAPS_pubeventDirectoryAdded

Raised after a directory has been added to the project.

System_CAPS_pubeventDirectoryRemoved

Raised after a directory has been removed from the project.

System_CAPS_pubeventDirectoryRenamed

Raised after a directory in the project has been renamed.

System_CAPS_pubeventFileAdded

Raised after a file has been added to the project.

System_CAPS_pubeventFileRemoved

Raised after a file has been removed from the project.

System_CAPS_pubeventFileRenamed

Raised after a file in the project has been renamed.

System_CAPS_pubeventSccStatusChanged

Raised after the source code control status of an item in the project has changed.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIOleCommandTarget.Exec(Guid, UInt32, UInt32, IntPtr, IntPtr)

Executes a specified command or displays help for a command.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIOleCommandTarget.QueryStatus(Guid, UInt32, OLECMD[], IntPtr)

Queries the object for the status of one or more commands.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsAggregatableProject.GetAggregateProjectTypeGuids(String)

Gets the list of project type GUIDs that make up the aggregate project. This method should be delegated to the innermost project within the system of aggregated project subtypes.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsAggregatableProject.InitializeForOuter(String, String, String, UInt32, Guid, IntPtr, Int32)

Called by the outer project subtype to have the inner project subtype do its initialization work.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsAggregatableProject.OnAggregationComplete()

Called to continue initialization after aggregation is complete.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsAggregatableProject.SetAggregateProjectTypeGuids(String)

Updates the list of GUIDs that are persisted in the project file of the base project.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsAggregatableProject.SetInnerProject(Object)

Sets up the inner project as well as the necessary interface pointers.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsHierarchy.AdviseHierarchyEvents(IVsHierarchyEvents, UInt32)

Subscribes to hierarchy events.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsHierarchy.Close()

Closes and cleans up a hierarchy once the environment determines that it is no longer used.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsHierarchy.GetCanonicalName(UInt32, String)

Gets a unique name for an item in the hierarchy. Used for workspace persistence, such as remembering window positions.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsHierarchy.GetGuidProperty(UInt32, Int32, Guid)

Gets properties whose values are GUIDs.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsHierarchy.GetNestedHierarchy(UInt32, Guid, IntPtr, UInt32)

Determines whether or not a node is a nested hierarchy.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsHierarchy.GetProperty(UInt32, Int32, Object)

Gets properties of a given node or of the hierarchy.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsHierarchy.GetSite(IServiceProvider)

Gets the service provider from which to access the services.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsHierarchy.ParseCanonicalName(String, UInt32)

Returns the identifier of the hierarchy item, given its canonical name.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsHierarchy.QueryClose(Int32)

Determines whether the hierarchy can be closed.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsHierarchy.SetGuidProperty(UInt32, Int32, Guid)

Sets properties whose values are GUIDs.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsHierarchy.SetProperty(UInt32, Int32, Object)

Sets properties of a specific node or of the hierarchy.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsHierarchy.SetSite(IServiceProvider)

Sets the service provider from which to access the services.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsHierarchy.UnadviseHierarchyEvents(UInt32)

Disables client notification of hierarchy events.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsHierarchy.Unused0()

A placeholder for a future method.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsHierarchy.Unused1()

A placeholder for a future method.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsHierarchy.Unused2()

A placeholder for a future method.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsHierarchy.Unused3()

A placeholder for a future method.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsHierarchy.Unused4()

A placeholder for a future method.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsTrackProjectDocumentsEvents2.OnAfterAddDirectoriesEx(Int32, Int32, IVsProject[], Int32[], String[], VSADDDIRECTORYFLAGS[])

Raised after directories have been added to a project.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsTrackProjectDocumentsEvents2.OnAfterAddFilesEx(Int32, Int32, IVsProject[], Int32[], String[], VSADDFILEFLAGS[])

Raised after files have been added to a project.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsTrackProjectDocumentsEvents2.OnAfterRemoveDirectories(Int32, Int32, IVsProject[], Int32[], String[], VSREMOVEDIRECTORYFLAGS[])

Raised after a directory was removed from the project.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsTrackProjectDocumentsEvents2.OnAfterRemoveFiles(Int32, Int32, IVsProject[], Int32[], String[], VSREMOVEFILEFLAGS[])

Raised after files have been removed from the project.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsTrackProjectDocumentsEvents2.OnAfterRenameDirectories(Int32, Int32, IVsProject[], Int32[], String[], String[], VSRENAMEDIRECTORYFLAGS[])

Raised after a directory has been moved or renamed.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsTrackProjectDocumentsEvents2.OnAfterRenameFiles(Int32, Int32, IVsProject[], Int32[], String[], String[], VSRENAMEFILEFLAGS[])

Raised after files have been moved or renamed.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsTrackProjectDocumentsEvents2.OnAfterSccStatusChanged(Int32, Int32, IVsProject[], Int32[], String[], UInt32[])

This method is called by the source code control component to inform listeners that source control status has changed. Do not call this method.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsTrackProjectDocumentsEvents2.OnQueryAddDirectories(IVsProject, Int32, String[], VSQUERYADDDIRECTORYFLAGS[], VSQUERYADDDIRECTORYRESULTS[], VSQUERYADDDIRECTORYRESULTS[])

Raised by a project to determine whether directories can be added to the project. Not used.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsTrackProjectDocumentsEvents2.OnQueryAddFiles(IVsProject, Int32, String[], VSQUERYADDFILEFLAGS[], VSQUERYADDFILERESULTS[], VSQUERYADDFILERESULTS[])

Raised to determine whether files can be added to the project. Not used.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsTrackProjectDocumentsEvents2.OnQueryRemoveDirectories(IVsProject, Int32, String[], VSQUERYREMOVEDIRECTORYFLAGS[], VSQUERYREMOVEDIRECTORYRESULTS[], VSQUERYREMOVEDIRECTORYRESULTS[])

Raised to determine whether directories can be removed from the project. Not used.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsTrackProjectDocumentsEvents2.OnQueryRemoveFiles(IVsProject, Int32, String[], VSQUERYREMOVEFILEFLAGS[], VSQUERYREMOVEFILERESULTS[], VSQUERYREMOVEFILERESULTS[])

Raised to determine whether files can be removed from the project. Not used.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsTrackProjectDocumentsEvents2.OnQueryRenameDirectories(IVsProject, Int32, String[], String[], VSQUERYRENAMEDIRECTORYFLAGS[], VSQUERYRENAMEDIRECTORYRESULTS[], VSQUERYRENAMEDIRECTORYRESULTS[])

Raised to determine whether directories can be renamed in the project. Not used.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsTrackProjectDocumentsEvents2.OnQueryRenameFiles(IVsProject, Int32, String[], String[], VSQUERYRENAMEFILEFLAGS[], VSQUERYRENAMEFILERESULTS[], VSQUERYRENAMEFILERESULTS[])

Raised to determine whether files can be renamed in the project. Not used.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIHierarchy.AdviseHierarchyEvents(IVsHierarchyEvents, UInt32)

Subscribes to hierarchy events.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIHierarchy.Close()

Closes the project and cleans up its resources once the environment determines that it is no longer used.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIHierarchy.ExecCommand(UInt32, Guid, UInt32, UInt32, IntPtr, IntPtr)

Executes a command on a specific item within a UI hierarchy window, or on the hierarchy itself.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIHierarchy.GetCanonicalName(UInt32, String)

Gets the unique name associated with an item in the hierarchy. Used for workspace persistence, such as remembering window positions.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIHierarchy.GetGuidProperty(UInt32, Int32, Guid)

Gets properties whose values are GUIDs.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIHierarchy.GetNestedHierarchy(UInt32, Guid, IntPtr, UInt32)

Determines whether or not a node is a nested hierarchy.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIHierarchy.GetProperty(UInt32, Int32, Object)

Gets the value of a property for a given node.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIHierarchy.GetSite(IServiceProvider)

Gets the service provider from which to access the services.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIHierarchy.ParseCanonicalName(String, UInt32)

Returns the identifier of the hierarchy item, given its canonical name.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIHierarchy.QueryClose(Int32)

Determines whether the hierarchy can be closed.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIHierarchy.QueryStatusCommand(UInt32, Guid, UInt32, OLECMD[], IntPtr)

Gets the status of the specified commands.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIHierarchy.SetGuidProperty(UInt32, Int32, Guid)

Sets properties whose values are GUIDs.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIHierarchy.SetProperty(UInt32, Int32, Object)

Sets properties of a specific node or of the hierarchy.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIHierarchy.SetSite(IServiceProvider)

Sets the service provider from which to access the services.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIHierarchy.UnadviseHierarchyEvents(UInt32)

Disables client notification of hierarchy events.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIHierarchy.Unused0()

A placeholder for a future method.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIHierarchy.Unused1()

A placeholder for a future method.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIHierarchy.Unused2()

A placeholder for a future method.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIHierarchy.Unused3()

A placeholder for a future method.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIHierarchy.Unused4()

A placeholder for a future method.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIServiceProvider.GetService(Type)

Gets the service of the specified type.

NameDescription
System_CAPS_pubmethodEnumImportingProjects()

Enumerates all the projects that are importing the shared assets owned by the given Shared Assets Project hierarchy.(Defined by SharedProjectUtilities.)

System_CAPS_pubmethodEnumOwningProjectsOfSharedAssets()

The Shared Assets Projects that own and manage the shared assets imported by the given project.(Defined by SharedProjectUtilities.)

System_CAPS_pubmethodGetActiveProjectContext()

Gets the active project context.(Defined by SharedProjectUtilities.)

System_CAPS_pubmethodGetSharedItemsImportFullPaths()

Gets the full paths of the "Shared.items" files imported by the given project.(Defined by SharedProjectUtilities.)

System_CAPS_pubmethodIsCapabilityMatch(String)

Overloaded. Checks whether a given project matches the requirements prescribed in an AppliesTo expression.(Defined by PackageUtilities.)

System_CAPS_pubmethodIsProjectImportingSharedAssets()

Determines whether the given project imports shared assets.(Defined by SharedProjectUtilities.)

System_CAPS_pubmethodIsSharedAssetsProject()

Determines whether the given project is a Shared Assets Project.(Defined by SharedProjectUtilities.)

System_CAPS_pubmethodSetActiveProjectContext(IVsHierarchy)

Sets the active project context.(Defined by SharedProjectUtilities.)

For more information on flavored projects, see Project Subtypes.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: