protected void InvalidateSiteProperties()
 {
     lock (this) {
         properties = null;
     }
     FireSitePropertiesInvalidated();
 }
Example #2
0
 public void SetOwner(SitePropertiesCollection ownerCollection)
 {
     if (owner != null)
     {
         throw new InvalidOperationException("The collection of a SiteProperty can only be set once.");
     }
     owner = ownerCollection;
 }
        private SitePropertiesCollection LoadPropertiesAndInitialize()
        {
            var newPropertiesCollection = InnerLoadProperties();

            properties = newPropertiesCollection;
            InitCache();
            return(newPropertiesCollection);
        }