SimpleFramework.Xml.Util.ConverterFactory.GetConverter C# (CSharp) Method

GetConverter() public method

This is used to instantiate the converter based on the type provided. If the type provided can not be instantiated for some reason then an exception is thrown from this method.
public GetConverter ( Class type, Constructor factory ) : Converter
type Class /// this is the converter type to be instantiated ///
factory Constructor /// this is the constructor used to instantiate ///
return Converter
      public Converter GetConverter(Class type, Constructor factory) {
         Converter converter = (Converter)factory.newInstance();
         if(converter != null){
            cache.cache(type, converter);
         }
         return converter;
      }
      /// <summary>

Same methods

ConverterFactory::GetConverter ( Class type ) : Converter