public ContentSetting GetSettingsObj() { if (strUtil.IsNullOrEmpty(this.Settings)) { return(new ContentSetting()); } ContentSetting s = JSON.ToObject <ContentSetting>(this.Settings); s.SetDefaultValue(); return(s); }
public ContentSetting GetSettingsObj() { if (strUtil.IsNullOrEmpty(this.Settings)) { return(new ContentSetting()); } ContentSetting s = Json.Deserialize <ContentSetting>(this.Settings); s.SetDefaultValue(); return(s); }