VsShellComponentModelHost.GetOnlyApprovedComponentAssemblies Method

Definition

Allows VS to filter out component assemblies before they are made a part of any MEF catalog.

public:
 override System::Collections::Generic::IEnumerable<System::String ^> ^ GetOnlyApprovedComponentAssemblies(System::Collections::Generic::IEnumerable<System::String ^> ^ componentAssembliesToFilter);
public override System.Collections.Generic.IEnumerable<string> GetOnlyApprovedComponentAssemblies(System.Collections.Generic.IEnumerable<string> componentAssembliesToFilter);
override this.GetOnlyApprovedComponentAssemblies : seq<string> -> seq<string>
Public Overrides Function GetOnlyApprovedComponentAssemblies (componentAssembliesToFilter As IEnumerable(Of String)) As IEnumerable(Of String)

Parameters

componentAssembliesToFilter
IEnumerable<String>

The list of assemblies to approve for loading in the host.

Returns

The filtered list of approved assemblies.

Applies to