コード例 #1
0
ファイル: individual.cs プロジェクト: anytizer/gedcomer
        //private role role;

        public individual(string name = "")
        {
            // look up based on id
            this.id = string.Format("I{0}", universe.id());

            this.name  = name;
            this.name2 = ""; // alias

            this.sex = sex.UNKNOWN;

            this.BIRTH = new date(datetype.DEAT, "", "");
            this.DEATH = new date(datetype.BIRT, "", "");

            this.events = new List <@event>();
            this.notes  = new List <note>();
            this.photos = new List <photo>();

            // relatives
            this.father   = null;
            this.mother   = null;
            this.spouses  = new List <individual>();
            this.children = new List <individual>();
        }
コード例 #2
0
ファイル: individual.cs プロジェクト: anytizer/gedcomer
 public void death(string _date = "", string place = "", string text = "")
 {
     this.DEATH = new date(datetype.DEAT, _date, place, text);
 }
コード例 #3
0
ファイル: individual.cs プロジェクト: anytizer/gedcomer
 public void birth(string _date = "", string place = "", string text = "")
 {
     this.BIRTH = new date(datetype.BIRT, _date, place, text);
 }