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

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