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