public WebFormReferenceManager(DesignerHost host)
{
if (host == null)
throw new ArgumentNullException ("host");
this.host = host;
this.typeRes = host.GetService (typeof (ITypeResolutionService)) as ITypeResolutionService;
if (typeRes == null)
throw new Exception ("Could not obtain ITypesResolutionService from host");
}