Exemple #1
0
        public static Taxon UnknownSpeciesOf(Genus genus)
        {
            var ret = new Taxon();

            ret.Genus   = genus;
            ret.Species = "spec.";
            return(ret);
        }
Exemple #2
0
 public static void SetGenus(ref Genus field, Genus value)
 {
     if (value == null)
     {
         field = Empty;
     }
     else
     {
         field = value;
     }
 }
Exemple #3
0
 public virtual bool Equals(Genus other)
 {
     if (other == null)
     {
         return(false);
     }
     if (other is NullGenera)
     {
         return(false);
     }
     return(other.Id == Id);
 }
Exemple #4
0
 public override bool Equals(Genus other)
 {
     return(other is NullGenera);
 }