C# Class NUnit.Framework.ListMapper

ListMapper is used to transform a collection used as an actual argument producing another collection to be used in the assertion.
Show file Open project: antonsamarsky/emitmapper-tools

Public Methods

Method Description
ListMapper ( ICollection original ) : System

Construct a ListMapper based on a collection

Property ( string name ) : ICollection

Produces a collection containing all the values of a property

Method Details

ListMapper() public method

Construct a ListMapper based on a collection
public ListMapper ( ICollection original ) : System
original ICollection The collection to be transformed
return System

Property() public method

Produces a collection containing all the values of a property
public Property ( string name ) : ICollection
name string The collection of property values
return ICollection