// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using JetBrains.Annotations; namespace PerformanceCalculatorGUI { /// /// Receives callbacks upon .NET Hot Reloads. /// internal static class HotReloadCallbackReceiver { public static event Action CompilationFinished; public static void UpdateApplication([CanBeNull] Type[] updatedTypes) => CompilationFinished?.Invoke(updatedTypes); } }