Compartilhar via


INavigateToItemProviderFactory Interface

Definition

Responsible for creating new instances of INavigateToItemProvider.

public interface class INavigateToItemProviderFactory
public interface class INavigateToItemProviderFactory
__interface INavigateToItemProviderFactory
public interface INavigateToItemProviderFactory
type INavigateToItemProviderFactory = interface
Public Interface INavigateToItemProviderFactory

Examples

[Export]
[OnlyNavigateToSupport]
internal sealed class Factory : INavigateToItemProviderFactory
{
}

Methods

TryCreateNavigateToItemProvider(IServiceProvider, INavigateToItemProvider)

Creates a new provider, if possible. The IServiceProvider that is passed in may be used to find necessary services to back the INavigateToItemProvider. For example, it could be used to check if a particular package has been loaded by VisualStudio.

Applies to