New to Telerik ReportingStart a free 30-day trial

Represents a collection of Assembly References.

Definition

Namespace:Telerik.Reporting

Assembly:Telerik.Reporting.dll

Syntax:

C#
public class AssemblyRefCollection : List<AssemblyRef>

Inheritance: objectList<AssemblyRef>AssemblyRefCollection

Constructors

AssemblyRefCollection default constructor.

C#
public AssemblyRefCollection()

Creates an AssemblyRefCollection from AssemblyRef enumerable.

C#
public AssemblyRefCollection(IEnumerable<AssemblyRef> items)
Parameters:itemsIEnumerable<AssemblyRef>

Assembly references enumerable from which to initialize the collection.

Methods

Adds a single assembly apointed from the assemblyPath parameter.

C#
public void Add(string assemblyPath)
Parameters:assemblyPathstring

The path of the assembly to add a reference from

Adds the assembly pointed from the assemblyPath along with the rest of the .dll files located in the same directory.

C#
public void AddFromAssemblyPath(string assemblyPath)
Parameters:assemblyPathstring

The path of the leading assembly

Clones the specified collection.

C#
public void Clone(AssemblyRefCollection source)
Parameters:sourceAssemblyRefCollection

The source collection.