public GenericImporter(IGenericClass <T> importGenericInterface) { if (importGenericInterface == null) { throw new ArgumentNullException(nameof(importGenericInterface)); } System.Threading.Interlocked.Increment(ref counter); }
public DeepClassWithCollectionOfGenericType(IGenericClass <int, int> instance, IEnumerable <IGenericClass <int, int> > collection, Func <IGenericClass <int, int> > factory) { Instance = instance; Collection = collection; FromFactory = factory(); }