Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
 public PersonDocument()
 {
     docDef = new DocDef();
     person = new Person();
 }
Ejemplo n.º 3
0
 public Document()
 {
     docDef  = new DocDef();
     theCase = new Case();
 }