示例#1
0
        private static void AddDependencies(IPropertyDefinition property, LambdaExpression expression)
        {
            var dependencies = _analyser.DiscoverDependencies(expression, null);

            foreach (var dependency in dependencies)
            {
                property.AddDependency(dependency);
            }
        }
示例#2
0
 public void AddDependency(IDependencyDefinition dependency)
 {
     _property.AddDependency(dependency);
 }