IsOSX() 공개 메소드

Checks if the object represents one of OSX-specific ABIs.
public IsOSX ( ) : bool
리턴 bool
예제 #1
0
파일: Loader.cs 프로젝트: up2038292/dwsim6
		private static INativeLibraryLoader GetNativeLibraryLoader(ABI abi)
		{
			if (abi.IsWindows())
				return new WindowsLibraryLoader();
			else if (abi.IsLinux())
				return new LinuxLibraryLoader();
			else if (abi.IsOSX())
				return new OSXLibraryLoader();
			else
				return null;
		}
예제 #2
0
 private static INativeLibraryLoader GetNativeLibraryLoader(ABI abi)
 {
     if (abi.IsWindows())
     {
         return(new WindowsLibraryLoader());
     }
     else if (abi.IsLinux())
     {
         return(new LinuxLibraryLoader());
     }
     else if (abi.IsOSX())
     {
         return(new OSXLibraryLoader());
     }
     else
     {
         return(null);
     }
 }
예제 #3
0
파일: Loader.cs 프로젝트: wdv4758h/Yeppp
 private static INativeLibraryLoader GetNativeLibraryLoader(ABI abi)
 {
     if (abi.IsWindows())
         return new WindowsLibraryLoader();
     else if (abi.IsLinux())
         return new LinuxLibraryLoader();
     else if (abi.IsOSX())
         return new OSXLibraryLoader();
     else
         return null;
 }