private static void AddDependencies(IPropertyDefinition property, LambdaExpression expression) { var dependencies = _analyser.DiscoverDependencies(expression, null); foreach (var dependency in dependencies) { property.AddDependency(dependency); } }
public void AddDependency(IDependencyDefinition dependency) { _property.AddDependency(dependency); }