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 ) : Converter
type Class /// this is the converter type to be instantiated ///
return Converter
      public Converter GetConverter(Class type) {
         Constructor factory = GetConstructor(type);
         if(factory == null){
            throw new ConvertException("No default constructor for %s", type);
         }
         return GetConverter(type, factory);
      }
      /// <summary>

Same methods

ConverterFactory::GetConverter ( Class type, Constructor factory ) : Converter