Click or drag to resize

collectionExtensionsautoDefaultValuesT, D Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Automatics the default values.

Namespace:  imbSCI.Core.extensions.data
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static Dictionary<T, D> autoDefaultValues<T, D>(
	this Dictionary<T, D> dict,
	D defValue,
	bool skipExisting
)
Request Example View Source

Parameters

dict
Type: System.Collections.GenericDictionaryT, D
The dictionary.
defValue
Type: D
The definition value.
skipExisting
Type: SystemBoolean
if set to true [skip existing].

Type Parameters

T
D

Return Value

Type: DictionaryT, D

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DictionaryT, D. 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