public override string GetBeforeCommand() { return(BeforeCommandTempate.Replace("{0}", PreUniqueId.ToString()).Replace("{1}", PageIndex.ToString()).Replace("{2}", CommandIndex.ToString()).Replace("{3}", "true")); }
public override string GetBeforeCommand() { string rules = string.IsNullOrEmpty(optionDialogInfo.Rules) ? "true" : optionDialogInfo.Rules; return(BeforeCommandTempate.Replace("{0}", PreUniqueId.ToString()).Replace("{1}", PageIndex.ToString()).Replace("{2}", CommandIndex.ToString()).Replace("{3}", rules)); }