public override object Lookup(Type type) { if (type == typeof(OptionHandler)) { return(handler); } if (handler != null) { return(handler.Lookup(type)); } return(null); }