~a-schlapsi/nunit-3.0/linux-makefile

« back to all changes in this revision

Viewing changes to src/framework/Internal/Extensions/DatapointProvider.cs

  • Committer: Andreas Schlapsi
  • Date: 2010-01-23 23:14:05 UTC
  • mfrom: (18.1.137 work)
  • Revision ID: a.schlapsi@gmx.at-20100123231405-17deqoh18nfnbq1j
Merged with trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
    {
38
38
        #region IDataPointProvider Members
39
39
 
 
40
        /// <summary>
 
41
        /// Determine whether any data is available for a parameter.
 
42
        /// </summary>
 
43
        /// <param name="parameter">A ParameterInfo representing one
 
44
        /// argument to a parameterized test</param>
 
45
        /// <returns>
 
46
        /// True if any data is available, otherwise false.
 
47
        /// </returns>
40
48
        public bool HasDataFor(System.Reflection.ParameterInfo parameter)
41
49
        {
42
50
            Type parameterType = parameter.ParameterType;
63
71
            return false;
64
72
        }
65
73
 
 
74
        /// <summary>
 
75
        /// Return an IEnumerable providing data for use with the
 
76
        /// supplied parameter.
 
77
        /// </summary>
 
78
        /// <param name="parameter">A ParameterInfo representing one
 
79
        /// argument to a parameterized test</param>
 
80
        /// <returns>
 
81
        /// An IEnumerable providing the required data
 
82
        /// </returns>
66
83
        public System.Collections.IEnumerable GetDataFor(System.Reflection.ParameterInfo parameter)
67
84
        {
68
85
            ObjectList datapoints = new ObjectList();