public virtual object GetService(Type service)
            {
                if (service == typeof(ISite))
                {
                    return(this);
                }

                return(_nestedContainer.GetService(service));
            }
示例#2
0
 public Object GetService(Type service)
 {
     return((service == typeof(ISite)) ? this : container.GetService(service));
 }