| PropertyDependencyAttributeGetInvalidDependencies Method |
Gets a list of invalid dependency definitions in the entry types assembly and all referenced assemblies.
Namespace:
TomsToolbox.Wpf
Assembly:
TomsToolbox.Wpf (in TomsToolbox.Wpf.dll)
Syntax public static IEnumerable<string> GetInvalidDependencies(
Type entryType
)
Public Shared Function GetInvalidDependencies (
entryType As Type
) As IEnumerable(Of String)
Parameters
- entryType
- Type: SystemType
Type of the entry.
Return Value
Type:
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