FlavoredProject Members

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.

The FlavoredProject type exposes the following members.

Constructors

  Name Description
Public method FlavoredProject When overridden in a derived class, initializes an instance of the FlavoredProject class.

Top

Methods

  Name Description
Protected method AdviseHierarchyEvents Subscribes to hierarchy events.
Protected method Close Closes and cleans up a hierarchy once the environment determines that it is no longer used.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method ExecCommand Executes a command on a specific item within a UI hierarchy window, or on the hierarchy itself.
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.)
Protected method GetCanonicalName Gets the unique name associated with an item in the hierarchy. Used for workspace persistence, such as remembering window positions.
Protected method GetGuidProperty Gets properties whose values are GUIDs.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Protected method GetNestedHierarchy Determines whether or not a node is a nested hierarchy.
Protected method GetProperty Gets the value of a property for a given node.
Protected method GetSite Gets the service provider from which to access the services.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method InitializeForOuter Called by the outer project subtype to have the owned inner project subtype do its initialization work.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnAggregationComplete Subscribes to IVsTrackProjectDocumentsEvents2 events. It is not required to flavor a project but makes it easier for derived classes to subscribe to these events.
Protected method ParseCanonicalName Returns the identifier of the hierarchy item, given its canonical name.
Protected method QueryClose Determines whether the hierarchy can be closed.
Protected method QueryStatusCommand Gets the status of the specified commands.
Protected method SetGuidProperty Sets properties whose values are GUIDs.
Public method SetInner (Inherited from CProjectAggregatorClass.)
Protected method SetInnerProject Sets up the interfaces and menu commands for the inner project.
Protected method SetProperty Sets properties of a specific node or of the hierarchy.
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)
Protected method UnadviseHierarchyEvents Disables client notification of hierarchy events.
Protected method Unused0 A placeholder for a future method.
Protected method Unused1 A placeholder for a future method.
Protected method Unused2 A placeholder for a future method.
Protected method Unused3 A placeholder for a future method.
Protected method Unused4 A placeholder for a future method.

Top

Fields

  Name Description
Protected field innerOleCommandTarget The IOleCommandTarget interface of the inner project.
Protected field innerVsAggregatableProject The IVsAggregatableProject of the inner project.
Protected field innerVsHierarchy The IVsHierarchy interface of the inner project.
Protected field innerVsUIHierarchy The IVsUIHierarchy interface of the inner project.
Protected field serviceProvider The service provider of the project.

Top

Events

  Name Description
Public event DirectoryAdded Raised after a directory has been added to the project.
Public event DirectoryRemoved Raised after a directory has been removed from the project.
Public event DirectoryRenamed Raised after a directory in the project has been renamed.
Public event FileAdded Raised after a file has been added to the project.
Public event FileRemoved Raised after a file has been removed from the project.
Public event FileRenamed Raised after a file in the project has been renamed.
Public event SccStatusChanged Raised after the source code control status of an item in the project has changed.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IVsHierarchy.AdviseHierarchyEvents
Explicit interface implemetationPrivate method IVsUIHierarchy.AdviseHierarchyEvents
Explicit interface implemetationPrivate method IVsHierarchy.Close
Explicit interface implemetationPrivate method IVsUIHierarchy.Close
Explicit interface implemetationPrivate method IOleCommandTarget.Exec
Explicit interface implemetationPrivate method IVsUIHierarchy.ExecCommand
Explicit interface implemetationPrivate method IVsAggregatableProject.GetAggregateProjectTypeGuids
Explicit interface implemetationPrivate method IVsHierarchy.GetCanonicalName
Explicit interface implemetationPrivate method IVsUIHierarchy.GetCanonicalName
Explicit interface implemetationPrivate method IVsHierarchy.GetGuidProperty
Explicit interface implemetationPrivate method IVsUIHierarchy.GetGuidProperty
Explicit interface implemetationPrivate method IVsHierarchy.GetNestedHierarchy
Explicit interface implemetationPrivate method IVsUIHierarchy.GetNestedHierarchy
Explicit interface implemetationPrivate method IVsHierarchy.GetProperty
Explicit interface implemetationPrivate method IVsUIHierarchy.GetProperty
Explicit interface implemetationPrivate method IServiceProvider.GetService
Explicit interface implemetationPrivate method IVsHierarchy.GetSite
Explicit interface implemetationPrivate method IVsUIHierarchy.GetSite
Explicit interface implemetationPrivate method IVsAggregatableProject.InitializeForOuter
Explicit interface implemetationPrivate method IVsTrackProjectDocumentsEvents2.OnAfterAddDirectoriesEx
Explicit interface implemetationPrivate method IVsTrackProjectDocumentsEvents2.OnAfterAddFilesEx
Explicit interface implemetationPrivate method IVsTrackProjectDocumentsEvents2.OnAfterRemoveDirectories
Explicit interface implemetationPrivate method IVsTrackProjectDocumentsEvents2.OnAfterRemoveFiles
Explicit interface implemetationPrivate method IVsTrackProjectDocumentsEvents2.OnAfterRenameDirectories
Explicit interface implemetationPrivate method IVsTrackProjectDocumentsEvents2.OnAfterRenameFiles
Explicit interface implemetationPrivate method IVsTrackProjectDocumentsEvents2.OnAfterSccStatusChanged
Explicit interface implemetationPrivate method IVsAggregatableProject.OnAggregationComplete
Explicit interface implemetationPrivate method IVsTrackProjectDocumentsEvents2.OnQueryAddDirectories
Explicit interface implemetationPrivate method IVsTrackProjectDocumentsEvents2.OnQueryAddFiles
Explicit interface implemetationPrivate method IVsTrackProjectDocumentsEvents2.OnQueryRemoveDirectories
Explicit interface implemetationPrivate method IVsTrackProjectDocumentsEvents2.OnQueryRemoveFiles
Explicit interface implemetationPrivate method IVsTrackProjectDocumentsEvents2.OnQueryRenameDirectories
Explicit interface implemetationPrivate method IVsTrackProjectDocumentsEvents2.OnQueryRenameFiles
Explicit interface implemetationPrivate method IVsHierarchy.ParseCanonicalName
Explicit interface implemetationPrivate method IVsUIHierarchy.ParseCanonicalName
Explicit interface implemetationPrivate method IVsHierarchy.QueryClose
Explicit interface implemetationPrivate method IVsUIHierarchy.QueryClose
Explicit interface implemetationPrivate method IOleCommandTarget.QueryStatus
Explicit interface implemetationPrivate method IVsUIHierarchy.QueryStatusCommand
Explicit interface implemetationPrivate method IVsAggregatableProject.SetAggregateProjectTypeGuids
Explicit interface implemetationPrivate method IVsHierarchy.SetGuidProperty
Explicit interface implemetationPrivate method IVsUIHierarchy.SetGuidProperty
Explicit interface implemetationPrivate method IVsAggregatableProject.SetInnerProject
Explicit interface implemetationPrivate method IVsHierarchy.SetProperty
Explicit interface implemetationPrivate method IVsUIHierarchy.SetProperty
Explicit interface implemetationPrivate method IVsHierarchy.SetSite
Explicit interface implemetationPrivate method IVsUIHierarchy.SetSite
Explicit interface implemetationPrivate method IVsHierarchy.UnadviseHierarchyEvents
Explicit interface implemetationPrivate method IVsUIHierarchy.UnadviseHierarchyEvents
Explicit interface implemetationPrivate method IVsHierarchy.Unused0
Explicit interface implemetationPrivate method IVsUIHierarchy.Unused0
Explicit interface implemetationPrivate method IVsHierarchy.Unused1
Explicit interface implemetationPrivate method IVsUIHierarchy.Unused1
Explicit interface implemetationPrivate method IVsHierarchy.Unused2
Explicit interface implemetationPrivate method IVsUIHierarchy.Unused2
Explicit interface implemetationPrivate method IVsHierarchy.Unused3
Explicit interface implemetationPrivate method IVsUIHierarchy.Unused3
Explicit interface implemetationPrivate method IVsHierarchy.Unused4
Explicit interface implemetationPrivate method IVsUIHierarchy.Unused4

Top

See Also

Reference

FlavoredProject Class

Microsoft.VisualStudio.Shell.Flavor Namespace