mirror of
https://gitee.com/dotnetchina/MiniExcel.git
synced 2024-12-02 03:47:41 +08:00
tests move to /tests folders
This commit is contained in:
parent
9118078d93
commit
9ec0b3fe88
@ -13,8 +13,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
|
||||
..\README.md = ..\README.md
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MiniExcelTests", "MiniExcelTests\MiniExcelTests.csproj", "{1B30A8E7-11E1-4A74-95CD-46E36B928F44}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{CC1E0601-AEC9-42D7-8F6A-3FB3939EED16}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{359A7094-3353-48F2-B3E1-FE9E59698318}"
|
||||
@ -24,6 +22,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docs", "docs", "{3E370222-8
|
||||
..\docs\README.md = ..\docs\README.md
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MiniExcelTests", "..\tests\MiniExcelTests\MiniExcelTests.csproj", "{77F2C86B-0F17-4370-AB38-A089F9DF4ED5}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
@ -34,17 +34,17 @@ Global
|
||||
{097903C9-1F81-4427-B4C8-530CB59687B8}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{097903C9-1F81-4427-B4C8-530CB59687B8}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{097903C9-1F81-4427-B4C8-530CB59687B8}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{1B30A8E7-11E1-4A74-95CD-46E36B928F44}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{1B30A8E7-11E1-4A74-95CD-46E36B928F44}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{1B30A8E7-11E1-4A74-95CD-46E36B928F44}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{1B30A8E7-11E1-4A74-95CD-46E36B928F44}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{77F2C86B-0F17-4370-AB38-A089F9DF4ED5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{77F2C86B-0F17-4370-AB38-A089F9DF4ED5}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{77F2C86B-0F17-4370-AB38-A089F9DF4ED5}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{77F2C86B-0F17-4370-AB38-A089F9DF4ED5}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(NestedProjects) = preSolution
|
||||
{097903C9-1F81-4427-B4C8-530CB59687B8} = {CC1E0601-AEC9-42D7-8F6A-3FB3939EED16}
|
||||
{1B30A8E7-11E1-4A74-95CD-46E36B928F44} = {359A7094-3353-48F2-B3E1-FE9E59698318}
|
||||
{77F2C86B-0F17-4370-AB38-A089F9DF4ED5} = {359A7094-3353-48F2-B3E1-FE9E59698318}
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {51DF25DA-2DCB-4883-90FE-399DA950D4F2}
|
||||
|
@ -5,7 +5,7 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\MiniExcel\MiniExcelLibs.csproj" />
|
||||
<PackageReference Include="MiniExcel" Version="0.0.7-beta" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
@ -0,0 +1,25 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.31025.194
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MiniExcel.Tests.AspNetCore", "MiniExcel.Tests.AspNetCore.csproj", "{B83FB32E-3BFE-40B7-A0B7-60CE06D477C9}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{B83FB32E-3BFE-40B7-A0B7-60CE06D477C9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{B83FB32E-3BFE-40B7-A0B7-60CE06D477C9}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{B83FB32E-3BFE-40B7-A0B7-60CE06D477C9}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{B83FB32E-3BFE-40B7-A0B7-60CE06D477C9}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {EA69BF74-C465-47C0-B00B-DE13AC34BFBC}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
@ -44,6 +44,10 @@
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="MiniExcel, Version=0.0.7.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>packages\MiniExcel.0.0.7-beta\lib\net461\MiniExcel.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.DynamicData" />
|
||||
<Reference Include="System.Web.Entity" />
|
||||
<Reference Include="System.Web.ApplicationServices" />
|
||||
@ -112,7 +116,6 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="App_Data\" />
|
||||
<Folder Include="Models\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\MiniExcel\MiniExcelLibs.csproj">
|
@ -0,0 +1,25 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.31025.194
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MiniExcel.Tests.AspNetMvc", "MiniExcel.Tests.AspNetMvc.csproj", "{EFA5A752-A230-4955-9769-06320690CB5F}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{EFA5A752-A230-4955-9769-06320690CB5F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{EFA5A752-A230-4955-9769-06320690CB5F}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{EFA5A752-A230-4955-9769-06320690CB5F}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{EFA5A752-A230-4955-9769-06320690CB5F}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {5544749F-0A81-4EF6-A786-99CCCDA1DF3A}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
BIN
tests/MiniExcel.Tests.AspNetMvc/packages/Microsoft.AspNet.Mvc.5.2.7/.signature.p7s
vendored
Normal file
BIN
tests/MiniExcel.Tests.AspNetMvc/packages/Microsoft.AspNet.Mvc.5.2.7/.signature.p7s
vendored
Normal file
Binary file not shown.
@ -0,0 +1,34 @@
|
||||
<?xml version="1.0"?>
|
||||
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
|
||||
|
||||
<!-- If runtime tag is absent -->
|
||||
<runtime xdt:Transform="InsertIfMissing">
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
|
||||
<!-- If runtime tag is present, but assembly binding tag is absent -->
|
||||
<runtime>
|
||||
<assemblyBinding xdt:Transform="InsertIfMissing" xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
|
||||
<!-- If the binding redirect is already present, the existing entry needs to be removed before inserting the new entry-->
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly xdt:Transform="Remove"
|
||||
xdt:Locator="Condition(./_defaultNamespace:assemblyIdentity/@name='System.Web.Mvc')" >
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
|
||||
<!-- Inserting the new binding redirect -->
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly xdt:Transform="Insert">
|
||||
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
|
||||
<bindingRedirect oldVersion="1.0.0.0-5.2.7.0" newVersion="5.2.7.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
</configuration>
|
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0"?>
|
||||
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly xdt:Transform="Remove"
|
||||
xdt:Locator="Condition(./_defaultNamespace:assemblyIdentity/@name='System.Web.Mvc')" >
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
</configuration>
|
BIN
tests/MiniExcel.Tests.AspNetMvc/packages/Microsoft.AspNet.Mvc.5.2.7/lib/net45/System.Web.Mvc.dll
vendored
Normal file
BIN
tests/MiniExcel.Tests.AspNetMvc/packages/Microsoft.AspNet.Mvc.5.2.7/lib/net45/System.Web.Mvc.dll
vendored
Normal file
Binary file not shown.
11485
tests/MiniExcel.Tests.AspNetMvc/packages/Microsoft.AspNet.Mvc.5.2.7/lib/net45/System.Web.Mvc.xml
vendored
Normal file
11485
tests/MiniExcel.Tests.AspNetMvc/packages/Microsoft.AspNet.Mvc.5.2.7/lib/net45/System.Web.Mvc.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
tests/MiniExcel.Tests.AspNetMvc/packages/Microsoft.AspNet.Razor.3.2.7/.signature.p7s
vendored
Normal file
BIN
tests/MiniExcel.Tests.AspNetMvc/packages/Microsoft.AspNet.Razor.3.2.7/.signature.p7s
vendored
Normal file
Binary file not shown.
BIN
tests/MiniExcel.Tests.AspNetMvc/packages/Microsoft.AspNet.Razor.3.2.7/lib/net45/System.Web.Razor.dll
vendored
Normal file
BIN
tests/MiniExcel.Tests.AspNetMvc/packages/Microsoft.AspNet.Razor.3.2.7/lib/net45/System.Web.Razor.dll
vendored
Normal file
Binary file not shown.
5742
tests/MiniExcel.Tests.AspNetMvc/packages/Microsoft.AspNet.Razor.3.2.7/lib/net45/System.Web.Razor.xml
vendored
Normal file
5742
tests/MiniExcel.Tests.AspNetMvc/packages/Microsoft.AspNet.Razor.3.2.7/lib/net45/System.Web.Razor.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
tests/MiniExcel.Tests.AspNetMvc/packages/Microsoft.AspNet.WebPages.3.2.7/.signature.p7s
vendored
Normal file
BIN
tests/MiniExcel.Tests.AspNetMvc/packages/Microsoft.AspNet.WebPages.3.2.7/.signature.p7s
vendored
Normal file
Binary file not shown.
@ -0,0 +1,41 @@
|
||||
<?xml version="1.0"?>
|
||||
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
|
||||
|
||||
<!-- If runtime tag is absent -->
|
||||
<runtime xdt:Transform="InsertIfMissing">
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
|
||||
<!-- If runtime tag is present, but assembly binding tag is absent -->
|
||||
<runtime>
|
||||
<assemblyBinding xdt:Transform="InsertIfMissing" xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
|
||||
<!-- If the binding redirect is already present, the existing entry needs to be removed before inserting the new entry-->
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly xdt:Transform="Remove"
|
||||
xdt:Locator="Condition(./_defaultNamespace:assemblyIdentity/@name='System.Web.Helpers')" >
|
||||
</dependentAssembly>
|
||||
<dependentAssembly xdt:Transform="Remove"
|
||||
xdt:Locator="Condition(./_defaultNamespace:assemblyIdentity/@name='System.Web.WebPages')" >
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
|
||||
<!-- Inserting the new binding redirect -->
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly xdt:Transform="Insert">
|
||||
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
|
||||
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly xdt:Transform="Insert">
|
||||
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
|
||||
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
</configuration>
|
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0"?>
|
||||
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly xdt:Transform="Remove"
|
||||
xdt:Locator="Condition(./_defaultNamespace:assemblyIdentity/@name='System.Web.Helpers')" >
|
||||
</dependentAssembly>
|
||||
<dependentAssembly xdt:Transform="Remove"
|
||||
xdt:Locator="Condition(./_defaultNamespace:assemblyIdentity/@name='System.Web.WebPages')" >
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
</configuration>
|
Binary file not shown.
@ -0,0 +1,839 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>System.Web.Helpers</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:System.Web.Helpers.Chart">
|
||||
<summary>Displays data in the form of a graphical chart.</summary>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.Chart.#ctor(System.Int32,System.Int32,System.String,System.String)">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Web.Helpers.Chart" /> class.</summary>
|
||||
<param name="width">The width, in pixels, of the complete chart image.</param>
|
||||
<param name="height">The height, in pixels, of the complete chart image.</param>
|
||||
<param name="theme">(Optional) The template (theme) to apply to the chart.</param>
|
||||
<param name="themePath">(Optional) The template (theme) path and file name to apply to the chart.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.Chart.AddLegend(System.String,System.String)">
|
||||
<summary>Adds a legend to the chart.</summary>
|
||||
<returns>The chart.</returns>
|
||||
<param name="title">The text of the legend title.</param>
|
||||
<param name="name">The unique name of the legend.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.Chart.AddSeries(System.String,System.String,System.String,System.String,System.String,System.Int32,System.Collections.IEnumerable,System.String,System.Collections.IEnumerable,System.String)">
|
||||
<summary>Provides data points and series attributes for the chart.</summary>
|
||||
<returns>The chart.</returns>
|
||||
<param name="name">The unique name of the series.</param>
|
||||
<param name="chartType">The chart type of a series.</param>
|
||||
<param name="chartArea">The name of the chart area that is used to plot the data series.</param>
|
||||
<param name="axisLabel">The axis label text for the series.</param>
|
||||
<param name="legend">The name of the series that is associated with the legend.</param>
|
||||
<param name="markerStep">The granularity of data point markers.</param>
|
||||
<param name="xValue">The values to plot along the x-axis.</param>
|
||||
<param name="xField">The name of the field for x-values.</param>
|
||||
<param name="yValues">The values to plot along the y-axis.</param>
|
||||
<param name="yFields">A comma-separated list of name or names of the field or fields for y-values.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.Chart.AddTitle(System.String,System.String)">
|
||||
<summary>Adds a title to the chart.</summary>
|
||||
<returns>The chart.</returns>
|
||||
<param name="text">The title text.</param>
|
||||
<param name="name">The unique name of the title.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.Chart.DataBindCrossTable(System.Collections.IEnumerable,System.String,System.String,System.String,System.String,System.String)">
|
||||
<summary>Binds a chart to a data table, where one series is created for each unique value in a column.</summary>
|
||||
<returns>The chart.</returns>
|
||||
<param name="dataSource">The chart data source.</param>
|
||||
<param name="groupByField">The name of the column that is used to group data into the series.</param>
|
||||
<param name="xField">The name of the column for x-values.</param>
|
||||
<param name="yFields">A comma-separated list of names of the columns for y-values.</param>
|
||||
<param name="otherFields">Other data point properties that can be bound.</param>
|
||||
<param name="pointSortOrder">The order in which the series will be sorted. The default is "Ascending".</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.Chart.DataBindTable(System.Collections.IEnumerable,System.String)">
|
||||
<summary>Creates and binds series data to the specified data table, and optionally populates multiple x-values.</summary>
|
||||
<returns>The chart.</returns>
|
||||
<param name="dataSource">The chart data source. This can be can be any <see cref="T:System.Collections.IEnumerable" /> object.</param>
|
||||
<param name="xField">The name of the table column used for the series x-values.</param>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.Chart.FileName">
|
||||
<summary>Gets or sets the name of the file that contains the chart image.</summary>
|
||||
<returns>The name of the file.</returns>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.Chart.GetBytes(System.String)">
|
||||
<summary>Returns a chart image as a byte array.</summary>
|
||||
<returns>The chart.</returns>
|
||||
<param name="format">The image format. The default is "jpeg".</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.Chart.GetFromCache(System.String)">
|
||||
<summary>Retrieves the specified chart from the cache.</summary>
|
||||
<returns>The chart.</returns>
|
||||
<param name="key">The ID of the cache item that contains the chart to retrieve. The key is set when you call the <see cref="M:System.Web.Helpers.Chart.SaveToCache(System.String,System.Int32,System.Boolean)" /> method.</param>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.Chart.Height">
|
||||
<summary>Gets or sets the height, in pixels, of the chart image.</summary>
|
||||
<returns>The chart height.</returns>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.Chart.Save(System.String,System.String)">
|
||||
<summary>Saves a chart image to the specified file.</summary>
|
||||
<returns>The chart.</returns>
|
||||
<param name="path">The location and name of the image file.</param>
|
||||
<param name="format">The image file format, such as "png" or "jpeg".</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.Chart.SaveToCache(System.String,System.Int32,System.Boolean)">
|
||||
<summary>Saves a chart in the system cache.</summary>
|
||||
<returns>The ID of the cache item that contains the chart.</returns>
|
||||
<param name="key">The ID of the chart in the cache.</param>
|
||||
<param name="minutesToCache">The number of minutes to keep the chart image in the cache. The default is 20.</param>
|
||||
<param name="slidingExpiration">true to indicate that the chart cache item's expiration is reset each time the item is accessed, or false to indicate that the expiration is based on an absolute interval since the time that the item was added to the cache. The default is true.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.Chart.SaveXml(System.String)">
|
||||
<summary>Saves a chart as an XML file.</summary>
|
||||
<returns>The chart.</returns>
|
||||
<param name="path">The path and name of the XML file.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.Chart.SetXAxis(System.String,System.Double,System.Double)">
|
||||
<summary>Sets values for the horizontal axis.</summary>
|
||||
<returns>The chart.</returns>
|
||||
<param name="title">The title of the x-axis.</param>
|
||||
<param name="min">The minimum value for the x-axis.</param>
|
||||
<param name="max">The maximum value for the x-axis.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.Chart.SetYAxis(System.String,System.Double,System.Double)">
|
||||
<summary>Sets values for the vertical axis.</summary>
|
||||
<returns>The chart.</returns>
|
||||
<param name="title">The title of the y-axis.</param>
|
||||
<param name="min">The minimum value for the y-axis.</param>
|
||||
<param name="max">The maximum value for the y-axis.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.Chart.ToWebImage(System.String)">
|
||||
<summary>Creates a <see cref="T:System.Web.Helpers.WebImage" /> object based on the current <see cref="T:System.Web.Helpers.Chart" /> object.</summary>
|
||||
<returns>The chart.</returns>
|
||||
<param name="format">The format of the image to save the <see cref="T:System.Web.Helpers.WebImage" /> object as. The default is "jpeg". The <paramref name="format" /> parameter is not case sensitive.</param>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.Chart.Width">
|
||||
<summary>Gets or set the width, in pixels, of the chart image.</summary>
|
||||
<returns>The chart width.</returns>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.Chart.Write(System.String)">
|
||||
<summary>Renders the output of the <see cref="T:System.Web.Helpers.Chart" /> object as an image.</summary>
|
||||
<returns>The chart.</returns>
|
||||
<param name="format">The format of the image. The default is "jpeg".</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.Chart.WriteFromCache(System.String,System.String)">
|
||||
<summary>Renders the output of a <see cref="T:System.Web.Helpers.Chart" /> object that has been cached as an image.</summary>
|
||||
<returns>The chart.</returns>
|
||||
<param name="key">The ID of the chart in the cache.</param>
|
||||
<param name="format">The format of the image. The default is "jpeg".</param>
|
||||
</member>
|
||||
<member name="T:System.Web.Helpers.ChartTheme">
|
||||
<summary>Specifies visual themes for a <see cref="T:System.Web.Helpers.Chart" /> object.</summary>
|
||||
</member>
|
||||
<member name="F:System.Web.Helpers.ChartTheme.Blue">
|
||||
<summary>A theme for 2D charting that features a visual container with a blue gradient, rounded edges, drop-shadowing, and high-contrast gridlines.</summary>
|
||||
</member>
|
||||
<member name="F:System.Web.Helpers.ChartTheme.Green">
|
||||
<summary>A theme for 2D charting that features a visual container with a green gradient, rounded edges, drop-shadowing, and low-contrast gridlines.</summary>
|
||||
</member>
|
||||
<member name="F:System.Web.Helpers.ChartTheme.Vanilla">
|
||||
<summary>A theme for 2D charting that features no visual container and no gridlines.</summary>
|
||||
</member>
|
||||
<member name="F:System.Web.Helpers.ChartTheme.Vanilla3D">
|
||||
<summary>A theme for 3D charting that features no visual container, limited labeling and, sparse, high-contrast gridlines.</summary>
|
||||
</member>
|
||||
<member name="F:System.Web.Helpers.ChartTheme.Yellow">
|
||||
<summary>A theme for 2D charting that features a visual container that has a yellow gradient, rounded edges, drop-shadowing, and high-contrast gridlines.</summary>
|
||||
</member>
|
||||
<member name="T:System.Web.Helpers.Crypto">
|
||||
<summary>Provides methods to generate hash values and encrypt passwords or other sensitive data.</summary>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.Crypto.GenerateSalt(System.Int32)">
|
||||
<summary>Generates a cryptographically strong sequence of random byte values.</summary>
|
||||
<returns>The generated salt value as a base-64-encoded string.</returns>
|
||||
<param name="byteLength">The number of cryptographically random bytes to generate.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.Crypto.Hash(System.Byte[],System.String)">
|
||||
<summary>Returns a hash value for the specified byte array.</summary>
|
||||
<returns>The hash value for <paramref name="input" /> as a string of hexadecimal characters.</returns>
|
||||
<param name="input">The data to provide a hash value for.</param>
|
||||
<param name="algorithm">The algorithm that is used to generate the hash value. The default is "sha256".</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="input" /> is null.</exception>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.Crypto.Hash(System.String,System.String)">
|
||||
<summary>Returns a hash value for the specified string.</summary>
|
||||
<returns>The hash value for <paramref name="input" /> as a string of hexadecimal characters.</returns>
|
||||
<param name="input">The data to provide a hash value for.</param>
|
||||
<param name="algorithm">The algorithm that is used to generate the hash value. The default is "sha256".</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="input" /> is null.</exception>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.Crypto.HashPassword(System.String)">
|
||||
<summary>Returns an RFC 2898 hash value for the specified password.</summary>
|
||||
<returns>The hash value for <paramref name="password" /> as a base-64-encoded string.</returns>
|
||||
<param name="password">The password to generate a hash value for.</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="password" /> is null.</exception>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.Crypto.SHA1(System.String)">
|
||||
<summary>Returns a SHA-1 hash value for the specified string.</summary>
|
||||
<returns>The SHA-1 hash value for <paramref name="input" /> as a string of hexadecimal characters.</returns>
|
||||
<param name="input">The data to provide a hash value for.</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="input" /> is null.</exception>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.Crypto.SHA256(System.String)">
|
||||
<summary>Returns a SHA-256 hash value for the specified string.</summary>
|
||||
<returns>The SHA-256 hash value for <paramref name="input" /> as a string of hexadecimal characters.</returns>
|
||||
<param name="input">The data to provide a hash value for.</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="input" /> is null.</exception>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.Crypto.VerifyHashedPassword(System.String,System.String)">
|
||||
<summary>Determines whether the specified RFC 2898 hash and password are a cryptographic match.</summary>
|
||||
<returns>true if the hash value is a cryptographic match for the password; otherwise, false.</returns>
|
||||
<param name="hashedPassword">The previously-computed RFC 2898 hash value as a base-64-encoded string.</param>
|
||||
<param name="password">The plaintext password to cryptographically compare with <paramref name="hashedPassword" />.</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="hashedPassword" /> or <paramref name="password" /> is null.</exception>
|
||||
</member>
|
||||
<member name="T:System.Web.Helpers.DynamicJsonArray">
|
||||
<summary>Represents a series of values as a JavaScript-like array by using the dynamic capabilities of the Dynamic Language Runtime (DLR).</summary>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.DynamicJsonArray.#ctor(System.Object[])">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Web.Helpers.DynamicJsonArray" /> class using the specified array element values.</summary>
|
||||
<param name="arrayValues">An array of objects that contains the values to add to the <see cref="T:System.Web.Helpers.DynamicJsonArray" /> instance.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.DynamicJsonArray.GetEnumerator">
|
||||
<summary>Returns an enumerator that can be used to iterate through the elements of the <see cref="T:System.Web.Helpers.DynamicJsonArray" /> instance.</summary>
|
||||
<returns>An enumerator that can be used to iterate through the elements of the JSON array.</returns>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.DynamicJsonArray.Item(System.Int32)">
|
||||
<summary>Returns the value at the specified index in the <see cref="T:System.Web.Helpers.DynamicJsonArray" /> instance.</summary>
|
||||
<returns>The value at the specified index.</returns>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.DynamicJsonArray.Length">
|
||||
<summary>Returns the number of elements in the <see cref="T:System.Web.Helpers.DynamicJsonArray" /> instance.</summary>
|
||||
<returns>The number of elements in the JSON array.</returns>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.DynamicJsonArray.op_Implicit(System.Web.Helpers.DynamicJsonArray)~System.Object[]">
|
||||
<summary>Converts a <see cref="T:System.Web.Helpers.DynamicJsonArray" /> instance to an array of objects.</summary>
|
||||
<returns>The array of objects that represents the JSON array.</returns>
|
||||
<param name="obj">The JSON array to convert.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.DynamicJsonArray.op_Implicit(System.Web.Helpers.DynamicJsonArray)~System.Array">
|
||||
<summary>Converts a <see cref="T:System.Web.Helpers.DynamicJsonArray" /> instance to an array of objects.</summary>
|
||||
<returns>The array of objects that represents the JSON array.</returns>
|
||||
<param name="obj">The JSON array to convert.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.DynamicJsonArray.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
|
||||
<summary>Returns an enumerator that can be used to iterate through a collection.</summary>
|
||||
<returns>An enumerator that can be used to iterate through the collection.</returns>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.DynamicJsonArray.TryConvert(System.Dynamic.ConvertBinder,System.Object@)">
|
||||
<summary>Converts the <see cref="T:System.Web.Helpers.DynamicJsonArray" /> instance to a compatible type.</summary>
|
||||
<returns>true if the conversion was successful; otherwise, false.</returns>
|
||||
<param name="binder">Provides information about the conversion operation.</param>
|
||||
<param name="result">When this method returns, contains the result of the type conversion operation. This parameter is passed uninitialized.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.DynamicJsonArray.TryGetMember(System.Dynamic.GetMemberBinder,System.Object@)">
|
||||
<summary>Tests the <see cref="T:System.Web.Helpers.DynamicJsonArray" /> instance for dynamic members (which are not supported) in a way that does not cause an exception to be thrown.</summary>
|
||||
<returns>true in all cases.</returns>
|
||||
<param name="binder">Provides information about the get operation.</param>
|
||||
<param name="result">When this method returns, contains null. This parameter is passed uninitialized.</param>
|
||||
</member>
|
||||
<member name="T:System.Web.Helpers.DynamicJsonObject">
|
||||
<summary>Represents a collection of values as a JavaScript-like object by using the capabilities of the Dynamic Language Runtime.</summary>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.DynamicJsonObject.#ctor(System.Collections.Generic.IDictionary{System.String,System.Object})">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Web.Helpers.DynamicJsonObject" /> class using the specified field values.</summary>
|
||||
<param name="values">A dictionary of property names and values to add to the <see cref="T:System.Web.Helpers.DynamicJsonObject" /> instance as dynamic members.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.DynamicJsonObject.GetDynamicMemberNames">
|
||||
<summary>Returns a list that contains the name of all dynamic members (JSON fields) of the <see cref="T:System.Web.Helpers.DynamicJsonObject" /> instance.</summary>
|
||||
<returns>A list that contains the name of every dynamic member (JSON field).</returns>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.DynamicJsonObject.TryConvert(System.Dynamic.ConvertBinder,System.Object@)">
|
||||
<summary>Converts the <see cref="T:System.Web.Helpers.DynamicJsonObject" /> instance to a compatible type.</summary>
|
||||
<returns>true in all cases.</returns>
|
||||
<param name="binder">Provides information about the conversion operation.</param>
|
||||
<param name="result">When this method returns, contains the result of the type conversion operation. This parameter is passed uninitialized.</param>
|
||||
<exception cref="T:System.InvalidOperationException">The <see cref="T:System.Web.Helpers.DynamicJsonObject" /> instance could not be converted to the specified type.</exception>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.DynamicJsonObject.TryGetIndex(System.Dynamic.GetIndexBinder,System.Object[],System.Object@)">
|
||||
<summary>Gets the value of a <see cref="T:System.Web.Helpers.DynamicJsonObject" /> field using the specified index.</summary>
|
||||
<returns>true in all cases.</returns>
|
||||
<param name="binder">Provides information about the indexed get operation.</param>
|
||||
<param name="indexes">An array that contains a single object that indexes the field by name. The object must be convertible to a string that specifies the name of the JSON field to return. If multiple indexes are specified, <paramref name="result" /> contains null when this method returns.</param>
|
||||
<param name="result">When this method returns, contains the value of the indexed field, or null if the get operation was unsuccessful. This parameter is passed uninitialized.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.DynamicJsonObject.TryGetMember(System.Dynamic.GetMemberBinder,System.Object@)">
|
||||
<summary>Gets the value of a <see cref="T:System.Web.Helpers.DynamicJsonObject" /> field using the specified name.</summary>
|
||||
<returns>true in all cases.</returns>
|
||||
<param name="binder">Provides information about the get operation.</param>
|
||||
<param name="result">When this method returns, contains the value of the field, or null if the get operation was unsuccessful. This parameter is passed uninitialized.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.DynamicJsonObject.TrySetIndex(System.Dynamic.SetIndexBinder,System.Object[],System.Object)">
|
||||
<summary>Sets the value of a <see cref="T:System.Web.Helpers.DynamicJsonObject" /> field using the specified index.</summary>
|
||||
<returns>true in all cases.</returns>
|
||||
<param name="binder">Provides information about the indexed set operation.</param>
|
||||
<param name="indexes">An array that contains a single object that indexes the field by name. The object must be convertible to a string that specifies the name of the JSON field to return. If multiple indexes are specified, no field is changed or added.</param>
|
||||
<param name="value">The value to set the field to.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.DynamicJsonObject.TrySetMember(System.Dynamic.SetMemberBinder,System.Object)">
|
||||
<summary>Sets the value of a <see cref="T:System.Web.Helpers.DynamicJsonObject" /> field using the specified name.</summary>
|
||||
<returns>true in all cases.</returns>
|
||||
<param name="binder">Provides information about the set operation.</param>
|
||||
<param name="value">The value to set the field to.</param>
|
||||
</member>
|
||||
<member name="T:System.Web.Helpers.Json">
|
||||
<summary>Provides methods for working with data in JavaScript Object Notation (JSON) format.</summary>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.Json.Decode``1(System.String)">
|
||||
<summary>Converts data in JavaScript Object Notation (JSON) format into the specified strongly typed data list.</summary>
|
||||
<returns>The JSON-encoded data converted to a strongly typed list.</returns>
|
||||
<param name="value">The JSON-encoded string to convert.</param>
|
||||
<typeparam name="T">The type of the strongly typed list to convert JSON data into.</typeparam>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.Json.Decode(System.String)">
|
||||
<summary>Converts data in JavaScript Object Notation (JSON) format into a data object.</summary>
|
||||
<returns>The JSON-encoded data converted to a data object.</returns>
|
||||
<param name="value">The JSON-encoded string to convert.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.Json.Decode(System.String,System.Type)">
|
||||
<summary>Converts data in JavaScript Object Notation (JSON) format into a data object of a specified type.</summary>
|
||||
<returns>The JSON-encoded data converted to the specified type.</returns>
|
||||
<param name="value">The JSON-encoded string to convert.</param>
|
||||
<param name="targetType">The type that the <paramref name="value" /> data should be converted to.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.Json.Encode(System.Object)">
|
||||
<summary>Converts a data object to a string that is in the JavaScript Object Notation (JSON) format.</summary>
|
||||
<returns>Returns a string of data converted to the JSON format.</returns>
|
||||
<param name="value">The data object to convert.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.Json.Write(System.Object,System.IO.TextWriter)">
|
||||
<summary>Converts a data object to a string in JavaScript Object Notation (JSON) format and adds the string to the specified <see cref="T:System.IO.TextWriter" /> object.</summary>
|
||||
<param name="value">The data object to convert.</param>
|
||||
<param name="writer">The object that contains the converted JSON data.</param>
|
||||
</member>
|
||||
<member name="T:System.Web.Helpers.ObjectInfo">
|
||||
<summary>Renders the property names and values of the specified object and of any subobjects that it references.</summary>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.ObjectInfo.Print(System.Object,System.Int32,System.Int32)">
|
||||
<summary>Renders the property names and values of the specified object and of any subobjects.</summary>
|
||||
<returns>For a simple variable, returns the type and the value. For an object that contains multiple items, returns the property name or key and the value for each property.</returns>
|
||||
<param name="value">The object to render information for.</param>
|
||||
<param name="depth">Optional. Specifies the depth of nested subobjects to render information for. The default is 10.</param>
|
||||
<param name="enumerationLength">Optional. Specifies the maximum number of characters that the method displays for object values. The default is 1000.</param>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException">
|
||||
<paramref name="depth" /> is less than zero.</exception>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException">
|
||||
<paramref name="enumerationLength" /> is less than or equal to zero.</exception>
|
||||
</member>
|
||||
<member name="T:System.Web.Helpers.ServerInfo">
|
||||
<summary>Displays information about the web server environment that hosts the current web page.</summary>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.ServerInfo.GetHtml">
|
||||
<summary>Displays information about the web server environment.</summary>
|
||||
<returns>A string of name-value pairs that contains information about the web server. </returns>
|
||||
</member>
|
||||
<member name="T:System.Web.Helpers.SortDirection">
|
||||
<summary>Specifies the direction in which to sort a list of items.</summary>
|
||||
</member>
|
||||
<member name="F:System.Web.Helpers.SortDirection.Ascending">
|
||||
<summary>Sort from smallest to largest —for example, from 1 to 10.</summary>
|
||||
</member>
|
||||
<member name="F:System.Web.Helpers.SortDirection.Descending">
|
||||
<summary>Sort from largest to smallest — for example, from 10 to 1.</summary>
|
||||
</member>
|
||||
<member name="T:System.Web.Helpers.WebCache">
|
||||
<summary>Provides a cache to store frequently accessed data.</summary>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.WebCache.Get(System.String)">
|
||||
<summary>Retrieves the specified item from the <see cref="T:System.Web.Helpers.WebCache" /> object.</summary>
|
||||
<returns>The item retrieved from the cache, or null if the item is not found.</returns>
|
||||
<param name="key">The identifier for the cache item to retrieve.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.WebCache.Remove(System.String)">
|
||||
<summary>Removes the specified item from the <see cref="T:System.Web.Helpers.WebCache" /> object.</summary>
|
||||
<returns>The item removed from the <see cref="T:System.Web.Helpers.WebCache" /> object. If the item is not found, returns null.</returns>
|
||||
<param name="key">The identifier for the cache item to remove.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.WebCache.Set(System.String,System.Object,System.Int32,System.Boolean)">
|
||||
<summary>Inserts an item into the <see cref="T:System.Web.Helpers.WebCache" /> object.</summary>
|
||||
<param name="key">The identifier for the cache item.</param>
|
||||
<param name="value">The data to insert into the cache.</param>
|
||||
<param name="minutesToCache">Optional. The number of minutes to keep an item in the cache. The default is 20.</param>
|
||||
<param name="slidingExpiration">Optional. true to indicate that the cache item expiration is reset each time the item is accessed, or false to indicate that the expiration is based the absolute time since the item was added to the cache. The default is true. In that case, if you also use the default value for the <paramref name="minutesToCache" /> parameter, a cached item expires 20 minutes after it was last accessed.</param>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException">The value of <paramref name="minutesToCache" /> is less than or equal to zero.</exception>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException">Sliding expiration is enabled and the value of <paramref name="minutesToCache" /> is greater than a year.</exception>
|
||||
</member>
|
||||
<member name="T:System.Web.Helpers.WebGrid">
|
||||
<summary>Displays data on a web page using an HTML table element.</summary>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.WebGrid.#ctor(System.Collections.Generic.IEnumerable{System.Object},System.Collections.Generic.IEnumerable{System.String},System.String,System.Int32,System.Boolean,System.Boolean,System.String,System.String,System.String,System.String,System.String,System.String,System.String)">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Web.Helpers.WebGrid" /> class.</summary>
|
||||
<param name="source">The data to display.</param>
|
||||
<param name="columnNames">A collection that contains the names of the data columns to display. By default, this value is auto-populated according to the values in the <paramref name="source" /> parameter.</param>
|
||||
<param name="defaultSort">The name of the data column that is used to sort the grid by default.</param>
|
||||
<param name="rowsPerPage">The number of rows that are displayed on each page of the grid when paging is enabled. The default is 10.</param>
|
||||
<param name="canPage">true to specify that paging is enabled for the <see cref="T:System.Web.Helpers.WebGrid" /> instance; otherwise false. The default is true. </param>
|
||||
<param name="canSort">true to specify that sorting is enabled for the <see cref="T:System.Web.Helpers.WebGrid" /> instance; otherwise, false. The default is true.</param>
|
||||
<param name="ajaxUpdateContainerId">The value of the HTML id attribute that is used to mark the HTML element that gets dynamic Ajax updates that are associated with the <see cref="T:System.Web.Helpers.WebGrid" /> instance.</param>
|
||||
<param name="ajaxUpdateCallback">The name of the JavaScript function that is called after the HTML element specified by the <see cref="P:System.Web.Helpers.WebGrid.AjaxUpdateContainerId" /> property has been updated. If the name of a function is not provided, no function will be called. If the specified function does not exist, a JavaScript error will occur if it is invoked.</param>
|
||||
<param name="fieldNamePrefix">The prefix that is applied to all query-string fields that are associated with the <see cref="T:System.Web.Helpers.WebGrid" /> instance. This value is used in order to support multiple <see cref="T:System.Web.Helpers.WebGrid" /> instances on the same web page.</param>
|
||||
<param name="pageFieldName">The name of the query-string field that is used to specify the current page of the <see cref="T:System.Web.Helpers.WebGrid" /> instance.</param>
|
||||
<param name="selectionFieldName">The name of the query-string field that is used to specify the currently selected row of the <see cref="T:System.Web.Helpers.WebGrid" /> instance.</param>
|
||||
<param name="sortFieldName">The name of the query-string field that is used to specify the name of the data column that the <see cref="T:System.Web.Helpers.WebGrid" /> instance is sorted by.</param>
|
||||
<param name="sortDirectionFieldName">The name of the query-string field that is used to specify the direction in which the <see cref="T:System.Web.Helpers.WebGrid" /> instance is sorted.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.WebGrid.AddSorter``2(System.String,System.Linq.Expressions.Expression{System.Func{``0,``1}})">
|
||||
<summary>Adds a specific sort function for a given column.</summary>
|
||||
<returns>The current grid, with the new custom sorter applied.</returns>
|
||||
<param name="columnName">The column name (as used for sorting)</param>
|
||||
<param name="keySelector">The function used to select a key to sort by, for each element in the grid's source.</param>
|
||||
<typeparam name="TElement">The type of elements in the grid's source.</typeparam>
|
||||
<typeparam name="TProperty">The column type, usually inferred from the keySelector function's return type.</typeparam>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.WebGrid.AjaxUpdateCallback">
|
||||
<summary>Gets the name of the JavaScript function to call after the HTML element that is associated with the <see cref="T:System.Web.Helpers.WebGrid" /> instance has been updated in response to an Ajax update request.</summary>
|
||||
<returns>The name of the function.</returns>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.WebGrid.AjaxUpdateContainerId">
|
||||
<summary>Gets the value of the HTML id attribute that marks an HTML element on the web page that gets dynamic Ajax updates that are associated with the <see cref="T:System.Web.Helpers.WebGrid" /> instance.</summary>
|
||||
<returns>The value of the id attribute.</returns>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.WebGrid.Bind(System.Collections.Generic.IEnumerable{System.Object},System.Collections.Generic.IEnumerable{System.String},System.Boolean,System.Int32)">
|
||||
<summary>Binds the specified data to the <see cref="T:System.Web.Helpers.WebGrid" /> instance.</summary>
|
||||
<returns>The bound and populated <see cref="T:System.Web.Helpers.WebGrid" /> instance.</returns>
|
||||
<param name="source">The data to display.</param>
|
||||
<param name="columnNames">A collection that contains the names of the data columns to bind.</param>
|
||||
<param name="autoSortAndPage">true to enable sorting and paging of the <see cref="T:System.Web.Helpers.WebGrid" /> instance; otherwise, false.</param>
|
||||
<param name="rowCount">The number of rows to display on each page of the grid.</param>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.WebGrid.CanSort">
|
||||
<summary>Gets a value that indicates whether the <see cref="T:System.Web.Helpers.WebGrid" /> instance supports sorting.</summary>
|
||||
<returns>true if the instance supports sorting; otherwise, false.</returns>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.WebGrid.Column(System.String,System.String,System.Func{System.Object,System.Object},System.String,System.Boolean)">
|
||||
<summary>Creates a new <see cref="T:System.Web.Helpers.WebGridColumn" /> instance.</summary>
|
||||
<returns>The new column.</returns>
|
||||
<param name="columnName">The name of the data column to associate with the <see cref="T:System.Web.Helpers.WebGridColumn" /> instance.</param>
|
||||
<param name="header">The text that is rendered in the header of the HTML table column that is associated with the <see cref="T:System.Web.Helpers.WebGridColumn" /> instance.</param>
|
||||
<param name="format">The function that is used to format the data values that are associated with the <see cref="T:System.Web.Helpers.WebGridColumn" /> instance.</param>
|
||||
<param name="style">A string that specifies the name of the CSS class that is used to style the HTML table cells that are associated with the <see cref="T:System.Web.Helpers.WebGridColumn" /> instance.</param>
|
||||
<param name="canSort">true to enable sorting in the <see cref="T:System.Web.Helpers.WebGrid" /> instance by the data values that are associated with the <see cref="T:System.Web.Helpers.WebGridColumn" /> instance; otherwise, false. The default is true.</param>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.WebGrid.ColumnNames">
|
||||
<summary>Gets a collection that contains the name of each data column that is bound to the <see cref="T:System.Web.Helpers.WebGrid" /> instance.</summary>
|
||||
<returns>The collection of data column names.</returns>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.WebGrid.Columns(System.Web.Helpers.WebGridColumn[])">
|
||||
<summary>Returns an array that contains the specified <see cref="T:System.Web.Helpers.WebGridColumn" /> instances.</summary>
|
||||
<returns>An array of columns.</returns>
|
||||
<param name="columnSet">A variable number of <see cref="T:System.Web.Helpers.WebGridColumn" /> column instances.</param>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.WebGrid.FieldNamePrefix">
|
||||
<summary>Gets the prefix that is applied to all query-string fields that are associated with the <see cref="T:System.Web.Helpers.WebGrid" /> instance.</summary>
|
||||
<returns>The query-string field prefix of the <see cref="T:System.Web.Helpers.WebGrid" /> instance.</returns>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.WebGrid.GetContainerUpdateScript(System.String)">
|
||||
<summary>Returns a JavaScript statement that can be used to update the HTML element that is associated with the <see cref="T:System.Web.Helpers.WebGrid" /> instance on the specified web page.</summary>
|
||||
<returns>A JavaScript statement that can be used to update the HTML element in a web page that is associated with the <see cref="T:System.Web.Helpers.WebGrid" /> instance.</returns>
|
||||
<param name="path">The URL of the web page that contains the <see cref="T:System.Web.Helpers.WebGrid" /> instance that is being updated. The URL can include query-string arguments.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.WebGrid.GetHtml(System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.Boolean,System.Boolean,System.String,System.Collections.Generic.IEnumerable{System.Web.Helpers.WebGridColumn},System.Collections.Generic.IEnumerable{System.String},System.Web.Helpers.WebGridPagerModes,System.String,System.String,System.String,System.String,System.Int32,System.Object)">
|
||||
<summary>Returns the HTML markup that is used to render the <see cref="T:System.Web.Helpers.WebGrid" /> instance and using the specified paging options.</summary>
|
||||
<returns>The HTML markup that represents the fully-populated <see cref="T:System.Web.Helpers.WebGrid" /> instance.</returns>
|
||||
<param name="tableStyle">The name of the CSS class that is used to style the whole table.</param>
|
||||
<param name="headerStyle">The name of the CSS class that is used to style the table header.</param>
|
||||
<param name="footerStyle">The name of the CSS class that is used to style the table footer.</param>
|
||||
<param name="rowStyle">The name of the CSS class that is used to style each table row.</param>
|
||||
<param name="alternatingRowStyle">The name of the CSS class that is used to style even-numbered table rows.</param>
|
||||
<param name="selectedRowStyle">The name of the CSS class that is used to style the selected table row. (Only one row can be selected at a time.)</param>
|
||||
<param name="caption">The table caption.</param>
|
||||
<param name="displayHeader">true to display the table header; otherwise, false. The default is true.</param>
|
||||
<param name="fillEmptyRows">true to insert additional rows in the last page when there are insufficient data items to fill the last page; otherwise, false. The default is false. Additional rows are populated using the text specified by the <paramref name="emptyRowCellValue" /> parameter.</param>
|
||||
<param name="emptyRowCellValue">The text that is used to populate additional rows in a page when there are insufficient data items to fill the last page. The <paramref name="fillEmptyRows" /> parameter must be set to true to display these additional rows.</param>
|
||||
<param name="columns">A collection of <see cref="T:System.Web.Helpers.WebGridColumn" /> instances that specify how each column is displayed. This includes which data column is associated with each grid column, and how to format the data values that each grid column contains.</param>
|
||||
<param name="exclusions">A collection that contains the names of the data columns to exclude when the grid auto-populates columns.</param>
|
||||
<param name="mode">A bitwise combination of the enumeration values that specify methods that are provided for moving between pages of the <see cref="T:System.Web.Helpers.WebGrid" /> instance.</param>
|
||||
<param name="firstText">The text for the HTML link element that is used to link to the first page of the <see cref="T:System.Web.Helpers.WebGrid" /> instance. The <see cref="F:System.Web.Helpers.WebGridPagerModes.FirstLast" /> flag of the <paramref name="mode" /> parameter must be set to display this page navigation element.</param>
|
||||
<param name="previousText">The text for the HTML link element that is used to link to previous page of the <see cref="T:System.Web.Helpers.WebGrid" /> instance. The <see cref="F:System.Web.Helpers.WebGridPagerModes.NextPrevious" /> flag of the <paramref name="mode" /> parameter must be set to display this page navigation element.</param>
|
||||
<param name="nextText">The text for the HTML link element that is used to link to the next page of the <see cref="T:System.Web.Helpers.WebGrid" /> instance. The <see cref="F:System.Web.Helpers.WebGridPagerModes.NextPrevious" /> flag of the <paramref name="mode" /> parameter must be set to display this page navigation element.</param>
|
||||
<param name="lastText">The text for the HTML link element that is used to link to the last page of the <see cref="T:System.Web.Helpers.WebGrid" /> instance. The <see cref="F:System.Web.Helpers.WebGridPagerModes.FirstLast" /> flag of the <paramref name="mode" /> parameter must be set to display this page navigation element.</param>
|
||||
<param name="numericLinksCount">The number of numeric page links that are provided to nearby <see cref="T:System.Web.Helpers.WebGrid" /> pages. The text of each numeric page link contains the page number. The <see cref="F:System.Web.Helpers.WebGridPagerModes.Numeric" /> flag of the <paramref name="mode" /> parameter must be set to display these page navigation elements.</param>
|
||||
<param name="htmlAttributes">An object that represents a collection of attributes (names and values) to set for the HTML table element that represents the <see cref="T:System.Web.Helpers.WebGrid" /> instance.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.WebGrid.GetPageUrl(System.Int32)">
|
||||
<summary>Returns a URL that can be used to display the specified data page of the <see cref="T:System.Web.Helpers.WebGrid" /> instance.</summary>
|
||||
<returns>A URL that can be used to display the specified data page of the grid.</returns>
|
||||
<param name="pageIndex">The index of the <see cref="T:System.Web.Helpers.WebGrid" /> page to display.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.WebGrid.GetSortUrl(System.String)">
|
||||
<summary>Returns a URL that can be used to sort the <see cref="T:System.Web.Helpers.WebGrid" /> instance by the specified column.</summary>
|
||||
<returns>A URL that can be used to sort the grid.</returns>
|
||||
<param name="column">The name of the data column to sort by.</param>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.WebGrid.HasSelection">
|
||||
<summary>Gets a value that indicates whether a row in the <see cref="T:System.Web.Helpers.WebGrid" /> instance is selected.</summary>
|
||||
<returns>true if a row is currently selected; otherwise, false.</returns>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.WebGrid.IsAjaxEnabled">
|
||||
<summary>Returns a value that indicates whether the <see cref="T:System.Web.Helpers.WebGrid" /> instance can use Ajax calls to refresh the display.</summary>
|
||||
<returns>true if the instance supports Ajax calls; otherwise, false..</returns>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.WebGrid.PageCount">
|
||||
<summary>Gets the number of pages that the <see cref="T:System.Web.Helpers.WebGrid" /> instance contains.</summary>
|
||||
<returns>The page count.</returns>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.WebGrid.PageFieldName">
|
||||
<summary>Gets the full name of the query-string field that is used to specify the current page of the <see cref="T:System.Web.Helpers.WebGrid" /> instance.</summary>
|
||||
<returns>The full name of the query string field that is used to specify the current page of the grid.</returns>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.WebGrid.PageIndex">
|
||||
<summary>Gets or sets the index of the current page of the <see cref="T:System.Web.Helpers.WebGrid" /> instance.</summary>
|
||||
<returns>The index of the current page.</returns>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.WebGrid.Pager(System.Web.Helpers.WebGridPagerModes,System.String,System.String,System.String,System.String,System.Int32)">
|
||||
<summary>Returns the HTML markup that is used to provide the specified paging support for the <see cref="T:System.Web.Helpers.WebGrid" /> instance.</summary>
|
||||
<returns>The HTML markup that provides paging support for the grid.</returns>
|
||||
<param name="mode">A bitwise combination of the enumeration values that specify the methods that are provided for moving between the pages of the grid. The default is the bitwise OR of the <see cref="F:System.Web.Helpers.WebGridPagerModes.NextPrevious" /> and <see cref="F:System.Web.Helpers.WebGridPagerModes.Numeric" /> flags.</param>
|
||||
<param name="firstText">The text for the HTML link element that navigates to the first page of the grid.</param>
|
||||
<param name="previousText">The text for the HTML link element that navigates to the previous page of the grid.</param>
|
||||
<param name="nextText">The text for the HTML link element that navigates to the next page of the grid.</param>
|
||||
<param name="lastText">The text for the HTML link element that navigates to the last page of the grid.</param>
|
||||
<param name="numericLinksCount">The number of numeric page links to display. The default is 5.</param>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.WebGrid.Rows">
|
||||
<summary>Gets a list that contains the rows that are on the current page of the <see cref="T:System.Web.Helpers.WebGrid" /> instance after the grid has been sorted.</summary>
|
||||
<returns>The list of rows.</returns>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.WebGrid.RowsPerPage">
|
||||
<summary>Gets the number of rows that are displayed on each page of the <see cref="T:System.Web.Helpers.WebGrid" /> instance.</summary>
|
||||
<returns>The number of rows that are displayed on each page of the grid.</returns>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.WebGrid.SelectedIndex">
|
||||
<summary>Gets or sets the index of the selected row relative to the current page of the <see cref="T:System.Web.Helpers.WebGrid" /> instance.</summary>
|
||||
<returns>The index of the selected row relative to the current page.</returns>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.WebGrid.SelectedRow">
|
||||
<summary>Gets the currently selected row of the <see cref="T:System.Web.Helpers.WebGrid" /> instance.</summary>
|
||||
<returns>The currently selected row.</returns>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.WebGrid.SelectionFieldName">
|
||||
<summary>Gets the full name of the query-string field that is used to specify the selected row of the <see cref="T:System.Web.Helpers.WebGrid" /> instance.</summary>
|
||||
<returns>The full name of the query string field that is used to specify the selected row of the grid.</returns>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.WebGrid.SortColumn">
|
||||
<summary>Gets or sets the name of the data column that the <see cref="T:System.Web.Helpers.WebGrid" /> instance is sorted by.</summary>
|
||||
<returns>The name of the data column that is used to sort the grid.</returns>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.WebGrid.SortDirection">
|
||||
<summary>Gets or sets the direction in which the <see cref="T:System.Web.Helpers.WebGrid" /> instance is sorted.</summary>
|
||||
<returns>The sort direction.</returns>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.WebGrid.SortDirectionFieldName">
|
||||
<summary>Gets the full name of the query-string field that is used to specify the sort direction of the <see cref="T:System.Web.Helpers.WebGrid" /> instance.</summary>
|
||||
<returns>The full name of the query string field that is used to specify the sort direction of the grid.</returns>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.WebGrid.SortFieldName">
|
||||
<summary>Gets the full name of the query-string field that is used to specify the name of the data column that the <see cref="T:System.Web.Helpers.WebGrid" /> instance is sorted by.</summary>
|
||||
<returns>The full name of the query-string field that is used to specify the name of the data column that the grid is sorted by.</returns>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.WebGrid.Table(System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.Boolean,System.Boolean,System.String,System.Collections.Generic.IEnumerable{System.Web.Helpers.WebGridColumn},System.Collections.Generic.IEnumerable{System.String},System.Func{System.Object,System.Object},System.Object)">
|
||||
<summary>Returns the HTML markup that is used to render the <see cref="T:System.Web.Helpers.WebGrid" /> instance.</summary>
|
||||
<returns>The HTML markup that represents the fully-populated <see cref="T:System.Web.Helpers.WebGrid" /> instance.</returns>
|
||||
<param name="tableStyle">The name of the CSS class that is used to style the whole table.</param>
|
||||
<param name="headerStyle">The name of the CSS class that is used to style the table header.</param>
|
||||
<param name="footerStyle">The name of the CSS class that is used to style the table footer.</param>
|
||||
<param name="rowStyle">The name of the CSS class that is used to style each table row.</param>
|
||||
<param name="alternatingRowStyle">The name of the CSS class that is used to style even-numbered table rows.</param>
|
||||
<param name="selectedRowStyle">The name of the CSS class that is used use to style the selected table row.</param>
|
||||
<param name="caption">The table caption.</param>
|
||||
<param name="displayHeader">true to display the table header; otherwise, false. The default is true.</param>
|
||||
<param name="fillEmptyRows">true to insert additional rows in the last page when there are insufficient data items to fill the last page; otherwise, false. The default is false. Additional rows are populated using the text specified by the <paramref name="emptyRowCellValue" /> parameter.</param>
|
||||
<param name="emptyRowCellValue">The text that is used to populate additional rows in the last page when there are insufficient data items to fill the last page. The <paramref name="fillEmptyRows" /> parameter must be set to true to display these additional rows.</param>
|
||||
<param name="columns">A collection of <see cref="T:System.Web.Helpers.WebGridColumn" /> instances that specify how each column is displayed. This includes which data column is associated with each grid column, and how to format the data values that each grid column contains.</param>
|
||||
<param name="exclusions">A collection that contains the names of the data columns to exclude when the grid auto-populates columns.</param>
|
||||
<param name="footer">A function that returns the HTML markup that is used to render the table footer.</param>
|
||||
<param name="htmlAttributes">An object that represents a collection of attributes (names and values) to set for the HTML table element that represents the <see cref="T:System.Web.Helpers.WebGrid" /> instance.</param>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.WebGrid.TotalRowCount">
|
||||
<summary>Gets the total number of rows that the <see cref="T:System.Web.Helpers.WebGrid" /> instance contains.</summary>
|
||||
<returns>The total number of rows in the grid. This value includes all rows from every page, but does not include the additional rows inserted in the last page when there are insufficient data items to fill the last page.</returns>
|
||||
</member>
|
||||
<member name="T:System.Web.Helpers.WebGridColumn">
|
||||
<summary>Represents a column in a <see cref="T:System.Web.Helpers.WebGrid" /> instance.</summary>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.WebGridColumn.#ctor">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Web.Helpers.WebGridColumn" /> class.</summary>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.WebGridColumn.CanSort">
|
||||
<summary>Gets or sets a value that indicates whether the <see cref="T:System.Web.Helpers.WebGrid" /> column can be sorted.</summary>
|
||||
<returns>true to indicate that the column can be sorted; otherwise, false.</returns>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.WebGridColumn.ColumnName">
|
||||
<summary>Gets or sets the name of the data item that is associated with the <see cref="T:System.Web.Helpers.WebGrid" /> column.</summary>
|
||||
<returns>The name of the data item.</returns>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.WebGridColumn.Format">
|
||||
<summary>Gets or sets a function that is used to format the data item that is associated with the <see cref="T:System.Web.Helpers.WebGrid" /> column.</summary>
|
||||
<returns>The function that is used to format that data item that is associated with the column.</returns>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.WebGridColumn.Header">
|
||||
<summary>Gets or sets the text that is rendered in the header of the <see cref="T:System.Web.Helpers.WebGrid" /> column.</summary>
|
||||
<returns>The text that is rendered to the column header.</returns>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.WebGridColumn.Style">
|
||||
<summary>Gets or sets the CSS class attribute that is rendered as part of the HTML table cells that are associated with the <see cref="T:System.Web.Helpers.WebGrid" /> column.</summary>
|
||||
<returns>The CSS class attribute that is applied to cells that are associated with the column.</returns>
|
||||
</member>
|
||||
<member name="T:System.Web.Helpers.WebGridPagerModes">
|
||||
<summary>Specifies flags that describe the methods that are provided for moving between the pages of a <see cref="T:System.Web.Helpers.WebGrid" /> instance.This enumeration has a <see cref="T:System.FlagsAttribute" /> attribute that allows a bitwise combination of its member values.</summary>
|
||||
</member>
|
||||
<member name="F:System.Web.Helpers.WebGridPagerModes.All">
|
||||
<summary>Indicates that all methods for moving between <see cref="T:System.Web.Helpers.WebGrid" /> pages are provided.</summary>
|
||||
</member>
|
||||
<member name="F:System.Web.Helpers.WebGridPagerModes.FirstLast">
|
||||
<summary>Indicates that methods for moving directly to the first or last <see cref="F:System.Web.Helpers.WebGrid" /> page are provided.</summary>
|
||||
</member>
|
||||
<member name="F:System.Web.Helpers.WebGridPagerModes.NextPrevious">
|
||||
<summary>Indicates that methods for moving to the next or previous <see cref="F:System.Web.Helpers.WebGrid" /> page are provided.</summary>
|
||||
</member>
|
||||
<member name="F:System.Web.Helpers.WebGridPagerModes.Numeric">
|
||||
<summary>Indicates that methods for moving to a nearby <see cref="F:System.Web.Helpers.WebGrid" /> page by using a page number are provided.</summary>
|
||||
</member>
|
||||
<member name="T:System.Web.Helpers.WebGridRow">
|
||||
<summary>Represents a row in a <see cref="T:System.Web.Helpers.WebGrid" /> instance.</summary>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.WebGridRow.#ctor(System.Web.Helpers.WebGrid,System.Object,System.Int32)">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Web.Helpers.WebGridRow" /> class using the specified <see cref="T:System.Web.Helpers.WebGrid" /> instance, row value, and index.</summary>
|
||||
<param name="webGrid">The <see cref="T:System.Web.Helpers.WebGrid" /> instance that contains the row.</param>
|
||||
<param name="value">An object that contains a property member for each value in the row.</param>
|
||||
<param name="rowIndex">The index of the row.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.WebGridRow.GetEnumerator">
|
||||
<summary>Returns an enumerator that can be used to iterate through the values of the <see cref="T:System.Web.Helpers.WebGridRow" /> instance.</summary>
|
||||
<returns>An enumerator that can be used to iterate through the values of the row.</returns>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.WebGridRow.GetSelectLink(System.String)">
|
||||
<summary>Returns an HTML element (a link) that users can use to select the row.</summary>
|
||||
<returns>The link that users can click to select the row.</returns>
|
||||
<param name="text">The inner text of the link element. If <paramref name="text" /> is empty or null, "Select" is used.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.WebGridRow.GetSelectUrl">
|
||||
<summary>Returns the URL that can be used to select the row.</summary>
|
||||
<returns>The URL that is used to select a row.</returns>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.WebGridRow.Item(System.Int32)">
|
||||
<summary>Returns the value at the specified index in the <see cref="T:System.Web.Helpers.WebGridRow" /> instance.</summary>
|
||||
<returns>The value at the specified index.</returns>
|
||||
<param name="index">The zero-based index of the value in the row to return.</param>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException">
|
||||
<paramref name="index" /> is less than 0 or greater than or equal to the number of values in the row.</exception>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.WebGridRow.Item(System.String)">
|
||||
<summary>Returns the value that has the specified name in the <see cref="T:System.Web.Helpers.WebGridRow" /> instance.</summary>
|
||||
<returns>The specified value.</returns>
|
||||
<param name="name">The name of the value in the row to return.</param>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="name" /> is Nothing or empty.</exception>
|
||||
<exception cref="T:System.InvalidOperationException">
|
||||
<paramref name="name" /> specifies a value that does not exist.</exception>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.WebGridRow.System#Collections#IEnumerable#GetEnumerator">
|
||||
<summary>Returns an enumerator that can be used to iterate through a collection.</summary>
|
||||
<returns>An enumerator that can be used to iterate through the collection.</returns>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.WebGridRow.ToString">
|
||||
<summary>Returns a string that represents all of the values of the <see cref="T:System.Web.Helpers.WebGridRow" /> instance.</summary>
|
||||
<returns>A string that represents the row's values.</returns>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.WebGridRow.TryGetMember(System.Dynamic.GetMemberBinder,System.Object@)">
|
||||
<summary>Returns the value of a <see cref="T:System.Web.Helpers.WebGridRow" /> member that is described by the specified binder.</summary>
|
||||
<returns>true if the value of the item was successfully retrieved; otherwise, false.</returns>
|
||||
<param name="binder">The getter of the bound property member.</param>
|
||||
<param name="result">When this method returns, contains an object that holds the value of the item described by <paramref name="binder" />. This parameter is passed uninitialized.</param>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.WebGridRow.Value">
|
||||
<summary>Gets an object that contains a property member for each value in the row.</summary>
|
||||
<returns>An object that contains each value in the row as a property.</returns>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.WebGridRow.WebGrid">
|
||||
<summary>Gets the <see cref="T:System.Web.Helpers.WebGrid" /> instance that the row belongs to.</summary>
|
||||
<returns>The <see cref="T:System.Web.Helpers.WebGrid" /> instance that contains the row.</returns>
|
||||
</member>
|
||||
<member name="T:System.Web.Helpers.WebImage">
|
||||
<summary>Represents an object that lets you display and manage images in a web page.</summary>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.WebImage.#ctor(System.Byte[])">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Web.Helpers.WebImage" /> class using a byte array to represent the image.</summary>
|
||||
<param name="content">The image.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.WebImage.#ctor(System.IO.Stream)">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Web.Helpers.WebImage" /> class using a stream to represent the image.</summary>
|
||||
<param name="imageStream">The image.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.WebImage.#ctor(System.String)">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Web.Helpers.WebImage" /> class using a path to represent the image location.</summary>
|
||||
<param name="filePath">The path of the file that contains the image.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.WebImage.AddImageWatermark(System.String,System.Int32,System.Int32,System.String,System.String,System.Int32,System.Int32)">
|
||||
<summary>Adds a watermark image using a path to the watermark image.</summary>
|
||||
<returns>The watermarked image.</returns>
|
||||
<param name="watermarkImageFilePath">The path of a file that contains the watermark image.</param>
|
||||
<param name="width">The width, in pixels, of the watermark image.</param>
|
||||
<param name="height">The height, in pixels, of the watermark image.</param>
|
||||
<param name="horizontalAlign">The horizontal alignment for watermark image. Values can be "Left", "Right", or "Center".</param>
|
||||
<param name="verticalAlign">The vertical alignment for the watermark image. Values can be "Top", "Middle", or "Bottom".</param>
|
||||
<param name="opacity">The opacity for the watermark image, specified as a value between 0 and 100.</param>
|
||||
<param name="padding">The size, in pixels, of the padding around the watermark image.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.WebImage.AddImageWatermark(System.Web.Helpers.WebImage,System.Int32,System.Int32,System.String,System.String,System.Int32,System.Int32)">
|
||||
<summary>Adds a watermark image using the specified image object.</summary>
|
||||
<returns>The watermarked image.</returns>
|
||||
<param name="watermarkImage">A <see cref="T:System.Web.Helpers.WebImage" /> object.</param>
|
||||
<param name="width">The width, in pixels, of the watermark image.</param>
|
||||
<param name="height">The height, in pixels, of the watermark image.</param>
|
||||
<param name="horizontalAlign">The horizontal alignment for watermark image. Values can be "Left", "Right", or "Center".</param>
|
||||
<param name="verticalAlign">The vertical alignment for the watermark image. Values can be "Top", "Middle", or "Bottom".</param>
|
||||
<param name="opacity">The opacity for the watermark image, specified as a value between 0 and 100.</param>
|
||||
<param name="padding">The size, in pixels, of the padding around the watermark image.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.WebImage.AddTextWatermark(System.String,System.String,System.Int32,System.String,System.String,System.String,System.String,System.Int32,System.Int32)">
|
||||
<summary>Adds watermark text to the image.</summary>
|
||||
<returns>The watermarked image.</returns>
|
||||
<param name="text">The text to use as a watermark.</param>
|
||||
<param name="fontColor">The color of the watermark text.</param>
|
||||
<param name="fontSize">The font size of the watermark text.</param>
|
||||
<param name="fontStyle">The font style of the watermark text.</param>
|
||||
<param name="fontFamily">The font type of the watermark text.</param>
|
||||
<param name="horizontalAlign">The horizontal alignment for watermark text. Values can be "Left", "Right", or "Center".</param>
|
||||
<param name="verticalAlign">The vertical alignment for the watermark text. Values can be "Top", "Middle", or "Bottom".</param>
|
||||
<param name="opacity">The opacity for the watermark image, specified as a value between 0 and 100.</param>
|
||||
<param name="padding">The size, in pixels, of the padding around the watermark text.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.WebImage.Clone">
|
||||
<summary>Copies the <see cref="T:System.Web.Helpers.WebImage" /> object.</summary>
|
||||
<returns>The image.</returns>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.WebImage.Crop(System.Int32,System.Int32,System.Int32,System.Int32)">
|
||||
<summary>Crops an image.</summary>
|
||||
<returns>The cropped image.</returns>
|
||||
<param name="top">The number of pixels to remove from the top.</param>
|
||||
<param name="left">The number of pixels to remove from the left.</param>
|
||||
<param name="bottom">The number of pixels to remove from the bottom.</param>
|
||||
<param name="right">The number of pixels to remove from the right.</param>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.WebImage.FileName">
|
||||
<summary>Gets or sets the file name of the <see cref="T:System.Web.Helpers.WebImage" /> object.</summary>
|
||||
<returns>The file name.</returns>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.WebImage.FlipHorizontal">
|
||||
<summary>Flips an image horizontally.</summary>
|
||||
<returns>The flipped image.</returns>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.WebImage.FlipVertical">
|
||||
<summary>Flips an image vertically.</summary>
|
||||
<returns>The flipped image.</returns>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.WebImage.GetBytes(System.String)">
|
||||
<summary>Returns the image as a byte array.</summary>
|
||||
<returns>The image.</returns>
|
||||
<param name="requestedFormat">The <see cref="P:System.Web.Helpers.WebImage.ImageFormat" /> value of the <see cref="T:System.Web.Helpers.WebImage" /> object.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.WebImage.GetImageFromRequest(System.String)">
|
||||
<summary>Returns an image that has been uploaded using the browser.</summary>
|
||||
<returns>The image.</returns>
|
||||
<param name="postedFileName">(Optional) The name of the file that has been posted. If no file name is specified, the first file that was uploaded is returned.</param>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.WebImage.Height">
|
||||
<summary>Gets the height, in pixels, of the image.</summary>
|
||||
<returns>The height.</returns>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.WebImage.ImageFormat">
|
||||
<summary>Gets the format of the image (for example, "jpeg" or "png").</summary>
|
||||
<returns>The file format of the image.</returns>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.WebImage.Resize(System.Int32,System.Int32,System.Boolean,System.Boolean)">
|
||||
<summary>Resizes an image.</summary>
|
||||
<returns>The resized image.</returns>
|
||||
<param name="width">The width, in pixels, of the <see cref="T:System.Web.Helpers.WebImage" /> object.</param>
|
||||
<param name="height">The height, in pixels, of the <see cref="T:System.Web.Helpers.WebImage" /> object.</param>
|
||||
<param name="preserveAspectRatio">true to preserve the aspect ratio of the image; otherwise, false.</param>
|
||||
<param name="preventEnlarge">true to prevent the enlargement of the image; otherwise, false.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.WebImage.RotateLeft">
|
||||
<summary>Rotates an image to the left.</summary>
|
||||
<returns>The rotated image.</returns>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.WebImage.RotateRight">
|
||||
<summary>Rotates an image to the right.</summary>
|
||||
<returns>The rotated image.</returns>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.WebImage.Save(System.String,System.String,System.Boolean)">
|
||||
<summary>Saves the image using the specified file name.</summary>
|
||||
<returns>The image.</returns>
|
||||
<param name="filePath">The path to save the image to.</param>
|
||||
<param name="imageFormat">The format to use when the image file is saved, such as "gif", or "png".</param>
|
||||
<param name="forceCorrectExtension">true to force the correct file-name extension to be used for the format that is specified in <paramref name="imageFormat" />; otherwise, false. If there is a mismatch between the file type and the specified file-name extension, and if <paramref name="forceCorrectExtension" /> is true, the correct extension will be appended to the file name. For example, a PNG file named Photograph.txt is saved using the name Photograph.txt.png.</param>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.WebImage.Width">
|
||||
<summary>Gets the width, in pixels, of the image.</summary>
|
||||
<returns>The width.</returns>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.WebImage.Write(System.String)">
|
||||
<summary>Renders an image to the browser.</summary>
|
||||
<returns>The image.</returns>
|
||||
<param name="requestedFormat">(Optional) The file format to use when the image is written.</param>
|
||||
</member>
|
||||
<member name="T:System.Web.Helpers.WebMail">
|
||||
<summary>Provides a way to construct and send an email message using Simple Mail Transfer Protocol (SMTP).</summary>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.WebMail.EnableSsl">
|
||||
<summary>Gets or sets a value that indicates whether Secure Sockets Layer (SSL) is used to encrypt the connection when an email message is sent.</summary>
|
||||
<returns>true if SSL is used to encrypt the connection; otherwise, false.</returns>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.WebMail.From">
|
||||
<summary>Gets or sets the email address of the sender.</summary>
|
||||
<returns>The email address of the sender.</returns>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.WebMail.Password">
|
||||
<summary>Gets or sets the password of the sender's email account.</summary>
|
||||
<returns>The sender's password.</returns>
|
||||
</member>
|
||||
<member name="M:System.Web.Helpers.WebMail.Send(System.String,System.String,System.String,System.String,System.String,System.Collections.Generic.IEnumerable{System.String},System.Boolean,System.Collections.Generic.IEnumerable{System.String},System.String,System.String,System.String,System.String,System.String)">
|
||||
<summary>Sends the specified message to an SMTP server for delivery.</summary>
|
||||
<param name="to">The email address of the recipient or recipients. Separate multiple recipients using a semicolon (;).</param>
|
||||
<param name="subject">The subject line for the email message.</param>
|
||||
<param name="body">The body of the email message. If <paramref name="isBodyHtml" /> is true, HTML in the body is interpreted as markup.</param>
|
||||
<param name="from">(Optional) The email address of the message sender, or null to not specify a sender. The default value is null.</param>
|
||||
<param name="cc">(Optional) The email addresses of additional recipients to send a copy of the message to, or null if there are no additional recipients. Separate multiple recipients using a semicolon (;). The default value is null.</param>
|
||||
<param name="filesToAttach">(Optional) A collection of file names that specifies the files to attach to the email message, or null if there are no files to attach. The default value is null.</param>
|
||||
<param name="isBodyHtml">(Optional) true to specify that the email message body is in HTML format; false to indicate that the body is in plain-text format. The default value is true.</param>
|
||||
<param name="additionalHeaders">(Optional) A collection of headers to add to the normal SMTP headers included in this email message, or null to send no additional headers. The default value is null.</param>
|
||||
<param name="bcc">(Optional) The email addresses of additional recipients to send a "blind" copy of the message to, or null if there are no additional recipients. Separate multiple recipients using a semicolon (;). The default value is null.</param>
|
||||
<param name="contentEncoding">(Optional) The encoding to use for the body of the message. Possible values are property values for the <see cref="T:System.Text.Encoding" /> class, such as <see cref="P:System.Text.Encoding.UTF8" />. The default value is null.</param>
|
||||
<param name="headerEncoding">(Optional) The encoding to use for the header of the message. Possible values are property values for the <see cref="T:System.Text.Encoding" /> class, such as <see cref="P:System.Text.Encoding.UTF8" />. The default value is null.</param>
|
||||
<param name="priority">(Optional) A value ("Normal", "Low", "High") that specifies the priority of the message. The default is "Normal".</param>
|
||||
<param name="replyTo">(Optional) The email address that will be used when the recipient replies to the message. The default value is null, which indicates that the reply address is the value of the From property. </param>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.WebMail.SmtpPort">
|
||||
<summary>Gets or sets the port that is used for SMTP transactions.</summary>
|
||||
<returns>The port that is used for SMTP transactions.</returns>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.WebMail.SmtpServer">
|
||||
<summary>Gets or sets the name of the SMTP server that is used to transmit the email message.</summary>
|
||||
<returns>The SMTP server.</returns>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.WebMail.SmtpUseDefaultCredentials">
|
||||
<summary>Gets or sets a value that indicates whether the default credentials are sent with the requests.</summary>
|
||||
<returns>true if credentials are sent with the email message; otherwise, false.</returns>
|
||||
</member>
|
||||
<member name="P:System.Web.Helpers.WebMail.UserName">
|
||||
<summary>Gets or sets the name of email account that is used to send email.</summary>
|
||||
<returns>The name of the user account.</returns>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
Binary file not shown.
@ -0,0 +1,60 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>System.Web.WebPages.Deployment</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:System.Web.WebPages.Deployment.PreApplicationStartCode">
|
||||
<summary>Provides a registration point for pre-application start code for Web Pages deployment.</summary>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Deployment.PreApplicationStartCode.Start">
|
||||
<summary>Registers pre-application start code for Web Pages deployment.</summary>
|
||||
</member>
|
||||
<member name="T:System.Web.WebPages.Deployment.WebPagesDeployment">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Provides methods that are used to get deployment information about the Web application.</summary>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Deployment.WebPagesDeployment.GetAssemblyPath(System.Version)">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the assembly path for the Web Pages deployment.</summary>
|
||||
<returns>The assembly path for the Web Pages deployment.</returns>
|
||||
<param name="version">The Web Pages version.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Deployment.WebPagesDeployment.GetExplicitWebPagesVersion(System.String)">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the Web Pages version from the given binary path.</summary>
|
||||
<returns>The Web Pages version.</returns>
|
||||
<param name="path">The binary path for the Web Pages.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Deployment.WebPagesDeployment.GetIncompatibleDependencies(System.String)">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the assembly references from the given path regardless of the Web Pages version.</summary>
|
||||
<returns>The dictionary containing the assembly references of the Web Pages and its version.</returns>
|
||||
<param name="appPath">The path to the Web Pages application.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Deployment.WebPagesDeployment.GetMaxVersion">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the maximum version of the Web Pages loaded assemblies.</summary>
|
||||
<returns>The maximum version of the Web Pages loaded assemblies.</returns>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Deployment.WebPagesDeployment.GetVersion(System.String)">
|
||||
<summary>Gets the Web Pages version from the given path.</summary>
|
||||
<returns>The Web Pages version.</returns>
|
||||
<param name="path">The path of the root directory for the application.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Deployment.WebPagesDeployment.GetVersionWithoutEnabledCheck(System.String)">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the Web Pages version using the configuration settings with the specified path.</summary>
|
||||
<returns>The Web Pages version.</returns>
|
||||
<param name="path">The path to the application settings.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Deployment.WebPagesDeployment.GetWebPagesAssemblies">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Returns the assemblies for this Web Pages deployment.</summary>
|
||||
<returns>A list containing the assemblies for this Web Pages deployment.</returns>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Deployment.WebPagesDeployment.IsEnabled(System.String)">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Indicates whether the Web Pages deployment is enabled.</summary>
|
||||
<returns>true if the Web Pages deployment is enabled; otherwise, false.</returns>
|
||||
<param name="path">The path to the Web Pages deployment.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Deployment.WebPagesDeployment.IsExplicitlyDisabled(System.String)">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Indicates whether the Web Pages deployment is explicitly disabled.</summary>
|
||||
<returns>true if the Web Pages deployment is explicitly disabled; otherwise, false.</returns>
|
||||
<param name="path">The path to the Web Pages deployment.</param>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
Binary file not shown.
@ -0,0 +1,292 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>System.Web.WebPages.Razor</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:System.Web.WebPages.Razor.CompilingPathEventArgs">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Represents the base class for the compiling path that contains event data.</summary>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Razor.CompilingPathEventArgs.#ctor(System.String,System.Web.WebPages.Razor.WebPageRazorHost)">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the <see cref="T:System.Web.WebPages.Razor.CompilingPathEventArgs" /> class.</summary>
|
||||
<param name="virtualPath">The string of virtual path.</param>
|
||||
<param name="host">The host for the webpage razor.</param>
|
||||
</member>
|
||||
<member name="P:System.Web.WebPages.Razor.CompilingPathEventArgs.Host">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the host for the webpage razor.</summary>
|
||||
<returns>The host for the webpage razor.</returns>
|
||||
</member>
|
||||
<member name="P:System.Web.WebPages.Razor.CompilingPathEventArgs.VirtualPath">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the virtual path for the webpage.</summary>
|
||||
<returns>The virtual path for the webpage.</returns>
|
||||
</member>
|
||||
<member name="T:System.Web.WebPages.Razor.PreApplicationStartCode">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.</summary>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Razor.PreApplicationStartCode.Start">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.</summary>
|
||||
</member>
|
||||
<member name="T:System.Web.WebPages.Razor.RazorBuildProvider">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Represents a build provider for Razor.</summary>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Razor.RazorBuildProvider.#ctor">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the <see cref="T:System.Web.WebPages.Razor.RazorBuildProvider" /> class.</summary>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Razor.RazorBuildProvider.AddVirtualPathDependency(System.String)">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Adds a virtual path dependency to the collection.</summary>
|
||||
<param name="dependency">A virtual path dependency to add.</param>
|
||||
</member>
|
||||
<member name="P:System.Web.WebPages.Razor.RazorBuildProvider.AssemblyBuilder">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the assembly builder for Razor environment.</summary>
|
||||
<returns>The assembly builder.</returns>
|
||||
</member>
|
||||
<member name="P:System.Web.WebPages.Razor.RazorBuildProvider.CodeCompilerType">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the compiler settings for Razor environment.</summary>
|
||||
</member>
|
||||
<member name="E:System.Web.WebPages.Razor.RazorBuildProvider.CodeGenerationCompleted">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Occurs when code generation is completed.</summary>
|
||||
</member>
|
||||
<member name="E:System.Web.WebPages.Razor.RazorBuildProvider.CodeGenerationStarted">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Occurs when code generation is started.</summary>
|
||||
</member>
|
||||
<member name="E:System.Web.WebPages.Razor.RazorBuildProvider.CompilingPath">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Occurs when compiling with a new virtual path.</summary>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Razor.RazorBuildProvider.CreateHost">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a Razor engine host instance base on web configuration.</summary>
|
||||
<returns>A Razor engine host instance.</returns>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Razor.RazorBuildProvider.GenerateCode(System.Web.Compilation.AssemblyBuilder)">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Generates the code using the provided assembly builder.</summary>
|
||||
<param name="assemblyBuilder">The assembly builder.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Razor.RazorBuildProvider.GetGeneratedType(System.CodeDom.Compiler.CompilerResults)">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the type of the generated code.</summary>
|
||||
<returns>The type of the generated code.</returns>
|
||||
<param name="results">The results of the code compilation.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Razor.RazorBuildProvider.GetHostFromConfig">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates the Razor engine host instance based on the web configuration.</summary>
|
||||
<returns>The Razor engine host instance.</returns>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Razor.RazorBuildProvider.InternalOpenReader">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Opens an internal text reader.</summary>
|
||||
<returns>An internal text reader.</returns>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Razor.RazorBuildProvider.OnBeforeCompilePath(System.Web.WebPages.Razor.CompilingPathEventArgs)">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Raises the CompilingPath event.</summary>
|
||||
<param name="args">The data provided for the CompilingPath event.</param>
|
||||
</member>
|
||||
<member name="P:System.Web.WebPages.Razor.RazorBuildProvider.VirtualPath">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the virtual path of the source code.</summary>
|
||||
<returns>The virtual path of the source code.</returns>
|
||||
</member>
|
||||
<member name="P:System.Web.WebPages.Razor.RazorBuildProvider.VirtualPathDependencies">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the collection of virtual path for the dependencies.</summary>
|
||||
<returns>The collection of virtual path for the dependencies.</returns>
|
||||
</member>
|
||||
<member name="T:System.Web.WebPages.Razor.WebCodeRazorHost">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Represents a web code razor host for the web pages.</summary>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Razor.WebCodeRazorHost.#ctor(System.String)">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the <see cref="T:System.Web.WebPages.Razor.WebCodeRazorHost" /> class.</summary>
|
||||
<param name="virtualPath">The virtual path.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Razor.WebCodeRazorHost.#ctor(System.String,System.String)">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the <see cref="T:System.Web.WebPages.Razor.WebCodeRazorHost" /> class.</summary>
|
||||
<param name="virtualPath">The virtual path.</param>
|
||||
<param name="physicalPath">The physical path.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Razor.WebCodeRazorHost.GetClassName(System.String)">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Returns the class name of this instance.</summary>
|
||||
<returns>The class name of this instance.</returns>
|
||||
<param name="virtualPath">The virtual path.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Razor.WebCodeRazorHost.PostProcessGeneratedCode(System.Web.Razor.Generator.CodeGeneratorContext)">
|
||||
<summary>Generates a post process code for the web code razor host.</summary>
|
||||
<param name="context">The generator code context.</param>
|
||||
</member>
|
||||
<member name="T:System.Web.WebPages.Razor.WebPageRazorHost">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Represents the razor hosts in a webpage.</summary>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Razor.WebPageRazorHost.#ctor(System.String)">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the <see cref="T:System.Web.WebPages.Razor.WebPageRazorHost" /> class with the specified virtual file path.</summary>
|
||||
<param name="virtualPath">The virtual file path.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Razor.WebPageRazorHost.#ctor(System.String,System.String)">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the <see cref="T:System.Web.WebPages.Razor.WebPageRazorHost" /> class with the specified virtual and physical file path.</summary>
|
||||
<param name="virtualPath">The virtual file path.</param>
|
||||
<param name="physicalPath">The physical file path.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Razor.WebPageRazorHost.AddGlobalImport(System.String)">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Adds a global import on the webpage.</summary>
|
||||
<param name="ns">The notification service name.</param>
|
||||
</member>
|
||||
<member name="P:System.Web.WebPages.Razor.WebPageRazorHost.CodeLanguage">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the <see cref="T:System.Web.Razor.RazorCodeLanguage" />.</summary>
|
||||
<returns>The <see cref="T:System.Web.Razor.RazorCodeLanguage" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Razor.WebPageRazorHost.CreateMarkupParser">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a markup parser.</summary>
|
||||
<returns>A markup parser.</returns>
|
||||
</member>
|
||||
<member name="P:System.Web.WebPages.Razor.WebPageRazorHost.DefaultBaseClass">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets a value for the DefaultBaseClass.</summary>
|
||||
<returns>A value for the DefaultBaseClass.</returns>
|
||||
</member>
|
||||
<member name="P:System.Web.WebPages.Razor.WebPageRazorHost.DefaultClassName">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the name of the default class.</summary>
|
||||
<returns>The name of the default class.</returns>
|
||||
</member>
|
||||
<member name="P:System.Web.WebPages.Razor.WebPageRazorHost.DefaultDebugCompilation">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets a value that indicates whether the debug compilation is set to default.</summary>
|
||||
<returns>true if the debug compilation is set to default; otherwise, false.</returns>
|
||||
</member>
|
||||
<member name="P:System.Web.WebPages.Razor.WebPageRazorHost.DefaultPageBaseClass">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the base class of the default page.</summary>
|
||||
<returns>The base class of the default page.</returns>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Razor.WebPageRazorHost.GetClassName(System.String)">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Retrieves the name of the class to which the specified webpage belongs.</summary>
|
||||
<returns>The name of the class to which the specified webpage belongs.</returns>
|
||||
<param name="virtualPath">The virtual file path.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Razor.WebPageRazorHost.GetCodeLanguage">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the code language specified in the webpage.</summary>
|
||||
<returns>The code language specified in the webpage.</returns>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Razor.WebPageRazorHost.GetGlobalImports">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the global imports for the webpage.</summary>
|
||||
<returns>The global imports for the webpage.</returns>
|
||||
</member>
|
||||
<member name="P:System.Web.WebPages.Razor.WebPageRazorHost.InstrumentedSourceFilePath">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the file path of the instrumental source.</summary>
|
||||
<returns>The file path of the instrumental source.</returns>
|
||||
</member>
|
||||
<member name="P:System.Web.WebPages.Razor.WebPageRazorHost.IsSpecialPage">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets a value that indicates whether the webpage is a special page.</summary>
|
||||
<returns>true if the webpage is a special page; otherwise, false.</returns>
|
||||
</member>
|
||||
<member name="P:System.Web.WebPages.Razor.WebPageRazorHost.PhysicalPath">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the physical file system path of the razor host.</summary>
|
||||
<returns>They physical file system path of the razor host.</returns>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Razor.WebPageRazorHost.PostProcessGeneratedCode(System.Web.Razor.Generator.CodeGeneratorContext)">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the generated code after the process.</summary>
|
||||
<param name="context">The <see cref="T:System.Web.Razor.Generator.CodeGeneratorContext" />.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Razor.WebPageRazorHost.RegisterSpecialFile(System.String,System.String)">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Registers the special file with the specified file name and base type name.</summary>
|
||||
<param name="fileName">The file name.</param>
|
||||
<param name="baseTypeName">The base type name.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Razor.WebPageRazorHost.RegisterSpecialFile(System.String,System.Type)">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Registers the special file with the specified file name and base type.</summary>
|
||||
<param name="fileName">The file name.</param>
|
||||
<param name="baseType">The type of base file.</param>
|
||||
</member>
|
||||
<member name="P:System.Web.WebPages.Razor.WebPageRazorHost.VirtualPath">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the virtual file path.</summary>
|
||||
<returns>The virtual file path.</returns>
|
||||
</member>
|
||||
<member name="T:System.Web.WebPages.Razor.WebRazorHostFactory">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates instances of the host files.</summary>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Razor.WebRazorHostFactory.#ctor">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the <see cref="T:System.Web.WebPages.Razor.WebRazorHostFactory" /> class.</summary>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Razor.WebRazorHostFactory.ApplyConfigurationToHost(System.Web.WebPages.Razor.Configuration.RazorPagesSection,System.Web.WebPages.Razor.WebPageRazorHost)">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Loads the service description information from the configuration file and applies it to the host.</summary>
|
||||
<param name="config">The configuration.</param>
|
||||
<param name="host">The webpage razor host.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Razor.WebRazorHostFactory.CreateDefaultHost(System.String)">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a default host with the specified virtual path.</summary>
|
||||
<returns>A default host.</returns>
|
||||
<param name="virtualPath">The virtual path of the file.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Razor.WebRazorHostFactory.CreateDefaultHost(System.String,System.String)">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a default host with the specified virtual and physical path.</summary>
|
||||
<returns>A default host.</returns>
|
||||
<param name="virtualPath">The virtual path of the file.</param>
|
||||
<param name="physicalPath">The physical file system path.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Razor.WebRazorHostFactory.CreateHost(System.String,System.String)">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a Razor host.</summary>
|
||||
<returns>A razor host.</returns>
|
||||
<param name="virtualPath">The virtual path to the target file.</param>
|
||||
<param name="physicalPath">The physical path to the target file.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Razor.WebRazorHostFactory.CreateHostFromConfig(System.String)">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a host from the configuration.</summary>
|
||||
<returns>A host from the configuration.</returns>
|
||||
<param name="virtualPath">The virtual path to the target file.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Razor.WebRazorHostFactory.CreateHostFromConfig(System.String,System.String)">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a host from the configuration.</summary>
|
||||
<returns>A host from the configuration.</returns>
|
||||
<param name="virtualPath">The virtual path of the file.</param>
|
||||
<param name="physicalPath">The physical file system path.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Razor.WebRazorHostFactory.CreateHostFromConfig(System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup,System.String)">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a host from the configuration.</summary>
|
||||
<returns>A host from the configuration.</returns>
|
||||
<param name="config">The configuration.</param>
|
||||
<param name="virtualPath">The virtual path of the file.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Razor.WebRazorHostFactory.CreateHostFromConfig(System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup,System.String,System.String)">
|
||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a host from the configuration.</summary>
|
||||
<returns>A host from the configuration.</returns>
|
||||
<param name="config">The configuration.</param>
|
||||
<param name="virtualPath">The virtual path of the file.</param>
|
||||
<param name="physicalPath">The physical file system path.</param>
|
||||
</member>
|
||||
<member name="T:System.Web.WebPages.Razor.Configuration.HostSection">
|
||||
<summary>Provides configuration system support for the host configuration section.</summary>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Razor.Configuration.HostSection.#ctor">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Web.WebPages.Razor.Configuration.HostSection" /> class.</summary>
|
||||
</member>
|
||||
<member name="P:System.Web.WebPages.Razor.Configuration.HostSection.FactoryType">
|
||||
<summary>Gets or sets the host factory.</summary>
|
||||
<returns>The host factory.</returns>
|
||||
</member>
|
||||
<member name="F:System.Web.WebPages.Razor.Configuration.HostSection.SectionName">
|
||||
<summary>Represents the name of the configuration section for a Razor host environment.</summary>
|
||||
</member>
|
||||
<member name="T:System.Web.WebPages.Razor.Configuration.RazorPagesSection">
|
||||
<summary>Provides configuration system support for the pages configuration section.</summary>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Razor.Configuration.RazorPagesSection.#ctor">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Web.WebPages.Razor.Configuration.RazorPagesSection" /> class.</summary>
|
||||
</member>
|
||||
<member name="P:System.Web.WebPages.Razor.Configuration.RazorPagesSection.Namespaces">
|
||||
<summary>Gets or sets the collection of namespaces to add to Web Pages pages in the current application.</summary>
|
||||
<returns>The collection of namespaces.</returns>
|
||||
</member>
|
||||
<member name="P:System.Web.WebPages.Razor.Configuration.RazorPagesSection.PageBaseType">
|
||||
<summary>Gets or sets the name of the page base type class.</summary>
|
||||
<returns>The name of the page base type class.</returns>
|
||||
</member>
|
||||
<member name="F:System.Web.WebPages.Razor.Configuration.RazorPagesSection.SectionName">
|
||||
<summary>Represents the name of the configuration section for Razor pages.</summary>
|
||||
</member>
|
||||
<member name="T:System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup">
|
||||
<summary>Provides configuration system support for the system.web.webPages.razor configuration section.</summary>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup.#ctor">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup" /> class.</summary>
|
||||
</member>
|
||||
<member name="F:System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup.GroupName">
|
||||
<summary>Represents the name of the configuration section for Razor Web section. Contains the static, read-only string "system.web.webPages.razor".</summary>
|
||||
</member>
|
||||
<member name="P:System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup.Host">
|
||||
<summary>Gets or sets the host value for system.web.webPages.razor section group.</summary>
|
||||
<returns>The host value.</returns>
|
||||
</member>
|
||||
<member name="P:System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup.Pages">
|
||||
<summary>Gets or sets the value of the pages element for the system.web.webPages.razor section.</summary>
|
||||
<returns>The pages element value.</returns>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@ -0,0 +1,5 @@
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<RoslynToolPath Condition=" '$(RoslynToolPath)' == '' ">$(MSBuildThisFileDirectory)..\..\tools\roslyn45</RoslynToolPath>
|
||||
</PropertyGroup>
|
||||
</Project>
|
@ -0,0 +1,111 @@
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.Extensions.props"/>
|
||||
|
||||
<ItemGroup>
|
||||
<RoslynCompilerFiles Include="$(RoslynToolPath)\*">
|
||||
<Link>roslyn\%(RecursiveDir)%(Filename)%(Extension)</Link>
|
||||
</RoslynCompilerFiles>
|
||||
</ItemGroup>
|
||||
<Target Name="IncludeRoslynCompilerFilesToFilesForPackagingFromProject" BeforeTargets="PipelineCollectFilesPhase" >
|
||||
<ItemGroup>
|
||||
<FilesForPackagingFromProject Include="@(RoslynCompilerFiles)">
|
||||
<DestinationRelativePath>bin\roslyn\%(RecursiveDir)%(Filename)%(Extension)</DestinationRelativePath>
|
||||
<FromTarget>IncludeRoslynCompilerFilesToFilesForPackagingFromProject</FromTarget>
|
||||
<Category>Run</Category>
|
||||
</FilesForPackagingFromProject>
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
<Target Name="LocateRoslynToolsDestinationFolder" Condition=" '$(RoslynToolsDestinationFolder)' == '' ">
|
||||
<PropertyGroup>
|
||||
<RoslynToolsDestinationFolder>$(WebProjectOutputDir)\bin\roslyn</RoslynToolsDestinationFolder>
|
||||
<RoslynToolsDestinationFolder Condition=" '$(WebProjectOutputDir)' == '' ">$(OutputPath)\roslyn</RoslynToolsDestinationFolder>
|
||||
</PropertyGroup>
|
||||
</Target>
|
||||
<Target Name="CopyRoslynCompilerFilesToOutputDirectory" AfterTargets="CopyFilesToOutputDirectory" DependsOnTargets="LocateRoslynToolsDestinationFolder">
|
||||
<Copy SourceFiles="@(RoslynCompilerFiles)" DestinationFolder="$(RoslynToolsDestinationFolder)" ContinueOnError="true" SkipUnchangedFiles="true" Retries="0" />
|
||||
<ItemGroup Condition="'$(MSBuildLastTaskResult)' == 'True'" >
|
||||
<FileWrites Include="$(RoslynToolsDestinationFolder)\*" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
<Target Name="CheckIfShouldKillVBCSCompiler">
|
||||
<CheckIfVBCSCompilerWillOverride src="$(RoslynToolPath)\VBCSCompiler.exe" dest="$(RoslynToolsDestinationFolder)\VBCSCompiler.exe">
|
||||
<Output TaskParameter="WillOverride" PropertyName="ShouldKillVBCSCompiler" />
|
||||
</CheckIfVBCSCompilerWillOverride>
|
||||
</Target>
|
||||
<Target Name = "KillVBCSCompilerBeforeCopy" BeforeTargets="CopyRoslynCompilerFilesToOutputDirectory" DependsOnTargets="LocateRoslynToolsDestinationFolder;CheckIfShouldKillVBCSCompiler" >
|
||||
<KillProcess ProcessName="VBCSCompiler" ImagePath="$(RoslynToolsDestinationFolder)" Condition="'$(ShouldKillVBCSCompiler)' == 'True'" />
|
||||
</Target>
|
||||
<Target Name = "KillVBCSCompilerBeforeClean" AfterTargets="BeforeClean" DependsOnTargets="LocateRoslynToolsDestinationFolder">
|
||||
<KillProcess ProcessName="VBCSCompiler" ImagePath="$(RoslynToolsDestinationFolder)" />
|
||||
</Target>
|
||||
<UsingTask TaskName="KillProcess" TaskFactory="CodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll">
|
||||
<ParameterGroup>
|
||||
<ProcessName ParameterType="System.String" Required="true" />
|
||||
<ImagePath ParameterType="System.String" Required="true" />
|
||||
</ParameterGroup>
|
||||
<Task>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Management" />
|
||||
<Using Namespace="System" />
|
||||
<Using Namespace="System.Linq" />
|
||||
<Using Namespace="System.Diagnostics" />
|
||||
<Using Namespace="System.Management" />
|
||||
<Code Type="Fragment" Language="cs">
|
||||
<![CDATA[
|
||||
try
|
||||
{
|
||||
foreach(var p in Process.GetProcessesByName(ProcessName))
|
||||
{
|
||||
var wmiQuery = "SELECT ProcessId, ExecutablePath FROM Win32_Process WHERE ProcessId = " + p.Id;
|
||||
using(var searcher = new ManagementObjectSearcher(wmiQuery))
|
||||
{
|
||||
using(var results = searcher.Get())
|
||||
{
|
||||
var mo = results.Cast<ManagementObject>().FirstOrDefault();
|
||||
if(mo != null)
|
||||
{
|
||||
var path = (string)mo["ExecutablePath"];
|
||||
var executablePath = path != null ? path : string.Empty;
|
||||
Log.LogMessage("ExecutablePath is {0}", executablePath);
|
||||
|
||||
if(executablePath.StartsWith(ImagePath, StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
p.Kill();
|
||||
p.WaitForExit();
|
||||
Log.LogMessage("{0} is killed", executablePath);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Log.LogWarning(ex.Message);
|
||||
}
|
||||
return true;
|
||||
]]>
|
||||
</Code>
|
||||
</Task>
|
||||
</UsingTask>
|
||||
<UsingTask TaskName="CheckIfVBCSCompilerWillOverride" TaskFactory="CodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll">
|
||||
<ParameterGroup>
|
||||
<Src ParameterType="System.String" Required="true" />
|
||||
<Dest ParameterType="System.String" Required="true" />
|
||||
<WillOverride ParameterType="System.Boolean" Output="true" />
|
||||
</ParameterGroup>
|
||||
<Task>
|
||||
<Reference Include="System.IO" />
|
||||
<Code Type="Fragment" Language="cs">
|
||||
<![CDATA[
|
||||
WillOverride = false;
|
||||
try {
|
||||
WillOverride = File.Exists(Src) && File.Exists(Dest) && (File.GetLastWriteTime(Src) != File.GetLastWriteTime(Dest));
|
||||
}
|
||||
catch { }
|
||||
]]>
|
||||
</Code>
|
||||
</Task>
|
||||
</UsingTask>
|
||||
</Project>
|
@ -0,0 +1,5 @@
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<RoslynToolPath Condition=" '$(RoslynToolPath)' == '' ">$(MSBuildThisFileDirectory)..\..\tools\roslynlatest</RoslynToolPath>
|
||||
</PropertyGroup>
|
||||
</Project>
|
@ -0,0 +1,111 @@
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.Extensions.props"/>
|
||||
|
||||
<ItemGroup>
|
||||
<RoslynCompilerFiles Include="$(RoslynToolPath)\*">
|
||||
<Link>roslyn\%(RecursiveDir)%(Filename)%(Extension)</Link>
|
||||
</RoslynCompilerFiles>
|
||||
</ItemGroup>
|
||||
<Target Name="IncludeRoslynCompilerFilesToFilesForPackagingFromProject" BeforeTargets="PipelineCollectFilesPhase" >
|
||||
<ItemGroup>
|
||||
<FilesForPackagingFromProject Include="@(RoslynCompilerFiles)">
|
||||
<DestinationRelativePath>bin\roslyn\%(RecursiveDir)%(Filename)%(Extension)</DestinationRelativePath>
|
||||
<FromTarget>IncludeRoslynCompilerFilesToFilesForPackagingFromProject</FromTarget>
|
||||
<Category>Run</Category>
|
||||
</FilesForPackagingFromProject>
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
<Target Name="LocateRoslynToolsDestinationFolder" Condition=" '$(RoslynToolsDestinationFolder)' == '' ">
|
||||
<PropertyGroup>
|
||||
<RoslynToolsDestinationFolder>$(WebProjectOutputDir)\bin\roslyn</RoslynToolsDestinationFolder>
|
||||
<RoslynToolsDestinationFolder Condition=" '$(WebProjectOutputDir)' == '' ">$(OutputPath)\roslyn</RoslynToolsDestinationFolder>
|
||||
</PropertyGroup>
|
||||
</Target>
|
||||
<Target Name="CopyRoslynCompilerFilesToOutputDirectory" AfterTargets="CopyFilesToOutputDirectory" DependsOnTargets="LocateRoslynToolsDestinationFolder">
|
||||
<Copy SourceFiles="@(RoslynCompilerFiles)" DestinationFolder="$(RoslynToolsDestinationFolder)" ContinueOnError="true" SkipUnchangedFiles="true" Retries="0" />
|
||||
<ItemGroup Condition="'$(MSBuildLastTaskResult)' == 'True'" >
|
||||
<FileWrites Include="$(RoslynToolsDestinationFolder)\*" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
<Target Name="CheckIfShouldKillVBCSCompiler">
|
||||
<CheckIfVBCSCompilerWillOverride src="$(RoslynToolPath)\VBCSCompiler.exe" dest="$(RoslynToolsDestinationFolder)\VBCSCompiler.exe">
|
||||
<Output TaskParameter="WillOverride" PropertyName="ShouldKillVBCSCompiler" />
|
||||
</CheckIfVBCSCompilerWillOverride>
|
||||
</Target>
|
||||
<Target Name = "KillVBCSCompilerBeforeCopy" BeforeTargets="CopyRoslynCompilerFilesToOutputDirectory" DependsOnTargets="LocateRoslynToolsDestinationFolder;CheckIfShouldKillVBCSCompiler" >
|
||||
<KillProcess ProcessName="VBCSCompiler" ImagePath="$(RoslynToolsDestinationFolder)" Condition="'$(ShouldKillVBCSCompiler)' == 'True'" />
|
||||
</Target>
|
||||
<Target Name = "KillVBCSCompilerBeforeClean" AfterTargets="BeforeClean" DependsOnTargets="LocateRoslynToolsDestinationFolder">
|
||||
<KillProcess ProcessName="VBCSCompiler" ImagePath="$(RoslynToolsDestinationFolder)" />
|
||||
</Target>
|
||||
<UsingTask TaskName="KillProcess" TaskFactory="CodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll">
|
||||
<ParameterGroup>
|
||||
<ProcessName ParameterType="System.String" Required="true" />
|
||||
<ImagePath ParameterType="System.String" Required="true" />
|
||||
</ParameterGroup>
|
||||
<Task>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Management" />
|
||||
<Using Namespace="System" />
|
||||
<Using Namespace="System.Linq" />
|
||||
<Using Namespace="System.Diagnostics" />
|
||||
<Using Namespace="System.Management" />
|
||||
<Code Type="Fragment" Language="cs">
|
||||
<![CDATA[
|
||||
try
|
||||
{
|
||||
foreach(var p in Process.GetProcessesByName(ProcessName))
|
||||
{
|
||||
var wmiQuery = "SELECT ProcessId, ExecutablePath FROM Win32_Process WHERE ProcessId = " + p.Id;
|
||||
using(var searcher = new ManagementObjectSearcher(wmiQuery))
|
||||
{
|
||||
using(var results = searcher.Get())
|
||||
{
|
||||
var mo = results.Cast<ManagementObject>().FirstOrDefault();
|
||||
if(mo != null)
|
||||
{
|
||||
var path = (string)mo["ExecutablePath"];
|
||||
var executablePath = path != null ? path : string.Empty;
|
||||
Log.LogMessage("ExecutablePath is {0}", executablePath);
|
||||
|
||||
if(executablePath.StartsWith(ImagePath, StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
p.Kill();
|
||||
p.WaitForExit();
|
||||
Log.LogMessage("{0} is killed", executablePath);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Log.LogWarning(ex.Message);
|
||||
}
|
||||
return true;
|
||||
]]>
|
||||
</Code>
|
||||
</Task>
|
||||
</UsingTask>
|
||||
<UsingTask TaskName="CheckIfVBCSCompilerWillOverride" TaskFactory="CodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll">
|
||||
<ParameterGroup>
|
||||
<Src ParameterType="System.String" Required="true" />
|
||||
<Dest ParameterType="System.String" Required="true" />
|
||||
<WillOverride ParameterType="System.Boolean" Output="true" />
|
||||
</ParameterGroup>
|
||||
<Task>
|
||||
<Reference Include="System.IO" />
|
||||
<Code Type="Fragment" Language="cs">
|
||||
<![CDATA[
|
||||
WillOverride = false;
|
||||
try {
|
||||
WillOverride = File.Exists(Src) && File.Exists(Dest) && (File.GetLastWriteTime(Src) != File.GetLastWriteTime(Dest));
|
||||
}
|
||||
catch { }
|
||||
]]>
|
||||
</Code>
|
||||
</Task>
|
||||
</UsingTask>
|
||||
</Project>
|
@ -0,0 +1,66 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
|
||||
<appSettings xdt:Transform="InsertIfMissing">
|
||||
</appSettings>
|
||||
|
||||
<appSettings>
|
||||
<add key="aspnet:RoslynCompilerLocation" xdt:Transform="Remove" xdt:Locator="Match(key)" />
|
||||
<add key="aspnet:RoslynCompilerLocation" value="roslyn" xdt:Transform="Insert" />
|
||||
</appSettings>
|
||||
|
||||
<!-- If system.codedom tag is absent -->
|
||||
<system.codedom xdt:Transform="InsertIfMissing">
|
||||
</system.codedom>
|
||||
|
||||
<!-- If compilers tag is absent -->
|
||||
<system.codedom>
|
||||
<compilers xdt:Transform="InsertIfMissing">
|
||||
</compilers>
|
||||
</system.codedom>
|
||||
|
||||
<!-- If a .cs compiler is already present, the existing entry needs to be removed before inserting the new entry -->
|
||||
<system.codedom>
|
||||
<compilers>
|
||||
<compiler
|
||||
extension=".cs"
|
||||
xdt:Transform="Remove"
|
||||
xdt:Locator="Match(extension)" />
|
||||
</compilers>
|
||||
</system.codedom>
|
||||
|
||||
<!-- Inserting the new compiler -->
|
||||
<system.codedom>
|
||||
<compilers>
|
||||
<compiler
|
||||
language="c#;cs;csharp"
|
||||
extension=".cs"
|
||||
type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
|
||||
warningLevel="4"
|
||||
compilerOptions="/langversion:6 /nowarn:1659;1699;1701"
|
||||
xdt:Transform="Insert" />
|
||||
</compilers>
|
||||
</system.codedom>
|
||||
|
||||
<!-- If a .vb compiler is already present, the existing entry needs to be removed before inserting the new entry -->
|
||||
<system.codedom>
|
||||
<compilers>
|
||||
<compiler
|
||||
extension=".vb"
|
||||
xdt:Transform="Remove"
|
||||
xdt:Locator="Match(extension)" />
|
||||
</compilers>
|
||||
</system.codedom>
|
||||
|
||||
<!-- Inserting the new compiler -->
|
||||
<system.codedom>
|
||||
<compilers>
|
||||
<compiler
|
||||
language="vb;vbs;visualbasic;vbscript"
|
||||
extension=".vb"
|
||||
type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
|
||||
warningLevel="4"
|
||||
compilerOptions="/langversion:14 /nowarn:41008 /define:_MYTYPE=\"Web\" /optionInfer+"
|
||||
xdt:Transform="Insert" />
|
||||
</compilers>
|
||||
</system.codedom>
|
||||
</configuration>
|
@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
|
||||
<appSettings>
|
||||
<add key="aspnet:RoslynCompilerLocation" value="roslyn" xdt:Transform="Remove" xdt:Locator="Match(key)" />
|
||||
</appSettings>
|
||||
<appSettings xdt:Transform="Remove" xdt:Locator="Condition(count(child::*) = 0)">
|
||||
</appSettings>
|
||||
|
||||
<system.codedom>
|
||||
<compilers>
|
||||
<compiler
|
||||
extension=".cs"
|
||||
xdt:Transform="Remove"
|
||||
xdt:Locator="Match(extension)" />
|
||||
</compilers>
|
||||
</system.codedom>
|
||||
<system.codedom>
|
||||
<compilers>
|
||||
<compiler
|
||||
extension=".vb"
|
||||
xdt:Transform="Remove"
|
||||
xdt:Locator="Match(extension)" />
|
||||
</compilers>
|
||||
</system.codedom>
|
||||
<system.codedom>
|
||||
<compilers xdt:Transform="Remove" xdt:Locator="Condition(count(child::*) = 0)" />
|
||||
</system.codedom>
|
||||
<system.codedom xdt:Transform="Remove" xdt:Locator="Condition(count(child::*) = 0)" />
|
||||
</configuration>
|
@ -0,0 +1,58 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
|
||||
<!-- If system.codedom tag is absent -->
|
||||
<system.codedom xdt:Transform="InsertIfMissing">
|
||||
</system.codedom>
|
||||
|
||||
<!-- If compilers tag is absent -->
|
||||
<system.codedom>
|
||||
<compilers xdt:Transform="InsertIfMissing">
|
||||
</compilers>
|
||||
</system.codedom>
|
||||
|
||||
<!-- If a .cs compiler is already present, the existing entry needs to be removed before inserting the new entry -->
|
||||
<system.codedom>
|
||||
<compilers>
|
||||
<compiler
|
||||
extension=".cs"
|
||||
xdt:Transform="Remove"
|
||||
xdt:Locator="Match(extension)" />
|
||||
</compilers>
|
||||
</system.codedom>
|
||||
|
||||
<!-- Inserting the new compiler -->
|
||||
<system.codedom>
|
||||
<compilers>
|
||||
<compiler
|
||||
language="c#;cs;csharp"
|
||||
extension=".cs"
|
||||
type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
|
||||
warningLevel="4"
|
||||
compilerOptions="/langversion:6 /nowarn:1659;1699;1701"
|
||||
xdt:Transform="Insert" />
|
||||
</compilers>
|
||||
</system.codedom>
|
||||
|
||||
<!-- If a .vb compiler is already present, the existing entry needs to be removed before inserting the new entry -->
|
||||
<system.codedom>
|
||||
<compilers>
|
||||
<compiler
|
||||
extension=".vb"
|
||||
xdt:Transform="Remove"
|
||||
xdt:Locator="Match(extension)" />
|
||||
</compilers>
|
||||
</system.codedom>
|
||||
|
||||
<!-- Inserting the new compiler -->
|
||||
<system.codedom>
|
||||
<compilers>
|
||||
<compiler
|
||||
language="vb;vbs;visualbasic;vbscript"
|
||||
extension=".vb"
|
||||
type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
|
||||
warningLevel="4"
|
||||
compilerOptions="/langversion:14 /nowarn:41008 /define:_MYTYPE=\"Web\" /optionInfer+"
|
||||
xdt:Transform="Insert" />
|
||||
</compilers>
|
||||
</system.codedom>
|
||||
</configuration>
|
@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
|
||||
<system.codedom>
|
||||
<compilers>
|
||||
<compiler
|
||||
extension=".cs"
|
||||
xdt:Transform="Remove"
|
||||
xdt:Locator="Match(extension)" />
|
||||
</compilers>
|
||||
</system.codedom>
|
||||
<system.codedom>
|
||||
<compilers>
|
||||
<compiler
|
||||
extension=".vb"
|
||||
xdt:Transform="Remove"
|
||||
xdt:Locator="Match(extension)" />
|
||||
</compilers>
|
||||
</system.codedom>
|
||||
<system.codedom>
|
||||
<compilers xdt:Transform="Remove" xdt:Locator="Condition(count(child::*) = 0)" />
|
||||
</system.codedom>
|
||||
<system.codedom xdt:Transform="Remove" xdt:Locator="Condition(count(child::*) = 0)" />
|
||||
</configuration>
|
@ -0,0 +1,66 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
|
||||
<appSettings xdt:Transform="InsertIfMissing">
|
||||
</appSettings>
|
||||
|
||||
<appSettings>
|
||||
<add key="aspnet:RoslynCompilerLocation" xdt:Transform="Remove" xdt:Locator="Match(key)" />
|
||||
<add key="aspnet:RoslynCompilerLocation" value="roslyn" xdt:Transform="Insert" />
|
||||
</appSettings>
|
||||
|
||||
<!-- If system.codedom tag is absent -->
|
||||
<system.codedom xdt:Transform="InsertIfMissing">
|
||||
</system.codedom>
|
||||
|
||||
<!-- If compilers tag is absent -->
|
||||
<system.codedom>
|
||||
<compilers xdt:Transform="InsertIfMissing">
|
||||
</compilers>
|
||||
</system.codedom>
|
||||
|
||||
<!-- If a .cs compiler is already present, the existing entry needs to be removed before inserting the new entry -->
|
||||
<system.codedom>
|
||||
<compilers>
|
||||
<compiler
|
||||
extension=".cs"
|
||||
xdt:Transform="Remove"
|
||||
xdt:Locator="Match(extension)" />
|
||||
</compilers>
|
||||
</system.codedom>
|
||||
|
||||
<!-- Inserting the new compiler -->
|
||||
<system.codedom>
|
||||
<compilers>
|
||||
<compiler
|
||||
language="c#;cs;csharp"
|
||||
extension=".cs"
|
||||
type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
|
||||
warningLevel="4"
|
||||
compilerOptions="/langversion:default /nowarn:1659;1699;1701"
|
||||
xdt:Transform="Insert" />
|
||||
</compilers>
|
||||
</system.codedom>
|
||||
|
||||
<!-- If a .vb compiler is already present, the existing entry needs to be removed before inserting the new entry -->
|
||||
<system.codedom>
|
||||
<compilers>
|
||||
<compiler
|
||||
extension=".vb"
|
||||
xdt:Transform="Remove"
|
||||
xdt:Locator="Match(extension)" />
|
||||
</compilers>
|
||||
</system.codedom>
|
||||
|
||||
<!-- Inserting the new compiler -->
|
||||
<system.codedom>
|
||||
<compilers>
|
||||
<compiler
|
||||
language="vb;vbs;visualbasic;vbscript"
|
||||
extension=".vb"
|
||||
type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
|
||||
warningLevel="4"
|
||||
compilerOptions="/langversion:default /nowarn:41008 /define:_MYTYPE=\"Web\" /optionInfer+"
|
||||
xdt:Transform="Insert" />
|
||||
</compilers>
|
||||
</system.codedom>
|
||||
</configuration>
|
@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
|
||||
<appSettings>
|
||||
<add key="aspnet:RoslynCompilerLocation" value="roslyn" xdt:Transform="Remove" xdt:Locator="Match(key)" />
|
||||
</appSettings>
|
||||
<appSettings xdt:Transform="Remove" xdt:Locator="Condition(count(child::*) = 0)">
|
||||
</appSettings>
|
||||
|
||||
<system.codedom>
|
||||
<compilers>
|
||||
<compiler
|
||||
extension=".cs"
|
||||
xdt:Transform="Remove"
|
||||
xdt:Locator="Match(extension)" />
|
||||
</compilers>
|
||||
</system.codedom>
|
||||
<system.codedom>
|
||||
<compilers>
|
||||
<compiler
|
||||
extension=".vb"
|
||||
xdt:Transform="Remove"
|
||||
xdt:Locator="Match(extension)" />
|
||||
</compilers>
|
||||
</system.codedom>
|
||||
<system.codedom>
|
||||
<compilers xdt:Transform="Remove" xdt:Locator="Condition(count(child::*) = 0)" />
|
||||
</system.codedom>
|
||||
<system.codedom xdt:Transform="Remove" xdt:Locator="Condition(count(child::*) = 0)" />
|
||||
</configuration>
|
@ -0,0 +1,58 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
|
||||
<!-- If system.codedom tag is absent -->
|
||||
<system.codedom xdt:Transform="InsertIfMissing">
|
||||
</system.codedom>
|
||||
|
||||
<!-- If compilers tag is absent -->
|
||||
<system.codedom>
|
||||
<compilers xdt:Transform="InsertIfMissing">
|
||||
</compilers>
|
||||
</system.codedom>
|
||||
|
||||
<!-- If a .cs compiler is already present, the existing entry needs to be removed before inserting the new entry -->
|
||||
<system.codedom>
|
||||
<compilers>
|
||||
<compiler
|
||||
extension=".cs"
|
||||
xdt:Transform="Remove"
|
||||
xdt:Locator="Match(extension)" />
|
||||
</compilers>
|
||||
</system.codedom>
|
||||
|
||||
<!-- Inserting the new compiler -->
|
||||
<system.codedom>
|
||||
<compilers>
|
||||
<compiler
|
||||
language="c#;cs;csharp"
|
||||
extension=".cs"
|
||||
type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
|
||||
warningLevel="4"
|
||||
compilerOptions="/langversion:default /nowarn:1659;1699;1701"
|
||||
xdt:Transform="Insert" />
|
||||
</compilers>
|
||||
</system.codedom>
|
||||
|
||||
<!-- If a .vb compiler is already present, the existing entry needs to be removed before inserting the new entry -->
|
||||
<system.codedom>
|
||||
<compilers>
|
||||
<compiler
|
||||
extension=".vb"
|
||||
xdt:Transform="Remove"
|
||||
xdt:Locator="Match(extension)" />
|
||||
</compilers>
|
||||
</system.codedom>
|
||||
|
||||
<!-- Inserting the new compiler -->
|
||||
<system.codedom>
|
||||
<compilers>
|
||||
<compiler
|
||||
language="vb;vbs;visualbasic;vbscript"
|
||||
extension=".vb"
|
||||
type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
|
||||
warningLevel="4"
|
||||
compilerOptions="/langversion:default /nowarn:41008 /define:_MYTYPE=\"Web\" /optionInfer+"
|
||||
xdt:Transform="Insert" />
|
||||
</compilers>
|
||||
</system.codedom>
|
||||
</configuration>
|
@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
|
||||
<system.codedom>
|
||||
<compilers>
|
||||
<compiler
|
||||
extension=".cs"
|
||||
xdt:Transform="Remove"
|
||||
xdt:Locator="Match(extension)" />
|
||||
</compilers>
|
||||
</system.codedom>
|
||||
<system.codedom>
|
||||
<compilers>
|
||||
<compiler
|
||||
extension=".vb"
|
||||
xdt:Transform="Remove"
|
||||
xdt:Locator="Match(extension)" />
|
||||
</compilers>
|
||||
</system.codedom>
|
||||
<system.codedom>
|
||||
<compilers xdt:Transform="Remove" xdt:Locator="Condition(count(child::*) = 0)" />
|
||||
</system.codedom>
|
||||
<system.codedom xdt:Transform="Remove" xdt:Locator="Condition(count(child::*) = 0)" />
|
||||
</configuration>
|
Binary file not shown.
@ -0,0 +1,67 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Microsoft.CodeDom.Providers.DotNetCompilerPlatform</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider">
|
||||
<summary>
|
||||
Provides access to instances of the .NET Compiler Platform C# code generator and code compiler.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider.#ctor">
|
||||
<summary>
|
||||
Default Constructor
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider.#ctor(Microsoft.CodeDom.Providers.DotNetCompilerPlatform.ICompilerSettings)">
|
||||
<summary>
|
||||
Creates an instance using the given ICompilerSettings
|
||||
</summary>
|
||||
<param name="compilerSettings"></param>
|
||||
</member>
|
||||
<member name="M:Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider.CreateCompiler">
|
||||
<summary>
|
||||
Gets an instance of the .NET Compiler Platform C# code compiler.
|
||||
</summary>
|
||||
<returns>An instance of the .NET Compiler Platform C# code compiler</returns>
|
||||
</member>
|
||||
<member name="T:Microsoft.CodeDom.Providers.DotNetCompilerPlatform.ICompilerSettings">
|
||||
<summary>
|
||||
Provides settings for the C# and VB CodeProviders
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.CodeDom.Providers.DotNetCompilerPlatform.ICompilerSettings.CompilerFullPath">
|
||||
<summary>
|
||||
The full path to csc.exe or vbc.exe
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.CodeDom.Providers.DotNetCompilerPlatform.ICompilerSettings.CompilerServerTimeToLive">
|
||||
<summary>
|
||||
TTL in seconds
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider">
|
||||
<summary>
|
||||
Provides access to instances of the .NET Compiler Platform VB code generator and code compiler.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider.#ctor">
|
||||
<summary>
|
||||
Default Constructor
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider.#ctor(Microsoft.CodeDom.Providers.DotNetCompilerPlatform.ICompilerSettings)">
|
||||
<summary>
|
||||
Creates an instance using the given ICompilerSettings
|
||||
</summary>
|
||||
<param name="compilerSettings"></param>
|
||||
</member>
|
||||
<member name="M:Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider.CreateCompiler">
|
||||
<summary>
|
||||
Gets an instance of the .NET Compiler Platform VB code compiler.
|
||||
</summary>
|
||||
<returns>An instance of the .NET Compiler Platform VB code compiler</returns>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
Binary file not shown.
@ -0,0 +1,145 @@
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Target
|
||||
Name="CoreCompile"
|
||||
Inputs="$(MSBuildAllProjects);
|
||||
@(Compile);
|
||||
@(_CoreCompileResourceInputs);
|
||||
$(ApplicationIcon);
|
||||
$(AssemblyOriginatorKeyFile);
|
||||
@(ReferencePath);
|
||||
@(CompiledLicenseFile);
|
||||
@(LinkResource);
|
||||
@(EmbeddedDocumentation);
|
||||
$(Win32Resource);
|
||||
$(Win32Manifest);
|
||||
@(CustomAdditionalCompileInputs);
|
||||
$(ResolvedCodeAnalysisRuleSet)"
|
||||
Outputs="@(DocFileItem);
|
||||
@(IntermediateAssembly);
|
||||
@(_DebugSymbolsIntermediatePath);
|
||||
$(NonExistentFile);
|
||||
@(CustomAdditionalCompileOutputs)"
|
||||
Returns="@(CscCommandLineArgs)"
|
||||
DependsOnTargets="$(CoreCompileDependsOn)"
|
||||
>
|
||||
<!-- These two compiler warnings are raised when a reference is bound to a different version
|
||||
than specified in the assembly reference version number. MSBuild raises the same warning in this case,
|
||||
so the compiler warning would be redundant. -->
|
||||
<PropertyGroup Condition="('$(TargetFrameworkVersion)' != 'v1.0') and ('$(TargetFrameworkVersion)' != 'v1.1')">
|
||||
<NoWarn>$(NoWarn);1701;1702</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<!-- To match historical behavior, when inside VS11+ disable the warning from csc.exe indicating that no sources were passed in-->
|
||||
<NoWarn Condition=" '$(BuildingInsideVisualStudio)' == 'true' and '$(VisualStudioVersion)' != '' and '$(VisualStudioVersion)' > '10.0' ">$(NoWarn);2008</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup Condition="'$(TargetingClr2Framework)'=='true'">
|
||||
<ReferencePath>
|
||||
<EmbedInteropTypes/>
|
||||
</ReferencePath>
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<!-- If the user has specified AppConfigForCompiler, we'll use it. If they have not, but they set UseAppConfigForCompiler,
|
||||
then we'll use AppConfig -->
|
||||
<AppConfigForCompiler Condition="'$(AppConfigForCompiler)' == '' and '$(UseAppConfigForCompiler)' == 'true'">$(AppConfig)</AppConfigForCompiler>
|
||||
|
||||
<!-- If we are targeting winmdobj we want to specifically the pdbFile property since we do not want it to collide with the output of winmdexp-->
|
||||
<PdbFile Condition="'$(PdbFile)' == '' and '$(OutputType)' == 'winmdobj' and '$(_DebugSymbolsProduced)' == 'true'">$(IntermediateOutputPath)$(TargetName).compile.pdb</PdbFile>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Prefer32Bit was introduced in .NET 4.5. Set it to false if we are targeting 4.0 -->
|
||||
<PropertyGroup Condition="('$(TargetFrameworkVersion)' == 'v4.0')">
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup Condition="('$(AdditionalFileItemNames)' != '')">
|
||||
<AdditionalFileItems Include="$(AdditionalFileItemNames)" />
|
||||
<AdditionalFiles Include="@(%(AdditionalFileItems.Identity))" />
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(UseSharedCompilation)' == ''">
|
||||
<UseSharedCompilation>true</UseSharedCompilation>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Condition is to filter out the _CoreCompileResourceInputs so that it doesn't pass in culture resources to the compiler -->
|
||||
<Csc Condition=" '%(_CoreCompileResourceInputs.WithCulture)' != 'true' "
|
||||
AdditionalLibPaths="$(AdditionalLibPaths)"
|
||||
AddModules="@(AddModules)"
|
||||
AdditionalFiles="@(AdditionalFiles)"
|
||||
AllowUnsafeBlocks="$(AllowUnsafeBlocks)"
|
||||
Analyzers="@(Analyzer)"
|
||||
ApplicationConfiguration="$(AppConfigForCompiler)"
|
||||
BaseAddress="$(BaseAddress)"
|
||||
CheckForOverflowUnderflow="$(CheckForOverflowUnderflow)"
|
||||
ChecksumAlgorithm="$(ChecksumAlgorithm)"
|
||||
CodeAnalysisRuleSet="$(ResolvedCodeAnalysisRuleSet)"
|
||||
CodePage="$(CodePage)"
|
||||
DebugType="$(DebugType)"
|
||||
DefineConstants="$(DefineConstants)"
|
||||
DelaySign="$(DelaySign)"
|
||||
DisabledWarnings="$(NoWarn)"
|
||||
DocumentationFile="@(DocFileItem)"
|
||||
EmitDebugInformation="$(DebugSymbols)"
|
||||
EnvironmentVariables="$(CscEnvironment)"
|
||||
ErrorEndLocation="$(ErrorEndLocation)"
|
||||
ErrorLog="$(ErrorLog)"
|
||||
ErrorReport="$(ErrorReport)"
|
||||
Features="$(Features)"
|
||||
FileAlignment="$(FileAlignment)"
|
||||
GenerateFullPaths="$(GenerateFullPaths)"
|
||||
HighEntropyVA="$(HighEntropyVA)"
|
||||
KeyContainer="$(KeyContainerName)"
|
||||
KeyFile="$(KeyOriginatorFile)"
|
||||
LangVersion="$(LangVersion)"
|
||||
LinkResources="@(LinkResource)"
|
||||
MainEntryPoint="$(StartupObject)"
|
||||
ModuleAssemblyName="$(ModuleAssemblyName)"
|
||||
NoConfig="true"
|
||||
NoLogo="$(NoLogo)"
|
||||
NoStandardLib="$(NoCompilerStandardLib)"
|
||||
NoWin32Manifest="$(NoWin32Manifest)"
|
||||
Optimize="$(Optimize)"
|
||||
Deterministic="$(Deterministic)"
|
||||
PublicSign="$(PublicSign)"
|
||||
OutputAssembly="@(IntermediateAssembly)"
|
||||
PdbFile="$(PdbFile)"
|
||||
Platform="$(PlatformTarget)"
|
||||
Prefer32Bit="$(Prefer32Bit)"
|
||||
PreferredUILang="$(PreferredUILang)"
|
||||
ProvideCommandLineArgs="$(ProvideCommandLineArgs)"
|
||||
References="@(ReferencePath)"
|
||||
ReportAnalyzer="$(ReportAnalyzer)"
|
||||
Resources="@(_CoreCompileResourceInputs);@(CompiledLicenseFile)"
|
||||
ResponseFiles="$(CompilerResponseFile)"
|
||||
RuntimeMetadataVersion="$(RuntimeMetadataVersion)"
|
||||
SkipCompilerExecution="$(SkipCompilerExecution)"
|
||||
Sources="@(Compile)"
|
||||
SubsystemVersion="$(SubsystemVersion)"
|
||||
TargetType="$(OutputType)"
|
||||
ToolExe="$(CscToolExe)"
|
||||
ToolPath="$(CscToolPath)"
|
||||
TreatWarningsAsErrors="$(TreatWarningsAsErrors)"
|
||||
UseHostCompilerIfAvailable="$(UseHostCompilerIfAvailable)"
|
||||
UseSharedCompilation="$(UseSharedCompilation)"
|
||||
Utf8Output="$(Utf8Output)"
|
||||
VsSessionGuid="$(VsSessionGuid)"
|
||||
WarningLevel="$(WarningLevel)"
|
||||
WarningsAsErrors="$(WarningsAsErrors)"
|
||||
WarningsNotAsErrors="$(WarningsNotAsErrors)"
|
||||
Win32Icon="$(ApplicationIcon)"
|
||||
Win32Manifest="$(Win32Manifest)"
|
||||
Win32Resource="$(Win32Resource)"
|
||||
PathMap="$(PathMap)"
|
||||
>
|
||||
<Output TaskParameter="CommandLineArgs" ItemName="CscCommandLineArgs" />
|
||||
</Csc>
|
||||
|
||||
<ItemGroup>
|
||||
<_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" />
|
||||
</ItemGroup>
|
||||
|
||||
<CallTarget Targets="$(TargetsTriggeredByCompilation)" Condition="'$(TargetsTriggeredByCompilation)' != ''"/>
|
||||
</Target>
|
||||
</Project>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,142 @@
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Target
|
||||
Name="CoreCompile"
|
||||
Inputs="$(MSBuildAllProjects);
|
||||
@(Compile);
|
||||
@(_CoreCompileResourceInputs);
|
||||
$(ApplicationIcon);
|
||||
$(AssemblyOriginatorKeyFile);
|
||||
@(ReferencePath);
|
||||
@(CompiledLicenseFile);
|
||||
@(LinkResource);
|
||||
@(EmbeddedDocumentation);
|
||||
$(Win32Resource);
|
||||
$(Win32Manifest);
|
||||
@(CustomAdditionalCompileInputs);
|
||||
$(ResolvedCodeAnalysisRuleSet)"
|
||||
Outputs="@(DocFileItem);
|
||||
@(IntermediateAssembly);
|
||||
@(_DebugSymbolsIntermediatePath);
|
||||
$(NonExistentFile);
|
||||
@(CustomAdditionalCompileOutputs)"
|
||||
Returns="@(VbcCommandLineArgs)"
|
||||
DependsOnTargets="$(CoreCompileDependsOn)"
|
||||
>
|
||||
<PropertyGroup>
|
||||
<_NoWarnings Condition=" '$(WarningLevel)' == '0' ">true</_NoWarnings>
|
||||
<_NoWarnings Condition=" '$(WarningLevel)' == '1' ">false</_NoWarnings>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<!-- If we are targeting winmdobj we want to specifically the pdbFile property since we do not want it to collide with the output of winmdexp-->
|
||||
<PdbFile Condition="'$(PdbFile)' == '' and '$(OutputType)' == 'winmdobj' and '$(DebugSymbols)' == 'true'">$(IntermediateOutputPath)$(TargetName).compile.pdb</PdbFile>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup Condition="'$(TargetingClr2Framework)'=='true'">
|
||||
<ReferencePath>
|
||||
<EmbedInteropTypes/>
|
||||
</ReferencePath>
|
||||
</ItemGroup>
|
||||
|
||||
<!-- Prefer32Bit was introduced in .NET 4.5. Set it to false if we are targeting 4.0 -->
|
||||
<PropertyGroup Condition="('$(TargetFrameworkVersion)' == 'v4.0')">
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup Condition="('$(AdditionalFileItemNames)' != '')">
|
||||
<AdditionalFileItems Include="$(AdditionalFileItemNames)" />
|
||||
<AdditionalFiles Include="@(%(AdditionalFileItems.Identity))" />
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(UseSharedCompilation)' == ''">
|
||||
<UseSharedCompilation>true</UseSharedCompilation>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Condition is to filter out the _CoreCompileResourceInputs so that it doesn't pass in culture resources to the compiler -->
|
||||
<Vbc Condition=" '%(_CoreCompileResourceInputs.WithCulture)' != 'true' "
|
||||
AdditionalLibPaths="$(AdditionalLibPaths)"
|
||||
AddModules="@(AddModules)"
|
||||
AdditionalFiles="@(AdditionalFiles)"
|
||||
Analyzers="@(Analyzer)"
|
||||
BaseAddress="$(BaseAddress)"
|
||||
ChecksumAlgorithm="$(ChecksumAlgorithm)"
|
||||
CodeAnalysisRuleSet="$(ResolvedCodeAnalysisRuleSet)"
|
||||
CodePage="$(CodePage)"
|
||||
DebugType="$(DebugType)"
|
||||
DefineConstants="$(FinalDefineConstants)"
|
||||
DelaySign="$(DelaySign)"
|
||||
DisabledWarnings="$(NoWarn)"
|
||||
DocumentationFile="@(DocFileItem)"
|
||||
EmitDebugInformation="$(DebugSymbols)"
|
||||
EnvironmentVariables="$(VbcEnvironment)"
|
||||
ErrorLog="$(ErrorLog)"
|
||||
ErrorReport="$(ErrorReport)"
|
||||
Features="$(Features)"
|
||||
FileAlignment="$(FileAlignment)"
|
||||
GenerateDocumentation="$(GenerateDocumentation)"
|
||||
HighEntropyVA="$(HighEntropyVA)"
|
||||
Imports="@(Import)"
|
||||
KeyContainer="$(KeyContainerName)"
|
||||
KeyFile="$(KeyOriginatorFile)"
|
||||
LangVersion="$(LangVersion)"
|
||||
LinkResources="@(LinkResource)"
|
||||
MainEntryPoint="$(StartupObject)"
|
||||
ModuleAssemblyName="$(ModuleAssemblyName)"
|
||||
NoConfig="true"
|
||||
NoStandardLib="$(NoCompilerStandardLib)"
|
||||
NoVBRuntimeReference="$(NoVBRuntimeReference)"
|
||||
NoWarnings="$(_NoWarnings)"
|
||||
NoWin32Manifest="$(NoWin32Manifest)"
|
||||
Optimize="$(Optimize)"
|
||||
Deterministic="$(Deterministic)"
|
||||
PublicSign="$(PublicSign)"
|
||||
OptionCompare="$(OptionCompare)"
|
||||
OptionExplicit="$(OptionExplicit)"
|
||||
OptionInfer="$(OptionInfer)"
|
||||
OptionStrict="$(OptionStrict)"
|
||||
OptionStrictType="$(OptionStrictType)"
|
||||
OutputAssembly="@(IntermediateAssembly)"
|
||||
PdbFile="$(PdbFile)"
|
||||
Platform="$(PlatformTarget)"
|
||||
Prefer32Bit="$(Prefer32Bit)"
|
||||
PreferredUILang="$(PreferredUILang)"
|
||||
ProvideCommandLineArgs="$(ProvideCommandLineArgs)"
|
||||
References="@(ReferencePath)"
|
||||
RemoveIntegerChecks="$(RemoveIntegerChecks)"
|
||||
ReportAnalyzer="$(ReportAnalyzer)"
|
||||
Resources="@(_CoreCompileResourceInputs);@(CompiledLicenseFile)"
|
||||
ResponseFiles="$(CompilerResponseFile)"
|
||||
RootNamespace="$(RootNamespace)"
|
||||
RuntimeMetadataVersion="$(RuntimeMetadataVersion)"
|
||||
SdkPath="$(FrameworkPathOverride)"
|
||||
SkipCompilerExecution="$(SkipCompilerExecution)"
|
||||
Sources="@(Compile)"
|
||||
SubsystemVersion="$(SubsystemVersion)"
|
||||
TargetCompactFramework="$(TargetCompactFramework)"
|
||||
TargetType="$(OutputType)"
|
||||
ToolExe="$(VbcToolExe)"
|
||||
ToolPath="$(VbcToolPath)"
|
||||
TreatWarningsAsErrors="$(TreatWarningsAsErrors)"
|
||||
UseHostCompilerIfAvailable="$(UseHostCompilerIfAvailable)"
|
||||
UseSharedCompilation="$(UseSharedCompilation)"
|
||||
Utf8Output="$(Utf8Output)"
|
||||
VBRuntimePath="$(VBRuntimePath)"
|
||||
Verbosity="$(VbcVerbosity)"
|
||||
VsSessionGuid="$(VsSessionGuid)"
|
||||
WarningsAsErrors="$(WarningsAsErrors)"
|
||||
WarningsNotAsErrors="$(WarningsNotAsErrors)"
|
||||
Win32Icon="$(ApplicationIcon)"
|
||||
Win32Manifest="$(Win32Manifest)"
|
||||
Win32Resource="$(Win32Resource)"
|
||||
VBRuntime="$(VBRuntime)"
|
||||
PathMap="$(PathMap)"
|
||||
>
|
||||
<Output TaskParameter="CommandLineArgs" ItemName="VbcCommandLineArgs" />
|
||||
</Vbc>
|
||||
<ItemGroup>
|
||||
<_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" />
|
||||
</ItemGroup>
|
||||
|
||||
<CallTarget Targets="$(TargetsTriggeredByCompilation)" Condition="'$(TargetsTriggeredByCompilation)' != ''"/>
|
||||
</Target>
|
||||
</Project>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!-- Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -->
|
||||
|
||||
<configuration>
|
||||
<runtime>
|
||||
<gcServer enabled="true"/>
|
||||
<gcConcurrent enabled="false"/>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Microsoft.CodeAnalysis" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
||||
<bindingRedirect oldVersion="1.0.0.0-1.3.1.0" newVersion="1.3.1.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Microsoft.CodeAnalysis.CSharp" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
||||
<bindingRedirect oldVersion="1.0.0.0-1.3.1.0" newVersion="1.3.1.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Microsoft.CodeAnalysis.VisualBasic" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
||||
<bindingRedirect oldVersion="1.0.0.0-1.3.1.0" newVersion="1.3.1.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Collections.Immutable" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" />
|
||||
<bindingRedirect oldVersion="1.1.0.0-1.1.65535.65535" newVersion="1.1.37.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Reflection.Metadata" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" />
|
||||
<bindingRedirect oldVersion="1.0.0.0-1.1.65535.65535" newVersion="1.2.0.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
<appSettings>
|
||||
<!-- Number of seconds with no activity before the server times out and closes.
|
||||
Set to -1 to never shut down the server. -->
|
||||
<add key="keepalive" value="600"/>
|
||||
</appSettings>
|
||||
</configuration>
|
Binary file not shown.
@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!-- Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -->
|
||||
|
||||
<configuration>
|
||||
<runtime>
|
||||
<gcServer enabled="true" />
|
||||
<gcConcurrent enabled="false"/>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Microsoft.CodeAnalysis" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
||||
<bindingRedirect oldVersion="1.0.0.0-1.3.1.0" newVersion="1.3.1.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Microsoft.CodeAnalysis.CSharp" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
||||
<bindingRedirect oldVersion="1.0.0.0-1.3.1.0" newVersion="1.3.1.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Microsoft.CodeAnalysis.VisualBasic" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
||||
<bindingRedirect oldVersion="1.0.0.0-1.3.1.0" newVersion="1.3.1.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Collections.Immutable" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" />
|
||||
<bindingRedirect oldVersion="1.1.0.0-1.1.65535.65535" newVersion="1.1.37.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Reflection.Metadata" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" />
|
||||
<bindingRedirect oldVersion="1.0.0.0-1.1.65535.65535" newVersion="1.2.0.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
</configuration>
|
@ -0,0 +1,46 @@
|
||||
# Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
# This file contains command-line options that the C#
|
||||
# command line compiler (CSC) will process as part
|
||||
# of every compilation, unless the "/noconfig" option
|
||||
# is specified.
|
||||
|
||||
# Reference the common Framework libraries
|
||||
/r:Accessibility.dll
|
||||
/r:Microsoft.CSharp.dll
|
||||
/r:System.Configuration.dll
|
||||
/r:System.Configuration.Install.dll
|
||||
/r:System.Core.dll
|
||||
/r:System.Data.dll
|
||||
/r:System.Data.DataSetExtensions.dll
|
||||
/r:System.Data.Linq.dll
|
||||
/r:System.Data.OracleClient.dll
|
||||
/r:System.Deployment.dll
|
||||
/r:System.Design.dll
|
||||
/r:System.DirectoryServices.dll
|
||||
/r:System.dll
|
||||
/r:System.Drawing.Design.dll
|
||||
/r:System.Drawing.dll
|
||||
/r:System.EnterpriseServices.dll
|
||||
/r:System.Management.dll
|
||||
/r:System.Messaging.dll
|
||||
/r:System.Runtime.Remoting.dll
|
||||
/r:System.Runtime.Serialization.dll
|
||||
/r:System.Runtime.Serialization.Formatters.Soap.dll
|
||||
/r:System.Security.dll
|
||||
/r:System.ServiceModel.dll
|
||||
/r:System.ServiceModel.Web.dll
|
||||
/r:System.ServiceProcess.dll
|
||||
/r:System.Transactions.dll
|
||||
/r:System.Web.dll
|
||||
/r:System.Web.Extensions.Design.dll
|
||||
/r:System.Web.Extensions.dll
|
||||
/r:System.Web.Mobile.dll
|
||||
/r:System.Web.RegularExpressions.dll
|
||||
/r:System.Web.Services.dll
|
||||
/r:System.Windows.Forms.dll
|
||||
/r:System.Workflow.Activities.dll
|
||||
/r:System.Workflow.ComponentModel.dll
|
||||
/r:System.Workflow.Runtime.dll
|
||||
/r:System.Xml.dll
|
||||
/r:System.Xml.Linq.dll
|
Binary file not shown.
@ -0,0 +1,13 @@
|
||||
/r:System
|
||||
/r:System.Core
|
||||
/r:Microsoft.CSharp
|
||||
/u:System
|
||||
/u:System.IO
|
||||
/u:System.Collections.Generic
|
||||
/u:System.Console
|
||||
/u:System.Diagnostics
|
||||
/u:System.Dynamic
|
||||
/u:System.Linq
|
||||
/u:System.Linq.Expressions
|
||||
/u:System.Text
|
||||
/u:System.Threading.Tasks
|
Binary file not shown.
@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!-- Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -->
|
||||
|
||||
<configuration>
|
||||
<runtime>
|
||||
<gcServer enabled="true" />
|
||||
<gcConcurrent enabled="false"/>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Microsoft.CodeAnalysis" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
||||
<bindingRedirect oldVersion="1.0.0.0-1.3.1.0" newVersion="1.3.1.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Microsoft.CodeAnalysis.CSharp" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
||||
<bindingRedirect oldVersion="1.0.0.0-1.3.1.0" newVersion="1.3.1.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Microsoft.CodeAnalysis.VisualBasic" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
||||
<bindingRedirect oldVersion="1.0.0.0-1.3.1.0" newVersion="1.3.1.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Collections.Immutable" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" />
|
||||
<bindingRedirect oldVersion="1.1.0.0-1.1.65535.65535" newVersion="1.1.37.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Reflection.Metadata" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" />
|
||||
<bindingRedirect oldVersion="1.0.0.0-1.1.65535.65535" newVersion="1.2.0.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
</configuration>
|
@ -0,0 +1,55 @@
|
||||
# Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
# This file contains command-line options that the VB
|
||||
# command line compiler (VBC) will process as part
|
||||
# of every compilation, unless the "/noconfig" option
|
||||
# is specified.
|
||||
|
||||
# Reference the common Framework libraries
|
||||
/r:Accessibility.dll
|
||||
/r:System.Configuration.dll
|
||||
/r:System.Configuration.Install.dll
|
||||
/r:System.Data.dll
|
||||
/r:System.Data.OracleClient.dll
|
||||
/r:System.Deployment.dll
|
||||
/r:System.Design.dll
|
||||
/r:System.DirectoryServices.dll
|
||||
/r:System.dll
|
||||
/r:System.Drawing.Design.dll
|
||||
/r:System.Drawing.dll
|
||||
/r:System.EnterpriseServices.dll
|
||||
/r:System.Management.dll
|
||||
/r:System.Messaging.dll
|
||||
/r:System.Runtime.Remoting.dll
|
||||
/r:System.Runtime.Serialization.Formatters.Soap.dll
|
||||
/r:System.Security.dll
|
||||
/r:System.ServiceProcess.dll
|
||||
/r:System.Transactions.dll
|
||||
/r:System.Web.dll
|
||||
/r:System.Web.Mobile.dll
|
||||
/r:System.Web.RegularExpressions.dll
|
||||
/r:System.Web.Services.dll
|
||||
/r:System.Windows.Forms.dll
|
||||
/r:System.XML.dll
|
||||
|
||||
/r:System.Workflow.Activities.dll
|
||||
/r:System.Workflow.ComponentModel.dll
|
||||
/r:System.Workflow.Runtime.dll
|
||||
/r:System.Runtime.Serialization.dll
|
||||
/r:System.ServiceModel.dll
|
||||
|
||||
/r:System.Core.dll
|
||||
/r:System.Xml.Linq.dll
|
||||
/r:System.Data.Linq.dll
|
||||
/r:System.Data.DataSetExtensions.dll
|
||||
/r:System.Web.Extensions.dll
|
||||
/r:System.Web.Extensions.Design.dll
|
||||
/r:System.ServiceModel.Web.dll
|
||||
|
||||
# Import System and Microsoft.VisualBasic
|
||||
/imports:System
|
||||
/imports:Microsoft.VisualBasic
|
||||
/imports:System.Linq
|
||||
/imports:System.Xml.Linq
|
||||
|
||||
/optioninfer+
|
Binary file not shown.
@ -0,0 +1,135 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -->
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="Microsoft.Managed.Core.targets"/>
|
||||
|
||||
<Target Name="CoreCompile"
|
||||
Inputs="$(MSBuildAllProjects);
|
||||
@(Compile);
|
||||
@(_CoreCompileResourceInputs);
|
||||
$(ApplicationIcon);
|
||||
$(AssemblyOriginatorKeyFile);
|
||||
@(ReferencePathWithRefAssemblies);
|
||||
@(CompiledLicenseFile);
|
||||
@(LinkResource);
|
||||
@(EmbeddedDocumentation);
|
||||
$(Win32Resource);
|
||||
$(Win32Manifest);
|
||||
@(CustomAdditionalCompileInputs);
|
||||
$(ResolvedCodeAnalysisRuleSet);
|
||||
@(AdditionalFiles);
|
||||
@(EmbeddedFiles)"
|
||||
Outputs="@(DocFileItem);
|
||||
@(IntermediateAssembly);
|
||||
@(IntermediateRefAssembly);
|
||||
@(_DebugSymbolsIntermediatePath);
|
||||
$(NonExistentFile);
|
||||
@(CustomAdditionalCompileOutputs)"
|
||||
Returns="@(CscCommandLineArgs)"
|
||||
DependsOnTargets="$(CoreCompileDependsOn);_BeforeVBCSCoreCompile">
|
||||
<!-- These two compiler warnings are raised when a reference is bound to a different version
|
||||
than specified in the assembly reference version number. MSBuild raises the same warning in this case,
|
||||
so the compiler warning would be redundant. -->
|
||||
<PropertyGroup Condition="('$(TargetFrameworkVersion)' != 'v1.0') and ('$(TargetFrameworkVersion)' != 'v1.1')">
|
||||
<NoWarn>$(NoWarn);1701;1702</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<!-- To match historical behavior, when inside VS11+ disable the warning from csc.exe indicating that no sources were passed in-->
|
||||
<NoWarn Condition="'$(BuildingInsideVisualStudio)' == 'true' AND '$(VisualStudioVersion)' != '' AND '$(VisualStudioVersion)' > '10.0'">$(NoWarn);2008</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<!-- If the user has specified AppConfigForCompiler, we'll use it. If they have not, but they set UseAppConfigForCompiler,
|
||||
then we'll use AppConfig -->
|
||||
<AppConfigForCompiler Condition="'$(AppConfigForCompiler)' == '' AND '$(UseAppConfigForCompiler)' == 'true'">$(AppConfig)</AppConfigForCompiler>
|
||||
|
||||
<!-- If we are targeting winmdobj we want to specifically the pdbFile property since we do not want it to collide with the output of winmdexp-->
|
||||
<PdbFile Condition="'$(PdbFile)' == '' AND '$(OutputType)' == 'winmdobj' AND '$(_DebugSymbolsProduced)' == 'true'">$(IntermediateOutputPath)$(TargetName).compile.pdb</PdbFile>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Condition is to filter out the _CoreCompileResourceInputs so that it doesn't pass in culture resources to the compiler -->
|
||||
<Csc Condition="'%(_CoreCompileResourceInputs.WithCulture)' != 'true'"
|
||||
AdditionalLibPaths="$(AdditionalLibPaths)"
|
||||
AddModules="@(AddModules)"
|
||||
AdditionalFiles="@(AdditionalFiles)"
|
||||
AllowUnsafeBlocks="$(AllowUnsafeBlocks)"
|
||||
Analyzers="@(Analyzer)"
|
||||
ApplicationConfiguration="$(AppConfigForCompiler)"
|
||||
BaseAddress="$(BaseAddress)"
|
||||
CheckForOverflowUnderflow="$(CheckForOverflowUnderflow)"
|
||||
ChecksumAlgorithm="$(ChecksumAlgorithm)"
|
||||
CodeAnalysisRuleSet="$(ResolvedCodeAnalysisRuleSet)"
|
||||
CodePage="$(CodePage)"
|
||||
DebugType="$(DebugType)"
|
||||
DefineConstants="$(DefineConstants)"
|
||||
DelaySign="$(DelaySign)"
|
||||
DisabledWarnings="$(NoWarn)"
|
||||
DocumentationFile="@(DocFileItem)"
|
||||
EmbedAllSources="$(EmbedAllSources)"
|
||||
EmbeddedFiles="@(EmbeddedFiles)"
|
||||
EmitDebugInformation="$(DebugSymbols)"
|
||||
EnvironmentVariables="$(CscEnvironment)"
|
||||
ErrorEndLocation="$(ErrorEndLocation)"
|
||||
ErrorLog="$(ErrorLog)"
|
||||
ErrorReport="$(ErrorReport)"
|
||||
Features="$(Features)"
|
||||
FileAlignment="$(FileAlignment)"
|
||||
GenerateFullPaths="$(GenerateFullPaths)"
|
||||
HighEntropyVA="$(HighEntropyVA)"
|
||||
Instrument="$(Instrument)"
|
||||
KeyContainer="$(KeyContainerName)"
|
||||
KeyFile="$(KeyOriginatorFile)"
|
||||
LangVersion="$(LangVersion)"
|
||||
LinkResources="@(LinkResource)"
|
||||
MainEntryPoint="$(StartupObject)"
|
||||
ModuleAssemblyName="$(ModuleAssemblyName)"
|
||||
NoConfig="true"
|
||||
NoLogo="$(NoLogo)"
|
||||
NoStandardLib="$(NoCompilerStandardLib)"
|
||||
NoWin32Manifest="$(NoWin32Manifest)"
|
||||
Optimize="$(Optimize)"
|
||||
Deterministic="$(Deterministic)"
|
||||
PublicSign="$(PublicSign)"
|
||||
OutputAssembly="@(IntermediateAssembly)"
|
||||
OutputRefAssembly="@(IntermediateRefAssembly)"
|
||||
PdbFile="$(PdbFile)"
|
||||
Platform="$(PlatformTarget)"
|
||||
Prefer32Bit="$(Prefer32Bit)"
|
||||
PreferredUILang="$(PreferredUILang)"
|
||||
ProvideCommandLineArgs="$(ProvideCommandLineArgs)"
|
||||
References="@(ReferencePathWithRefAssemblies)"
|
||||
ReportAnalyzer="$(ReportAnalyzer)"
|
||||
Resources="@(_CoreCompileResourceInputs);@(CompiledLicenseFile)"
|
||||
ResponseFiles="$(CompilerResponseFile)"
|
||||
RuntimeMetadataVersion="$(RuntimeMetadataVersion)"
|
||||
SharedCompilationId="$(SharedCompilationId)"
|
||||
SkipCompilerExecution="$(SkipCompilerExecution)"
|
||||
Sources="@(Compile)"
|
||||
SubsystemVersion="$(SubsystemVersion)"
|
||||
TargetType="$(OutputType)"
|
||||
ToolExe="$(CscToolExe)"
|
||||
ToolPath="$(CscToolPath)"
|
||||
TreatWarningsAsErrors="$(TreatWarningsAsErrors)"
|
||||
UseHostCompilerIfAvailable="$(UseHostCompilerIfAvailable)"
|
||||
UseSharedCompilation="$(UseSharedCompilation)"
|
||||
Utf8Output="$(Utf8Output)"
|
||||
VsSessionGuid="$(VsSessionGuid)"
|
||||
WarningLevel="$(WarningLevel)"
|
||||
WarningsAsErrors="$(WarningsAsErrors)"
|
||||
WarningsNotAsErrors="$(WarningsNotAsErrors)"
|
||||
Win32Icon="$(ApplicationIcon)"
|
||||
Win32Manifest="$(Win32Manifest)"
|
||||
Win32Resource="$(Win32Resource)"
|
||||
PathMap="$(PathMap)"
|
||||
SourceLink="$(SourceLink)">
|
||||
<Output TaskParameter="CommandLineArgs" ItemName="CscCommandLineArgs" />
|
||||
</Csc>
|
||||
|
||||
<ItemGroup>
|
||||
<_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" />
|
||||
</ItemGroup>
|
||||
|
||||
<CallTarget Targets="$(TargetsTriggeredByCompilation)" Condition="'$(TargetsTriggeredByCompilation)' != ''" />
|
||||
</Target>
|
||||
</Project>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,155 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -->
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<!--
|
||||
Common targets for managed compilers.
|
||||
-->
|
||||
<UsingTask TaskName="Microsoft.CodeAnalysis.BuildTasks.MapSourceRoots" AssemblyFile="$(MSBuildThisFileDirectory)Microsoft.Build.Tasks.CodeAnalysis.dll" />
|
||||
|
||||
<Target Name="ShimReferencePathsWhenCommonTargetsDoesNotUnderstandReferenceAssemblies"
|
||||
BeforeTargets="CoreCompile"
|
||||
Condition="'@(ReferencePathWithRefAssemblies)' == ''">
|
||||
<!--
|
||||
FindReferenceAssembliesForReferences target in Common targets populate this item
|
||||
since dev15.3. The compiler targets may be used (via NuGet package) on earlier MSBuilds.
|
||||
If the ReferencePathWithRefAssemblies item is not populated, just use ReferencePaths
|
||||
(implementation assemblies) as they are.
|
||||
|
||||
Since XAML inner build runs CoreCompile directly (instead of Compile target),
|
||||
it also doesn't invoke FindReferenceAssembliesForReferences listed in CompileDependsOn.
|
||||
In that case we also populate ReferencePathWithRefAssemblies with implementation assemblies.
|
||||
-->
|
||||
<ItemGroup>
|
||||
<ReferencePathWithRefAssemblies Include="@(ReferencePath)" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<Target Name="_BeforeVBCSCoreCompile"
|
||||
DependsOnTargets="ShimReferencePathsWhenCommonTargetsDoesNotUnderstandReferenceAssemblies">
|
||||
|
||||
<ItemGroup Condition="'$(TargetingClr2Framework)' == 'true'">
|
||||
<ReferencePathWithRefAssemblies>
|
||||
<EmbedInteropTypes />
|
||||
</ReferencePathWithRefAssemblies>
|
||||
</ItemGroup>
|
||||
|
||||
<!-- Prefer32Bit was introduced in .NET 4.5. Set it to false if we are targeting 4.0 -->
|
||||
<PropertyGroup Condition="('$(TargetFrameworkVersion)' == 'v4.0')">
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- TODO: Remove this ItemGroup once it has been moved to "_GenerateCompileInputs" target in Microsoft.Common.CurrentVersion.targets.
|
||||
https://github.com/dotnet/roslyn/issues/12223 -->
|
||||
<ItemGroup Condition="('$(AdditionalFileItemNames)' != '')">
|
||||
<AdditionalFileItems Include="$(AdditionalFileItemNames)" />
|
||||
<AdditionalFiles Include="@(%(AdditionalFileItems.Identity))" />
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(UseSharedCompilation)' == ''">
|
||||
<UseSharedCompilation>true</UseSharedCompilation>
|
||||
</PropertyGroup>
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
========================
|
||||
DeterministicSourcePaths
|
||||
========================
|
||||
|
||||
Unless specified otherwise enable deterministic source root (PathMap) when building deterministically on CI server, but not for local builds.
|
||||
In order for the debugger to find source files when debugging a locally built binary the PDB must contain original, unmapped local paths.
|
||||
-->
|
||||
<PropertyGroup>
|
||||
<DeterministicSourcePaths Condition="'$(DeterministicSourcePaths)' == '' and '$(Deterministic)' == 'true' and '$(ContinuousIntegrationBuild)' == 'true'">true</DeterministicSourcePaths>
|
||||
</PropertyGroup>
|
||||
|
||||
<!--
|
||||
==========
|
||||
SourceRoot
|
||||
==========
|
||||
|
||||
All source files of the project are expected to be located under one of the directories specified by SourceRoot item group.
|
||||
This target collects all SourceRoots from various sources.
|
||||
|
||||
This target calculates final local path for each SourceRoot and sets SourceRoot.MappedPath metadata accordingly.
|
||||
The final path is a path with deterministic prefix when DeterministicSourcePaths is true, and the original path otherwise.
|
||||
In addition, the target validates and deduplicates the SourceRoot items.
|
||||
|
||||
InitializeSourceControlInformation is an msbuild target that ensures the SourceRoot items are populated from source control.
|
||||
The target is available only if SourceControlInformationFeatureSupported is true.
|
||||
|
||||
A consumer of SourceRoot.MappedPath metadata, such as Source Link generator, shall depend on this target.
|
||||
-->
|
||||
|
||||
<Target Name="InitializeSourceRootMappedPaths"
|
||||
DependsOnTargets="_InitializeSourceRootMappedPathsFromSourceControl">
|
||||
|
||||
<ItemGroup Condition="'@(_MappedSourceRoot)' != ''">
|
||||
<_MappedSourceRoot Remove="@(_MappedSourceRoot)" />
|
||||
</ItemGroup>
|
||||
|
||||
<Microsoft.CodeAnalysis.BuildTasks.MapSourceRoots SourceRoots="@(SourceRoot)" Deterministic="$(DeterministicSourcePaths)">
|
||||
<Output TaskParameter="MappedSourceRoots" ItemName="_MappedSourceRoot" />
|
||||
</Microsoft.CodeAnalysis.BuildTasks.MapSourceRoots>
|
||||
|
||||
<ItemGroup>
|
||||
<SourceRoot Remove="@(SourceRoot)" />
|
||||
<SourceRoot Include="@(_MappedSourceRoot)" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
Declare that target InitializeSourceRootMappedPaths that populates MappedPaths metadata on SourceRoot items is available.
|
||||
-->
|
||||
<PropertyGroup>
|
||||
<SourceRootMappedPathsFeatureSupported>true</SourceRootMappedPathsFeatureSupported>
|
||||
</PropertyGroup>
|
||||
|
||||
<!--
|
||||
If InitializeSourceControlInformation target isn't supported, we just continue without invoking that synchronization target.
|
||||
We'll proceed with SourceRoot (and other source control properties) provided by the user (or blank).
|
||||
-->
|
||||
<Target Name="_InitializeSourceRootMappedPathsFromSourceControl"
|
||||
DependsOnTargets="InitializeSourceControlInformation"
|
||||
Condition="'$(SourceControlInformationFeatureSupported)' == 'true'" />
|
||||
|
||||
<!--
|
||||
=======
|
||||
PathMap
|
||||
=======
|
||||
|
||||
If DeterministicSourcePaths is true sets PathMap based on SourceRoot.MappedPaths.
|
||||
|
||||
This target requires SourceRoot to be initialized in order to calculate the PathMap.
|
||||
If SourceRoot doesn't contain any top-level roots an error is reported.
|
||||
-->
|
||||
|
||||
<Target Name="_SetPathMapFromSourceRoots"
|
||||
DependsOnTargets="InitializeSourceRootMappedPaths"
|
||||
BeforeTargets="CoreCompile"
|
||||
Condition="'$(DeterministicSourcePaths)' == 'true'">
|
||||
|
||||
<ItemGroup>
|
||||
<_TopLevelSourceRoot Include="@(SourceRoot)" Condition="'%(SourceRoot.NestedRoot)' == ''"/>
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup Condition="'@(_TopLevelSourceRoot)' != ''">
|
||||
<!-- TODO: Report error/warning if /pathmap doesn't cover all emitted source paths: https://github.com/dotnet/roslyn/issues/23969 -->
|
||||
|
||||
<!-- TODO: PathMap should accept and ignore empty mapping: https://github.com/dotnet/roslyn/issues/23523 -->
|
||||
<PathMap Condition="'$(PathMap)' != ''">,$(PathMap)</PathMap>
|
||||
|
||||
<!--
|
||||
Prepend the SourceRoot.MappedPath values to PathMap, if it already has a value.
|
||||
For each emitted source path the compiler applies the first mapping that matches the path.
|
||||
PathMap values set previously will thus only be applied if the mapping provided by
|
||||
SourceRoot.MappedPath doesn't match. Since SourceRoot.MappedPath is also used by SourceLink
|
||||
preferring it over manually set PathMap ensures that PathMap is consistent with SourceLink.
|
||||
|
||||
TODO: quote the paths to avoid misinterpreting ',' and '=' in them as separators,
|
||||
but quoting doesn't currently work (see https://github.com/dotnet/roslyn/issues/22835).
|
||||
-->
|
||||
<PathMap>@(_TopLevelSourceRoot->'%(Identity)=%(MappedPath)', ',')$(PathMap)</PathMap>
|
||||
</PropertyGroup>
|
||||
</Target>
|
||||
|
||||
</Project>
|
@ -0,0 +1,132 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -->
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="Microsoft.Managed.Core.targets"/>
|
||||
|
||||
<Target Name="CoreCompile"
|
||||
Inputs="$(MSBuildAllProjects);
|
||||
@(Compile);
|
||||
@(_CoreCompileResourceInputs);
|
||||
$(ApplicationIcon);
|
||||
$(AssemblyOriginatorKeyFile);
|
||||
@(ReferencePathWithRefAssemblies);
|
||||
@(CompiledLicenseFile);
|
||||
@(LinkResource);
|
||||
@(EmbeddedDocumentation);
|
||||
$(Win32Resource);
|
||||
$(Win32Manifest);
|
||||
@(CustomAdditionalCompileInputs);
|
||||
$(ResolvedCodeAnalysisRuleSet);
|
||||
@(AdditionalFiles);
|
||||
@(EmbeddedFiles)"
|
||||
Outputs="@(DocFileItem);
|
||||
@(IntermediateAssembly);
|
||||
@(IntermediateRefAssembly);
|
||||
@(_DebugSymbolsIntermediatePath);
|
||||
$(NonExistentFile);
|
||||
@(CustomAdditionalCompileOutputs)"
|
||||
Returns="@(VbcCommandLineArgs)"
|
||||
DependsOnTargets="$(CoreCompileDependsOn);_BeforeVBCSCoreCompile">
|
||||
<PropertyGroup>
|
||||
<_NoWarnings Condition="'$(WarningLevel)' == '0'">true</_NoWarnings>
|
||||
<_NoWarnings Condition="'$(WarningLevel)' == '1'">false</_NoWarnings>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<!-- If we are targeting winmdobj we want to specifically the pdbFile property since we do not want it to collide with the output of winmdexp-->
|
||||
<PdbFile Condition="'$(PdbFile)' == '' AND '$(OutputType)' == 'winmdobj' AND '$(DebugSymbols)' == 'true'">$(IntermediateOutputPath)$(TargetName).compile.pdb</PdbFile>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Condition is to filter out the _CoreCompileResourceInputs so that it doesn't pass in culture resources to the compiler -->
|
||||
<Vbc Condition="'%(_CoreCompileResourceInputs.WithCulture)' != 'true'"
|
||||
AdditionalLibPaths="$(AdditionalLibPaths)"
|
||||
AddModules="@(AddModules)"
|
||||
AdditionalFiles="@(AdditionalFiles)"
|
||||
Analyzers="@(Analyzer)"
|
||||
BaseAddress="$(BaseAddress)"
|
||||
ChecksumAlgorithm="$(ChecksumAlgorithm)"
|
||||
CodeAnalysisRuleSet="$(ResolvedCodeAnalysisRuleSet)"
|
||||
CodePage="$(CodePage)"
|
||||
DebugType="$(DebugType)"
|
||||
DefineConstants="$(FinalDefineConstants)"
|
||||
DelaySign="$(DelaySign)"
|
||||
DisabledWarnings="$(NoWarn)"
|
||||
DocumentationFile="@(DocFileItem)"
|
||||
EmbedAllSources="$(EmbedAllSources)"
|
||||
EmbeddedFiles="@(EmbeddedFiles)"
|
||||
EmitDebugInformation="$(DebugSymbols)"
|
||||
EnvironmentVariables="$(VbcEnvironment)"
|
||||
ErrorLog="$(ErrorLog)"
|
||||
ErrorReport="$(ErrorReport)"
|
||||
Features="$(Features)"
|
||||
FileAlignment="$(FileAlignment)"
|
||||
GenerateDocumentation="$(GenerateDocumentation)"
|
||||
HighEntropyVA="$(HighEntropyVA)"
|
||||
Imports="@(Import)"
|
||||
Instrument="$(Instrument)"
|
||||
KeyContainer="$(KeyContainerName)"
|
||||
KeyFile="$(KeyOriginatorFile)"
|
||||
LangVersion="$(LangVersion)"
|
||||
LinkResources="@(LinkResource)"
|
||||
MainEntryPoint="$(StartupObject)"
|
||||
ModuleAssemblyName="$(ModuleAssemblyName)"
|
||||
NoConfig="true"
|
||||
NoStandardLib="$(NoCompilerStandardLib)"
|
||||
NoVBRuntimeReference="$(NoVBRuntimeReference)"
|
||||
NoWarnings="$(_NoWarnings)"
|
||||
NoWin32Manifest="$(NoWin32Manifest)"
|
||||
Optimize="$(Optimize)"
|
||||
Deterministic="$(Deterministic)"
|
||||
PublicSign="$(PublicSign)"
|
||||
OptionCompare="$(OptionCompare)"
|
||||
OptionExplicit="$(OptionExplicit)"
|
||||
OptionInfer="$(OptionInfer)"
|
||||
OptionStrict="$(OptionStrict)"
|
||||
OptionStrictType="$(OptionStrictType)"
|
||||
OutputAssembly="@(IntermediateAssembly)"
|
||||
OutputRefAssembly="@(IntermediateRefAssembly)"
|
||||
PdbFile="$(PdbFile)"
|
||||
Platform="$(PlatformTarget)"
|
||||
Prefer32Bit="$(Prefer32Bit)"
|
||||
PreferredUILang="$(PreferredUILang)"
|
||||
ProvideCommandLineArgs="$(ProvideCommandLineArgs)"
|
||||
References="@(ReferencePathWithRefAssemblies)"
|
||||
RemoveIntegerChecks="$(RemoveIntegerChecks)"
|
||||
ReportAnalyzer="$(ReportAnalyzer)"
|
||||
Resources="@(_CoreCompileResourceInputs);@(CompiledLicenseFile)"
|
||||
ResponseFiles="$(CompilerResponseFile)"
|
||||
RootNamespace="$(RootNamespace)"
|
||||
RuntimeMetadataVersion="$(RuntimeMetadataVersion)"
|
||||
SdkPath="$(FrameworkPathOverride)"
|
||||
SharedCompilationId="$(SharedCompilationId)"
|
||||
SkipCompilerExecution="$(SkipCompilerExecution)"
|
||||
Sources="@(Compile)"
|
||||
SubsystemVersion="$(SubsystemVersion)"
|
||||
TargetCompactFramework="$(TargetCompactFramework)"
|
||||
TargetType="$(OutputType)"
|
||||
ToolExe="$(VbcToolExe)"
|
||||
ToolPath="$(VbcToolPath)"
|
||||
TreatWarningsAsErrors="$(TreatWarningsAsErrors)"
|
||||
UseHostCompilerIfAvailable="$(UseHostCompilerIfAvailable)"
|
||||
UseSharedCompilation="$(UseSharedCompilation)"
|
||||
Utf8Output="$(Utf8Output)"
|
||||
VBRuntimePath="$(VBRuntimePath)"
|
||||
Verbosity="$(VbcVerbosity)"
|
||||
VsSessionGuid="$(VsSessionGuid)"
|
||||
WarningsAsErrors="$(WarningsAsErrors)"
|
||||
WarningsNotAsErrors="$(WarningsNotAsErrors)"
|
||||
Win32Icon="$(ApplicationIcon)"
|
||||
Win32Manifest="$(Win32Manifest)"
|
||||
Win32Resource="$(Win32Resource)"
|
||||
VBRuntime="$(VBRuntime)"
|
||||
PathMap="$(PathMap)"
|
||||
SourceLink="$(SourceLink)">
|
||||
<Output TaskParameter="CommandLineArgs" ItemName="VbcCommandLineArgs" />
|
||||
</Vbc>
|
||||
<ItemGroup>
|
||||
<_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" />
|
||||
</ItemGroup>
|
||||
|
||||
<CallTarget Targets="$(TargetsTriggeredByCompilation)" Condition="'$(TargetsTriggeredByCompilation)' != ''" />
|
||||
</Target>
|
||||
</Project>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user