Пример #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);
 }