Priya.InfoList.Views.TemplateInfoDetailSave.ProcessPlaceHolder C# (CSharp) Method

ProcessPlaceHolder() protected method

protected ProcessPlaceHolder ( string template ) : string
template string
return string
		protected string ProcessPlaceHolder(string template)
		{
			template = template.Replace("{{SaveScript}}", string.IsNullOrEmpty(SaveScript)==false ? SaveScript : "");
			template = template.Replace("{{InfoSectionId}}", string.IsNullOrEmpty(InfoSectionId)==false ? InfoSectionId : "");
			template = template.Replace("{{SaveDetail}}", string.IsNullOrEmpty(SaveDetail)==false ? SaveDetail : "");
			return template;
		}