public static bool IsProfilerAttached()
        {
            if (IsWindows)
            {
                return(Windows.IsProfilerAttached());
            }

            return(NonWindows.IsProfilerAttached());
        }
Пример #2
0
        public static bool IsProfilerAttached()
        {
            if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
            {
                return(Windows.IsProfilerAttached());
            }

            return(NonWindows.IsProfilerAttached());
        }