Exemple #1
0
 public DataProtectionKeyTest(IDataProtectionDataService dataService) : base(dataService)
 {
     if (dataService.CanMigrate())
     {
         dataService.Migrate();
     }
 }
Exemple #2
0
 /// <summary>   Constructor. </summary>
 /// <param name="dataService">  The data service. </param>
 public DataProtectionKeyRepository(IDataProtectionDataService dataService)
 {
     _dataService = dataService;
 }
Exemple #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;
 }