Udostępnij za pośrednictwem


ListContractAdapter<TContract> Class

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

Represents an IListContract<C> object.

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 Class ListContractAdapter(Of TContract As IContract) _
    Inherits ContractAdapterBase _
    Implements IListContract(Of TContract), ICollectionContract(Of TContract),  _
    IEnumerableContract(Of TContract), IContract
'Usage
Dim instance As ListContractAdapter(Of TContract)
public class ListContractAdapter<TContract> : ContractAdapterBase, 
    IListContract<TContract>, ICollectionContract<TContract>, IEnumerableContract<TContract>, 
    IContract 
where TContract : IContract
generic<typename TContract>
where TContract : IContract 
public ref class ListContractAdapter : public ContractAdapterBase, 
    IListContract<TContract>, ICollectionContract<TContract>, IEnumerableContract<TContract>, 
    IContract
JScript does not support generic types or methods.

Type Parameters

  • TContract
    The type of the elements of the list that the ListContractAdapter<TContract> encompasses.

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    System.AddIn.Pipeline.ContractBase
      Microsoft.VisualStudio.Tools.Applications.ContractAdapterBase
        Microsoft.VisualStudio.Tools.Applications.ListContractAdapter<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

ListContractAdapter<TContract> Members

Microsoft.VisualStudio.Tools.Applications Namespace