Exemple #1
0
 public T Get <T>(string forProvider, string forEnvironment) where T : IPersistable
 {
     using (var transaction = _transactionFactory.StartTransaction())
     {
         return((T)Convert.ChangeType(_queryRunner.GetConfiguration(transaction, forProvider, forEnvironment), typeof(T)));
     }
 }