public string GetPreviewString(RSTriggerInfo inTriggerContext, RSLibrary inLibrary) { using (PooledStringBuilder psb = PooledStringBuilder.Alloc()) { var sb = psb.Builder; if (!Enabled) { sb.Append("[Disabled] "); } sb.Append(Query.GetPreviewString(inTriggerContext, inLibrary)); sb.Append(" ").Append(Operator.Symbol()); if (Operator.IsBinary()) { sb.Append(" ").Append(Target.GetPreviewString(inTriggerContext, inLibrary)); } return(sb.ToString()); } }