src/Microsoft.VisualStudio.ProjectSystem.Managed.VS/ProjectSystem/VS/Debug/ProjectDebuggerProvider.cs
/// <summary>
/// Returns the provider which knows how to launch the profile type.
/// </summary>
Returns the provider which knows how to launch the profile type.
Returns the provider which knows how to launch the profile type .
public IDebugProfileLaunchTargetsProvider? GetLaunchTargetsProvider(ILaunchProfile profile)
        {
            foreach (Lazy<IDebugProfileLaunchTargetsProvider, IOrderPrecedenceMetadataView> provider in ProfileLaunchTargetsProviders)
            {
                if (provider.Value.SupportsProfile(profile))
                {
                    return provider.Value;
                }
            }
            return null;
        }
public IDebugProfileLaunchTargetsProvider ? GetLaunchTargetsProvider ( ILaunchProfile profile ) { foreach ( Lazy < IDebugProfileLaunchTargetsProvider , IOrderPrecedenceMetadataView > provider in ProfileLaunchTargetsProviders ) { if ( provider . Value . SupportsProfile ( profile ) ) { return provider . Value ; } } return null ; }
Returns the provider which knows how to launch the profile type.
Returns the provider which knows how to launch the profile type .
// We search through the imports in order to find the one which supports the profile
profile
ILaunchProfile