Click or drag to resize

ExtensionMethodsGetContractName Method (IDictionaryString, Object)

Reads the well known ContractName property from the metadata.

Namespace:  TomsToolbox.Composition
Assembly:  TomsToolbox.Composition (in TomsToolbox.Composition.dll)
Syntax
public static string? GetContractName(
	this IDictionary<string, Object?> metadata
)

Parameters

metadata
Type: System.Collections.GenericIDictionaryString, Object
The metadata.

Return Value

Type: String
The contract name

Usage Note

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