WeaverUtilities.

GetReferenceTo<T>(List<T>, int) Method

Summary

Returns the first element in the `list` which has its Weaver.IReferenceIndex.ReferencedIndex == `index`.
Assembly
Weaver.dll
Namespace
Weaver
Containing Type
WeaverUtilities

Syntax

public static T GetReferenceTo<T>(List<T> list, int index) where T : class, IReferenceIndex

Type Parameters

Name Description
T

Parameters

Name Type Description
list List<T>
index int

Return Value

Type Description
T