Skip to content

Commit 1c93a18

Browse files
author
Oren (electricessence)
committed
Removed improper documentation.
1 parent 19f9ca0 commit 1c93a18

2 files changed

Lines changed: 8 additions & 13 deletions

File tree

Extensions.cs

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ namespace Open.Collections.Numeric
1616
{
1717
public static class Extensions
1818
{
19-
20-
21-
2219
/// <summary>
2320
/// Debug utility for asserting if a collection is equal.
2421
/// </summary>
@@ -285,33 +282,24 @@ public static void Divide<TKey>(this IDictionary<TKey, double> target, TKey key,
285282
}
286283

287284

288-
/// <summary>
289-
/// Thread safe paralleled method which divides all existing values the given denominator.
290-
/// </summary>
291285
public static void DivideAll<TKey>(this IDictionary<TKey, double> target, double denominator)
292286
{
293287
if (target == null) throw new NullReferenceException();
294288

295289
target.Keys.ToArray().ForEach(
296-
//Parallel.ForEach(,
297290
key => // In this case we get a copy of the keys in order to avoid unsafe enumeration problems.
298291
Divide(target, key, denominator)
299292
);
300293
}
301294

302-
/// <summary>
303-
/// Thread safe paralleled method which divides all existing values the given denominator.
304-
/// </summary>
295+
305296
public static void DivideAll(this IDictionary<TimeSpan, double> target, double denominator)
306297
{
307298
if (target == null) throw new NullReferenceException();
308299

309300
DivideAll<TimeSpan>(target, denominator);
310301
}
311302

312-
/// <summary>
313-
/// Thread safe paralleled method which divides all existing values the given denominator.
314-
/// </summary>
315303
public static void DivideAll(this IDictionary<DateTime, double> target, double denominator)
316304
{
317305
if (target == null) throw new NullReferenceException();

Open.Collections.Numeric.csproj

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ Part of the "Open" set of libraries.</Description>
1818
<Version>1.0.0</Version>
1919
</PropertyGroup>
2020

21+
<ItemGroup>
22+
<None Remove=".git" />
23+
<None Remove=".gitignore" />
24+
<None Remove="LISCENSE.md" />
25+
<None Remove="README.md" />
26+
</ItemGroup>
27+
2128
<ItemGroup>
2229
<PackageReference Include="Open.Collections" Version="1.2.0" />
2330
<PackageReference Include="Open.Numeric" Version="1.0.1" />

0 commit comments

Comments
 (0)