public override void Serialize(ICommodityWriter writer, Type o) { string handle = _typeResolver.GetHandleFromType(o); writer.WriteString(handle); }
public override void Serialize(ICommodityWriter writer, string value) { writer.WriteString(value); }