GetService() protected method

protected GetService ( System service ) : Object
service System
return System.Object
Exemplo n.º 1
0
 public object GetService(Type serviceType)
 {
     if (serviceType == typeof(IDictionaryService))
     {
         if (dict == null)
         {
             dict = new Hashtable();
         }
         return(this);
     }
     return(container.GetService(serviceType));
 }