1 // ****************************************************************
\r
2 // Copyright 2007, Charlie Poole
\r
3 // This is free software licensed under the NUnit license. You may
\r
4 // obtain a copy of the license at http://nunit.org/?p=license&r=2.4
\r
5 // ****************************************************************
\r
8 using System.Collections;
\r
9 using NUnit.Framework.Constraints;
\r
11 namespace NUnit.Framework.SyntaxHelpers
\r
14 /// The List class is a helper class with properties and methods
\r
15 /// that supply a number of constraints used with lists and collections.
\r
20 /// List.Map returns a ListMapper, which can be used to map
\r
21 /// the original collection to another collection.
\r
23 /// <param name="actual"></param>
\r
24 /// <returns></returns>
\r
25 public static ListMapper Map( ICollection actual )
\r
27 return new ListMapper( actual );
\r