Example #1
0
        public ImportedEventArgs(RoutedEvent routedEvent, SolutionPackage package, string solutionName)
            : base(routedEvent)
        {
            Assert.ValidateReference(solutionName);

            this.Package           = package;
            this.RootPath          = null;
            this.CurrentFolderPath = null;
            this.Name    = solutionName;
            this.Content = null;
        }
Example #2
0
        public ImportedEventArgs(RoutedEvent routedEvent, SolutionPackage package, IRootPath rootPath, IFolderPath currentFolderPath, string folderName)
            : base(routedEvent)
        {
            Assert.ValidateReference(rootPath);
            Assert.ValidateReference(folderName);

            this.Package           = package;
            this.RootPath          = rootPath;
            this.CurrentFolderPath = currentFolderPath;
            this.Name    = folderName;
            this.Content = null;
        }
Example #3
0
        public ImportedEventArgs(RoutedEvent routedEvent, SolutionPackage package, IRootPath rootPath, IFolderPath currentFolderPath, string itemName, byte[] content)
            : base(routedEvent)
        {
            Assert.ValidateReference(rootPath);
            Assert.ValidateReference(currentFolderPath);
            Assert.ValidateReference(itemName);
            Assert.ValidateReference(content);

            this.Package           = package;
            this.RootPath          = rootPath;
            this.CurrentFolderPath = currentFolderPath;
            this.Name    = itemName;
            this.Content = content;
        }