Skip to content

Commit

Permalink
Fixed XML comment issue
Browse files Browse the repository at this point in the history
  • Loading branch information
TwentyFourMinutes committed Jan 5, 2020
1 parent 6a5a4c5 commit 3991eb7
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 17 deletions.
4 changes: 2 additions & 2 deletions src/BidirectionalDict/BidirectionalDict/BiDictionary.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ public BiDictionary()
_secondToFirst = new Dictionary<TSecond, TFirst>();
}

/// <summary>Initializes a new instance of the <see cref="BiDictionary{TFirst, TSecond}" /> class that contains elements copied from the specified <see cref= "IEnumerable{KeyValuePair{TFirst, TSecond}}" /> and uses the default equality comparer for the key type.</summary>
/// <param name="dictionary">The <see cref="IEnumerable{KeyValuePair{TFirst, TSecond}}" /> whose elements are copied to the new <see cref="BiDictionary{TFirst, TSecond}" />.</param>
/// <summary>Initializes a new instance of the <see cref="BiDictionary{TFirst, TSecond}" /> class that contains elements copied from the specified <see cref="IEnumerable{T}" /> and uses the default equality comparer for the key type.</summary>
/// <param name="collection">The <see cref="IEnumerable{T}" /> whose elements are copied to the new <see cref="BiDictionary{TFirst, TSecond}" />.</param>
public BiDictionary(IEnumerable<KeyValuePair<TFirst, TSecond>> collection)
{
_firstToSecond = new Dictionary<TFirst, TSecond>(collection);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@
<Description>A simple bidirectional dictionary/collection of value pairs.</Description>
<Company>Twenty</Company>
<Authors>Twenty</Authors>
<Version>1.0.0.1</Version>
<Version>1.0.0.3</Version>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<Title>BidirectionalDict</Title>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DocumentationFile>BidirectionalDict.xml</DocumentationFile>
</PropertyGroup>

Expand Down
18 changes: 9 additions & 9 deletions src/BidirectionalDict/BidirectionalDict/BidirectionalDict.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ public ConcurrentBiDictionary()
_secondToFirst = new ConcurrentDictionary<TSecond, TFirst>();
}

/// <summary>Initializes a new instance of the <see cref="ConcurrentBiDictionary{TFirst, TSecond}" /> class that contains elements copied from the specified <see cref= "IEnumerable{KeyValuePair{TFirst, TSecond}}" /> and uses the default equality comparer for the key type.</summary>
/// <param name="dictionary">The <see cref="IEnumerable{KeyValuePair{TFirst, TSecond}}" /> whose elements are copied to the new <see cref="ConcurrentBiDictionary{TFirst, TSecond}" />.</param>
/// <summary>Initializes a new instance of the <see cref="ConcurrentBiDictionary{TFirst, TSecond}" /> class that contains elements copied from the specified <see cref="IEnumerable{T}" /> and uses the default equality comparer for the key type.</summary>
/// <param name="collection">The <see cref="IEnumerable{T}" /> whose elements are copied to the new <see cref="ConcurrentBiDictionary{TFirst, TSecond}" />.</param>
public ConcurrentBiDictionary(IEnumerable<KeyValuePair<TFirst, TSecond>> collection)
{
_firstToSecond = new ConcurrentDictionary<TFirst, TSecond>(collection);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ public class ReadOnlyBiDictionary<TFirst, TSecond> : IReadOnlyBiDictionary<TFirs
private readonly IReadOnlyDictionary<TFirst, TSecond> _firstToSecond;
private readonly IReadOnlyDictionary<TSecond, TFirst> _secondToFirst;

/// <summary>Initializes a new instance of the <see cref="ReadOnlyBiDictionary{TFirst, TSecond}" /> class that contains elements copied from the specified <see cref= "IEnumerable{KeyValuePair{TFirst, TSecond}}" /> and uses the default equality comparer for the key type.</summary>
/// <param name="dictionary">The <see cref="IEnumerable{KeyValuePair{TFirst, TSecond}}" /> whose elements are copied to the new <see cref="ReadOnlyBiDictionary{TFirst, TSecond}" />.</param>
/// <summary>Initializes a new instance of the <see cref="ReadOnlyBiDictionary{TFirst, TSecond}" /> class that contains elements copied from the specified <see cref="IEnumerable{T}" /> and uses the default equality comparer for the key type.</summary>
/// <param name="collection">The <see cref="IEnumerable{T}" /> whose elements are copied to the new <see cref="ReadOnlyBiDictionary{TFirst, TSecond}" />.</param>
public ReadOnlyBiDictionary(IEnumerable<KeyValuePair<TFirst, TSecond>> collection)
{
_firstToSecond = new ReadOnlyDictionary<TFirst, TSecond>(collection.ToDictionary(k => k.Key, v => v.Value));
Expand Down

0 comments on commit 3991eb7

Please sign in to comment.