예제 #1
0
 // Token: 0x0600003C RID: 60 RVA: 0x00003CEC File Offset: 0x00001EEC
 private string FormatMapiEventInfo(MapiEvent mapiEvent)
 {
     return(string.Format(CultureInfo.InvariantCulture, "MDB:{0}, Mailbox:{1}, Event:{2}, MessageClass:{3}, CreationTime:{4}, ClientType:{5}", new object[]
     {
         this.mdbGuidString,
         mapiEvent.MailboxGuid,
         mapiEvent.EventCounter,
         mapiEvent.ObjectClass,
         mapiEvent.CreateTime.ToString("yyyy-MM-ddTHH\\:mm\\:ss.fffZ", DateTimeFormatInfo.InvariantInfo),
         Int32EnumFormatter <MapiEventClientTypes> .Format((int)mapiEvent.ClientType)
     }));
 }
예제 #2
0
        // Token: 0x06000051 RID: 81 RVA: 0x00004308 File Offset: 0x00002508
        protected void AddDiagnosticInfo(XElement recordElement)
        {
            MapiEvent mapiEvent = this.submissionData as MapiEvent;

            recordElement.Add(new object[]
            {
                new XElement("created", this.recordTime),
                new XElement("submitted", mapiEvent.CreateTime.ToString("yyyy-MM-ddTHH\\:mm\\:ss.fffZ", DateTimeFormatInfo.InvariantInfo)),
                new XElement("counter", mapiEvent.EventCounter),
                new XElement("submitterMailboxGuid", mapiEvent.MailboxGuid),
                new XElement("objectClass", mapiEvent.ObjectClass),
                new XElement("clientType", Int32EnumFormatter <MapiEventClientTypes> .Format((int)mapiEvent.ClientType))
            });
        }
예제 #3
0
        // Token: 0x06000050 RID: 80 RVA: 0x00004280 File Offset: 0x00002480
        public override string ToString()
        {
            MapiEvent mapiEvent = this.submissionData as MapiEvent;

            return(string.Format("Created: {0}, Submitted: {1}, Counter: {2}, Submitter: {3}, ObjectClass: {4}, ClientType: {5}", new object[]
            {
                this.recordTime,
                mapiEvent.CreateTime.ToString("yyyy-MM-ddTHH\\:mm\\:ss.fffZ", DateTimeFormatInfo.InvariantInfo),
                mapiEvent.EventCounter,
                mapiEvent.MailboxGuid,
                mapiEvent.ObjectClass,
                Int32EnumFormatter <MapiEventClientTypes> .Format((int)mapiEvent.ClientType)
            }));
        }