public LinkedTypesService( LinkedNamesCache linkedNamesCache, IEnumerable <ILinkedTypesProvider> linkedTypesProviders, IUnitTestElementStuff unitTestElementStuff) { _linkedNamesCache = linkedNamesCache; _unitTestElementStuff = unitTestElementStuff; _linkedTypesProviders = linkedTypesProviders.ToList(); }
public LinkedTestInvalidator( Lifetime lifetime, ChangedTypesProvider changedTypesProvider, IUnitTestElementStuff unitTestElementStuff, IUnitTestResultManager unitTestResultManager) { _unitTestElementStuff = unitTestElementStuff; _unitTestResultManager = unitTestResultManager; changedTypesProvider.TypesChanged.Advise(lifetime, OnChanged); }
public LinkedTypeUnitTestsDataRuleRegistrar( Lifetime lifetime, DataContexts dataContexts, IUnitTestElementStuff unitTestElementStuff) { _unitTestElementStuff = unitTestElementStuff; var dataRule = new DataRule <UnitTestElements> .DesperateDataRule( "ProjectModelToUnitTestElements", UnitTestDataConstants.UnitTestElements.SELECTED, LinkedTypeUnitTestsDataRule); dataContexts.RegisterDataRule(lifetime, dataRule); }