private static TypeConverter CreateTypeConverter(Type type) { return((TypeConverter)Activator.CreateInstance(typeof(EnumTypeConverter <,>).MakeGenericType(EnumTypeDescriptor.GetEnumTypesArguments(type)))); }
/// <inheritdoc /> public override TypeConverter GetConverter() { return(EnumTypeDescriptor.GetCachedConverter(this._objectType)); }