// Token: 0x060000E0 RID: 224 RVA: 0x00005268 File Offset: 0x00003468 public static string GenerateXPathFilterForFailedEventsInTimeRange(string channelName, string channelPath, DateTime createTime, DateTime endTime, string additionalConstraints = null) { return(string.Format("<QueryList><Query Id=\"0\" Path=\"{0}\"><Select Path=\"{0}\">*[System[(Level=1 or Level=2 or Level=3) and TimeCreated[@SystemTime>='{1}' and @SystemTime<='{2}']]{3}]</Select></Query></QueryList>", new object[] { CrimsonChannelReader.GetChannelPath(channelName, channelPath), createTime.ToString("o"), endTime.ToString("o"), additionalConstraints ?? string.Empty })); }
// Token: 0x060000DD RID: 221 RVA: 0x000051D1 File Offset: 0x000033D1 public CrimsonChannelReader(string channelName, string channelPath, string xPathQuery) : this(new EventLogQuery(CrimsonChannelReader.GetChannelPath(channelName, channelPath), PathType.LogName, xPathQuery), null) { }