OpenTK.Debug.Unindent C# (CSharp) Method

Unindent() public static method

public static Unindent ( ) : void
return void
        public static void Unindent() { }
        public static void Flush() { }

Usage Example

Esempio n. 1
0
        /// <summary>
        /// Detects the unix kernel by p/invoking uname (libc).
        /// </summary>
        /// <returns></returns>
        private static string DetectUnixKernel()
        {
            Debug.Print("Size: {0}", Marshal.SizeOf(typeof(utsname)).ToString());
            Debug.Flush();
            utsname uts = new utsname();

            uname(out uts);
            Debug.WriteLine("System:");
            Debug.Indent();
            Debug.WriteLine(uts.sysname);
            Debug.WriteLine(uts.nodename);
            Debug.WriteLine(uts.release);
            Debug.WriteLine(uts.version);
            Debug.WriteLine(uts.machine);
            Debug.Unindent();
            return(uts.sysname.ToString());
        }
All Usage Examples Of OpenTK.Debug::Unindent