Exemple #1
0
 protected Element(IDataConsumerFactory dataConsumerFactory)
 {
     _dataConsumer = dataConsumerFactory == null
         ? null
         : dataConsumerFactory.Create();
 }
Exemple #2
0
 public Template(IDataConsumerFactory dataConsumerFactory)
 {
     _dataConsumer = dataConsumerFactory.Create();
 }