Ejemplo n.º 1
0
    public Instrument getInstrument(string t)
    {
        IntPtr     cPtr = ContextModulePINVOKE.Context_getInstrument(swigCPtr, t);
        Instrument ret  = (cPtr == IntPtr.Zero) ? null : new Instrument(cPtr, false);

        if (ContextModulePINVOKE.SWIGPendingException.Pending)
        {
            throw ContextModulePINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }