Esempio n. 1
0
        private void ProcessInjectionDependencies()
        {
            foreach (var strategy in _injectionScope.StrategyCollectionContainer.GetAllStrategies())
            {
                try
                {
                    var dependencies = strategy.GetDependencies();

                    _missingDependencies = _missingDependencies.AddRange(dependencies.Where(d => d.IsSatisfied == false));
                }
                catch (Exception exp)
                {
                    _containerExceptions = _containerExceptions.Add(exp.Message);
                }
            }
        }
Esempio n. 2
0
 /// <summary>
 /// Add child expression result
 /// </summary>
 /// <param name="result">expression result</param>
 public void AddExpressionResult(IActivationExpressionResult result)
 {
     _extraExpressions     = _extraExpressions.AddRange(result.ExtraExpressions());
     _parameterExpressions = _parameterExpressions.AddRange(result.ExtraParameters());
 }