Mono.Debugger.Backend.Inferior.CreateOperatingSystemBackend C# (CSharp) 메소드

CreateOperatingSystemBackend() 공개 정적인 메소드

public static CreateOperatingSystemBackend ( Process process ) : OperatingSystemBackend
process System.Diagnostics.Process
리턴 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