public ProgrammingUnit(string name, Unit_Type type, string version, Status status, string programmer, Requirements_Document reqDoc, string reqID) { this.name = name; this.type = type; this.version = version; this.status = status; this.programmer = programmer; this.reqDoc = reqDoc; this.reqDoc.ID = reqID; this.reqID = reqID; }
public ProgrammingUnit CreateProgrammingUnit(string name, Unit_Type type, string version, Status status, string programmer, Requirements_Document reqDoc, string reqID) { ProgrammingUnit unit = new ProgrammingUnit(name, type, version, status, programmer, reqDoc, reqID); return(unit); }