private DocDef determineDocDef(string filePath) { DocDef docDef = new DocDef(); if (PathContainsText(filePath, "initial")) { docDef.id = DocDefNumbers.LICENSE_SERICE_AGREEMENT; } else if (PathContainsText(filePath, "change request") || PathContainsText(filePath, "support renewal")) { docDef.id = DocDefNumbers.ADDENDUM; } else if (PathContainsText(filePath, "sales")) { docDef.id = DocDefNumbers.ADD_ON_SALES_CONTRACT; } else { docDef.id = DocDefNumbers.UNKNOWN; } return(docDef); }
public PersonDocument() { docDef = new DocDef(); person = new Person(); }
public Document() { docDef = new DocDef(); theCase = new Case(); }