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()); }
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()); }