ListContractAdapter<TContract> Members
Include Protected Members
Include Inherited Members
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.
The ListContractAdapter<TContract> type exposes the following members.
Constructors
Name
Description
ListContractAdapter<TContract>
Overloaded. Initializes a new instance of the ListContractAdapter<TContract> class.
Top
Methods
Name
Description
Obtains a lifetime token. (Inherited from ContractBase.)
Adds a specified contract to the list that this object encompasses.
Removes all the elements from the list that this object encompasses.
Determines if the list that this object encompasses contains a specified contract.
Copies the contracts in the list that this object encompasses into an array.
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Returns the number of elements in the list that this instance encompasses.
Returns a new instance of a contract that represents an enumerator for the list that this instance encompasses.
Serves as a hash function for a particular type. (Inherited from Object.)
Returns a value that indicates whether this instance is read-only.
Returns the contract at a specified index of the list that this instance encompasses.
Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Returns a hash code for this instance. (Overrides ContractBase.GetRemoteHashCode().)
Gets the type of the current instance. (Inherited from Object.)
Returns the index of a specified contract in the list that this instance encompasses.
Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Inserts a specified contract at a specified index in the list that this object encompasses.
Overloaded.
Releases the unmanaged resources that this object holds. (Overrides ContractBase.OnFinalRevoke().)
Determines whether the current instance implements a specified contract and returns the instance if it implements the specified contract. (Overrides ContractBase.QueryContract(String).)
Determines whether the current instance is reference equal to a specified contract. (Overrides ContractBase.RemoteEquals(IContract).)
Returns a string representation of the list that this object encompasses. (Overrides ContractBase.RemoteToString().)
Removes a specified contract from the list that this object encompasses.
Removes the item at a specified index from the list that this object encompasses.
Infrastructure. Requests a sponsoring client to renew the lease for the specified object. (Inherited from ContractBase.)
Removes the specified token from the list of outstanding lifetime tokens. (Inherited from ContractBase.)
Sets the element at a specified index in the list that this object encompasses, to a specified value.
Returns a string that represents the current object. (Inherited from Object.)
Top
Properties
Name
Description
Gets the type infrastructure manager that contains the type maps and the service provider for the current ContractAdapterBase. (Inherited from ContractAdapterBase.)
Top
Explicit Interface Implementations
Name
Description
ICollectionContract<TContract>.Add
For a description of this member, see ICollectionContract<C>.Add.
ICollectionContract<TContract>.Clear
For a description of this member, see ICollectionContract<C>.Clear.
ICollectionContract<TContract>.Contains
For a description of this member, see ICollectionContract<C>.Contains.
ICollectionContract<TContract>.CopyTo
For a description of this member, see ICollectionContract<C>.CopyTo.
ICollectionContract<TContract>.GetCount
For a description of this member, see ICollectionContract<C>.GetCount.
IEnumerableContract<TContract>.GetEnumeratorContract
For a description of this member, see IEnumerableContract<C>.GetEnumeratorContract.
ICollectionContract<TContract>.GetIsReadOnly
For a description of this member, see ICollectionContract<C>.GetIsReadOnly.
IListContract<TContract>.GetItem
For a description of this member, see IListContract<C>.GetItem.
IListContract<TContract>.IndexOf
For a description of this member, see IListContract<C>.IndexOf.
IListContract<TContract>.Insert
For a description of this member, see IListContract<C>.Insert.
ICollectionContract<TContract>.Remove
For a description of this member, see ICollectionContract<C>.Remove.
IListContract<TContract>.RemoveAt
For a description of this member, see IListContract<C>.RemoveAt.
IListContract<TContract>.SetItem
For a description of this member, see IListContract<C>.SetItem.
Top