Example #1
0
 private WorkExperience fuzhi(WorkExperience _workExperience)
 {
     _workExperience.Company = "22";
     workExperience          = (WorkExperience)_workExperience.Clone();
     workExperience.Company  = "33";
     return(workExperience);
 }
Example #2
0
 private Resume(WorkExperience work)
 {
     this.work = (WorkExperience)work.Clone();//提供Clone方法调用的私有构造函数,以便克隆“工作经历”的数据
 }
Example #3
0
 public Resume(string name)
 {
     this.name = name;
        work = new WorkExperience();
 }
Example #4
0
 //设置工作经历
 public void SetWorkExprience(WorkExperience work)
 {
     _work = work.Clone() as WorkExperience;
 }
Example #5
0
 public Resume(string name)
 {
     _name = name;
     _work = new WorkExperience();
 }
Example #6
0
 private Resume(WorkExperience work)
 {
     _workExperience = (WorkExperience)work.Clone();
 }
Example #7
0
 private ResumePrototype(WorkExperience _workExperience)
 {
     _workExperience.Company = "22";
     workExperience          = (WorkExperience)_workExperience.Clone();
 }
 private Resume(WorkExperience work)
 {
     this.work = (WorkExperience)work.Clone();
 }
Example #9
0
 public ResumePrototype(string _name)
 {
     this.Name      = _name;
     workExperience = new WorkExperience();
 }
 public Resume(string name)
 {
     this.name = name;
     work      = new WorkExperience();
 }
Example #11
0
 private Resume(WorkExperience work)           //私有
 {
     this.work = (WorkExperience)work.Clone(); //深複製
 }
Example #12
0
 private Resume(WorkExperience work)
 {
     this.work = (WorkExperience)work.Clone();
 }
 private PrototypeICloneable_Resume(WorkExperience work)
 {
     this.work = (WorkExperience)work.Clone();
 }
 public PrototypeICloneable_Resume(string name)
 {
     this.name = name;
     work      = new WorkExperience();
 }