Beispiel #1
0
        protected override StringTagModel OnGetStringTagModel(ConfigurationSelector conf)
        {
            StringTagModel source = base.OnGetStringTagModel(conf);

            if (ParentSolution != null)
            {
                source.Add(ParentSolution.GetStringTagModel());
            }
            return(source);
        }
Beispiel #2
0
        /// <summary>
        /// Gets the string tag model for this solution item
        /// </summary>
        /// <returns>
        /// The string tag model
        /// </returns>
        /// <param name='conf'>
        /// Configuration for which to get the string tag model
        /// </param>
        public virtual StringTagModel GetStringTagModel(ConfigurationSelector conf)
        {
            StringTagModel source = new StringTagModel();

            source.Add(this);
            if (ParentSolution != null)
            {
                source.Add(ParentSolution.GetStringTagModel());
            }
            return(source);
        }