コード例 #1
0
        /// <summary>Stringify current settingset mode.</summary>
        /// <remarks>Extended class might implement extended logics, 
        ///   e.g. check current site StartPage properties when UNDEFINED. 
        ///   When defined will override default config. value.
        /// </remarks>
        protected virtual string GetSettingsSetString(FreeTextAreaSettingsSet settingsSet)
        {
            if (settingsSet == FreeTextAreaSettingsSet.Undefined)
                settingsSet = FreeTextAreaSettingsSet.Simple;

            if (settingsSet != FreeTextAreaSettingsSet.Fixed)
                return settingsSet.ToString();
            else
                return string.Empty;
        }
コード例 #2
0
        /// <summary>Stringify current settingset mode.</summary>
        /// <remarks>Extended class might implement extended logics,
        ///   e.g. check current site StartPage properties when UNDEFINED.
        ///   When defined will override default config. value.
        /// </remarks>
        protected virtual string GetSettingsSetString(FreeTextAreaSettingsSet settingsSet)
        {
            if (settingsSet == FreeTextAreaSettingsSet.Undefined)
            {
                settingsSet = FreeTextAreaSettingsSet.Simple;
            }

            if (settingsSet != FreeTextAreaSettingsSet.Fixed)
            {
                return(settingsSet.ToString());
            }
            else
            {
                return(string.Empty);
            }
        }
コード例 #3
0
		/// <summary>Stringify current settingset mode.</summary>
		/// <remarks>Extended class might implement extended logics, 
		///   e.g. check current site StartPage properties when UNDEFINED. 
		///   When defined will override default config. value.
		/// </remarks>
		protected virtual string GetSettingsSetString(FreeTextAreaSettingsSet settingsSet)
		{
			return settingsSet.ToString();
		}
コード例 #4
0
		/// <summary>Stringify current settingset mode.</summary>
		/// <remarks>Extended class might implement extended logics, 
		///   e.g. check current site StartPage properties when UNDEFINED. 
		///   When defined will override default config. value.
		/// </remarks>
		protected virtual string GetSettingsSetString(FreeTextAreaSettingsSet settingsSet)
		{
			if (settingsSet == FreeTextAreaSettingsSet.Undefined)
				settingsSet = FreeTextAreaSettingsSet.Simple;

			if (settingsSet != FreeTextAreaSettingsSet.Fixed)
				return settingsSet.ToString();
			else
				return string.Empty;
		}
コード例 #5
0
 /// <summary>Stringify current settingset mode.</summary>
 /// <remarks>Extended class might implement extended logics,
 ///   e.g. check current site StartPage properties when UNDEFINED.
 ///   When defined will override default config. value.
 /// </remarks>
 protected virtual string GetSettingsSetString(FreeTextAreaSettingsSet settingsSet)
 {
     return(settingsSet.ToString());
 }