| PropertyDependencyAttributeGetInvalidDependencies Method |
Gets a list of invalid dependency definitions in the entry types assembly and all referenced assemblies.
Namespace: TomsToolbox.WpfAssembly: TomsToolbox.Wpf (in TomsToolbox.Wpf.dll) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntax public static IEnumerable<string> GetInvalidDependencies(
Type entryType
)
Public Shared Function GetInvalidDependencies (
entryType As Type
) As IEnumerable(Of String)
Parameters
- entryType Type
- Type of the entry.
Return Value
IEnumerableStringA list of strings, each describing an invalid dependency definition. If no invalid definitions exist, the list is empty.
Remarks This method is mainly for writing unit test to detect invalid dependencies during compile time.
See Also