Esempio n. 1
0
 protected override void AddDynamicDataNeeds(DataConsumerNeeds needs)
 {
     if (_listType != null)
     {
         needs.Add(_dependencies.DataDependencyFactory.Create(_listType, ListScope));
     }
 }
Esempio n. 2
0
        IDataConsumerNeeds IDataConsumer.GetConsumerNeeds()
        {
            var needs = new DataConsumerNeeds();

            if (_dataConsumer != null)
            {
                needs.Add(_dataConsumer.GetConsumerNeeds());
            }

            AddDynamicDataNeeds(needs);

            return(needs);
        }