public static Int32 FromLockfCommand(LockfCommand value)
        {
            Int32 rval;

            if (FromLockfCommand(value, out rval) == -1)
            {
                ThrowArgumentException(value);
            }
            return(rval);
        }
		public static bool TryToLockfCommand (Int32 value, out LockfCommand rval)
		{
			return ToLockfCommand (value, out rval) == 0;
		}
		private static extern int ToLockfCommand (Int32 value, out LockfCommand rval);
		public static Int32 FromLockfCommand (LockfCommand value)
		{
			Int32 rval;
			if (FromLockfCommand (value, out rval) == -1)
				ThrowArgumentException (value);
			return rval;
		}
		public static bool TryFromLockfCommand (LockfCommand value, out Int32 rval)
		{
			return FromLockfCommand (value, out rval) == 0;
		}
		private static extern int FromLockfCommand (LockfCommand value, out Int32 rval);
 public static bool TryToLockfCommand(Int32 value, out LockfCommand rval)
 {
     return(ToLockfCommand(value, out rval) == 0);
 }
Example #8
0
		public static extern int lockf (int fd, LockfCommand cmd, long len);
 private static extern int FromLockfCommand(LockfCommand value, out Int32 rval);
 public static bool TryFromLockfCommand(LockfCommand value, out Int32 rval)
 {
     return(FromLockfCommand(value, out rval) == 0);
 }
		private static int FromLockfCommand (LockfCommand value, out Int32 rval)
		{
			throw new System.NotImplementedException();
		}
		private static int ToLockfCommand (Int32 value, out LockfCommand rval)
		{
			throw new System.NotImplementedException();
		}
		public static int lockf (int fd, LockfCommand cmd, long len)
		{
			throw new System.NotImplementedException();
		}
Example #14
0
 private static int FromLockfCommand(LockfCommand value, out Int32 rval)
 {
     throw new System.NotImplementedException();
 }
 private static extern int ToLockfCommand(Int32 value, out LockfCommand rval);
Example #16
0
 private static int ToLockfCommand(Int32 value, out LockfCommand rval)
 {
     throw new System.NotImplementedException();
 }
Example #17
0
 public static int lockf(int fd, LockfCommand cmd, long len)
 {
     throw new System.NotImplementedException();
 }