Skip to content

Commit

Permalink
Remove constraints on IIdentifiable's type params
Browse files Browse the repository at this point in the history
  • Loading branch information
dgmjr committed Nov 8, 2023
1 parent f849960 commit 6e659c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dgmjr.Abstractions.props
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
<Project>
<ItemGroup>
<Using Include="Dgmjr.Abstractions"/>
<Using Include="Dgmjr.Primitives.Abstractions"/>
<!-- <Using Include="Dgmjr.Primitives.Abstractions"/> -->
</ItemGroup>
</Project>
4 changes: 2 additions & 2 deletions IIdentifiable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public interface IIdentifiable
/// <c><see cref="Id">Id</see></c> property of type <typeparamref name="TId"/>.
/// </summary>
public interface IIdentifiable<TId>
where TId : IComparable, IEquatable<TId>
// where TId : IComparable, IEquatable<TId>
{
/// <summary>
/// The object's unique identifier.
Expand All @@ -54,7 +54,7 @@ public interface IHaveAWritableId : IIdentifiable
/// <c><see cref="Id">Id</see></c> property.
/// </summary>
public interface IHaveAWritableId<TId> : IIdentifiable<TId>
where TId : IComparable, IEquatable<TId>
// where TId : IComparable, IEquatable<TId>
{
/// <summary>
/// The object's unique identifier.
Expand Down

0 comments on commit 6e659c3

Please sign in to comment.