This repository has been archived by the owner on Dec 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🧩 Bring IHookFactory<T> back for backwards compatibility
- Loading branch information
Showing
3 changed files
with
22 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using System; | ||
|
||
namespace RogueLibsCore | ||
{ | ||
/// <summary> | ||
/// <para>Represents a hook factory, that creates hooks attachable to instances of type <typeparamref name="T"/>.</para> | ||
/// </summary> | ||
/// <typeparam name="T">The type of objects that the created hooks can be attached to.</typeparam> | ||
[Obsolete("IHookFactory<T> interface was deprecated in RogueLibs v4.0.0. Use the non-generic IHookFactory interface instead.")] | ||
public interface IHookFactory<in T> : IHookFactory where T : notnull { } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters