/// <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;
 }
 /// <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="toImportByImporter">To import by importer.</param>
 /// <exception cref="System.ArgumentNullException">toImportByImporter</exception>
 public AssetImportSessionEvent(AssetImportSessionEventType type, AssetImportSessionStepType step, AssetToImportByImporter toImportByImporter)
 {
     if (toImportByImporter == null) throw new ArgumentNullException("toImportByImporter");
     Type = type;
     Step = step;
     ToImportByImporter = toImportByImporter;
     ToImport = null;
 }
Esempio n. 3
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;
 }
Esempio n. 4
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="toImportByImporter">To import by importer.</param>
 /// <exception cref="System.ArgumentNullException">toImportByImporter</exception>
 public AssetImportSessionEvent(AssetImportSessionEventType type, AssetImportSessionStepType step, AssetToImportByImporter toImportByImporter)
 {
     if (toImportByImporter == null)
     {
         throw new ArgumentNullException("toImportByImporter");
     }
     Type = type;
     Step = step;
     ToImportByImporter = toImportByImporter;
     ToImport           = null;
 }