Exemplo n.º 1
0
        private void visibilityChanged(ValueChangedEvent <Visibility> state)
        {
            performanceLogging.Value = state.NewValue == Visibility.Visible;

            if (state.NewValue == Visibility.Visible)
            {
                GlobalStatistics.OutputToLog();
                listener = new DotNetRuntimeListener();
            }
            else
            {
                listener?.Dispose();
            }
        }
        private void load(GameHost host)
        {
            listener = new DotNetRuntimeListener();

            performanceLogging = host.PerformanceLogging.GetBoundCopy();
        }
Exemplo n.º 3
0
 private void load()
 {
     listener = new DotNetRuntimeListener();
 }