+ [MonoTODO ("Need to take advantage of the configuration mapping capabilities of IApplicationHost")]
+ [SecurityPermissionAttribute(SecurityAction.Demand, Unrestricted = true)]
+ public IRegisteredObject CreateObject (IApplicationHost appHost, Type type)
+ {
+ if (appHost == null)
+ throw new ArgumentNullException ("appHost");
+ if (type == null)
+ throw new ArgumentNullException ("type");
+
+ return CreateObject (appHost.GetSiteID (),
+ type,
+ appHost.GetVirtualPath (),
+ appHost.GetPhysicalPath (),
+ true,
+ true);
+ }
+