AspNetEdit.Editor.ComponentModel.DesignContainer.GetService C# (CSharp) Method

GetService() protected method

protected GetService ( System service ) : Object
service System
return System.Object
        protected System.Object GetService(System.Type service)
        {
            return host.GetService (service);
        }

Usage Example

Beispiel #1
0
 public object GetService(Type serviceType)
 {
     if (serviceType == typeof(IDictionaryService))
     {
         if (dict == null)
         {
             dict = new Hashtable();
         }
         return(this);
     }
     return(container.GetService(serviceType));
 }