public static ArgumentsForArchCommand ( string monoExecutable, bool use64BitMono ) : IEnumerable |
||
monoExecutable | string | |
use64BitMono | bool | |
return | IEnumerable |
public static IEnumerable<string> ArgumentsForArchCommand(string monoExecutable, bool use64BitMono)
{
if (!PlatformUtils.IsOSX())
{
throw new InvalidOperationException("The platform should be OSX to call this method.");
}
return new List<string> {
(!use64BitMono ? "-i386" : "-x86_64"),
monoExecutable
};
}