Esempio n. 1
0
 // Token: 0x06003561 RID: 13665 RVA: 0x000CE9C1 File Offset: 0x000CCBC1
 public override void WriteData(TraceLoggingDataCollector collector, ref IntPtr value)
 {
     collector.AddScalar(value);
 }
Esempio n. 2
0
 public override void WriteData(PropertyValue value)
 {
     TraceLoggingDataCollector.AddScalar(value);
 }
Esempio n. 3
0
 // Token: 0x06003570 RID: 13680 RVA: 0x000CEA79 File Offset: 0x000CCC79
 public override void WriteData(TraceLoggingDataCollector collector, ref bool[] value)
 {
     collector.AddArray(value);
 }
Esempio n. 4
0
 public override void WriteData(PropertyValue value)
 {
     TraceLoggingDataCollector.AddScalar(value.ScalarValue.AsTimeSpan.Ticks);
 }
Esempio n. 5
0
 public override void WriteData(PropertyValue value)
 {
     TraceLoggingDataCollector.AddScalar((double)value.ScalarValue.AsDecimal);
 }
 // Token: 0x06003530 RID: 13616
 public abstract void Write(TraceLoggingDataCollector collector, ref ContainerType value);
Esempio n. 7
0
 public override void WriteData(PropertyValue value)
 {
     TraceLoggingDataCollector.AddNullTerminatedString((string?)value.ReferenceValue);
 }
Esempio n. 8
0
 public abstract void WriteData(TraceLoggingDataCollector collector, ref DataType value);
Esempio n. 9
0
        public override void WriteObjectData(TraceLoggingDataCollector collector, object value)
        {
            DataType dataType = value == null ? default(DataType) : (DataType)value;

            this.WriteData(collector, ref dataType);
        }
Esempio n. 10
0
        // Token: 0x060035C4 RID: 13764 RVA: 0x000CEED0 File Offset: 0x000CD0D0
        public override void WriteData(TraceLoggingDataCollector collector, ref DateTime value)
        {
            long ticks = value.Ticks;

            collector.AddScalar((ticks < 504911232000000000L) ? 0L : (ticks - 504911232000000000L));
        }
Esempio n. 11
0
 // Token: 0x060035CA RID: 13770 RVA: 0x000CEFAA File Offset: 0x000CD1AA
 public override void WriteData(TraceLoggingDataCollector collector, ref TimeSpan value)
 {
     collector.AddScalar(value.Ticks);
 }
        // Token: 0x06003535 RID: 13621 RVA: 0x000CE618 File Offset: 0x000CC818
        public override void Write(TraceLoggingDataCollector collector, ref ContainerType container)
        {
            object value = (container == null) ? null : this.getterInfo.Invoke(container, null);

            this.typeInfo.WriteObjectData(collector, value);
        }
 // Token: 0x060035CD RID: 13773 RVA: 0x000CEFD1 File Offset: 0x000CD1D1
 public override void WriteData(TraceLoggingDataCollector collector, ref decimal value)
 {
     collector.AddScalar((double)value);
 }
Esempio n. 14
0
 // Token: 0x0600363F RID: 13887
 public abstract void WriteObjectData(TraceLoggingDataCollector collector, object value);
 // Token: 0x060035A6 RID: 13734 RVA: 0x000CED58 File Offset: 0x000CCF58
 public override void WriteData(TraceLoggingDataCollector collector, ref EnumType value)
 {
     collector.AddScalar(EnumHelper <ushort> .Cast <EnumType>(value));
 }
Esempio n. 16
0
 public override void WriteData(PropertyValue value)
 {
     TraceLoggingDataCollector.AddArray(value, elementSize);
 }
Esempio n. 17
0
 // Token: 0x06003542 RID: 13634 RVA: 0x000CE868 File Offset: 0x000CCA68
 public override void WriteData(TraceLoggingDataCollector collector, ref DataType value)
 {
 }
Esempio n. 18
0
        public override void Write(TraceLoggingDataCollector collector, ref ContainerType container)
        {
            object obj = (object)container == null ? (object)null : this.getterInfo.Invoke((object)container, (object[])null);

            this.typeInfo.WriteObjectData(collector, obj);
        }