public DataProtectionKeyTest(IDataProtectionDataService dataService) : base(dataService) { if (dataService.CanMigrate()) { dataService.Migrate(); } }
/// <summary> Constructor. </summary> /// <param name="dataService"> The data service. </param> public DataProtectionKeyRepository(IDataProtectionDataService dataService) { _dataService = dataService; }
/// <summary> Specialised constructor for use only by derived class. </summary> /// <param name="dataService"> The data service. </param> protected DataProtectionTest(IDataProtectionDataService dataService) { DataService = dataService; }