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

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