public virtual object GetService(Type service) { if (service == typeof(ISite)) { return(this); } return(_nestedContainer.GetService(service)); }
public Object GetService(Type service) { return((service == typeof(ISite)) ? this : container.GetService(service)); }