private object LookForFactory (string key) { object o = factories [key]; if (o != null) return o; if (parent != null) return parent.LookForFactory (key); return null; } #if (XML_DEP)
private object LookForFactory(string key) { object o = factories [key]; if (o != null) { return(o); } if (parent != null) { return(parent.LookForFactory(key)); } return(null); }