private static GetElementDependencies ( ICustomAttributeProvider annotatedElement, ICustomAttributeProvider>.IList |
||
annotatedElement | ICustomAttributeProvider | |
result | ICustomAttributeProvider>.IList | |
return | void |
private static void GetElementDependencies(ICustomAttributeProvider annotatedElement, IList<Tuple<RuleDependencyAttribute, ICustomAttributeProvider>> result)
{
foreach (RuleDependencyAttribute dependency in annotatedElement.GetCustomAttributes(typeof(RuleDependencyAttribute), true))
{
result.Add(Tuple.Create(dependency, annotatedElement));
}
}