AssemblyReferenceCollection Class

Definition

Provides a collection for manifest assembly references.

public ref class AssemblyReferenceCollection sealed : System::Collections::IEnumerable
[System.Runtime.InteropServices.ComVisible(false)]
public sealed class AssemblyReferenceCollection : System.Collections.IEnumerable
type AssemblyReferenceCollection = class
    interface IEnumerable
Public NotInheritable Class AssemblyReferenceCollection
Implements IEnumerable
Inheritance
AssemblyReferenceCollection
Attributes
Implements

Properties

Count

Gets the number of objects contained in the collection.

Item[Int32]

Gets the element at the specified index.

Methods

Add(AssemblyReference)

Adds the specified assembly reference to the collection.

Add(String)

Adds the specified assembly reference to the collection.

Clear()

Removes all objects from the collection.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
Find(AssemblyIdentity)

Finds an assembly reference in the collection by the specified assembly identity.

Find(String)

Finds an assembly reference in the collection by simple name.

FindTargetPath(String)

Finds an assembly reference in the collection by the specified target path.

GetEnumerator()

Returns an enumerator that can iterate through the collection.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Remove(AssemblyReference)

Removes the specified assembly reference from the collection.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Extension Methods

Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable)

Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to