Evidence Methods

The Evidence type exposes the following members.

  Name Description
Public method AddAssembly Obsolete. Adds the specified assembly evidence to the evidence set.
Public method AddAssemblyEvidence<T> Adds an evidence object of the specified type to the assembly-supplied evidence list.
Public method AddHost Obsolete. Adds the specified evidence supplied by the host to the evidence set.
Public method AddHostEvidence<T> Adds host evidence of the specified type to the host evidence collection.
Public method Clear Removes the host and assembly evidence from the evidence set.
Public method Clone Returns a duplicate copy of this evidence object.
Public method CopyTo Obsolete. Copies evidence objects to an Array.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetAssemblyEnumerator Enumerates evidence provided by the assembly.
Public method GetAssemblyEvidence<T> Gets assembly evidence of the specified type from the collection.
Public method GetEnumerator Obsolete. Enumerates all evidence in the set, both that provided by the host and that provided by the assembly.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetHostEnumerator Enumerates evidence supplied by the host.
Public method GetHostEvidence<T> Gets host evidence of the specified type from the collection.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Merge Merges the specified evidence set into the current evidence set.
Public method RemoveType Removes the evidence for a given type from the host and assembly enumerations.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  Name Description
Public Extension Method AsParallel Enables parallelization of a query. (Defined by ParallelEnumerable.)
Public Extension Method AsQueryable Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension Method Cast<TResult> Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method OfType<TResult> Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft