/// <summary>
 /// Initializes a new instance of the <see cref="AssetImportSessionEvent"/> class.
 /// </summary>
 /// <param name="type">The step.</param>
 /// <param name="step">The Step.</param>
 /// <param name="toImport">To import merge group.</param>
 /// <exception cref="System.ArgumentNullException">ToImport</exception>
 public AssetImportSessionEvent(AssetImportSessionEventType type, AssetImportSessionStepType step, AssetToImportMergeGroup toImport)
 {
     if (toImport == null) throw new ArgumentNullException("toImport");
     Type = type;
     Step = step;
     ToImportByImporter = toImport.Parent;
     ToImport = toImport;
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AssetImportSessionEvent"/> class.
 /// </summary>
 /// <param name="type">The step.</param>
 /// <param name="step">The Step.</param>
 /// <param name="toImport">To import merge group.</param>
 /// <exception cref="System.ArgumentNullException">ToImport</exception>
 public AssetImportSessionEvent(AssetImportSessionEventType type, AssetImportSessionStepType step, AssetToImportMergeGroup toImport)
 {
     if (toImport == null)
     {
         throw new ArgumentNullException("toImport");
     }
     Type = type;
     Step = step;
     ToImportByImporter = toImport.Parent;
     ToImport           = toImport;
 }