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
Syntax
public static void PopulateDictionaryWithDecodersFromAllAssemblies<T>(
	Dictionary<string, Type> dictionary,
	string extension
)
Request Example View Source

Parameters

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

Type Parameters

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