MapiTypeConverterMapEntry constructor

MapiTypeConverterMapEntry(
  1. Type type
)
Initializes a new instance of the The type.

Implementation

MapiTypeConverterMapEntry(core.Type type) {
  EwsUtilities.Assert(
    defaultValueMap.Member!.containsKey(type),
    "MapiTypeConverterMapEntry ctor",
    "No default value entry for type ${type.toString()}",
  );

  this.Type = type;
//            this.ConvertToString = (o) => (string)Convert.ChangeType(o, typeof(string), CultureInfo.InvariantCulture);
//            this.Parse = (s) => Convert.ChangeType(s, type, CultureInfo.InvariantCulture);
}