internal AssetToImportByImporter(AssetToImport parent, IAssetImporter importer, AssetItem previousItem = null)
 {
     if (parent == null) throw new ArgumentNullException("parent");
     if (importer == null) throw new ArgumentNullException("importer");
     this.Parent = parent;
     this.importer = importer;
     this.Items = new List<AssetToImportMergeGroup>();
     Enabled = true;
     Log = new LoggerResult(string.Format("{0} Importer", importer.Name));
     ImporterParameters = importer.GetDefaultParameters(previousItem != null);
     ImporterParameters.Logger = Log;
     PreviousItem = previousItem;
 }
 internal AssetToImportByImporter(AssetToImport parent, IAssetImporter importer, AssetItem previousItem = null)
 {
     if (parent == null)
     {
         throw new ArgumentNullException("parent");
     }
     if (importer == null)
     {
         throw new ArgumentNullException("importer");
     }
     this.Parent               = parent;
     this.importer             = importer;
     this.Items                = new List <AssetToImportMergeGroup>();
     Enabled                   = true;
     Log                       = new LoggerResult(string.Format("{0} Importer", importer.Name));
     ImporterParameters        = importer.GetDefaultParameters(previousItem != null);
     ImporterParameters.Logger = Log;
     PreviousItem              = previousItem;
 }