/// <summary> /// Initializes a new instance of the <see cref="ImportedEventArgs"/> class. /// </summary> /// <param name="routedEvent">The event that occured.</param> /// <param name="package">The solution package.</param> /// <param name="rootPath">The root path.</param> /// <param name="currentFolderPath">The current folder path.</param> /// <param name="folderName">The folder name.</param> public ImportedEventArgs(RoutedEvent routedEvent, SolutionPackage package, IRootPath rootPath, IFolderPath currentFolderPath, string folderName) : base(routedEvent) { Package = package; RootPath = rootPath; CurrentFolderPath = currentFolderPath; Name = folderName; Content = Array.Empty <byte>(); }
/// <summary> /// Initializes a new instance of the <see cref="ImportedEventArgs"/> class. /// </summary> /// <param name="routedEvent">The event that occured.</param> /// <param name="package">The solution package.</param> /// <param name="rootPath">The root path.</param> /// <param name="currentFolderPath">The current folder path.</param> /// <param name="itemName">The item name.</param> /// <param name="content">The item content.</param> public ImportedEventArgs(RoutedEvent routedEvent, SolutionPackage package, IRootPath rootPath, IFolderPath currentFolderPath, string itemName, byte[] content) : base(routedEvent) { Package = package; RootPath = rootPath; CurrentFolderPath = currentFolderPath; Name = itemName; Content = content; }
/// <summary> /// Initializes a new instance of the <see cref="ImportedEventArgs"/> class. /// </summary> /// <param name="routedEvent">The event that occured.</param> /// <param name="package">The solution package.</param> /// <param name="solutionName">The solution name.</param> public ImportedEventArgs(RoutedEvent routedEvent, SolutionPackage package, string solutionName) : base(routedEvent) { Package = package; RootPath = new EmptyPath(); CurrentFolderPath = new EmptyPath(); Name = solutionName; Content = Array.Empty <byte>(); }