// Token: 0x06000D71 RID: 3441 RVA: 0x000604E0 File Offset: 0x0005E8E0
 public virtual void writeValue <T>(T value)
 {
     if (value is IFormattedFileWritable)
     {
         IFormattedFileWritable formattedFileWritable = value as IFormattedFileWritable;
         formattedFileWritable.write(this);
     }
     else
     {
         KeyValueTableTypeWriterRegistry.write <T>(this, value);
     }
 }
Example #2
0
 public static void remove <T>()
 {
     KeyValueTableTypeWriterRegistry.remove(typeof(T));
 }
Example #3
0
 public static void add <T>(IFormattedTypeWriter writer)
 {
     KeyValueTableTypeWriterRegistry.add(typeof(T), writer);
 }