Skip to content

Commit 9100e5c

Browse files
lxia1220glennawatson
authored andcommitted
Fix typos in DynamicData summary comments (#287)
1 parent 4de0036 commit 9100e5c

15 files changed

Lines changed: 45 additions & 45 deletions

File tree

src/DynamicData/Aggregation/AvgEx.cs

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public static class AvgEx
2525
/// <param name="valueSelector">The function which returns the value</param>
2626
/// <param name="emptyValue">The resulting average value when there is no data</param>
2727
/// <returns>
28-
/// An obervable of averages
28+
/// An observable of averages
2929
/// </returns>
3030
public static IObservable<double> Avg<TObject, TKey>([NotNull] this IObservable<IChangeSet<TObject, TKey>> source, [NotNull] Func<TObject, int> valueSelector, int emptyValue = 0)
3131
{
@@ -41,7 +41,7 @@ public static IObservable<double> Avg<TObject, TKey>([NotNull] this IObservable<
4141
/// <param name="valueSelector">The function which returns the value</param>
4242
/// <param name="emptyValue">The resulting average value when there is no data</param>
4343
/// <returns>
44-
/// An obervable of averages
44+
/// An observable of averages
4545
/// </returns>
4646
public static IObservable<double> Avg<TObject, TKey>([NotNull] this IObservable<IChangeSet<TObject, TKey>> source, [NotNull] Func<TObject, int?> valueSelector, int emptyValue = 0)
4747
{
@@ -57,7 +57,7 @@ public static IObservable<double> Avg<TObject, TKey>([NotNull] this IObservable<
5757
/// <param name="valueSelector">The function which returns the value</param>
5858
/// <param name="emptyValue">The resulting average value when there is no data</param>
5959
/// <returns>
60-
/// An obervable of averages
60+
/// An observable of averages
6161
/// </returns>
6262
public static IObservable<double> Avg<TObject, TKey>([NotNull] this IObservable<IChangeSet<TObject, TKey>> source,
6363
[NotNull] Func<TObject, long> valueSelector, long emptyValue = 0)
@@ -74,7 +74,7 @@ public static IObservable<double> Avg<TObject, TKey>([NotNull] this IObservable<
7474
/// <param name="valueSelector">The function which returns the value</param>
7575
/// <param name="emptyValue">The resulting average value when there is no data</param>
7676
/// <returns>
77-
/// An obervable of averages
77+
/// An observable of averages
7878
/// </returns>
7979
public static IObservable<double> Avg<TObject, TKey>([NotNull] this IObservable<IChangeSet<TObject, TKey>> source, [NotNull] Func<TObject, long?> valueSelector, long emptyValue = 0)
8080
{
@@ -90,7 +90,7 @@ public static IObservable<double> Avg<TObject, TKey>([NotNull] this IObservable<
9090
/// <param name="valueSelector">The function which returns the value</param>
9191
/// <param name="emptyValue">The resulting average value when there is no data</param>
9292
/// <returns>
93-
/// An obervable of averages
93+
/// An observable of averages
9494
/// </returns>
9595
public static IObservable<double> Avg<TObject, TKey>([NotNull] this IObservable<IChangeSet<TObject, TKey>> source,
9696
[NotNull] Func<TObject, double> valueSelector, double emptyValue = 0)
@@ -107,7 +107,7 @@ public static IObservable<double> Avg<TObject, TKey>([NotNull] this IObservable<
107107
/// <param name="valueSelector">The function which returns the value</param>
108108
/// <param name="emptyValue">The resulting average value when there is no data</param>
109109
/// <returns>
110-
/// An obervable of averages
110+
/// An observable of averages
111111
/// </returns>
112112
public static IObservable<double> Avg<TObject, TKey>([NotNull] this IObservable<IChangeSet<TObject, TKey>> source, [NotNull] Func<TObject, double?> valueSelector, double emptyValue = 0)
113113
{
@@ -123,7 +123,7 @@ public static IObservable<double> Avg<TObject, TKey>([NotNull] this IObservable<
123123
/// <param name="valueSelector">The function which returns the value</param>
124124
/// <param name="emptyValue">The resulting average value when there is no data</param>
125125
/// <returns>
126-
/// An obervable of averages
126+
/// An observable of averages
127127
/// </returns>
128128
public static IObservable<decimal> Avg<TObject, TKey>([NotNull] this IObservable<IChangeSet<TObject, TKey>> source,
129129
[NotNull] Func<TObject, decimal> valueSelector, decimal emptyValue = 0)
@@ -140,7 +140,7 @@ public static IObservable<decimal> Avg<TObject, TKey>([NotNull] this IObservable
140140
/// <param name="valueSelector">The function which returns the value</param>
141141
/// <param name="emptyValue">The resulting average value when there is no data</param>
142142
/// <returns>
143-
/// An obervable of averages
143+
/// An observable of averages
144144
/// </returns>
145145
public static IObservable<decimal> Avg<TObject, TKey>([NotNull] this IObservable<IChangeSet<TObject, TKey>> source, [NotNull] Func<TObject, decimal?> valueSelector, decimal emptyValue = 0)
146146
{
@@ -156,7 +156,7 @@ public static IObservable<decimal> Avg<TObject, TKey>([NotNull] this IObservable
156156
/// <param name="valueSelector">The function which returns the value</param>
157157
/// <param name="emptyValue">The resulting average value when there is no data</param>
158158
/// <returns>
159-
/// An obervable of averages
159+
/// An observable of averages
160160
/// </returns>
161161
public static IObservable<float> Avg<TObject, TKey>([NotNull] this IObservable<IChangeSet<TObject, TKey>> source,
162162
[NotNull] Func<TObject, float> valueSelector, float emptyValue = 0)
@@ -173,7 +173,7 @@ public static IObservable<float> Avg<TObject, TKey>([NotNull] this IObservable<I
173173
/// <param name="valueSelector">The function which returns the value</param>
174174
/// <param name="emptyValue">The resulting average value when there is no data</param>
175175
/// <returns>
176-
/// An obervable of averages
176+
/// An observable of averages
177177
/// </returns>
178178
public static IObservable<float> Avg<TObject, TKey>([NotNull] this IObservable<IChangeSet<TObject, TKey>> source, [NotNull] Func<TObject, float?> valueSelector, float emptyValue = 0)
179179
{
@@ -192,7 +192,7 @@ public static IObservable<float> Avg<TObject, TKey>([NotNull] this IObservable<I
192192
/// <param name="valueSelector">The function which returns the value</param>
193193
/// <param name="emptyValue">The resulting average value when there is no data</param>
194194
/// <returns>
195-
/// An obervable of averages
195+
/// An observable of averages
196196
/// </returns>
197197
public static IObservable<double> Avg<T>([NotNull] this IObservable<IChangeSet<T>> source,
198198
[NotNull] Func<T, int> valueSelector, int emptyValue = 0)
@@ -208,7 +208,7 @@ public static IObservable<double> Avg<T>([NotNull] this IObservable<IChangeSet<T
208208
/// <param name="valueSelector">The function which returns the value</param>
209209
/// <param name="emptyValue">The resulting average value when there is no data</param>
210210
/// <returns>
211-
/// An obervable of averages
211+
/// An observable of averages
212212
/// </returns>
213213
public static IObservable<double> Avg<T>([NotNull] this IObservable<IChangeSet<T>> source, [NotNull] Func<T, int?> valueSelector, int emptyValue = 0)
214214
{
@@ -223,7 +223,7 @@ public static IObservable<double> Avg<T>([NotNull] this IObservable<IChangeSet<T
223223
/// <param name="valueSelector">The function which returns the value</param>
224224
/// <param name="emptyValue">The resulting average value when there is no data</param>
225225
/// <returns>
226-
/// An obervable of averages
226+
/// An observable of averages
227227
/// </returns>
228228
public static IObservable<double> Avg<T>([NotNull] this IObservable<IChangeSet<T>> source, [NotNull] Func<T, long> valueSelector, long emptyValue = 0)
229229
{
@@ -238,7 +238,7 @@ public static IObservable<double> Avg<T>([NotNull] this IObservable<IChangeSet<T
238238
/// <param name="valueSelector">The function which returns the value</param>
239239
/// <param name="emptyValue">The resulting average value when there is no data</param>
240240
/// <returns>
241-
/// An obervable of averages
241+
/// An observable of averages
242242
/// </returns>
243243
public static IObservable<double> Avg<T>([NotNull] this IObservable<IChangeSet<T>> source, [NotNull] Func<T, long?> valueSelector, long emptyValue = 0)
244244
{
@@ -253,7 +253,7 @@ public static IObservable<double> Avg<T>([NotNull] this IObservable<IChangeSet<T
253253
/// <param name="valueSelector">The function which returns the value</param>
254254
/// <param name="emptyValue">The resulting average value when there is no data</param>
255255
/// <returns>
256-
/// An obervable of averages
256+
/// An observable of averages
257257
/// </returns>
258258
public static IObservable<double> Avg<T>([NotNull] this IObservable<IChangeSet<T>> source,
259259
[NotNull] Func<T, double> valueSelector, double emptyValue = 0)
@@ -269,7 +269,7 @@ public static IObservable<double> Avg<T>([NotNull] this IObservable<IChangeSet<T
269269
/// <param name="valueSelector">The function which returns the value</param>
270270
/// <param name="emptyValue">The resulting average value when there is no data</param>
271271
/// <returns>
272-
/// An obervable of averages
272+
/// An observable of averages
273273
/// </returns>
274274
public static IObservable<double> Avg<T>([NotNull] this IObservable<IChangeSet<T>> source, [NotNull] Func<T, double?> valueSelector, double emptyValue = 0)
275275
{
@@ -284,7 +284,7 @@ public static IObservable<double> Avg<T>([NotNull] this IObservable<IChangeSet<T
284284
/// <param name="valueSelector">The function which returns the value</param>
285285
/// <param name="emptyValue">The resulting average value when there is no data</param>
286286
/// <returns>
287-
/// An obervable of averages
287+
/// An observable of averages
288288
/// </returns>
289289
public static IObservable<decimal> Avg<T>([NotNull] this IObservable<IChangeSet<T>> source,
290290
[NotNull] Func<T, decimal> valueSelector, decimal emptyValue = 0)
@@ -300,7 +300,7 @@ public static IObservable<decimal> Avg<T>([NotNull] this IObservable<IChangeSet<
300300
/// <param name="valueSelector">The function which returns the value</param>
301301
/// <param name="emptyValue">The resulting average value when there is no data</param>
302302
/// <returns>
303-
/// An obervable of averages
303+
/// An observable of averages
304304
/// </returns>
305305
public static IObservable<decimal> Avg<T>([NotNull] this IObservable<IChangeSet<T>> source, [NotNull] Func<T, decimal?> valueSelector, decimal emptyValue = 0)
306306
{
@@ -315,7 +315,7 @@ public static IObservable<decimal> Avg<T>([NotNull] this IObservable<IChangeSet<
315315
/// <param name="valueSelector">The function which returns the value</param>
316316
/// <param name="emptyValue">The resulting average value when there is no data</param>
317317
/// <returns>
318-
/// An obervable of averages
318+
/// An observable of averages
319319
/// </returns>
320320
public static IObservable<float> Avg<T>([NotNull] this IObservable<IChangeSet<T>> source,
321321
[NotNull] Func<T, float> valueSelector, float emptyValue = 0)
@@ -331,7 +331,7 @@ public static IObservable<float> Avg<T>([NotNull] this IObservable<IChangeSet<T>
331331
/// <param name="valueSelector">The function which returns the value</param>
332332
/// <param name="emptyValue">The resulting average value when there is no data</param>
333333
/// <returns>
334-
/// An obervable of averages
334+
/// An observable of averages
335335
/// </returns>
336336
public static IObservable<float> Avg<T>([NotNull] this IObservable<IChangeSet<T>> source, [NotNull] Func<T, float?> valueSelector, float emptyValue = 0)
337337
{
@@ -350,7 +350,7 @@ public static IObservable<float> Avg<T>([NotNull] this IObservable<IChangeSet<T>
350350
/// <param name="valueSelector">The function which returns the value</param>
351351
/// <param name="emptyValue">The resulting average value when there is no data</param>
352352
/// <returns>
353-
/// An obervable of averages
353+
/// An observable of averages
354354
/// </returns>
355355
public static IObservable<double> Avg<T>([NotNull] this IObservable<IAggregateChangeSet<T>> source,
356356
[NotNull] Func<T, int> valueSelector, int emptyValue = 0)
@@ -370,7 +370,7 @@ public static IObservable<double> Avg<T>([NotNull] this IObservable<IAggregateCh
370370
/// <param name="valueSelector">The function which returns the value</param>
371371
/// <param name="emptyValue">The resulting average value when there is no data</param>
372372
/// <returns>
373-
/// An obervable of averages
373+
/// An observable of averages
374374
/// </returns>
375375
public static IObservable<double> Avg<T>([NotNull] this IObservable<IAggregateChangeSet<T>> source, [NotNull] Func<T, int?> valueSelector, int emptyValue = 0)
376376
{
@@ -402,7 +402,7 @@ public static IObservable<double> Avg<T>([NotNull] this IObservable<IAggregateCh
402402
/// <param name="valueSelector">The function which returns the value</param>
403403
/// <param name="emptyValue">The resulting average value when there is no data</param>
404404
/// <returns>
405-
/// An obervable of averages
405+
/// An observable of averages
406406
/// </returns>
407407
public static IObservable<double> Avg<T>([NotNull] this IObservable<IAggregateChangeSet<T>> source, [NotNull] Func<T, long?> valueSelector, long emptyValue = 0)
408408
{
@@ -417,7 +417,7 @@ public static IObservable<double> Avg<T>([NotNull] this IObservable<IAggregateCh
417417
/// <param name="valueSelector">The function which returns the value</param>
418418
/// <param name="emptyValue">The resulting average value when there is no data</param>
419419
/// <returns>
420-
/// An obervable of averages
420+
/// An observable of averages
421421
/// </returns>
422422
public static IObservable<double> Avg<T>([NotNull] this IObservable<IAggregateChangeSet<T>> source,
423423
[NotNull] Func<T, double> valueSelector, double emptyValue = 0)
@@ -452,7 +452,7 @@ public static IObservable<double> Avg<T>([NotNull] this IObservable<IAggregateCh
452452
/// <param name="valueSelector">The function which returns the value</param>
453453
/// <param name="emptyValue">The resulting average value when there is no data</param>
454454
/// <returns>
455-
/// An obervable of averages
455+
/// An observable of averages
456456
/// </returns>
457457
public static IObservable<decimal> Avg<T>([NotNull] this IObservable<IAggregateChangeSet<T>> source,
458458
[NotNull] Func<T, decimal> valueSelector, decimal emptyValue = 0)

src/DynamicData/Aggregation/MaxEx.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public static class MaxEx
1919
#region Abstracted
2020

2121
/// <summary>
22-
/// Continually calculates the maximum value from the underlying data sourcce
22+
/// Continually calculates the maximum value from the underlying data source
2323
/// </summary>
2424
/// <typeparam name="TObject">The type of the object.</typeparam>
2525
/// <typeparam name="TResult">The type of the result.</typeparam>
@@ -38,7 +38,7 @@ public static IObservable<TResult> Maximum<TObject, TResult>([NotNull] this IObs
3838
}
3939

4040
/// <summary>
41-
/// Continually calculates the maximum value from the underlying data sourcce
41+
/// Continually calculates the maximum value from the underlying data source
4242
/// </summary>
4343
/// <typeparam name="TObject">The type of the object.</typeparam>
4444
/// <typeparam name="TKey">The type of the key.</typeparam>
@@ -56,7 +56,7 @@ public static IObservable<TResult> Maximum<TObject, TResult>([NotNull] this IObs
5656
}
5757

5858
/// <summary>
59-
/// Continually calculates the minimum value from the underlying data sourcce
59+
/// Continually calculates the minimum value from the underlying data source
6060
/// </summary>
6161
/// <typeparam name="TObject">The type of the object.</typeparam>
6262
/// <typeparam name="TResult">The type of the result.</typeparam>
@@ -71,7 +71,7 @@ public static IObservable<TResult> Maximum<TObject, TResult>([NotNull] this IObs
7171
}
7272

7373
/// <summary>
74-
/// Continually calculates the minimum value from the underlying data sourcce
74+
/// Continually calculates the minimum value from the underlying data source
7575
/// </summary>
7676
/// <typeparam name="TObject">The type of the object.</typeparam>
7777
/// <typeparam name="TKey">The type of the key.</typeparam>

src/DynamicData/Aggregation/StdDevEx.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
namespace DynamicData.Aggregation
1111
{
1212
/// <summary>
13-
/// Extensons for calculaing standard deviation
13+
/// Extensions for calculating standard deviation
1414
/// </summary>
1515
public static class StdDevEx
1616
{

src/DynamicData/Alias/ObservableListAlias.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2011-2019 Roland Pheasant. All rights reserved.
1+
// Copyright (c) 2011-2019 Roland Pheasant. All rights reserved.
22
// Roland Pheasant licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for full license information.
44

@@ -97,7 +97,7 @@ public static IObservable<IChangeSet<TDestination>> Select<TSource, TDestination
9797

9898
/// <summary>
9999
/// Equivalent to a select many transform. To work, the key must individually identify each child.
100-
/// **** Assumes each child can only have one parent - support for children with multiple parents is a work in progresss
100+
/// **** Assumes each child can only have one parent - support for children with multiple parents is a work in progresses
101101
/// </summary>
102102
/// <typeparam name="TDestination">The type of the destination.</typeparam>
103103
/// <typeparam name="TSource">The type of the source.</typeparam>

src/DynamicData/Binding/SortExpressionComparer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public SortExpressionComparer<T> ThenByAscending(Func<T, IComparable> expression
100100
}
101101

102102
/// <summary>
103-
/// Adds an additional desccending sort expression
103+
/// Adds an additional descending sort expression
104104
/// </summary>
105105
/// <param name="expression">The expression.</param>
106106
/// <returns></returns>

src/DynamicData/Cache/IObservableCache.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespace DynamicData
1616
public interface IConnectableCache<TObject, TKey>
1717
{
1818
/// <summary>
19-
/// Returns an observable of any changes which match the specified key. The sequence starts with the inital item in the cache (if there is one).
19+
/// Returns an observable of any changes which match the specified key. The sequence starts with the initial item in the cache (if there is one).
2020
/// </summary>
2121
/// <param name="key">The key.</param>
2222
IObservable<Change<TObject, TKey>> Watch(TKey key);

src/DynamicData/Cache/IPagedChangeSet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ namespace DynamicData
1414
public interface IPagedChangeSet<TObject, TKey> : ISortedChangeSet<TObject, TKey>
1515
{
1616
/// <summary>
17-
/// The paramaters used to virtualise the stream
17+
/// The parameters used to virtualise the stream
1818
/// </summary>
1919
IPageResponse Response { get; }
2020
}

src/DynamicData/Cache/IVirtualChangeSet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace DynamicData
99
public interface IVirtualChangeSet<TObject, TKey> : ISortedChangeSet<TObject, TKey>
1010
{
1111
/// <summary>
12-
/// The paramaters used to virtualise the stream
12+
/// The parameters used to virtualise the stream
1313
/// </summary>
1414
IVirtualResponse Response { get; }
1515
}

0 commit comments

Comments
 (0)