Exemplo n.º 1
0
 // Token: 0x06003561 RID: 13665 RVA: 0x000CE9C1 File Offset: 0x000CCBC1
 public override void WriteData(TraceLoggingDataCollector collector, ref IntPtr value)
 {
     collector.AddScalar(value);
 }
Exemplo n.º 2
0
 public override void WriteData(PropertyValue value)
 {
     TraceLoggingDataCollector.AddScalar(value);
 }
Exemplo n.º 3
0
 // Token: 0x06003570 RID: 13680 RVA: 0x000CEA79 File Offset: 0x000CCC79
 public override void WriteData(TraceLoggingDataCollector collector, ref bool[] value)
 {
     collector.AddArray(value);
 }
Exemplo n.º 4
0
 public override void WriteData(PropertyValue value)
 {
     TraceLoggingDataCollector.AddScalar(value.ScalarValue.AsTimeSpan.Ticks);
 }
Exemplo 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);
Exemplo n.º 7
0
 public override void WriteData(PropertyValue value)
 {
     TraceLoggingDataCollector.AddNullTerminatedString((string?)value.ReferenceValue);
 }
Exemplo n.º 8
0
 public abstract void WriteData(TraceLoggingDataCollector collector, ref DataType value);
Exemplo n.º 9
0
        public override void WriteObjectData(TraceLoggingDataCollector collector, object value)
        {
            DataType dataType = value == null ? default(DataType) : (DataType)value;

            this.WriteData(collector, ref dataType);
        }
Exemplo 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));
        }
Exemplo 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);
 }
Exemplo 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));
 }
Exemplo n.º 16
0
 public override void WriteData(PropertyValue value)
 {
     TraceLoggingDataCollector.AddArray(value, elementSize);
 }
Exemplo n.º 17
0
 // Token: 0x06003542 RID: 13634 RVA: 0x000CE868 File Offset: 0x000CCA68
 public override void WriteData(TraceLoggingDataCollector collector, ref DataType value)
 {
 }
Exemplo 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);
        }