Skip to content

Commit

Permalink
Rename back Self > TSelf in INewable
Browse files Browse the repository at this point in the history
The previous rename was unintentional.
  • Loading branch information
kzu committed Nov 25, 2024
1 parent 8aea54b commit aa16cb6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/StructId/INewable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
namespace StructId;

/// <summary>
/// Interface implemented by <see cref="IStructId"/> and <see cref="IStructId{T}"/>
/// Interface implemented by <see cref="IStructId"/>
/// that support creating new instances of the identifier.
/// </summary>
public interface INewable<Self>
public interface INewable<TSelf>
{
/// <summary>
/// Creates a new identifier from the given identifier value.
/// </summary>
public abstract static Self New(string value);
public abstract static TSelf New(string value);
}
6 changes: 3 additions & 3 deletions src/StructId/INewableT.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
namespace StructId;

/// <summary>
/// Interface implemented by <see cref="IStructId"/> and <see cref="IStructId{T}"/>
/// Interface implemented by <see cref="IStructId{T}"/>
/// that support creating new instances of the identifier.
/// </summary>
public interface INewable<Self, TValue>
public interface INewable<TSelf, TValue>
{
/// <summary>
/// Creates a new identifier from the given identifier value.
/// </summary>
public abstract static Self New(TValue value);
public abstract static TSelf New(TValue value);
}

0 comments on commit aa16cb6

Please sign in to comment.