IEnumerableContract<C> IEnumerableContract<C> IEnumerableContract<C> IEnumerableContract<C> Interface


Exposes an enumerator that supports a simple iteration over a generic collection of IContract objects.

generic <typename C>
 where C : IContractpublic interface class IEnumerableContract : System::AddIn::Contract::IContract
public interface IEnumerableContract<C> : System.AddIn.Contract.IContract where C : IContract
type IEnumerableContract<'C (requires 'C :> IContract)> = interface
    interface IContract
Public Interface IEnumerableContract(Of C)
Implements IContract

Type Parameters


The type of objects to enumerate. C must implement the IContract interface.



AcquireLifetimeToken() AcquireLifetimeToken() AcquireLifetimeToken() AcquireLifetimeToken()

Specifies that the contract is accessible to a client until the client revokes the contract.

(Inherited from IContract)
GetEnumeratorContract() GetEnumeratorContract() GetEnumeratorContract() GetEnumeratorContract()

Returns an enumerator that iterates through the collection.

GetRemoteHashCode() GetRemoteHashCode() GetRemoteHashCode() GetRemoteHashCode()

Returns a hash code for the IContract.

(Inherited from IContract)
QueryContract(String) QueryContract(String) QueryContract(String) QueryContract(String)

Returns a contract that is implemented by this contract.

(Inherited from IContract)
RemoteEquals(IContract) RemoteEquals(IContract) RemoteEquals(IContract) RemoteEquals(IContract)

Indicates whether the specified contract is equal to this IContract.

(Inherited from IContract)
RemoteToString() RemoteToString() RemoteToString() RemoteToString()

Returns a string representation of the current IContract.

(Inherited from IContract)
RevokeLifetimeToken(Int32) RevokeLifetimeToken(Int32) RevokeLifetimeToken(Int32) RevokeLifetimeToken(Int32)

Specifies that the contract is no longer accessible to a client.

(Inherited from IContract)

Applies to