Udostępnij za pośrednictwem


ExportProvider.GetExports Method

Definition

Overloads

GetExports(ImportDefinition)
GetExports(Type, Type, String)
GetExports<T,TMetadataView>()
GetExports<T,TMetadataView>(String)
GetExports<T>()
GetExports<T>(String)

GetExports(ImportDefinition)

Source:
ExportProvider.cs
Source:
ExportProvider.cs
public virtual System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Composition.Export> GetExports (Microsoft.VisualStudio.Composition.ImportDefinition importDefinition);
abstract member GetExports : Microsoft.VisualStudio.Composition.ImportDefinition -> seq<Microsoft.VisualStudio.Composition.Export>
override this.GetExports : Microsoft.VisualStudio.Composition.ImportDefinition -> seq<Microsoft.VisualStudio.Composition.Export>
Public Overridable Function GetExports (importDefinition As ImportDefinition) As IEnumerable(Of Export)

Parameters

importDefinition
ImportDefinition

Returns

Applies to

GetExports(Type, Type, String)

Source:
ExportProvider.cs
Source:
ExportProvider.cs
public System.Collections.Generic.IEnumerable<Lazy<object,object>> GetExports (Type type, Type metadataViewType, string contractName);
member this.GetExports : Type * Type * string -> seq<Lazy<obj, obj>>
Public Function GetExports (type As Type, metadataViewType As Type, contractName As String) As IEnumerable(Of Lazy(Of Object, Object))

Parameters

type
Type
metadataViewType
Type
contractName
String

Returns

Applies to

GetExports<T,TMetadataView>()

Source:
ExportProvider.cs
Source:
ExportProvider.cs
public System.Collections.Generic.IEnumerable<Lazy<T,TMetadataView>> GetExports<T,TMetadataView> ();
member this.GetExports : unit -> seq<Lazy<'T, 'MetadataView>>
Public Function GetExports(Of T, TMetadataView) () As IEnumerable(Of Lazy(Of T, TMetadataView))

Type Parameters

T
TMetadataView

Returns

IEnumerable<Lazy<T,TMetadataView>>

Applies to

GetExports<T,TMetadataView>(String)

Source:
ExportProvider.cs
Source:
ExportProvider.cs
public System.Collections.Generic.IEnumerable<Lazy<T,TMetadataView>> GetExports<T,TMetadataView> (string contractName);
member this.GetExports : string -> seq<Lazy<'T, 'MetadataView>>
Public Function GetExports(Of T, TMetadataView) (contractName As String) As IEnumerable(Of Lazy(Of T, TMetadataView))

Type Parameters

T
TMetadataView

Parameters

contractName
String

Returns

IEnumerable<Lazy<T,TMetadataView>>

Applies to

GetExports<T>()

Source:
ExportProvider.cs
Source:
ExportProvider.cs
public System.Collections.Generic.IEnumerable<Lazy<T>> GetExports<T> ();
member this.GetExports : unit -> seq<Lazy<'T>>
Public Function GetExports(Of T) () As IEnumerable(Of Lazy(Of T))

Type Parameters

T

Returns

Applies to

GetExports<T>(String)

Source:
ExportProvider.cs
Source:
ExportProvider.cs
public System.Collections.Generic.IEnumerable<Lazy<T>> GetExports<T> (string contractName);
member this.GetExports : string -> seq<Lazy<'T>>
Public Function GetExports(Of T) (contractName As String) As IEnumerable(Of Lazy(Of T))

Type Parameters

T

Parameters

contractName
String

Returns

Applies to