Click or drag to resize
Accord.NET (logo)

FormatDecoderAttributePopulateDictionaryWithDecodersFromAllAssembliesT Method

Populates the dictionary with available decoders of a particular category by inspecting types from all referenced assemblies. Note: calling this method will force all referenced assemblies to be loaded into the current AppDomain.

Namespace:  Accord
Assembly:  Accord (in Accord.dll) Version: 3.8.0
public static void PopulateDictionaryWithDecodersFromAllAssemblies<T>(
	Dictionary<string, Type> dictionary,
	string extension
Request Example View Source


Type: System.Collections.GenericDictionaryString, Type
The dictionary where the found decoders will be stored.
Type: SystemString
The extension we are interested in.

Type Parameters

The base type for the decoders. This should be an interface such as IImageDecoder or IAudioDecoder.
See Also