public override void AcceptVisit(IVisitor visitor) { visitor.StartVisit <ISingleFactory <TBase> >(this); Element.AcceptVisit(visitor); visitor.EndVisit <ISingleFactory <TBase> >(this); }