Refactor folder structure
This commit is contained in:
12
src/Runtime/Ghost.Core/Utilities/InternalResource.cs
Normal file
12
src/Runtime/Ghost.Core/Utilities/InternalResource.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using Ghost.Core.Contracts;
|
||||
|
||||
namespace Ghost.Core.Utilities;
|
||||
|
||||
internal static class InternalResource
|
||||
{
|
||||
public static void Release<T>(ref T? resource)
|
||||
where T : IReleasable
|
||||
{
|
||||
resource?.InternalRelease();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user