コード例 #1
0
        public async ValueTask RestartAsync(CancellationToken cancellationToken)
        {
            WriteToOutputWindow(VSResources.HotReloadRestartInProgress);

            await _callback.RestartProjectAsync(cancellationToken);

            // TODO: Should we stop the session here? Or does someone else do it?
            // TODO: Should we handle rebuilding here? Or do we expect the callback to handle it?
        }
コード例 #2
0
        public async ValueTask RestartAsync(CancellationToken cancellationToken)
        {
            WriteToOutputWindow(
                new HotReloadLogMessage(
                    HotReloadVerbosity.Minimal,
                    VSResources.HotReloadRestartInProgress,
                    Name,
                    _variant
                    ),
                cancellationToken);

            await _callback.RestartProjectAsync(cancellationToken);

            // TODO: Should we stop the session here? Or does someone else do it?
            // TODO: Should we handle rebuilding here? Or do we expect the callback to handle it?
        }