Mono.Debugger.Backend.Inferior.CreateOperatingSystemBackend C# (CSharp) Method

CreateOperatingSystemBackend() public static method

public static CreateOperatingSystemBackend ( Process process ) : OperatingSystemBackend
process System.Diagnostics.Process
return OperatingSystemBackend
        public static OperatingSystemBackend CreateOperatingSystemBackend(Process process)
        {
            ServerType type = mono_debugger_server_get_server_type ();
            switch (type) {
            case ServerType.LINUX_PTRACE:
                return new LinuxOperatingSystem (process);
            case ServerType.DARWIN:
                return new DarwinOperatingSystem (process);
            case ServerType.WINDOWS:
                return new WindowsOperatingSystem (process);
            default:
                throw new NotSupportedException (String.Format ("Unknown server type {0}.", type));
            }
        }
Inferior