public ISite GetSite()
 {
     if (site == null)
     {
         var newSite = new SimpleSite();
         IPropertyValueUIService service = new PropertyValueUIService();
         service.AddPropertyValueUIHandler(new PropertyValueUIHandler(GenericPropertyValueUIHandler));
         newSite.AddService(service);
         site = newSite;
     }
     return(site);
 }
 public ISite GetSite()
 {
     if (site == null)
     {
         var newSite = new SimpleSite();
         IPropertyValueUIService service = new PropertyValueUIService();
         service.AddPropertyValueUIHandler(new PropertyValueUIHandler(GenericPropertyValueUIHandler));
         newSite.AddService(service);
         site = newSite;
     }
     return site;
 }