Merge pull request #1336 from esdrubal/datatablereadxmlschema
[mono.git] / mcs / nunit24 / NUnitFramework / framework / SyntaxHelpers / List.cs
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
6 \r
7 using System;\r
8 using System.Collections;\r
9 using NUnit.Framework.Constraints;\r
10 \r
11 namespace NUnit.Framework.SyntaxHelpers\r
12 {\r
13         /// <summary>\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
16         /// </summary>\r
17         public class List\r
18         {\r
19                 /// <summary>\r
20                 /// List.Map returns a ListMapper, which can be used to map\r
21                 /// the original collection to another collection.\r
22                 /// </summary>\r
23                 /// <param name="actual"></param>\r
24                 /// <returns></returns>\r
25                 public static ListMapper Map( ICollection actual )\r
26                 {\r
27                         return new ListMapper( actual );\r
28                 }\r
29         }\r
30 }\r