/// <summary> /// Initializes the model /// </summary> private void Initialize() { _detachedContentDisplay = this.GetDetachedContentDisplayForCulture(); _properties = new Lazy <Dictionary <string, IEnumerable <IPublishedProperty> > >(this.BuildProperties); }
/// <summary> /// Changes the current culture. /// </summary> /// <param name="cultureName"> /// The culture name. /// </param> internal void ChangeCulture(string cultureName) { CultureName = cultureName; _detachedContentDisplay = this.GetDetachedContentDisplayForCulture(); }