IsWindows() public method

Checks if the object represents one of Windows-specific ABIs.
public IsWindows ( ) : bool
return bool
Ejemplo n.º 1
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;
		}
Ejemplo n.º 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);
     }
 }
Ejemplo n.º 3
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;
 }