public override void Execute()
        {
            var cmdlet = (ImportHapHtmlPageCommand)this.Cmdlet;
            var data = new PageImporterData { Url = cmdlet.Url, StringInput = cmdlet.InputObject, Path = cmdlet.Path };
            var pageImporter = new PageImporter(data);
            
//            var node = pageImporter.GetFromDataProvided();
//            node.
            
            cmdlet.WriteObject(pageImporter.GetFromDataProvided());
        }
Exemple #2
0
        public override void Execute()
        {
            var cmdlet = (ImportHapHtmlPageCommand)Cmdlet;
            var data   = new PageImporterData {
                Url = cmdlet.Url, StringInput = cmdlet.InputObject, Path = cmdlet.Path
            };
            var pageImporter = new PageImporter(data);

//            var node = pageImporter.GetFromDataProvided();
//            node.

            cmdlet.WriteObject(pageImporter.GetFromDataProvided());
        }