FlavoredProjectBase Class

 

A project that is a subtype/flavor of an inner project.

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

System.Object
  Microsoft.VisualStudio.Shell.Flavor.FlavoredProjectBase

public abstract class FlavoredProjectBase : IVsAggregatableProjectCorrected, 
	IServiceProvider, IVsHierarchy, IVsUIHierarchy, IOleCommandTarget

NameDescription
System_CAPS_pubmethodFlavoredProjectBase()

Initializes a new instance of FlavoredProjectBase.

NameDescription
System_CAPS_protmethodAdviseHierarchyEvents(IVsHierarchyEvents)

Advises hierarchy events.

System_CAPS_protmethodClose()

Closes the hierarchy.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

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

Executes the specified command.

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodFreeInterfaces()

Frees the different objects that make up the hierarchy.

System_CAPS_protmethodGetCanonicalName(UInt32, String)

Gets the canonical name of the specified element.

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

System_CAPS_protmethodGetGuidProperty(UInt32, Int32)

Gets the GUID of the specified item.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_protmethodGetNestedHierarchy(UInt32, Guid, IntPtr, UInt32)

Gets the nested project.

System_CAPS_protmethodGetProperty(UInt32, Int32, Object)

System_CAPS_protmethodGetSite()

System_CAPS_pubmethodGetType()

(Inherited from Object.)

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

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.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodOnAggregationComplete()

This is called when all object in aggregation have received InitializeForOuter calls. At this point the aggregation is complete and fully functional.

System_CAPS_protmethodParseCanonicalName(String, UInt32)

System_CAPS_protmethodQueryClose()

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

System_CAPS_protmethodSetGuidProperty(UInt32, Int32, Guid)

System_CAPS_protmethodSetInnerProject(IntPtr)

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

System_CAPS_protmethodSetProperty(UInt32, Int32, Object)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_protmethodUnadviseHierarchyEvents(UInt32)

System_CAPS_protmethodUnused0()

System_CAPS_protmethodUnused1()

System_CAPS_protmethodUnused2()

System_CAPS_protmethodUnused3()

System_CAPS_protmethodUnused4()

NameDescription
System_CAPS_protfield_innerOleCommandTarget

The inner command target.

System_CAPS_protfield_innerVsAggregatableProject

The aggregatable project.

System_CAPS_protfield_innerVsHierarchy

The inner hierarchy.

System_CAPS_protfield_innerVsUIHierarchy

The inner UI hierarchy.

System_CAPS_protfieldserviceProvider

The service provider.

NameDescription
System_CAPS_pubeventDirectoryAdded

Called after a directory was added to this project.

System_CAPS_pubeventDirectoryRemoved

Called after a directory was remove from this project.

System_CAPS_pubeventDirectoryRenamed

Called after a directory was renamed in this project.

System_CAPS_pubeventFileAdded

Called after a file was added to this project.

System_CAPS_pubeventFileRemoved

Called after a file was remove from this project.

System_CAPS_pubeventFileRenamed

Called after a file was renamed in this project.

System_CAPS_pubeventSccStatusChanged

Called after the source code control status of a file in this project changed.

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

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

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsAggregatableProjectCorrected.GetAggregateProjectTypeGuids(String)

This must be delegetated to the inner most project

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

Do the initialization here (such as loading flavor specific information from the project)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsAggregatableProjectCorrected.OnAggregationComplete()

This is called when all object in aggregation have received InitializeForOuter calls. At this point the aggregation is complete and fully functional.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsAggregatableProjectCorrected.SetAggregateProjectTypeGuids(String)

This must be delegated to the innermost project

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsAggregatableProjectCorrected.SetInnerProject(IntPtr)

This is where 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

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsHierarchy.AdviseHierarchyEvents(IVsHierarchyEvents, UInt32)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsHierarchy.Close()

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsHierarchy.GetCanonicalName(UInt32, String)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsHierarchy.GetGuidProperty(UInt32, Int32, Guid)

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

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsHierarchy.GetProperty(UInt32, Int32, Object)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsHierarchy.GetSite(IServiceProvider)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsHierarchy.ParseCanonicalName(String, UInt32)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsHierarchy.QueryClose(Int32)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsHierarchy.SetGuidProperty(UInt32, Int32, Guid)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsHierarchy.SetProperty(UInt32, Int32, Object)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsHierarchy.SetSite(IServiceProvider)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsHierarchy.UnadviseHierarchyEvents(UInt32)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsHierarchy.Unused0()

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsHierarchy.Unused1()

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsHierarchy.Unused2()

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsHierarchy.Unused3()

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsHierarchy.Unused4()

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIHierarchy.AdviseHierarchyEvents(IVsHierarchyEvents, UInt32)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIHierarchy.Close()

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

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIHierarchy.GetCanonicalName(UInt32, String)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIHierarchy.GetGuidProperty(UInt32, Int32, Guid)

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

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIHierarchy.GetProperty(UInt32, Int32, Object)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIHierarchy.GetSite(IServiceProvider)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIHierarchy.ParseCanonicalName(String, UInt32)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIHierarchy.QueryClose(Int32)

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

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIHierarchy.SetGuidProperty(UInt32, Int32, Guid)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIHierarchy.SetProperty(UInt32, Int32, Object)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIHierarchy.SetSite(IServiceProvider)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIHierarchy.UnadviseHierarchyEvents(UInt32)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIHierarchy.Unused0()

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIHierarchy.Unused1()

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIHierarchy.Unused2()

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIHierarchy.Unused3()

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIHierarchy.Unused4()

System_CAPS_pubinterfaceSystem_CAPS_privmethodIServiceProvider.GetService(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.)

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.

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: