Function GenericConvertorContainer.set

Save a convertor factory in GenericConvertorContainer by key identity.

GenericConvertorContainer!(FromType,DefaultConvertorFactory) set (
  ConvertorFactory!(FromType,Object) factory,
  string key
);

Parameters

NameDescription
key identity of element in GenericConvertorContainer.
factory convertor factory which is to be saved in GenericConvertorContainer.

Return

GenericConvertorContainer!(FromType, DefaultConvertorFactory)