GetService() protected method

[To be supplied.]

protected GetService ( Type service ) : object
service System.Type
return object
Example #1
0
            public virtual object GetService(Type service)
            {
                if (service == typeof(ISite))
                {
                    return(this);
                }

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