Udostępnij za pośrednictwem


EnumeratorContractAdapter<TContract> Class

This API supports the Visual Studio Tools for Applications infrastructure and is not intended to be used directly from your code.

Represents a contract that represents an enumerator that enumerates contracts.

Namespace:  Microsoft.VisualStudio.Tools.Applications
Assembly:  Microsoft.VisualStudio.Tools.Applications.Adapter.v9.0 (in Microsoft.VisualStudio.Tools.Applications.Adapter.v9.0.dll)

Syntax

'Declaration
Public NotInheritable Class EnumeratorContractAdapter(Of TContract As IContract) _
    Inherits ContractAdapterBase _
    Implements IEnumeratorContract(Of TContract), IContract
'Usage
Dim instance As EnumeratorContractAdapter(Of TContract)
public sealed class EnumeratorContractAdapter<TContract> : ContractAdapterBase, 
    IEnumeratorContract<TContract>, IContract 
where TContract : IContract
generic<typename TContract>
where TContract : IContract 
public ref class EnumeratorContractAdapter sealed : public ContractAdapterBase, 
    IEnumeratorContract<TContract>, IContract
JScript does not support generic types or methods.

Type Parameters

  • TContract
    The type of the contracts that this object enumerates.

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    System.AddIn.Pipeline.ContractBase
      Microsoft.VisualStudio.Tools.Applications.ContractAdapterBase
        Microsoft.VisualStudio.Tools.Applications.EnumeratorContractAdapter<TContract>

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

EnumeratorContractAdapter<TContract> Members

Microsoft.VisualStudio.Tools.Applications Namespace