Skip to content

Commit 8fc5ceb

Browse files
committed
Added missing xmldoc comments
1 parent 428ecff commit 8fc5ceb

File tree

5 files changed

+21
-0
lines changed

5 files changed

+21
-0
lines changed

NTestDataBuilder/DataSources/Generators/RandomGenerator.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ public RandomGenerator(int startIndex, int listSize)
3535
_random = new Random();
3636
}
3737

38+
/// <inerhitdoc />
3839
public int Generate()
3940
{
4041
return _random.Next(StartIndex, ListSize);

NTestDataBuilder/DataSources/Generators/SequentialGenerator.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ public SequentialGenerator(int startIndex, int listSize, bool listShouldBeUnique
4141
_currentListIndex = startIndex - 1;
4242
}
4343

44+
/// <inerhitdoc />
4445
public int Generate()
4546
{
4647
_currentListIndex++;

NTestDataBuilder/DataSources/IDataSource.cs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,26 @@
33

44
namespace NTestDataBuilder.DataSources
55
{
6+
/// <summary>
7+
/// Provides data.
8+
/// </summary>
9+
/// <typeparam name="T">The type of data that is provided</typeparam>
610
public interface IDataSource<T>
711
{
12+
/// <summary>
13+
/// The underlying source of data.
14+
/// </summary>
815
IList<T> Data { get; }
16+
17+
/// <summary>
18+
/// The generator that is being used to return the data.
19+
/// </summary>
920
IGenerator Generator { get; }
21+
22+
/// <summary>
23+
/// Retrieve the next data value.
24+
/// </summary>
25+
/// <returns>The data value</returns>
1026
T Next();
1127
}
1228
}

NTestDataBuilder/DummyContext.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ namespace NTestDataBuilder
77
/// </summary>
88
public class DummyContext : ISpecimenContext
99
{
10+
/// <inerhitdoc />
1011
public object Resolve(object request)
1112
{
1213
return null;

NTestDataBuilder/Suppliers/DefaultValueTypeValueSupplier.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@ namespace NTestDataBuilder.Suppliers
77
/// </summary>
88
public class DefaultValueTypeValueSupplier : IAnonymousValueSupplier
99
{
10+
/// <inerhitdoc />
1011
public bool CanSupplyValue<TObject, TValue>(string propertyName)
1112
{
1213
return typeof (TValue).IsValueType;
1314
}
1415

16+
/// <inerhitdoc />
1517
public TValue GenerateAnonymousValue<TObject, TValue>(AnonymousValueFixture any, string propertyName)
1618
{
1719
return any.Fixture.Create<TValue>();

0 commit comments

Comments
 (0)