예제 #1
0
 public void CopyParamFrom(Out123 other)
 {
     Out123.Errors error = Out123NativeMethods.ParamFrom(handle, other.handle);
     if (error != Out123.Errors.OK)
     {
         throw new Out123.ErrorException(error);
     }
 }
예제 #2
0
 public ErrorException(Out123 handle) : base(LastErrorFrom(handle))
 {
 }
예제 #3
0
 private static string LastErrorFrom(Out123 handle)
 {
     return("[" + handle.LastErrorCode() + "][" + handle.LastErrorString() + "]");
 }