private static Type getTypeForConverter(IValueConverter converter)
        {
            ConverterTypeAttribute typeAttr = getAttributeForConverter(converter);

            return((typeAttr != null) ? typeAttr.Type : null);
        }
        private static string getTypeNameForConverter(IValueConverter converter)
        {
            ConverterTypeAttribute typeAttr = getAttributeForConverter(converter);

            return((typeAttr != null) ? typeAttr.TypeName : string.Empty);
        }