Exemplo n.º 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);
     }
 }
Exemplo n.º 2
0
 public ErrorException(Out123 handle) : base(LastErrorFrom(handle))
 {
 }
Exemplo n.º 3
0
 private static string LastErrorFrom(Out123 handle)
 {
     return("[" + handle.LastErrorCode() + "][" + handle.LastErrorString() + "]");
 }