FormatterConverter.cs 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. using System;
  2. using System.Runtime.Serialization;
  3. namespace UAS_Web.tool
  4. {
  5. class FormatterConverter : IFormatterConverter
  6. {
  7. public object Convert(object value, TypeCode typeCode)
  8. {
  9. return value;
  10. }
  11. public object Convert(object value, Type type)
  12. {
  13. throw new NotImplementedException();
  14. }
  15. public bool ToBoolean(object value)
  16. {
  17. throw new NotImplementedException();
  18. }
  19. public byte ToByte(object value)
  20. {
  21. throw new NotImplementedException();
  22. }
  23. public char ToChar(object value)
  24. {
  25. throw new NotImplementedException();
  26. }
  27. public DateTime ToDateTime(object value)
  28. {
  29. throw new NotImplementedException();
  30. }
  31. public decimal ToDecimal(object value)
  32. {
  33. throw new NotImplementedException();
  34. }
  35. public double ToDouble(object value)
  36. {
  37. throw new NotImplementedException();
  38. }
  39. public short ToInt16(object value)
  40. {
  41. throw new NotImplementedException();
  42. }
  43. public int ToInt32(object value)
  44. {
  45. throw new NotImplementedException();
  46. }
  47. public long ToInt64(object value)
  48. {
  49. throw new NotImplementedException();
  50. }
  51. public sbyte ToSByte(object value)
  52. {
  53. throw new NotImplementedException();
  54. }
  55. public float ToSingle(object value)
  56. {
  57. throw new NotImplementedException();
  58. }
  59. public string ToString(object value)
  60. {
  61. throw new NotImplementedException();
  62. }
  63. public ushort ToUInt16(object value)
  64. {
  65. throw new NotImplementedException();
  66. }
  67. public uint ToUInt32(object value)
  68. {
  69. throw new NotImplementedException();
  70. }
  71. public ulong ToUInt64(object value)
  72. {
  73. throw new NotImplementedException();
  74. }
  75. }
  76. }