internal static List <string> MarkAsPII(List <string> data) { if (data == null) { return(data); } for (int i = 0; i < data.Count; i++) { data[i] = PolicyTipRequestLogger.MarkAsPII(data[i]); } return(data); }
public override string ToString() { string format = "Action:{0}/AttachmentIds:{1}/Recipients:{2}/Classifications:{3}."; object[] array = new object[4]; array[0] = this.Action.ToString(); object[] array2 = array; int num = 1; string text; if (this.AttachmentIds != null) { text = string.Join(";", from attachId in this.AttachmentIds select attachId.Id); } else { text = string.Empty; } array2[num] = text; object[] array3 = array; int num2 = 2; string text2; if (this.Recipients != null) { text2 = string.Join(";", from emailAddressWrapper in this.Recipients select PolicyTipRequestLogger.MarkAsPII(emailAddressWrapper.EmailAddress)); } else { text2 = string.Empty; } array3[num2] = text2; array[3] = ((this.Classifications == null) ? string.Empty : string.Join(";", this.Classifications)); return(string.Format(format, array)); }
// Token: 0x0600150F RID: 5391 RVA: 0x0004AF68 File Offset: 0x00049168 internal static string PredicateEvalResultToString(PredicateEvaluationResult predicateEvalResult) { if (predicateEvalResult == null) { return(string.Empty); } List <string> values = (predicateEvalResult.Type == typeof(SentToPredicate) || predicateEvalResult.Type == typeof(SentToScopePredicate) || predicateEvalResult.Type == typeof(OwaIsSameUserPredicate)) ? PolicyTipRequestLogger.MarkAsPII(predicateEvalResult.MatchResults) : predicateEvalResult.MatchResults; return(string.Format("IsPredicateMatch:{0}/MatchResults:{1}/SupplInfo:{2}/Type:{3}/PropertyName:{4}.", new object[] { predicateEvalResult.IsMatch ? "1" : "0", string.Join(";", values), predicateEvalResult.SupplementalInfo, predicateEvalResult.Type, predicateEvalResult.PropertyName ?? string.Empty })); }