public override PTEID_XMLDoc getDocument(PTEID_DocumentType type) { switch(type) { case PTEID_DocumentType.PTEID_DOCTYPE_FULL: return getFullDoc(); case PTEID_DocumentType.PTEID_DOCTYPE_ID: return getID(); default: throw new PTEID_ExDocTypeUnknown(); } }
public override PTEID_XMLDoc getDocument(PTEID_DocumentType type) { switch(type) { case PTEID_DocumentType.PTEID_DOCTYPE_FULL: return getFullDoc(); case PTEID_DocumentType.PTEID_DOCTYPE_ID: return getID(); case PTEID_DocumentType.PTEID_DOCTYPE_ADDRESS: return getAddr(); /*case PTEID_DocumentType.PTEID_DOCTYPE_PICTURE: return getPicture();*/ case PTEID_DocumentType.PTEID_DOCTYPE_INFO: return getVersionInfo(); case PTEID_DocumentType.PTEID_DOCTYPE_PINS: return getPins(); case PTEID_DocumentType.PTEID_DOCTYPE_CERTIFICATES: return getCertificates(); default: throw new PTEID_ExDocTypeUnknown(); } }
public virtual PTEID_XMLDoc getDocument(PTEID_DocumentType type) { PTEID_XMLDoc ret = new PTEID_XMLDoc(pteidlib_dotNetPINVOKE.PTEID_Card_getDocument(swigCPtr, (int)type), false); if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve(); return ret; }