/// <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; }
/// <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); } }
/// <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(); }
/// <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()); }