mirror of
https://github.com/SK-la/osu-framework.git
synced 2026-03-15 03:20:30 +00:00
20 lines
588 B
C#
20 lines
588 B
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
#nullable disable
|
|
|
|
using System;
|
|
using JetBrains.Annotations;
|
|
|
|
namespace osu.Framework.Testing
|
|
{
|
|
/// <summary>
|
|
/// Receives callbacks upon .NET Hot Reloads.
|
|
/// </summary>
|
|
internal static class HotReloadCallbackReceiver
|
|
{
|
|
public static event Action<Type[]> CompilationFinished;
|
|
public static void UpdateApplication([CanBeNull] Type[] updatedTypes) => CompilationFinished?.Invoke(updatedTypes);
|
|
}
|
|
}
|