Updated code base
This commit is contained in:
Родитель
45d3f7a03b
Коммит
e8e47d5b14
|
@ -1,253 +1,263 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{DA318620-F6B5-4DFA-B012-38F06141A2DD}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Samples</RootNamespace>
|
||||
<AssemblyName>Samples</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
|
||||
<RestorePackages>true</RestorePackages>
|
||||
<NuGetPackageImportStamp>65879974</NuGetPackageImportStamp>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ApplicationIcon>Logo.ico</ApplicationIcon>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Accessibility" />
|
||||
<Reference Include="AngleSharp, Version=0.9.9.0, Culture=neutral, PublicKeyToken=e83494dcdc6d31ea, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\AngleSharp.0.9.9\lib\net45\AngleSharp.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="AngleSharp.Io, Version=0.3.2.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\AngleSharp.Io.0.3.2\lib\net45\AngleSharp.Io.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="AngleSharp.Scripting.JavaScript, Version=0.5.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\AngleSharp.Scripting.JavaScript.0.5.0\lib\portable-windows8+net45+windowsphone8+wpa+monoandroid+monotouch\AngleSharp.Scripting.JavaScript.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Jint, Version=2.9.1.0, Culture=neutral, PublicKeyToken=2e92ba9c8d81157f, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Jint.2.9.1\lib\portable-net40+sl50+win+WindowsPhoneApp81+wp80\Jint.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="MahApps.Metro, Version=1.2.4.0, Culture=neutral, PublicKeyToken=f4fb5a3c4d1e5b4f, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MahApps.Metro.1.2.4.0\lib\net45\MahApps.Metro.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Expression.Interactions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Windows.Interactivity.WPF.2.0.20525\lib\net40\Microsoft.Expression.Interactions.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="OxyPlot">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\OxyPlot.Core.2015.1.943-alpha\lib\net45\OxyPlot.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="OxyPlot.Wpf">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\OxyPlot.Wpf.2015.1.943-alpha\lib\net45\OxyPlot.Wpf.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="OxyPlot.Xps">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\OxyPlot.Wpf.2015.1.943-alpha\lib\net45\OxyPlot.Xps.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="PresentationUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
|
||||
<Reference Include="ReachFramework" />
|
||||
<Reference Include="Simple.Wpf.Terminal, Version=1.35.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Simple.Wpf.Terminal.1.35.0.0\lib\net40\Simple.Wpf.Terminal.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Simple.Wpf.Terminal.Themes, Version=1.35.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Simple.Wpf.Terminal.1.35.0.0\lib\net40\Simple.Wpf.Terminal.Themes.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Deployment" />
|
||||
<Reference Include="System.Net" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Printing" />
|
||||
<Reference Include="System.Windows.Interactivity, Version=4.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MahApps.Metro.1.2.4.0\lib\net45\System.Windows.Interactivity.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="System.Xaml">
|
||||
<RequiredTargetFramework>4.0</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="UIAutomationProvider" />
|
||||
<Reference Include="UIAutomationTypes" />
|
||||
<Reference Include="WindowsBase" />
|
||||
<Reference Include="PresentationCore" />
|
||||
<Reference Include="PresentationFramework" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ApplicationDefinition Include="App.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</ApplicationDefinition>
|
||||
<Compile Include="Pages\Errors.xaml.cs">
|
||||
<DependentUpon>Errors.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Pages\Main.xaml.cs">
|
||||
<DependentUpon>Main.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Pages\Profiler.xaml.cs">
|
||||
<DependentUpon>Profiler.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Pages\Query.xaml.cs">
|
||||
<DependentUpon>Query.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Pages\Repl.xaml.cs">
|
||||
<DependentUpon>Repl.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Pages\Sheets.xaml.cs">
|
||||
<DependentUpon>Sheets.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Pages\Tree.xaml.cs">
|
||||
<DependentUpon>Tree.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ViewModels\BaseViewModel.cs" />
|
||||
<Compile Include="ViewModels\DOMViewModel.cs" />
|
||||
<Compile Include="ViewModels\CssRuleViewModel.cs" />
|
||||
<Compile Include="ViewModels\ErrorsViewModel.cs" />
|
||||
<Compile Include="ViewModels\IEventViewModel.cs" />
|
||||
<Compile Include="ViewModels\ITabViewModel.cs" />
|
||||
<Compile Include="ViewModels\MainViewModel.cs" />
|
||||
<Compile Include="ViewModels\ProfilerViewModel.cs" />
|
||||
<Compile Include="ViewModels\QueryViewModel.cs" />
|
||||
<Compile Include="ViewModels\RelayCommand.cs" />
|
||||
<Compile Include="ViewModels\ReplViewModel.cs" />
|
||||
<Compile Include="ViewModels\SettingsViewModel.cs" />
|
||||
<Compile Include="ViewModels\SheetViewModel.cs" />
|
||||
<Compile Include="ViewModels\StatisticsViewModel.cs" />
|
||||
<Compile Include="ViewModels\DOMNodeViewModel.cs" />
|
||||
<Compile Include="ViewModels\TreeNodeViewModel.cs" />
|
||||
<Compile Include="ViewModels\TreeViewModel.cs" />
|
||||
<Page Include="MainWindow.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Compile Include="App.xaml.cs">
|
||||
<DependentUpon>App.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="MainWindow.xaml.cs">
|
||||
<DependentUpon>MainWindow.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Page Include="Pages\Browser.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="Pages\Errors.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="Pages\Main.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="Pages\Profiler.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="Pages\Query.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="Pages\Repl.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="Pages\Sheets.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="Pages\Statistics.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="Pages\Tree.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Pages\Browser.xaml.cs">
|
||||
<DependentUpon>Browser.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Pages\Statistics.xaml.cs">
|
||||
<DependentUpon>Statistics.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Properties\AssemblyInfo.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<None Include="packages.config" />
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<AppDesigner Include="Properties\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Resource Include="Logo.ico" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{DA318620-F6B5-4DFA-B012-38F06141A2DD}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Samples</RootNamespace>
|
||||
<AssemblyName>Samples</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
|
||||
<RestorePackages>true</RestorePackages>
|
||||
<NuGetPackageImportStamp>65879974</NuGetPackageImportStamp>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ApplicationIcon>Logo.ico</ApplicationIcon>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Accessibility" />
|
||||
<Reference Include="AngleSharp, Version=0.12.1.0, Culture=neutral, PublicKeyToken=e83494dcdc6d31ea, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\AngleSharp.0.12.1\lib\net46\AngleSharp.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="AngleSharp.Css, Version=0.12.1.0, Culture=neutral, PublicKeyToken=e83494dcdc6d31ea, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\AngleSharp.Css.0.12.1\lib\net46\AngleSharp.Css.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="AngleSharp.Io, Version=0.12.1.0, Culture=neutral, PublicKeyToken=e83494dcdc6d31ea, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\AngleSharp.Io.0.12.1\lib\netstandard2.0\AngleSharp.Io.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="AngleSharp.Js, Version=0.12.1.0, Culture=neutral, PublicKeyToken=e83494dcdc6d31ea, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\AngleSharp.Js.0.12.1\lib\net46\AngleSharp.Js.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="AngleSharp.Xml, Version=0.12.1.0, Culture=neutral, PublicKeyToken=e83494dcdc6d31ea, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\AngleSharp.Xml.0.12.1\lib\netstandard1.3\AngleSharp.Xml.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="jint, Version=2.10.4.0, Culture=neutral, PublicKeyToken=2e92ba9c8d81157f, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\jint.2.10.4\lib\net45\jint.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MahApps.Metro, Version=1.2.4.0, Culture=neutral, PublicKeyToken=f4fb5a3c4d1e5b4f, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MahApps.Metro.1.2.4.0\lib\net45\MahApps.Metro.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Expression.Interactions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Windows.Interactivity.WPF.2.0.20525\lib\net40\Microsoft.Expression.Interactions.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="OxyPlot">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\OxyPlot.Core.2015.1.943-alpha\lib\net45\OxyPlot.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="OxyPlot.Wpf">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\OxyPlot.Wpf.2015.1.943-alpha\lib\net45\OxyPlot.Wpf.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="OxyPlot.Xps">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\OxyPlot.Wpf.2015.1.943-alpha\lib\net45\OxyPlot.Xps.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="PresentationUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
|
||||
<Reference Include="ReachFramework" />
|
||||
<Reference Include="Simple.Wpf.Terminal, Version=1.35.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Simple.Wpf.Terminal.1.35.0.0\lib\net40\Simple.Wpf.Terminal.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Simple.Wpf.Terminal.Themes, Version=1.35.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Simple.Wpf.Terminal.1.35.0.0\lib\net40\Simple.Wpf.Terminal.Themes.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Deployment" />
|
||||
<Reference Include="System.Diagnostics.Contracts, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
|
||||
<Reference Include="System.Net" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Printing" />
|
||||
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=4.0.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.4.5.0\lib\netstandard2.0\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Text.Encoding.CodePages, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Text.Encoding.CodePages.4.5.0\lib\net461\System.Text.Encoding.CodePages.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Windows.Interactivity, Version=4.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MahApps.Metro.1.2.4.0\lib\net45\System.Windows.Interactivity.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="System.Xaml">
|
||||
<RequiredTargetFramework>4.0</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="UIAutomationProvider" />
|
||||
<Reference Include="UIAutomationTypes" />
|
||||
<Reference Include="WindowsBase" />
|
||||
<Reference Include="PresentationCore" />
|
||||
<Reference Include="PresentationFramework" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ApplicationDefinition Include="App.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</ApplicationDefinition>
|
||||
<Compile Include="Pages\Errors.xaml.cs">
|
||||
<DependentUpon>Errors.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Pages\Main.xaml.cs">
|
||||
<DependentUpon>Main.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Pages\Profiler.xaml.cs">
|
||||
<DependentUpon>Profiler.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Pages\Query.xaml.cs">
|
||||
<DependentUpon>Query.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Pages\Repl.xaml.cs">
|
||||
<DependentUpon>Repl.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Pages\Sheets.xaml.cs">
|
||||
<DependentUpon>Sheets.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Pages\Tree.xaml.cs">
|
||||
<DependentUpon>Tree.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ViewModels\BaseViewModel.cs" />
|
||||
<Compile Include="ViewModels\DOMViewModel.cs" />
|
||||
<Compile Include="ViewModels\CssRuleViewModel.cs" />
|
||||
<Compile Include="ViewModels\ErrorsViewModel.cs" />
|
||||
<Compile Include="ViewModels\IEventViewModel.cs" />
|
||||
<Compile Include="ViewModels\ITabViewModel.cs" />
|
||||
<Compile Include="ViewModels\MainViewModel.cs" />
|
||||
<Compile Include="ViewModels\ProfilerViewModel.cs" />
|
||||
<Compile Include="ViewModels\QueryViewModel.cs" />
|
||||
<Compile Include="ViewModels\RelayCommand.cs" />
|
||||
<Compile Include="ViewModels\ReplViewModel.cs" />
|
||||
<Compile Include="ViewModels\SettingsViewModel.cs" />
|
||||
<Compile Include="ViewModels\SheetViewModel.cs" />
|
||||
<Compile Include="ViewModels\StatisticsViewModel.cs" />
|
||||
<Compile Include="ViewModels\DOMNodeViewModel.cs" />
|
||||
<Compile Include="ViewModels\TreeNodeViewModel.cs" />
|
||||
<Compile Include="ViewModels\TreeViewModel.cs" />
|
||||
<Page Include="MainWindow.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Compile Include="App.xaml.cs">
|
||||
<DependentUpon>App.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="MainWindow.xaml.cs">
|
||||
<DependentUpon>MainWindow.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Page Include="Pages\Browser.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="Pages\Errors.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="Pages\Main.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="Pages\Profiler.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="Pages\Query.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="Pages\Repl.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="Pages\Sheets.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="Pages\Statistics.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="Pages\Tree.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Pages\Browser.xaml.cs">
|
||||
<DependentUpon>Browser.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Pages\Statistics.xaml.cs">
|
||||
<DependentUpon>Statistics.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Properties\AssemblyInfo.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<None Include="packages.config" />
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<AppDesigner Include="Properties\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Resource Include="Logo.ico" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
-->
|
||||
</Project>
|
|
@ -1,38 +1,42 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<configSections>
|
||||
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<section name="Samples.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
|
||||
</sectionGroup>
|
||||
</configSections>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
|
||||
</startup>
|
||||
<userSettings>
|
||||
<Samples.Properties.Settings>
|
||||
<setting name="SharedMode" serializeAs="String">
|
||||
<value>True</value>
|
||||
</setting>
|
||||
</Samples.Properties.Settings>
|
||||
</userSettings>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="OxyPlot" publicKeyToken="638079a8f0bd61e9" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-2014.1.546.0" newVersion="2014.1.546.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Jint" publicKeyToken="2e92ba9c8d81157f" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-2.7.1.0" newVersion="2.7.1.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="AngleSharp" publicKeyToken="e83494dcdc6d31ea" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-0.9.9.0" newVersion="0.9.9.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Windows.Interactivity" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.5.0.0" newVersion="4.5.0.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
</configuration>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<configSections>
|
||||
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<section name="Samples.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
|
||||
</sectionGroup>
|
||||
</configSections>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
|
||||
</startup>
|
||||
<userSettings>
|
||||
<Samples.Properties.Settings>
|
||||
<setting name="SharedMode" serializeAs="String">
|
||||
<value>True</value>
|
||||
</setting>
|
||||
</Samples.Properties.Settings>
|
||||
</userSettings>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="OxyPlot" publicKeyToken="638079a8f0bd61e9" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-2014.1.546.0" newVersion="2014.1.546.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Jint" publicKeyToken="2e92ba9c8d81157f" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-2.7.1.0" newVersion="2.7.1.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="AngleSharp" publicKeyToken="e83494dcdc6d31ea" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-0.9.9.0" newVersion="0.9.9.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Windows.Interactivity" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.5.0.0" newVersion="4.5.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Text.Encoding.CodePages" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.1.1.0" newVersion="4.1.1.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
</configuration>
|
||||
|
|
|
@ -1,71 +1,63 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.18033
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Samples.Properties
|
||||
{
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// A strongly-typed resource class, for looking up localized strings, etc.
|
||||
/// </summary>
|
||||
// This class was auto-generated by the StronglyTypedResourceBuilder
|
||||
// class via a tool like ResGen or Visual Studio.
|
||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||
// with the /str option, or rebuild your VS project.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Resources
|
||||
{
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal Resources()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the cached ResourceManager instance used by this class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Resources.ResourceManager ResourceManager
|
||||
{
|
||||
get
|
||||
{
|
||||
if ((resourceMan == null))
|
||||
{
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Samples.Properties.Resources", typeof(Resources).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Overrides the current thread's CurrentUICulture property for all
|
||||
/// resource lookups using this strongly typed resource class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Globalization.CultureInfo Culture
|
||||
{
|
||||
get
|
||||
{
|
||||
return resourceCulture;
|
||||
}
|
||||
set
|
||||
{
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Samples.Properties {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// A strongly-typed resource class, for looking up localized strings, etc.
|
||||
/// </summary>
|
||||
// This class was auto-generated by the StronglyTypedResourceBuilder
|
||||
// class via a tool like ResGen or Visual Studio.
|
||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||
// with the /str option, or rebuild your VS project.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Resources {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal Resources() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the cached ResourceManager instance used by this class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Samples.Properties.Resources", typeof(Resources).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Overrides the current thread's CurrentUICulture property for all
|
||||
/// resource lookups using this strongly typed resource class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,49 +1,49 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.18046
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Samples.Properties {
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
|
||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
||||
|
||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||
|
||||
public static Settings Default {
|
||||
get {
|
||||
return defaultInstance;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("True")]
|
||||
public bool SharedMode {
|
||||
get {
|
||||
return ((bool)(this["SharedMode"]));
|
||||
}
|
||||
set {
|
||||
this["SharedMode"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public global::System.Collections.Specialized.StringCollection TypedUrls {
|
||||
get {
|
||||
return ((global::System.Collections.Specialized.StringCollection)(this["TypedUrls"]));
|
||||
}
|
||||
set {
|
||||
this["TypedUrls"] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Samples.Properties {
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.9.0.0")]
|
||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
||||
|
||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||
|
||||
public static Settings Default {
|
||||
get {
|
||||
return defaultInstance;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("True")]
|
||||
public bool SharedMode {
|
||||
get {
|
||||
return ((bool)(this["SharedMode"]));
|
||||
}
|
||||
set {
|
||||
this["SharedMode"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public global::System.Collections.Specialized.StringCollection TypedUrls {
|
||||
get {
|
||||
return ((global::System.Collections.Specialized.StringCollection)(this["TypedUrls"]));
|
||||
}
|
||||
set {
|
||||
this["TypedUrls"] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
namespace Samples.ViewModels
|
||||
{
|
||||
using AngleSharp.Dom.Css;
|
||||
{
|
||||
using AngleSharp.Css.Dom;
|
||||
using System;
|
||||
using System.Collections.ObjectModel;
|
||||
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
namespace Samples.ViewModels
|
||||
{
|
||||
using AngleSharp;
|
||||
using AngleSharp.Dom.Events;
|
||||
using AngleSharp;
|
||||
using AngleSharp.Css.Dom.Events;
|
||||
using AngleSharp.Dom;
|
||||
using AngleSharp.Dom.Events;
|
||||
using AngleSharp.Html.Dom.Events;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
|
@ -34,15 +37,13 @@
|
|||
private void Register<T>(Action<T> listener)
|
||||
where T : Event
|
||||
{
|
||||
_context.ParseError += (obj, ev) =>
|
||||
_context.AddEventListener(EventNames.Error, (obj, ev) =>
|
||||
{
|
||||
var data = ev as T;
|
||||
|
||||
if (data != null)
|
||||
if (ev is T data)
|
||||
{
|
||||
listener.Invoke(data);
|
||||
}
|
||||
};
|
||||
});
|
||||
}
|
||||
|
||||
public void Reset()
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
namespace Samples.ViewModels
|
||||
{
|
||||
using AngleSharp;
|
||||
using AngleSharp;
|
||||
using AngleSharp.Io;
|
||||
using System;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
@ -38,11 +39,15 @@
|
|||
|
||||
public MainViewModel()
|
||||
{
|
||||
var config = Configuration.Default.WithCss().WithRequesters(setup =>
|
||||
{
|
||||
setup.IsNavigationEnabled = true;
|
||||
setup.IsResourceLoadingEnabled = true;
|
||||
}).WithJavaScript();
|
||||
var config = Configuration.Default
|
||||
.WithCss()
|
||||
.WithCookies()
|
||||
.WithJs()
|
||||
.WithDefaultLoader(new LoaderOptions
|
||||
{
|
||||
IsNavigationDisabled = true,
|
||||
IsResourceLoadingEnabled = true,
|
||||
});
|
||||
_context = BrowsingContext.New(config);
|
||||
_profiler = new ProfilerViewModel(_context);
|
||||
_errors = new ErrorsViewModel(_context);
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
namespace Samples.ViewModels
|
||||
{
|
||||
using AngleSharp;
|
||||
using AngleSharp.Dom.Events;
|
||||
using AngleSharp;
|
||||
using AngleSharp.Css.Dom.Events;
|
||||
using AngleSharp.Dom;
|
||||
using AngleSharp.Dom.Events;
|
||||
using AngleSharp.Html.Dom.Events;
|
||||
using OxyPlot;
|
||||
using OxyPlot.Axes;
|
||||
using OxyPlot.Series;
|
||||
|
@ -22,10 +25,10 @@
|
|||
_tracker = new Dictionary<Object, TimeSpan>();
|
||||
_context = context;
|
||||
_model = CreateModel();
|
||||
_context.Parsing += TrackParsing;
|
||||
_context.Parsed += TrackParsed;
|
||||
_context.Requesting += TrackRequesting;
|
||||
_context.Requested += TrackRequested;
|
||||
_context.AddEventListener(EventNames.Parsing, TrackParsing);
|
||||
_context.AddEventListener(EventNames.Parsed, TrackParsed);
|
||||
_context.AddEventListener(EventNames.Requesting, TrackRequesting);
|
||||
_context.AddEventListener(EventNames.Requested, TrackRequested);
|
||||
}
|
||||
|
||||
private static PlotModel CreateModel()
|
||||
|
@ -91,14 +94,11 @@
|
|||
|
||||
private void TrackParsing(Object sender, Event ev)
|
||||
{
|
||||
var html = ev as HtmlParseEvent;
|
||||
var css = ev as CssParseEvent;
|
||||
|
||||
if (html != null)
|
||||
if (ev is HtmlParseEvent html)
|
||||
{
|
||||
_tracker.Add(html.Document, _time.Elapsed);
|
||||
}
|
||||
else if (css != null)
|
||||
else if (ev is CssParseEvent css)
|
||||
{
|
||||
_tracker.Add(css.StyleSheet, _time.Elapsed);
|
||||
}
|
||||
|
@ -106,20 +106,16 @@
|
|||
|
||||
private void TrackParsed(Object sender, Event ev)
|
||||
{
|
||||
var html = ev as HtmlParseEvent;
|
||||
var css = ev as CssParseEvent;
|
||||
var start = default(TimeSpan);
|
||||
|
||||
if (html != null && _tracker.TryGetValue(html.Document, out start))
|
||||
if (ev is HtmlParseEvent html && _tracker.TryGetValue(html.Document, out var startHtml))
|
||||
{
|
||||
var document = html.Document;
|
||||
AddItem("Parse HTML " + document.Url, OxyColors.Orange, start, _time.Elapsed);
|
||||
AddItem("Parse HTML " + document.Url, OxyColors.Orange, startHtml, _time.Elapsed);
|
||||
_tracker.Remove(document);
|
||||
}
|
||||
else if (css != null && _tracker.TryGetValue(css.StyleSheet, out start))
|
||||
else if (ev is CssParseEvent css && _tracker.TryGetValue(css.StyleSheet, out var startCss))
|
||||
{
|
||||
var styleSheet = css.StyleSheet;
|
||||
AddItem("Parse CSS " + styleSheet.Href, OxyColors.Violet, start, _time.Elapsed);
|
||||
AddItem("Parse CSS " + styleSheet.Href, OxyColors.Violet, startCss, _time.Elapsed);
|
||||
_tracker.Remove(styleSheet);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
namespace Samples.ViewModels
|
||||
{
|
||||
using AngleSharp.Dom;
|
||||
using AngleSharp.Extensions;
|
||||
using AngleSharp.Dom;
|
||||
using AngleSharp.Js;
|
||||
using Jint.Runtime;
|
||||
using System;
|
||||
using System.Collections.ObjectModel;
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
namespace Samples.ViewModels
|
||||
{
|
||||
{
|
||||
using AngleSharp.Css.Dom;
|
||||
using AngleSharp.Css.Dom.Events;
|
||||
using AngleSharp.Dom;
|
||||
using AngleSharp.Dom.Css;
|
||||
using AngleSharp.Dom.Events;
|
||||
using System;
|
||||
using System.Collections.ObjectModel;
|
||||
|
@ -37,9 +38,8 @@
|
|||
_selected = value;
|
||||
RaisePropertyChanged();
|
||||
_tree.Clear();
|
||||
var sheet = _selected as ICssStyleSheet;
|
||||
|
||||
if (sheet != null)
|
||||
if (_selected is ICssStyleSheet sheet)
|
||||
{
|
||||
for (int i = 0; i < sheet.Rules.Length; i++)
|
||||
{
|
||||
|
@ -57,7 +57,7 @@
|
|||
{
|
||||
if (_document != null)
|
||||
{
|
||||
_document.Context.Parsed -= ParseEnded;
|
||||
_document.Context.RemoveEventListener(EventNames.Parsed, ParseEnded);
|
||||
}
|
||||
|
||||
_document = value;
|
||||
|
@ -66,18 +66,16 @@
|
|||
foreach (var sheet in _document.StyleSheets)
|
||||
{
|
||||
_source.Add(sheet);
|
||||
}
|
||||
|
||||
_document.Context.Parsed += ParseEnded;
|
||||
}
|
||||
|
||||
_document.Context.AddEventListener(EventNames.Parsed, ParseEnded);
|
||||
Selected = null;
|
||||
}
|
||||
}
|
||||
|
||||
private void ParseEnded(Object sender, Event ev)
|
||||
{
|
||||
var data = ev as CssParseEvent;
|
||||
|
||||
if (data != null)
|
||||
if (ev is CssParseEvent data)
|
||||
{
|
||||
App.Current.Dispatcher.Invoke(() => _source.Add(data.StyleSheet));
|
||||
}
|
||||
|
|
|
@ -104,7 +104,7 @@
|
|||
if (data.Length == 0)
|
||||
return null;
|
||||
|
||||
return new TreeNodeViewModel { Value = HtmlMarkupFormatter.Instance.Text(text.Data), Foreground = Brushes.SteelBlue };
|
||||
return new TreeNodeViewModel { Value = HtmlMarkupFormatter.Instance.Text(text), Foreground = Brushes.SteelBlue };
|
||||
}
|
||||
|
||||
private static TreeNodeViewModel Create(IElement node)
|
||||
|
|
|
@ -1,12 +1,16 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="AngleSharp" version="0.9.9" targetFramework="net45" />
|
||||
<package id="AngleSharp.Io" version="0.3.2" targetFramework="net45" />
|
||||
<package id="AngleSharp.Scripting.JavaScript" version="0.5.0" targetFramework="net45" />
|
||||
<package id="Jint" version="2.9.1" targetFramework="net45" />
|
||||
<package id="MahApps.Metro" version="1.2.4.0" targetFramework="net45" />
|
||||
<package id="OxyPlot.Core" version="2015.1.943-alpha" targetFramework="net45" />
|
||||
<package id="OxyPlot.Wpf" version="2015.1.943-alpha" targetFramework="net45" />
|
||||
<package id="Simple.Wpf.Terminal" version="1.35.0.0" targetFramework="net45" />
|
||||
<package id="System.Windows.Interactivity.WPF" version="2.0.20525" targetFramework="net45" />
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="AngleSharp" version="0.12.1" targetFramework="net461" />
|
||||
<package id="AngleSharp.Css" version="0.12.1" targetFramework="net461" />
|
||||
<package id="AngleSharp.Io" version="0.12.1" targetFramework="net461" />
|
||||
<package id="AngleSharp.Js" version="0.12.1" targetFramework="net461" />
|
||||
<package id="AngleSharp.Xml" version="0.12.1" targetFramework="net461" />
|
||||
<package id="jint" version="2.10.4" targetFramework="net461" />
|
||||
<package id="MahApps.Metro" version="1.2.4.0" targetFramework="net45" />
|
||||
<package id="OxyPlot.Core" version="2015.1.943-alpha" targetFramework="net45" />
|
||||
<package id="OxyPlot.Wpf" version="2015.1.943-alpha" targetFramework="net45" />
|
||||
<package id="Simple.Wpf.Terminal" version="1.35.0.0" targetFramework="net45" />
|
||||
<package id="System.Runtime.CompilerServices.Unsafe" version="4.5.0" targetFramework="net461" />
|
||||
<package id="System.Text.Encoding.CodePages" version="4.5.0" targetFramework="net461" />
|
||||
<package id="System.Windows.Interactivity.WPF" version="2.0.20525" targetFramework="net45" />
|
||||
</packages>
|
|
@ -1,89 +1,97 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{3F8D45C0-140D-4A48-B1DC-91BF3F4EC760}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>AngleSharp.Samples.Demos</RootNamespace>
|
||||
<AssemblyName>AngleSharp.Samples.Demos</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<NuGetPackageImportStamp>ba6035cc</NuGetPackageImportStamp>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="AngleSharp, Version=0.9.9.0, Culture=neutral, PublicKeyToken=e83494dcdc6d31ea, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\AngleSharp.0.9.9\lib\net45\AngleSharp.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="AngleSharp.Scripting.JavaScript, Version=0.5.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\AngleSharp.Scripting.JavaScript.0.5.0\lib\portable-windows8+net45+windowsphone8+wpa+monoandroid+monotouch\AngleSharp.Scripting.JavaScript.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Jint, Version=2.9.1.0, Culture=neutral, PublicKeyToken=2e92ba9c8d81157f, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Jint.2.9.1\lib\portable-net40+sl50+win+WindowsPhoneApp81+wp80\Jint.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Net" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Snippets\BigBang.cs" />
|
||||
<Compile Include="Snippets\Construction.cs" />
|
||||
<Compile Include="Snippets\CreateToc.cs" />
|
||||
<Compile Include="Snippets\CustomEventScripting.cs" />
|
||||
<Compile Include="Snippets\ErrorHandling.cs" />
|
||||
<Compile Include="Snippets\ExtendedScripting.cs" />
|
||||
<Compile Include="Snippets\FirstExample.cs" />
|
||||
<Compile Include="Snippets\GatherDataFromRssFeed.cs" />
|
||||
<Compile Include="Snippets\Html5Test.cs" />
|
||||
<Compile Include="ISnippet.cs" />
|
||||
<Compile Include="Snippets\LegacyEventScripting.cs" />
|
||||
<Compile Include="Snippets\SimpleScripting.cs" />
|
||||
<Compile Include="Snippets\SingleElements.cs" />
|
||||
<Compile Include="Snippets\UsingLinq.cs" />
|
||||
<Compile Include="StandardConsoleLogger.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{3F8D45C0-140D-4A48-B1DC-91BF3F4EC760}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>AngleSharp.Samples.Demos</RootNamespace>
|
||||
<AssemblyName>AngleSharp.Samples.Demos</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<NuGetPackageImportStamp>ba6035cc</NuGetPackageImportStamp>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="AngleSharp, Version=0.12.1.0, Culture=neutral, PublicKeyToken=e83494dcdc6d31ea, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\AngleSharp.0.12.1\lib\net46\AngleSharp.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="AngleSharp.Css, Version=0.12.1.0, Culture=neutral, PublicKeyToken=e83494dcdc6d31ea, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\AngleSharp.Css.0.12.1\lib\net46\AngleSharp.Css.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="AngleSharp.Js, Version=0.12.1.0, Culture=neutral, PublicKeyToken=e83494dcdc6d31ea, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\AngleSharp.Js.0.12.1\lib\net46\AngleSharp.Js.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="jint, Version=2.10.4.0, Culture=neutral, PublicKeyToken=2e92ba9c8d81157f, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\jint.2.10.4\lib\net45\jint.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Diagnostics.Contracts" />
|
||||
<Reference Include="System.Net" />
|
||||
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=4.0.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.4.5.0\lib\netstandard2.0\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Text.Encoding.CodePages, Version=4.0.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Text.Encoding.CodePages.4.5.0\lib\net46\System.Text.Encoding.CodePages.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Snippets\BigBang.cs" />
|
||||
<Compile Include="Snippets\Construction.cs" />
|
||||
<Compile Include="Snippets\CreateToc.cs" />
|
||||
<Compile Include="Snippets\CustomEventScripting.cs" />
|
||||
<Compile Include="Snippets\ErrorHandling.cs" />
|
||||
<Compile Include="Snippets\ExtendedScripting.cs" />
|
||||
<Compile Include="Snippets\FirstExample.cs" />
|
||||
<Compile Include="Snippets\GatherDataFromRssFeed.cs" />
|
||||
<Compile Include="Snippets\Html5Test.cs" />
|
||||
<Compile Include="ISnippet.cs" />
|
||||
<Compile Include="Snippets\LegacyEventScripting.cs" />
|
||||
<Compile Include="Snippets\SimpleScripting.cs" />
|
||||
<Compile Include="Snippets\SingleElements.cs" />
|
||||
<Compile Include="Snippets\UsingLinq.cs" />
|
||||
<Compile Include="StandardConsoleLogger.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
-->
|
||||
</Project>
|
|
@ -1,18 +1,18 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
|
||||
</startup>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Jint" publicKeyToken="2e92ba9c8d81157f" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-2.7.1.0" newVersion="2.7.1.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="AngleSharp" publicKeyToken="e83494dcdc6d31ea" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-0.9.9.0" newVersion="0.9.9.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
</configuration>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
|
||||
</startup>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Jint" publicKeyToken="2e92ba9c8d81157f" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-2.7.1.0" newVersion="2.7.1.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="AngleSharp" publicKeyToken="e83494dcdc6d31ea" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-0.12.1.0" newVersion="0.12.1.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
</configuration>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
namespace AngleSharp.Samples.Demos.Snippets
|
||||
{
|
||||
using AngleSharp.Dom.Html;
|
||||
using AngleSharp.Extensions;
|
||||
{
|
||||
using AngleSharp.Dom;
|
||||
using AngleSharp.Html.Dom;
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
namespace AngleSharp.Samples.Demos.Snippets
|
||||
{
|
||||
using AngleSharp.Dom;
|
||||
using AngleSharp.Dom.Html;
|
||||
using AngleSharp.Extensions;
|
||||
using AngleSharp.Dom;
|
||||
using AngleSharp.Html.Dom;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
|
|
@ -8,8 +8,9 @@
|
|||
public async Task Run()
|
||||
{
|
||||
// We require a custom configuration with JavaScript
|
||||
var config = Configuration.Default.WithJavaScript().
|
||||
WithConsoleLogger(context => new StandardConsoleLogger());
|
||||
var config = Configuration.Default
|
||||
.WithJs()
|
||||
.WithConsoleLogger(context => new StandardConsoleLogger());
|
||||
|
||||
// This is our sample source, we will trigger the load event
|
||||
var source = @"<!doctype html>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
{
|
||||
//We require a custom configuration with JavaScript and CSS
|
||||
var config = Configuration.Default
|
||||
.WithJavaScript()
|
||||
.WithJs()
|
||||
.WithCss();
|
||||
|
||||
// This is our sample source, we will do some DOM manipulation
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
{
|
||||
// We require a custom configuration with JavaScript, CSS and the default loader
|
||||
var config = Configuration.Default
|
||||
.WithJavaScript()
|
||||
.WithJs()
|
||||
.WithCss()
|
||||
.WithDefaultLoader();
|
||||
|
||||
|
|
|
@ -8,8 +8,9 @@
|
|||
public async Task Run()
|
||||
{
|
||||
// We require a custom configuration with JavaScript
|
||||
var config = Configuration.Default.WithJavaScript().
|
||||
WithConsoleLogger(context => new StandardConsoleLogger());
|
||||
var config = Configuration.Default
|
||||
.WithJs()
|
||||
.WithConsoleLogger(context => new StandardConsoleLogger());
|
||||
|
||||
// This is our sample source, we will trigger the load event
|
||||
var source = @"<!doctype html>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
public async Task Run()
|
||||
{
|
||||
// We require a custom configuration with JavaScript
|
||||
var config = Configuration.Default.WithJavaScript();
|
||||
var config = Configuration.Default.WithJs();
|
||||
|
||||
// This is our sample source, we will set the title and write on the document
|
||||
var source = @"<!doctype html>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
namespace AngleSharp.Samples.Demos.Snippets
|
||||
{
|
||||
using AngleSharp.Extensions;
|
||||
{
|
||||
using AngleSharp.Dom;
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
namespace AngleSharp.Samples.Demos.Snippets
|
||||
{
|
||||
using AngleSharp.Extensions;
|
||||
{
|
||||
using AngleSharp.Dom;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
namespace AngleSharp.Samples.Demos
|
||||
{
|
||||
using AngleSharp.Scripting.JavaScript.Services;
|
||||
{
|
||||
using AngleSharp.Js;
|
||||
using System;
|
||||
using System.Linq;
|
||||
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="AngleSharp" version="0.9.9" targetFramework="net45" />
|
||||
<package id="AngleSharp.Scripting.JavaScript" version="0.5.0" targetFramework="net45" />
|
||||
<package id="Jint" version="2.9.1" targetFramework="net45" />
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="AngleSharp" version="0.12.1" targetFramework="net461" />
|
||||
<package id="AngleSharp.Css" version="0.12.1" targetFramework="net461" />
|
||||
<package id="AngleSharp.Js" version="0.12.1" targetFramework="net461" />
|
||||
<package id="jint" version="2.10.4" targetFramework="net461" />
|
||||
<package id="System.Runtime.CompilerServices.Unsafe" version="4.5.0" targetFramework="net461" />
|
||||
<package id="System.Text.Encoding.CodePages" version="4.5.0" targetFramework="net46" requireReinstallation="true" />
|
||||
</packages>
|
|
@ -1,28 +1,31 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 14
|
||||
VisualStudioVersion = 14.0.22310.1
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AngleSharp.Samples.App", "AngleSharp.Samples.App\AngleSharp.Samples.App.csproj", "{DA318620-F6B5-4DFA-B012-38F06141A2DD}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AngleSharp.Samples.Demos", "AngleSharp.Samples.Demos\AngleSharp.Samples.Demos.csproj", "{3F8D45C0-140D-4A48-B1DC-91BF3F4EC760}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{DA318620-F6B5-4DFA-B012-38F06141A2DD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{DA318620-F6B5-4DFA-B012-38F06141A2DD}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{DA318620-F6B5-4DFA-B012-38F06141A2DD}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{DA318620-F6B5-4DFA-B012-38F06141A2DD}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{3F8D45C0-140D-4A48-B1DC-91BF3F4EC760}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{3F8D45C0-140D-4A48-B1DC-91BF3F4EC760}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{3F8D45C0-140D-4A48-B1DC-91BF3F4EC760}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{3F8D45C0-140D-4A48-B1DC-91BF3F4EC760}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 15
|
||||
VisualStudioVersion = 15.0.28307.572
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AngleSharp.Samples.App", "AngleSharp.Samples.App\AngleSharp.Samples.App.csproj", "{DA318620-F6B5-4DFA-B012-38F06141A2DD}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AngleSharp.Samples.Demos", "AngleSharp.Samples.Demos\AngleSharp.Samples.Demos.csproj", "{3F8D45C0-140D-4A48-B1DC-91BF3F4EC760}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{DA318620-F6B5-4DFA-B012-38F06141A2DD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{DA318620-F6B5-4DFA-B012-38F06141A2DD}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{DA318620-F6B5-4DFA-B012-38F06141A2DD}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{DA318620-F6B5-4DFA-B012-38F06141A2DD}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{3F8D45C0-140D-4A48-B1DC-91BF3F4EC760}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{3F8D45C0-140D-4A48-B1DC-91BF3F4EC760}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{3F8D45C0-140D-4A48-B1DC-91BF3F4EC760}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{3F8D45C0-140D-4A48-B1DC-91BF3F4EC760}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {0DF14775-AB02-41C1-B392-62858D096DB1}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
|
Загрузка…
Ссылка в новой задаче