Click or drag to resize

Utils_FileCheckAssembliesVersions Method (DirectoryInfo, DictionaryString, String, Boolean)

Checks all assemblies versions inside a folder, based on a dictionary containing files name as key and version as value.

Namespace:  MicaSystems.Utils
Assembly:  MicaSystems.Utils (in MicaSystems.Utils.dll) Version: 1.0.0.0 (1.1.0.123)
Syntax
C#
public static Dictionary<string, KeyValuePair<string, string>> CheckAssembliesVersions(
	this DirectoryInfo folder,
	Dictionary<string, string> referenceVersions,
	bool includeSubFolders = false
)

Parameters

folder
Type: System.IODirectoryInfo
referenceVersions
Type: System.Collections.GenericDictionaryString, String
includeSubFolders (Optional)
Type: SystemBoolean

Return Value

Type: DictionaryString, KeyValuePairString, String
A dictionary with invalid assembly file name as key and ref/current versions as value.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DirectoryInfo. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also