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