コード例 #1
0
        public virtual void SetProperties(Dictionary <string, object> propertyValueMappings)
        {
            if (propertyValueMappings.ContainsKey("pageTitle"))
            {
                PageTitle = Convert.ToString(propertyValueMappings["pageTitle"]);
            }

            if (MetaTags == null)
            {
                return;
            }

            MetaTags.SetProperties(propertyValueMappings);

            if (!MetaTags.HasTitle)
            {
                MetaTags.Title = PageTitle;
            }
        }