Validierung im Abwesenheitsview verbessert.
This commit is contained in:
@@ -32,7 +32,10 @@ namespace BeWo.View.Detail
|
||||
|
||||
private void AddAbsenceTimes()
|
||||
{
|
||||
AbsenceTimes?.AddNewVMToList();
|
||||
AbsenceTimes?.NewVM.ValidateDates(() =>
|
||||
{
|
||||
AbsenceTimes?.AddNewVMToList();
|
||||
});
|
||||
}
|
||||
|
||||
private void RemoveAbsenceTime()
|
||||
|
||||
@@ -188,8 +188,8 @@ namespace BeWo.ViewModel
|
||||
pDataContract.Reason = _Reason;
|
||||
}
|
||||
|
||||
pDataContract.Start = _Start;
|
||||
pDataContract.End = _End;
|
||||
pDataContract.Start = _Start;
|
||||
pDataContract.End = _End;
|
||||
pDataContract.Notice = _Notice;
|
||||
|
||||
pDataContract.KrankheitsMeldung = _KrankheitsMeldung;
|
||||
@@ -203,7 +203,8 @@ namespace BeWo.ViewModel
|
||||
{
|
||||
var me = (IDataErrorInfo)this;
|
||||
var error = me[nameof(Start)] +
|
||||
me[nameof(End)];
|
||||
me[nameof(End)] +
|
||||
me[nameof(Reason)];
|
||||
|
||||
return error;
|
||||
}
|
||||
@@ -213,14 +214,19 @@ namespace BeWo.ViewModel
|
||||
{
|
||||
get
|
||||
{
|
||||
if (Start == null)
|
||||
if (columnName.Equals(nameof(Start)) && Start == null)
|
||||
{
|
||||
return "Das Startdatum muss einen Wert haben.";
|
||||
return "Das Startdatum muss einen Wert haben.\n";
|
||||
}
|
||||
|
||||
if (End != null && End.Value < Start)
|
||||
if (columnName.Equals(nameof(End)) && End != null && End.Value < Start)
|
||||
{
|
||||
return "Das Startdatum muss vor dem Enddatum liegen.";
|
||||
return "Das Startdatum muss vor dem Enddatum liegen.\n";
|
||||
}
|
||||
|
||||
if (columnName.Equals(nameof(Reason)) && Reason == null)
|
||||
{
|
||||
return "Die Kategorie darf nicht leer sein.\n";
|
||||
}
|
||||
|
||||
return null;
|
||||
@@ -233,9 +239,10 @@ namespace BeWo.ViewModel
|
||||
|
||||
if (!string.IsNullOrEmpty(error))
|
||||
{
|
||||
MessageBox.Show("Das Startdatum muss vor dem Enddatum liegen.", "Ungültige Datumsangaben", MessageBoxButton.OK, MessageBoxImage.Error);
|
||||
MessageBox.Show(error, "Ungültige Eingabe", MessageBoxButton.OK, MessageBoxImage.Error);
|
||||
FirePropertyChanged(nameof(Start));
|
||||
FirePropertyChanged(nameof(End));
|
||||
FirePropertyChanged(nameof(Reason));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.Default.props" Condition="Exists('$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.Default.props')" />
|
||||
<Import Project="..\packages\EntityFramework.6.4.0\build\EntityFramework.props" Condition="Exists('..\packages\EntityFramework.6.4.0\build\EntityFramework.props')" />
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
@@ -8,7 +10,7 @@
|
||||
</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{284B02ED-114A-426C-9162-31BB6CF05589}</ProjectGuid>
|
||||
<ProjectTypeGuids>{E3E379DF-F4C6-4180-9B81-6769533ABE47};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
|
||||
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>BeWoPlanerMobil</RootNamespace>
|
||||
@@ -23,6 +25,9 @@
|
||||
<UseGlobalApplicationHostFile />
|
||||
<TargetFrameworkProfile />
|
||||
<Use64BitIISExpress />
|
||||
<NuGetPackageImportStamp>
|
||||
</NuGetPackageImportStamp>
|
||||
<TypeScriptToolsVersion>3.7</TypeScriptToolsVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
@@ -45,6 +50,9 @@
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Antlr3.Runtime, Version=3.5.0.2, Culture=neutral, PublicKeyToken=eb42632606e9261f, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Antlr.3.5.0.2\lib\Antlr3.Runtime.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="DevExpress.Data.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||
<Reference Include="DevExpress.Mvvm.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
||||
<Private>False</Private>
|
||||
@@ -52,11 +60,20 @@
|
||||
<Reference Include="DevExpress.Xpf.Scheduler.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
<Reference Include="DevExpress.XtraScheduler.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
<Reference Include="DevExpress.XtraScheduler.v17.1.Core, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||
<Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\EntityFramework.6.4.0\lib\net45\EntityFramework.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\EntityFramework.6.4.0\lib\net45\EntityFramework.SqlServer.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\Lib\log4net.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="Microsoft.Web.Helpers, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.AspNet.WebHelpers.3.2.7\lib\net45\Microsoft.Web.Helpers.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MySql.Data, Version=6.6.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\Lib\MySql.Data.dll</HintPath>
|
||||
@@ -76,6 +93,17 @@
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="System.Data.Entity" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Net.Http.Extensions, Version=2.2.29.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Net.Http.2.2.29\lib\net45\System.Net.Http.Extensions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Net.Http.Formatting, Version=5.2.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.AspNet.WebApi.Client.5.2.7\lib\net45\System.Net.Http.Formatting.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Net.Http.Primitives, Version=4.2.29.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Net.Http.2.2.29\lib\net45\System.Net.Http.Primitives.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Net.Http.WebRequest" />
|
||||
<Reference Include="System.ServiceModel" />
|
||||
<Reference Include="System.Web.DynamicData" />
|
||||
<Reference Include="System.Web.Entity" />
|
||||
@@ -84,74 +112,52 @@
|
||||
<Reference Include="System.Web" />
|
||||
<Reference Include="System.Web.Abstractions" />
|
||||
<Reference Include="System.Web.Extensions" />
|
||||
<Reference Include="System.Web.Helpers, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.AspNet.WebPages.3.2.7\lib\net45\System.Web.Helpers.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.Http, Version=5.2.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.AspNet.WebApi.Core.5.2.7\lib\net45\System.Web.Http.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.Http.WebHost, Version=5.2.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.AspNet.WebApi.WebHost.5.2.7\lib\net45\System.Web.Http.WebHost.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.Mvc, Version=5.2.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.AspNet.Mvc.5.2.7\lib\net45\System.Web.Mvc.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.Optimization, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.AspNet.Web.Optimization.1.1.3\lib\net40\System.Web.Optimization.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.AspNet.Razor.3.2.7\lib\net45\System.Web.Razor.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.Routing" />
|
||||
<Reference Include="System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.AspNet.WebPages.3.2.7\lib\net45\System.Web.WebPages.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.WebPages.Deployment, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.AspNet.WebPages.3.2.7\lib\net45\System.Web.WebPages.Deployment.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.AspNet.WebPages.3.2.7\lib\net45\System.Web.WebPages.Razor.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Xaml" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="System.Configuration" />
|
||||
<Reference Include="System.Web.Services" />
|
||||
<Reference Include="System.EnterpriseServices" />
|
||||
<Reference Include="EntityFramework">
|
||||
<HintPath>..\packages\EntityFramework.5.0.0\lib\net40\EntityFramework.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Web.Mvc.FixedDisplayModes, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\Microsoft.AspNet.Mvc.FixedDisplayModes.1.0.0\lib\net40\Microsoft.Web.Mvc.FixedDisplayModes.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Net.Http">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\Microsoft.Net.Http.2.0.20710.0\lib\net40\System.Net.Http.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Net.Http.Formatting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.AspNet.WebApi.Client.4.0.20710.0\lib\net40\System.Net.Http.Formatting.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Net.Http.WebRequest">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\Microsoft.Net.Http.2.0.20710.0\lib\net40\System.Net.Http.WebRequest.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.AspNet.WebApi.Core.4.0.20710.0\lib\net40\System.Web.Http.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.Http.WebHost, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.AspNet.WebApi.WebHost.4.0.20710.0\lib\net40\System.Web.Http.WebHost.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\Microsoft.AspNet.Mvc.4.0.20710.0\lib\net40\System.Web.Mvc.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.Optimization">
|
||||
<HintPath>..\packages\Microsoft.AspNet.Web.Optimization.1.0.0\lib\net40\System.Web.Optimization.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.Providers">
|
||||
<HintPath>..\packages\Microsoft.AspNet.Providers.Core.1.2\lib\net40\System.Web.Providers.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\Microsoft.AspNet.Razor.2.0.20715.0\lib\net40\System.Web.Razor.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.WebPages, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.WebPages.Deployment, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.Deployment.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.Razor.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="WebGrease">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\WebGrease.1.3.0\lib\WebGrease.dll</HintPath>
|
||||
<Reference Include="WebGrease, Version=1.6.5135.21930, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\WebGrease.1.6.0\lib\WebGrease.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Antlr3.Runtime">
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\WebGrease.1.3.0\lib\Antlr3.Runtime.dll</HintPath>
|
||||
<Reference Include="WebMatrix.Data, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.AspNet.WebPages.Data.3.2.7\lib\net45\WebMatrix.Data.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="WebMatrix.WebData, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.AspNet.WebPages.WebData.3.2.7\lib\net45\WebMatrix.WebData.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="WindowsBase" />
|
||||
</ItemGroup>
|
||||
@@ -198,6 +204,8 @@
|
||||
<ItemGroup>
|
||||
<Content Include="Content\appointmentStyle.css" />
|
||||
<Content Include="Content\BeWoMobileStyle.css" />
|
||||
<Content Include="Content\bootstrap-customizations.css" />
|
||||
<Content Include="Content\bootstrap-treeview.css" />
|
||||
<Content Include="Content\customer.css" />
|
||||
<Content Include="Content\datepicker.css" />
|
||||
<Content Include="Content\datepicker_jQM.css" />
|
||||
@@ -224,24 +232,160 @@
|
||||
<Content Include="Content\main.css" />
|
||||
<Content Include="Content\popup.css" />
|
||||
<Content Include="Content\statisticsStyle.css" />
|
||||
<Content Include="Content\style.css" />
|
||||
<Content Include="Global.asax" />
|
||||
<Content Include="node_modules\bootstrap\dist\css\bootstrap-grid.css" />
|
||||
<Content Include="node_modules\bootstrap\dist\css\bootstrap-grid.min.css" />
|
||||
<Content Include="node_modules\bootstrap\dist\css\bootstrap-reboot.css" />
|
||||
<Content Include="node_modules\bootstrap\dist\css\bootstrap-reboot.min.css" />
|
||||
<Content Include="node_modules\bootstrap\dist\css\bootstrap.css" />
|
||||
<Content Include="node_modules\bootstrap\dist\css\bootstrap.min.css" />
|
||||
<Content Include="node_modules\bootstrap\dist\js\bootstrap.bundle.js" />
|
||||
<Content Include="node_modules\bootstrap\dist\js\bootstrap.bundle.min.js" />
|
||||
<Content Include="node_modules\bootstrap\dist\js\bootstrap.js" />
|
||||
<Content Include="node_modules\bootstrap\dist\js\bootstrap.min.js" />
|
||||
<Content Include="node_modules\bootstrap\js\dist\alert.js" />
|
||||
<Content Include="node_modules\bootstrap\js\dist\button.js" />
|
||||
<Content Include="node_modules\bootstrap\js\dist\carousel.js" />
|
||||
<Content Include="node_modules\bootstrap\js\dist\collapse.js" />
|
||||
<Content Include="node_modules\bootstrap\js\dist\dropdown.js" />
|
||||
<Content Include="node_modules\bootstrap\js\dist\index.js" />
|
||||
<Content Include="node_modules\bootstrap\js\dist\modal.js" />
|
||||
<Content Include="node_modules\bootstrap\js\dist\popover.js" />
|
||||
<Content Include="node_modules\bootstrap\js\dist\scrollspy.js" />
|
||||
<Content Include="node_modules\bootstrap\js\dist\tab.js" />
|
||||
<Content Include="node_modules\bootstrap\js\dist\toast.js" />
|
||||
<Content Include="node_modules\bootstrap\js\dist\tooltip.js" />
|
||||
<Content Include="node_modules\bootstrap\js\dist\util.js" />
|
||||
<Content Include="node_modules\bootstrap\js\src\alert.js" />
|
||||
<Content Include="node_modules\bootstrap\js\src\button.js" />
|
||||
<Content Include="node_modules\bootstrap\js\src\carousel.js" />
|
||||
<Content Include="node_modules\bootstrap\js\src\collapse.js" />
|
||||
<Content Include="node_modules\bootstrap\js\src\dropdown.js" />
|
||||
<Content Include="node_modules\bootstrap\js\src\index.js" />
|
||||
<Content Include="node_modules\bootstrap\js\src\modal.js" />
|
||||
<Content Include="node_modules\bootstrap\js\src\popover.js" />
|
||||
<Content Include="node_modules\bootstrap\js\src\scrollspy.js" />
|
||||
<Content Include="node_modules\bootstrap\js\src\tab.js" />
|
||||
<Content Include="node_modules\bootstrap\js\src\toast.js" />
|
||||
<Content Include="node_modules\bootstrap\js\src\tools\sanitizer.js" />
|
||||
<Content Include="node_modules\bootstrap\js\src\tooltip.js" />
|
||||
<Content Include="node_modules\bootstrap\js\src\util.js" />
|
||||
<Content Include="Scripts\appointment.js" />
|
||||
<Content Include="Scripts\BeWoDateObject.js" />
|
||||
<Content Include="Scripts\bootstrap-treeview.js" />
|
||||
<Content Include="Scripts\calendar.js" />
|
||||
<Content Include="Scripts\Chart.min.js" />
|
||||
<Content Include="Scripts\customer.js" />
|
||||
<Content Include="Scripts\dateHelper.js" />
|
||||
<Content Include="Scripts\datepicker.js" />
|
||||
<Content Include="Scripts\esm\popper-utils.js" />
|
||||
<Content Include="Scripts\esm\popper-utils.min.js" />
|
||||
<Content Include="Scripts\esm\popper.js" />
|
||||
<Content Include="Scripts\esm\popper.min.js" />
|
||||
<Content Include="Scripts\goals.js" />
|
||||
<Content Include="Scripts\gruppenbuchung.js" />
|
||||
<Content Include="Scripts\initialization.js" />
|
||||
<Content Include="Content\style.css.map" />
|
||||
<Content Include="Content\style.scss" />
|
||||
<None Include="Scripts\jquery-3.4.1.intellisense.js" />
|
||||
<Content Include="Scripts\jquery-3.4.1.js" />
|
||||
<Content Include="Scripts\jquery-3.4.1.min.js" />
|
||||
<Content Include="Scripts\jquery-3.4.1.slim.js" />
|
||||
<Content Include="Scripts\jquery-3.4.1.slim.min.js" />
|
||||
<Content Include="Scripts\jquery-ui-1.12.1.js" />
|
||||
<Content Include="Scripts\jquery-ui-1.12.1.min.js" />
|
||||
<Content Include="Scripts\jquery.unobtrusive-ajax.js" />
|
||||
<Content Include="Scripts\jquery.unobtrusive-ajax.min.js" />
|
||||
<None Include="Scripts\jquery.validate-vsdoc.js" />
|
||||
<Content Include="Scripts\jquery.validate.js" />
|
||||
<Content Include="Scripts\jquery.validate.min.js" />
|
||||
<Content Include="Scripts\jquery.validate.unobtrusive.js" />
|
||||
<Content Include="Scripts\jquery.validate.unobtrusive.min.js" />
|
||||
<Content Include="Scripts\localServiceRecord.js" />
|
||||
<Content Include="Scripts\mainView.js" />
|
||||
<Content Include="Scripts\mobileUtils.js" />
|
||||
<Content Include="Scripts\modernizr-2.8.3.js" />
|
||||
<Content Include="Scripts\moment-with-locales.js" />
|
||||
<Content Include="Scripts\moment-with-locales.min.js" />
|
||||
<Content Include="Scripts\moment.js" />
|
||||
<Content Include="Scripts\moment.min.js" />
|
||||
<Content Include="Scripts\popper-utils.js" />
|
||||
<Content Include="Scripts\popper-utils.min.js" />
|
||||
<Content Include="Scripts\popper.js" />
|
||||
<Content Include="Scripts\popper.min.js" />
|
||||
<Content Include="Scripts\popup.js" />
|
||||
<Content Include="Scripts\serviceRecordValidation.js" />
|
||||
<Content Include="Scripts\src\index.js" />
|
||||
<Content Include="Scripts\src\methods\defaults.js" />
|
||||
<Content Include="Scripts\src\methods\destroy.js" />
|
||||
<Content Include="Scripts\src\methods\disableEventListeners.js" />
|
||||
<Content Include="Scripts\src\methods\enableEventListeners.js" />
|
||||
<Content Include="Scripts\src\methods\placements.js" />
|
||||
<Content Include="Scripts\src\methods\update.js" />
|
||||
<Content Include="Scripts\src\modifiers\applyStyle.js" />
|
||||
<Content Include="Scripts\src\modifiers\arrow.js" />
|
||||
<Content Include="Scripts\src\modifiers\computeStyle.js" />
|
||||
<Content Include="Scripts\src\modifiers\flip.js" />
|
||||
<Content Include="Scripts\src\modifiers\hide.js" />
|
||||
<Content Include="Scripts\src\modifiers\index.js" />
|
||||
<Content Include="Scripts\src\modifiers\inner.js" />
|
||||
<Content Include="Scripts\src\modifiers\keepTogether.js" />
|
||||
<Content Include="Scripts\src\modifiers\offset.js" />
|
||||
<Content Include="Scripts\src\modifiers\preventOverflow.js" />
|
||||
<Content Include="Scripts\src\modifiers\shift.js" />
|
||||
<Content Include="Scripts\src\utils\clockwise.js" />
|
||||
<Content Include="Scripts\src\utils\computeAutoPlacement.js" />
|
||||
<Content Include="Scripts\src\utils\debounce.js" />
|
||||
<Content Include="Scripts\src\utils\find.js" />
|
||||
<Content Include="Scripts\src\utils\findCommonOffsetParent.js" />
|
||||
<Content Include="Scripts\src\utils\findIndex.js" />
|
||||
<Content Include="Scripts\src\utils\getBordersSize.js" />
|
||||
<Content Include="Scripts\src\utils\getBoundaries.js" />
|
||||
<Content Include="Scripts\src\utils\getBoundingClientRect.js" />
|
||||
<Content Include="Scripts\src\utils\getClientRect.js" />
|
||||
<Content Include="Scripts\src\utils\getFixedPositionOffsetParent.js" />
|
||||
<Content Include="Scripts\src\utils\getOffsetParent.js" />
|
||||
<Content Include="Scripts\src\utils\getOffsetRect.js" />
|
||||
<Content Include="Scripts\src\utils\getOffsetRectRelativeToArbitraryNode.js" />
|
||||
<Content Include="Scripts\src\utils\getOppositePlacement.js" />
|
||||
<Content Include="Scripts\src\utils\getOppositeVariation.js" />
|
||||
<Content Include="Scripts\src\utils\getOuterSizes.js" />
|
||||
<Content Include="Scripts\src\utils\getParentNode.js" />
|
||||
<Content Include="Scripts\src\utils\getPopperOffsets.js" />
|
||||
<Content Include="Scripts\src\utils\getReferenceNode.js" />
|
||||
<Content Include="Scripts\src\utils\getReferenceOffsets.js" />
|
||||
<Content Include="Scripts\src\utils\getRoot.js" />
|
||||
<Content Include="Scripts\src\utils\getRoundedOffsets.js" />
|
||||
<Content Include="Scripts\src\utils\getScroll.js" />
|
||||
<Content Include="Scripts\src\utils\getScrollParent.js" />
|
||||
<Content Include="Scripts\src\utils\getStyleComputedProperty.js" />
|
||||
<Content Include="Scripts\src\utils\getSupportedPropertyName.js" />
|
||||
<Content Include="Scripts\src\utils\getViewportOffsetRectRelativeToArtbitraryNode.js" />
|
||||
<Content Include="Scripts\src\utils\getWindow.js" />
|
||||
<Content Include="Scripts\src\utils\getWindowSizes.js" />
|
||||
<Content Include="Scripts\src\utils\includeScroll.js" />
|
||||
<Content Include="Scripts\src\utils\index.js" />
|
||||
<Content Include="Scripts\src\utils\isBrowser.js" />
|
||||
<Content Include="Scripts\src\utils\isFixed.js" />
|
||||
<Content Include="Scripts\src\utils\isFunction.js" />
|
||||
<Content Include="Scripts\src\utils\isIE.js" />
|
||||
<Content Include="Scripts\src\utils\isModifierEnabled.js" />
|
||||
<Content Include="Scripts\src\utils\isModifierRequired.js" />
|
||||
<Content Include="Scripts\src\utils\isNumeric.js" />
|
||||
<Content Include="Scripts\src\utils\isOffsetContainer.js" />
|
||||
<Content Include="Scripts\src\utils\removeEventListeners.js" />
|
||||
<Content Include="Scripts\src\utils\runModifiers.js" />
|
||||
<Content Include="Scripts\src\utils\setAttributes.js" />
|
||||
<Content Include="Scripts\src\utils\setStyles.js" />
|
||||
<Content Include="Scripts\src\utils\setupEventListeners.js" />
|
||||
<Content Include="Scripts\statistics.js" />
|
||||
<Content Include="Scripts\supportConceptDropDown.js" />
|
||||
<Content Include="Scripts\textbausteine.js" />
|
||||
<Content Include="Scripts\umd\popper-utils.js" />
|
||||
<Content Include="Scripts\umd\popper-utils.min.js" />
|
||||
<Content Include="Scripts\umd\popper.js" />
|
||||
<Content Include="Scripts\umd\popper.min.js" />
|
||||
<Content Include="Scripts\unterschrift.js" />
|
||||
<Content Include="Scripts\utils.js" />
|
||||
<Content Include="Scripts\validation.js" />
|
||||
@@ -263,6 +407,11 @@
|
||||
<Content Include="Views\Shared\_Layout.cshtml" />
|
||||
<Content Include="Views\Login\Index.cshtml" />
|
||||
<Content Include="Views\Main\Main.cshtml" />
|
||||
<Content Include="Scripts\popper-utils.js.map" />
|
||||
<Content Include="Scripts\popper-utils.min.js.map" />
|
||||
<Content Include="Scripts\popper.js.map" />
|
||||
<Content Include="Scripts\popper.min.js.map" />
|
||||
<Content Include="Scripts\README.md" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="App_Data\" />
|
||||
@@ -290,11 +439,156 @@
|
||||
<ItemGroup>
|
||||
<Content Include="Views\Customer\Customer.cshtml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="node_modules\bootstrap\dist\css\bootstrap-grid.css.map" />
|
||||
<Content Include="node_modules\bootstrap\dist\css\bootstrap-grid.min.css.map" />
|
||||
<Content Include="node_modules\bootstrap\dist\css\bootstrap-reboot.css.map" />
|
||||
<Content Include="node_modules\bootstrap\dist\css\bootstrap-reboot.min.css.map" />
|
||||
<Content Include="node_modules\bootstrap\dist\css\bootstrap.css.map" />
|
||||
<Content Include="node_modules\bootstrap\dist\css\bootstrap.min.css.map" />
|
||||
<Content Include="node_modules\bootstrap\dist\js\bootstrap.bundle.js.map" />
|
||||
<Content Include="node_modules\bootstrap\dist\js\bootstrap.bundle.min.js.map" />
|
||||
<Content Include="node_modules\bootstrap\dist\js\bootstrap.js.map" />
|
||||
<Content Include="node_modules\bootstrap\dist\js\bootstrap.min.js.map" />
|
||||
<Content Include="node_modules\bootstrap\js\dist\alert.js.map" />
|
||||
<Content Include="node_modules\bootstrap\js\dist\button.js.map" />
|
||||
<Content Include="node_modules\bootstrap\js\dist\carousel.js.map" />
|
||||
<Content Include="node_modules\bootstrap\js\dist\collapse.js.map" />
|
||||
<Content Include="node_modules\bootstrap\js\dist\dropdown.js.map" />
|
||||
<Content Include="node_modules\bootstrap\js\dist\index.js.map" />
|
||||
<Content Include="node_modules\bootstrap\js\dist\modal.js.map" />
|
||||
<Content Include="node_modules\bootstrap\js\dist\popover.js.map" />
|
||||
<Content Include="node_modules\bootstrap\js\dist\scrollspy.js.map" />
|
||||
<Content Include="node_modules\bootstrap\js\dist\tab.js.map" />
|
||||
<Content Include="node_modules\bootstrap\js\dist\toast.js.map" />
|
||||
<Content Include="node_modules\bootstrap\js\dist\tooltip.js.map" />
|
||||
<Content Include="node_modules\bootstrap\js\dist\util.js.map" />
|
||||
<Content Include="node_modules\bootstrap\LICENSE" />
|
||||
<Content Include="node_modules\bootstrap\package.json" />
|
||||
<Content Include="node_modules\bootstrap\README.md" />
|
||||
<Content Include="node_modules\bootstrap\scss\bootstrap-grid.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\bootstrap-reboot.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\bootstrap.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\mixins\_alert.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\mixins\_background-variant.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\mixins\_badge.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\mixins\_border-radius.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\mixins\_box-shadow.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\mixins\_breakpoints.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\mixins\_buttons.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\mixins\_caret.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\mixins\_clearfix.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\mixins\_deprecate.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\mixins\_float.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\mixins\_forms.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\mixins\_gradients.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\mixins\_grid-framework.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\mixins\_grid.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\mixins\_hover.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\mixins\_image.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\mixins\_list-group.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\mixins\_lists.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\mixins\_nav-divider.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\mixins\_pagination.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\mixins\_reset-text.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\mixins\_resize.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\mixins\_screen-reader.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\mixins\_size.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\mixins\_table-row.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\mixins\_text-emphasis.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\mixins\_text-hide.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\mixins\_text-truncate.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\mixins\_transition.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\mixins\_visibility.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\utilities\_align.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\utilities\_background.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\utilities\_borders.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\utilities\_clearfix.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\utilities\_display.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\utilities\_embed.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\utilities\_flex.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\utilities\_float.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\utilities\_overflow.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\utilities\_position.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\utilities\_screenreaders.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\utilities\_shadows.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\utilities\_sizing.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\utilities\_spacing.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\utilities\_stretched-link.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\utilities\_text.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\utilities\_visibility.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\vendor\_rfs.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\_alert.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\_badge.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\_breadcrumb.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\_button-group.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\_buttons.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\_card.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\_carousel.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\_close.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\_code.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\_custom-forms.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\_dropdown.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\_forms.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\_functions.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\_grid.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\_images.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\_input-group.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\_jumbotron.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\_list-group.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\_media.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\_mixins.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\_modal.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\_nav.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\_navbar.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\_pagination.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\_popover.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\_print.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\_progress.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\_reboot.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\_root.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\_spinners.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\_tables.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\_toasts.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\_tooltip.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\_transitions.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\_type.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\_utilities.scss" />
|
||||
<Content Include="node_modules\bootstrap\scss\_variables.scss" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="LICENSE" />
|
||||
<Content Include="package-lock.json" />
|
||||
<Content Include="package.json" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="Scripts\esm\popper-utils.js.map" />
|
||||
<Content Include="Scripts\esm\popper-utils.min.js.map" />
|
||||
<Content Include="Scripts\esm\popper.js.map" />
|
||||
<Content Include="Scripts\esm\popper.min.js.map" />
|
||||
<Content Include="Scripts\index.js.flow" />
|
||||
<Content Include="Scripts\umd\popper-utils.js.map" />
|
||||
<Content Include="Scripts\umd\popper-utils.min.js.map" />
|
||||
<Content Include="Scripts\umd\popper.js.flow" />
|
||||
<Content Include="Scripts\umd\popper.js.map" />
|
||||
<Content Include="Scripts\umd\popper.min.js.map" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<TypeScriptCompile Include="Scripts\index.d.ts" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Service Include="{4A0DDDB5-7A95-4FBF-97CC-616D07737A77}" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="Scripts\jquery-3.4.1.min.map" />
|
||||
<Content Include="Scripts\jquery-3.4.1.slim.min.map" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup>
|
||||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
|
||||
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.targets" Condition="Exists('$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.targets')" />
|
||||
<Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
|
||||
<Target Name="MvcBuildViews" AfterTargets="AfterBuild" Condition="'$(MvcBuildViews)'=='true'">
|
||||
@@ -318,6 +612,16 @@
|
||||
</FlavorProperties>
|
||||
</VisualStudio>
|
||||
</ProjectExtensions>
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\EntityFramework.6.4.0\build\EntityFramework.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\EntityFramework.6.4.0\build\EntityFramework.props'))" />
|
||||
<Error Condition="!Exists('..\packages\EntityFramework.6.4.0\build\EntityFramework.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\EntityFramework.6.4.0\build\EntityFramework.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets'))" />
|
||||
</Target>
|
||||
<Import Project="..\packages\EntityFramework.6.4.0\build\EntityFramework.targets" Condition="Exists('..\packages\EntityFramework.6.4.0\build\EntityFramework.targets')" />
|
||||
<Import Project="..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets" Condition="Exists('..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
<IISExpressUseClassicPipelineMode />
|
||||
<UseGlobalApplicationHostFile />
|
||||
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
|
||||
<ProjectView>ShowAllFiles</ProjectView>
|
||||
</PropertyGroup>
|
||||
<ProjectExtensions>
|
||||
<VisualStudio>
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
table, tr, td {
|
||||
/*table, tr, td {
|
||||
padding: .11em 0 .11em 0;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
}
|
||||
}*/
|
||||
|
||||
.centerImg {
|
||||
display: block;
|
||||
margin: 1em auto;
|
||||
}
|
||||
|
||||
button {
|
||||
/*button {
|
||||
-webkit-border-radius: 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
@@ -24,7 +24,7 @@ hr {
|
||||
border-top: 1px solid rgba(0, 0, 0, 0.1);
|
||||
border-bottom: 1px solid #ffffff;
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.3);
|
||||
}
|
||||
}*/
|
||||
|
||||
.testklasse td:first-child {
|
||||
width: 1%;
|
||||
@@ -37,7 +37,7 @@ hr {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
body {
|
||||
/*body {
|
||||
font-family: "Microsoft Sans Serif", Arial, sans-serif;
|
||||
margin: 0;
|
||||
height: 100%;
|
||||
@@ -51,7 +51,7 @@ pre {
|
||||
|
||||
a, a:active, a:visited, a:hover {
|
||||
color: #555;
|
||||
}
|
||||
}*/
|
||||
|
||||
.input-wrapper {
|
||||
position: relative;
|
||||
@@ -65,7 +65,7 @@ a, a:active, a:visited, a:hover {
|
||||
margin: .2em 0;
|
||||
}
|
||||
|
||||
label {
|
||||
/*label {
|
||||
color: #bbb;
|
||||
font-size: 11px;
|
||||
text-transform: uppercase;
|
||||
@@ -76,7 +76,7 @@ label {
|
||||
padding: 0 2px;
|
||||
pointer-events: none;
|
||||
background: #fff;
|
||||
}
|
||||
}*/
|
||||
|
||||
.combobox-label-parent {
|
||||
display: block;
|
||||
@@ -97,7 +97,7 @@ label {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
input, textarea {
|
||||
/*input, textarea {
|
||||
box-shadow: none;
|
||||
background: #fff;
|
||||
font-size: 13px;
|
||||
@@ -128,10 +128,10 @@ input[type=text], input[type=number], input[type=button], input[type=password],
|
||||
}
|
||||
|
||||
input:focus, textarea:focus {
|
||||
border-color: #FF5A00; /*beyondSoft Orange*/
|
||||
}
|
||||
border-color: #FF5A00; beyondSoft Orange
|
||||
}*/
|
||||
|
||||
input:focus + label, textarea:focus + label {
|
||||
/*input:focus + label, textarea:focus + label {
|
||||
color: #FF5A00 !important;
|
||||
}
|
||||
|
||||
@@ -149,7 +149,7 @@ span {
|
||||
white-space: normal !important;
|
||||
overflow: hidden !important;
|
||||
text-overflow: ellipsis !important;
|
||||
}
|
||||
}*/
|
||||
|
||||
.toggle-btn, .toggle-btn2 {
|
||||
margin-top: .2em;
|
||||
@@ -336,10 +336,10 @@ input[disabled], button[disabled]:active, input[type=submit][disabled]:active, t
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
ul {
|
||||
/*ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
}*/
|
||||
|
||||
.menu-item {
|
||||
padding: 1em 1em 1em 1em;
|
||||
|
||||
@@ -30,7 +30,7 @@ namespace BeWoPlanerMobil.Controllers
|
||||
|
||||
if (((CustomerModel) Session[CustomerModelModelSessionKey])?.Employee == null)
|
||||
{
|
||||
_Model = new CustomerModel {Employee = MobileSessionFacade.LoggedInEmployee};
|
||||
_Model = new CustomerModel{Employee = MobileSessionFacade.LoggedInEmployee};
|
||||
Session[CustomerModelModelSessionKey] = _Model;
|
||||
}
|
||||
else
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace BeWoPlanerMobil.Controllers
|
||||
{
|
||||
public class LoginController : AbstractBaseController
|
||||
{
|
||||
private const string LoginErrorIndex = "LoginErrorIndex";
|
||||
public static string LoginErrorIndex => "LoginErrorIndex";
|
||||
|
||||
[HttpPost]
|
||||
public ActionResult Index()
|
||||
@@ -59,6 +59,8 @@ namespace BeWoPlanerMobil.Controllers
|
||||
Tenant = MobileSessionFacade.Tenant
|
||||
};
|
||||
|
||||
BS.Shared.Core.Utils.WriteToLogFile("Browser_Info.txt", $"{brauser.Browser} {brauser.Version}");
|
||||
|
||||
OperationsService.InsertBeWoMobilBrowserInfo(brauserInfoDC);
|
||||
|
||||
return RedirectToActionPermanent("Main", "Main");
|
||||
|
||||
@@ -21,8 +21,7 @@ using BS.Shared.DataContracts;
|
||||
using BS.Shared.DataContracts.Compact;
|
||||
using BS.Shared.Extensions;
|
||||
using BS.Shared.Services;
|
||||
|
||||
|
||||
using Newtonsoft.Json;
|
||||
using static BS.Shared.ServiceRecordValidationResult;
|
||||
using ServiceRecordDC = BS.Shared.DataContracts.ServiceRecordDC;
|
||||
|
||||
@@ -606,6 +605,11 @@ namespace BeWoPlanerMobil.Controllers
|
||||
{
|
||||
var scm = Model?.ServiceCategories.FirstOrDefault(s => s.ServiceCategoryOid.Value == pServiceCategoryOid);
|
||||
|
||||
if (scm != null)
|
||||
{
|
||||
Model.SelectedServiceCategoryOid = scm.ServiceCategoryOid;
|
||||
}
|
||||
|
||||
return SerializeObject(scm != null ? scm.ServiceDescriptions : new List<ServiceDescriptionDC>());
|
||||
}
|
||||
catch(Exception exception)
|
||||
@@ -648,14 +652,14 @@ namespace BeWoPlanerMobil.Controllers
|
||||
|
||||
Model.Textbausteine.AddRangeIfElementsNotIn(Utils.GetParentTextModules(Model.Textbausteine));
|
||||
|
||||
var displayItems = Model.Textbausteine.Select(s => new TextbausteinDisplayItem(s.TextModuleOid.Value, s.Name, s.Parent?.TextModuleOid, s.IsParent, s.Text)).ToList();
|
||||
var displayItems = Model.Textbausteine.Select(s => new TextbausteinDisplayItem(s.Name, new List<string> {s.TextModuleOid.Value.ToString()}, s.Parent?.TextModuleOid, s.TextModuleOid.Value)).ToList();
|
||||
|
||||
foreach(var item in displayItems)
|
||||
{
|
||||
if(item.ParentOid != null)
|
||||
{
|
||||
var parent = displayItems.FirstOrDefault(f => f.Oid == item.ParentOid);
|
||||
parent?.Children.AddIfNotIn(item);
|
||||
parent?.nodes.AddIfNotIn(item);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -718,7 +722,7 @@ namespace BeWoPlanerMobil.Controllers
|
||||
|
||||
string doku1;
|
||||
|
||||
if(Model.Dokutypes != null && Model.Dokutypes.Length > 1)
|
||||
if(Model.Dokutypes != null && Model.Dokutypes.Length > 0)
|
||||
{
|
||||
doku1 = collection["Dokumentation"];
|
||||
}
|
||||
|
||||
@@ -18,6 +18,7 @@ namespace BeWoPlanerMobil
|
||||
AreaRegistration.RegisterAllAreas();
|
||||
|
||||
WebApiConfig.Register(GlobalConfiguration.Configuration);
|
||||
//GlobalConfiguration.Configure(WebApiConfig.Register);
|
||||
FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
|
||||
RouteConfig.RegisterRoutes(RouteTable.Routes);
|
||||
BundleConfig.RegisterBundles(BundleTable.Bundles);
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
using BeWoPlanerMobil.Service;
|
||||
|
||||
using BS.Shared;
|
||||
using BS.Shared.DataContracts;
|
||||
|
||||
namespace BeWoPlanerMobil.Models
|
||||
{
|
||||
@@ -55,5 +56,12 @@ namespace BeWoPlanerMobil.Models
|
||||
public static bool HasRightToSeeAllCustomerAppointments => MobileSessionFacade.CheckForUserRight(UserRightType.KalenderKliententermineAlleAnsehen) && MobileSessionFacade.CheckForUserRight(UserRightType.CustomerView_View) || MobileSessionFacade.CheckForUserRight(UserRightType.ViewAll);
|
||||
public static bool HasRightToSeeAllEmployeeAppointments => MobileSessionFacade.CheckForUserRight(UserRightType.KalenderMitarbeitertermineAnsehen) || MobileSessionFacade.CheckForUserRight(UserRightType.ViewAll);
|
||||
public static bool HasRightToSeeAllResourceAppointments => MobileSessionFacade.CheckForUserRight(UserRightType.KalenderRessourcentermineAnsehen) || MobileSessionFacade.CheckForUserRight(UserRightType.ViewAll);
|
||||
|
||||
public EmployeeDC Employee { get; set; }
|
||||
|
||||
public string LoggedInEmplyeeFirstNameLastName => Employee != null ? $"{Employee.FirstName} {Employee.LastName}" : "BeWoPlaner";
|
||||
|
||||
public static bool HasRightToSeeAllSupportConcepts => MobileSessionFacade.CheckForUserRight(UserRightType.SupportConcept_ViewAllSupportConcepts);
|
||||
|
||||
}
|
||||
}
|
||||
@@ -41,8 +41,6 @@ namespace BeWoPlanerMobil.Models
|
||||
}
|
||||
}
|
||||
|
||||
public EmployeeDC Employee { get; set; }
|
||||
|
||||
public JSONCustomer SelectedJsonCustomer => SelectedCustomer != null ? new JSONCustomer(SelectedCustomer) : null;
|
||||
|
||||
public string NoticeDisplayValue => SelectedJsonCustomer != null && !string.IsNullOrWhiteSpace(SelectedJsonCustomer.Kommentar) ? "block" : "none";
|
||||
@@ -54,8 +52,5 @@ namespace BeWoPlanerMobil.Models
|
||||
public string TabControlDisplayValue => SelectedJsonCustomer != null ? "block" : "none";
|
||||
|
||||
public int SelectedCustomerTab { get; set; }
|
||||
|
||||
|
||||
// NewVM ähnlich wie im
|
||||
}
|
||||
}
|
||||
@@ -347,8 +347,6 @@ namespace BeWoPlanerMobil.Models
|
||||
|
||||
public List<CompactEmployeeDC> Employees { get; set; }
|
||||
|
||||
public EmployeeDC Employee { get; set; }
|
||||
|
||||
public static List<CompactEmployeeDC> AllEmployees { get; set; }
|
||||
|
||||
[Display(Name = "Mitarbeiter")]
|
||||
@@ -373,7 +371,9 @@ namespace BeWoPlanerMobil.Models
|
||||
|
||||
public ValueListEntryDC[] Dokutypes { get; set; }
|
||||
|
||||
public static DateTime? GetEndDateOfSupportConcept(SupportConceptDC pSupportConcept)
|
||||
public int NumberOfDokuTypes => Dokutypes?.Length ?? 0;
|
||||
|
||||
public static DateTime? GetEndDateOfSupportConcept(SupportConceptDC pSupportConcept)
|
||||
{
|
||||
DateTime? maxDate = null;
|
||||
|
||||
@@ -481,20 +481,10 @@ namespace BeWoPlanerMobil.Models
|
||||
|
||||
public string CostBearer2SupportConceptOidName { get; set; }
|
||||
|
||||
public string SpanColor { get; set; } = string.Empty;
|
||||
public bool IsAboutToExpire { get; set; }
|
||||
public bool ExpiresInThreeMonthsOrLess { get; set; }
|
||||
|
||||
public string DisplayString
|
||||
{
|
||||
get
|
||||
{
|
||||
if(string.IsNullOrEmpty(SupportConceptTimeSpan))
|
||||
{
|
||||
return NameAndDateOfBirth;
|
||||
}
|
||||
|
||||
return $"{NameAndDateOfBirth ?? string.Empty} | {SupportConceptTimeSpan}";
|
||||
}
|
||||
}
|
||||
public string DisplayString => string.IsNullOrEmpty(SupportConceptTimeSpan) ? NameAndDateOfBirth : $"{NameAndDateOfBirth ?? string.Empty} | {SupportConceptTimeSpan}";
|
||||
|
||||
public SupportConceptListObject(string pNameAndDateOfBirth, string pSupportConceptTimeSpan, string pCostBearer2SupportConceptOid, bool isAboutToExpire, bool expiresIn3MonthOrLess)
|
||||
{
|
||||
@@ -504,14 +494,8 @@ namespace BeWoPlanerMobil.Models
|
||||
|
||||
CostBearer2SupportConceptOidName = "OidHolder_" + CostBearer2SupportConceptOid;
|
||||
|
||||
if(isAboutToExpire)
|
||||
{
|
||||
SpanColor = "style=\"color: red;\"";
|
||||
}
|
||||
else if(expiresIn3MonthOrLess)
|
||||
{
|
||||
SpanColor = "style=\"color: #FF9400;\"";
|
||||
}
|
||||
IsAboutToExpire = isAboutToExpire;
|
||||
ExpiresInThreeMonthsOrLess = expiresIn3MonthOrLess;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,13 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using BS.Shared.DataContracts;
|
||||
|
||||
namespace BeWoPlanerMobil.Models
|
||||
namespace BeWoPlanerMobil.Models
|
||||
{
|
||||
public class SchedulerModel
|
||||
public class SchedulerModel : AbstractModel
|
||||
{
|
||||
public EmployeeDC Employee { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -17,7 +17,7 @@ function startBeWoMobile() {
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
$("#colorRibbon").css("background-color", "#c80000");
|
||||
|
||||
$("#nav-bar-container").show();
|
||||
|
||||
@@ -46,7 +46,7 @@ function showAjaxError(jqXHR, textStatus, errorThrown) {
|
||||
|
||||
function showErrorMsg(message) {
|
||||
toggleErrorPopup(message);
|
||||
}
|
||||
}
|
||||
|
||||
function resizeLabelColumns() {
|
||||
$("#tabLbl").css("width", $("#zieleLbl").css("width"));
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.IO;
|
||||
using System.Web.Services;
|
||||
@@ -81,20 +82,36 @@ namespace BeWoPlanerMobil
|
||||
return JsonConvert.SerializeObject(obj, Formatting.Indented, new JsonSerializerSettings { ContractResolver = new ShouldSerializeContractResolver(), ReferenceLoopHandling = ReferenceLoopHandling.Ignore });
|
||||
}
|
||||
|
||||
private static string SerializeObjectToXml<T>(object obj)
|
||||
[WebMethod]
|
||||
public string JsonTest()
|
||||
{
|
||||
var result = string.Empty;
|
||||
var result = new List<ListObject>();
|
||||
|
||||
var xmlSerializer = new XmlSerializer(typeof(T));
|
||||
var stringWriter = new StringWriter();
|
||||
var obj1 = new ListObject("Child 1", 0, true, new List<ListObject>());
|
||||
var obj2 = new ListObject("Child 2", 6, true, new List<ListObject>());
|
||||
var obj3 = new ListObject("Child 3", 33, true, new List<ListObject>());
|
||||
var obj4 = new ListObject("Parent", 37, true, new List<ListObject>{obj1, obj2, obj3});
|
||||
|
||||
using (var xmlWriter = XmlWriter.Create(stringWriter))
|
||||
{
|
||||
xmlSerializer.Serialize(xmlWriter, obj);
|
||||
result = stringWriter.ToString();
|
||||
}
|
||||
result.Add(obj4);
|
||||
|
||||
return result;
|
||||
return JsonConvert.SerializeObject(result);
|
||||
}
|
||||
}
|
||||
|
||||
public class ListObject
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public int Count { get; set; }
|
||||
public bool IsEnabled { get; set; }
|
||||
|
||||
public List<ListObject> Children { get; set; }
|
||||
|
||||
public ListObject(string name, int count, bool isEnabled, List<ListObject> children)
|
||||
{
|
||||
Name = name;
|
||||
Count = count;
|
||||
IsEnabled = isEnabled;
|
||||
Children = children;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,31 @@
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace BeWoPlanerMobil.Util
|
||||
{
|
||||
public class TextbausteinDisplayItem
|
||||
{
|
||||
// selectable, text (name), nodes (child elements)
|
||||
public bool selectable => false;
|
||||
|
||||
public string text { get; set; }
|
||||
|
||||
public List<TextbausteinDisplayItem> nodes { get; set; } = new List<TextbausteinDisplayItem>();
|
||||
|
||||
public List<string> tags { get; set; } = new List<string>();
|
||||
|
||||
[JsonIgnore]
|
||||
public string Name { get; set; }
|
||||
[JsonIgnore]
|
||||
public long Oid { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public long? ParentOid { get; set; }
|
||||
[JsonIgnore]
|
||||
public bool IsParent { get; set; }
|
||||
[JsonIgnore]
|
||||
public string Text { get; set; }
|
||||
[JsonIgnore]
|
||||
public List<TextbausteinDisplayItem> Children { get; set; }
|
||||
|
||||
public TextbausteinDisplayItem(long pOid, string pName, long? pParentOid, bool pIsParent, string pText)
|
||||
@@ -21,5 +38,13 @@ namespace BeWoPlanerMobil.Util
|
||||
|
||||
Children = new List<TextbausteinDisplayItem>();
|
||||
}
|
||||
|
||||
public TextbausteinDisplayItem(string pText, List<string> pTags, long? pParentOid, long pOid)
|
||||
{
|
||||
text = pText;
|
||||
tags = pTags;
|
||||
ParentOid = pParentOid;
|
||||
Oid = pOid;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,45 +1,50 @@
|
||||
@using BeWoPlanerMobil.Models;
|
||||
@using BeWoPlanerMobil.Controllers
|
||||
@using BeWoPlanerMobil.Models;
|
||||
|
||||
@model LoginModel
|
||||
@{
|
||||
ViewBag.Title = "Login";
|
||||
|
||||
var usernameDef = string.Empty;
|
||||
var pwDef = string.Empty;
|
||||
var userName = string.Empty;
|
||||
var password = string.Empty;
|
||||
|
||||
#if DEBUG
|
||||
userName = "demo";
|
||||
password = "demo";
|
||||
#endif
|
||||
}
|
||||
|
||||
<img src="~/Content/images/bewoplaner_logo_big.png" alt="BeWoPlanerMobil" class="centerImg"/>
|
||||
<nav class="navbar navbar-expand-md navbar-light py-4">
|
||||
<div class="container-fluid justify-content-center align-items-center">
|
||||
<img src="@Url.Content("~/Content/images/bewoplaner_logo_big.png")" alt="BeWoPlaner">
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<div class="margin-div">
|
||||
<h4 id="errorMessageHeading" class="error-text">@ViewData["LoginErrorIndex"]</h4>
|
||||
<div class="modal-dialog col-sm-8">
|
||||
<div class="modal-content border-0">
|
||||
@if(ViewData[LoginController.LoginErrorIndex] != null)
|
||||
{
|
||||
<div class="alert alert-danger mx-3" role="alert">
|
||||
@ViewData[LoginController.LoginErrorIndex]
|
||||
</div>
|
||||
}
|
||||
|
||||
@using (Html.BeginForm("Index", "Login", FormMethod.Post, new { onsubmit = "showSanduhr(); return true;" }))
|
||||
{
|
||||
<div class="input-wrapper input-wrapper-w-margin">
|
||||
<input class="floating-label-input" type="text" id="tb_tenant" name="tb_tenant" value="@LoginModel.Tenant" required/>
|
||||
<label class="floating-label" for="tb_tenant">Kundennummer</label>
|
||||
</div>
|
||||
@using(Html.BeginForm("Index", "Login", FormMethod.Post, new { @class = "px-3 col-12", id = "loginForm" }))
|
||||
{
|
||||
<div class="form-group">
|
||||
<label for="tenantFormControl">Kundennummer</label>
|
||||
<input id="tenantFormControl" name="tb_tenant" type="text" class="form-control" placeholder="Kundennummer" value="@userName" required>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="userNameFormControl">Benutzername</label>
|
||||
<input id="userNameFormControl" name="tb_login" type="text" class="form-control" placeholder="Benutzername" value="@userName" required>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="passwordFormControl">Passwort</label>
|
||||
<input id="passwordFormControl" name="tb_password" type="password" class="form-control" placeholder="Passwort" value="@password" required>
|
||||
</div>
|
||||
|
||||
<div class="input-wrapper input-wrapper-w-margin">
|
||||
<input class="floating-label-input" type="text" id="tb_login" name="tb_login" value="@usernameDef" required/>
|
||||
<label class="floating-label" for="tb_login">Benutzername</label>
|
||||
</div>
|
||||
|
||||
<div class="input-wrapper input-wrapper-w-margin">
|
||||
<input class="floating-label-input" type="password" id="tb_password" name="tb_password" value="@pwDef" required/>
|
||||
<label class="floating-label" for="tb_password">Passwort</label>
|
||||
</div>
|
||||
|
||||
<input type="submit" value="Login" />
|
||||
}
|
||||
<button class="btn btn-primary btn-block" type="submit" onclick="submitForm(this)">Login</button>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<img class="warte-animation" alt="Lade..." src="@Url.Content("~/Content/images/spinner.png")" >
|
||||
|
||||
<div class="modalWrapper">
|
||||
</div>
|
||||
|
||||
<script>
|
||||
loadGoalsUrl = '';
|
||||
</script>
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -6,16 +6,15 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" id="viewport" />
|
||||
<title>@ViewBag.Title</title>
|
||||
|
||||
<script src="https://code.jquery.com/jquery-1.11.2.min.js"></script>
|
||||
|
||||
@*<script src="https://code.jquery.com/jquery-1.11.2.min.js"></script>
|
||||
<link rel="stylesheet" href="~/Content/datepicker_jQM.css?v=1.7" />
|
||||
<link rel="stylesheet" href="~/Content/datepicker.css?v=1.7" />
|
||||
<link rel="stylesheet" href="~/Content/BeWoMobileStyle.css?v=1.7" />
|
||||
<link rel="stylesheet" href="~/Content/statisticsStyle.css?v=1.7" />
|
||||
<link rel="stylesheet" href="~/Content/appointmentStyle.css?v=1.7"/>
|
||||
<link rel="stylesheet" href="~/Content/customer.css?v=1.7"/>
|
||||
<link rel="stylesheet" href="~/Content/main.css?v=1.7"/>
|
||||
<link rel="stylesheet" href="~/Content/popup.css?v=1.7"/>
|
||||
<link rel="stylesheet" href="~/Content/appointmentStyle.css?v=1.7" />
|
||||
<link rel="stylesheet" href="~/Content/customer.css?v=1.7" />
|
||||
<link rel="stylesheet" href="~/Content/main.css?v=1.7" />
|
||||
<link rel="stylesheet" href="~/Content/popup.css?v=1.7" />
|
||||
|
||||
<script src="~/Scripts/appointment.js?v=1.7"></script>
|
||||
<script src="~/Scripts/utils.js?v=1.7"></script>
|
||||
@@ -27,7 +26,6 @@
|
||||
<script src="~/Scripts/gruppenbuchung.js?v=1.7"></script>
|
||||
<script src="~/Scripts/dateHelper.js?v=1.7"></script>
|
||||
<script src="~/Scripts/Chart.min.js?v=1.7"></script>
|
||||
<script src="https://ajax.aspnetcdn.com/ajax/knockout/knockout-3.0.0.js"></script>
|
||||
<script>$(function () { $(".date-input-css").datepicker(); })</script>
|
||||
<script src="~/Scripts/textbausteine.js?v=1.7"></script>
|
||||
<script src="~/Scripts/serviceRecordValidation.js?v=1.7"></script>
|
||||
@@ -37,80 +35,120 @@
|
||||
<script src="~/Scripts/goals.js?v=1.7"></script>
|
||||
<script src="~/Scripts/customer.js?v=1.7"></script>
|
||||
<script src="~/Scripts/beWoDateObject.js?v=1.7"></script>
|
||||
<script src="~/Scripts/popup.js?v=1.7"></script>
|
||||
<script src="~/Scripts/popup.js?v=1.7"></script>*@
|
||||
|
||||
|
||||
<link rel="stylesheet" href="~/Content/bootstrap-treeview.css">
|
||||
|
||||
<script src="https://use.fontawesome.com/releases/v5.12.0/js/all.js"></script>
|
||||
|
||||
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
|
||||
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"></script>
|
||||
<script src="~/node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
|
||||
<script src="~/Scripts/bootstrap-treeview.js?v=1.1"></script>
|
||||
<link rel="stylesheet" href="~/Content/style.css">
|
||||
|
||||
<script src="~/Scripts/modernizr-2.8.3.js"></script>
|
||||
|
||||
<script src="~/Scripts/mobileUtils.js"></script>
|
||||
|
||||
<script src="~/Scripts/moment.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<img id="sanduhr" class="warte-animation" alt="Lade..." src="@Url.Content("~/Content/images/spinner.png")">
|
||||
@if (Model != null)
|
||||
{
|
||||
<nav class="navbar navbar-expand-md navbar-dark bg-dark sticky-top justify-content-end">
|
||||
<div class="container-fluid">
|
||||
<a href="#" class="navbar-brand">
|
||||
@Model.LoggedInEmplyeeFirstNameLastName
|
||||
</a>
|
||||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navbarResponsive">
|
||||
<ul class="navbar-nav ml-auto">
|
||||
@if (AbstractModel.IsAllowedToSeeCustomers)
|
||||
{
|
||||
<li class="nav-item">
|
||||
<button class="btn btn-link text-light no-underline">
|
||||
<i class="fas fa-user text-bewo-customers"></i>
|
||||
Klienten
|
||||
</button>
|
||||
</li>
|
||||
}
|
||||
|
||||
<div id="nav-bar-container">
|
||||
<div class="header-div">
|
||||
<span class="header-span">Willkommen, @string.Format("{0} {1}", Model == null ? string.Empty : Model.Employee.FirstName, Model == null ? string.Empty : Model.Employee.LastName)</span>
|
||||
<input type="button" id="menu-btn" onclick="toggleMenu()" />
|
||||
</div>
|
||||
<div id="colorRibbon"></div>
|
||||
<div id="menu-div" style="display: none; position: absolute; right: 0; z-index: 10;">
|
||||
<ul class="dark-bg">
|
||||
<li class="menu-item menu-link" @{if (!AbstractModel.IsAllowedToSeeCustomers) { @Html.Raw("style='display: none;'") }}>
|
||||
<img src="@Url.Content("~/Content/images/klientenicon.svg")" alt="K" class="abmelden-img" />
|
||||
@using (Html.BeginForm("RedirectToCustomer", "Main", FormMethod.Post, new { id = "customer-form" }))
|
||||
{
|
||||
<input type="submit" value="Klienten" class="logout-btn" onclick="showSanduhr();" />
|
||||
}
|
||||
</li>
|
||||
@using (Html.BeginForm("RedirectToMain", "Main", FormMethod.Post))
|
||||
{
|
||||
<li class="nav-item">
|
||||
<button class="btn btn-link text-light no-underline">
|
||||
<i class="fas fa-clock text-bewo-service-records"></i>
|
||||
Zeiterfassung
|
||||
</button>
|
||||
</li>
|
||||
}
|
||||
|
||||
<li class="menu-item menu-link">
|
||||
<img src="@Url.Content("~/Content/images/zeiterfassungsicon.svg")" alt="Z" class="abmelden-img" />
|
||||
@using (Html.BeginForm("RedirectToMain", "Main", FormMethod.Post, new { id = "zeiterfassungsform" }))
|
||||
{
|
||||
<input type="submit" value="Zeiterfassung" class="logout-btn" onclick="showSanduhr();" />
|
||||
}
|
||||
</li>
|
||||
@if (AbstractModel.IsAllowedToSeeScheduler)
|
||||
{
|
||||
using (Html.BeginForm("RedirectToScheduler", "Main", FormMethod.Post))
|
||||
{
|
||||
<li class="nav-item">
|
||||
<button class="btn btn-link text-light no-underline">
|
||||
<i class="fas fa-calendar-alt text-bewo-calendar"></i>
|
||||
Kalender
|
||||
</button>
|
||||
</li>
|
||||
|
||||
<li class="menu-item" @{if (!AbstractModel.IsAllowedToSeeScheduler) { @Html.Raw("style='display: none;'") }}>
|
||||
<img src="@Url.Content("~/Content/images/calendar-bs-orange.svg")" alt="K" class="abmelden-img" />
|
||||
@using (Html.BeginForm("RedirectToScheduler", "Main", FormMethod.Post, new { id = "scheduler-form" }))
|
||||
{
|
||||
<input type="submit" value="Kalender" class="logout-btn" onclick="showSanduhr();" />
|
||||
}
|
||||
</li>
|
||||
}
|
||||
}
|
||||
|
||||
<li class="menu-item">
|
||||
<img src="@Url.Content("~/Content/images/abmeldeicon.svg")" alt="A" class="abmelden-img" />
|
||||
@using (Html.BeginForm("Logout", "Main", FormMethod.Post, new { id = "logout-form" }))
|
||||
{
|
||||
<input type="submit" value="Abmelden" class="logout-btn" onclick="clearRecords();showSanduhr();" />
|
||||
}
|
||||
</li>
|
||||
</ul>
|
||||
<li class="nav-item">
|
||||
@using (Html.BeginForm("Logout", "Main", FormMethod.Post))
|
||||
{
|
||||
<button class="btn btn-link text-light no-underline">
|
||||
<i class="fas fa-sign-out-alt text-primary"></i>
|
||||
Abmelden
|
||||
</button>
|
||||
}
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
}
|
||||
|
||||
<div class="modal" role="dialog" tabindex="-1" id="mySpinner">
|
||||
<div class="modal-dialog modal-dialog-centered text-center" role="document">
|
||||
<div class="modal-content bg-transparent border-0">
|
||||
<div class="d-flex justify-content-center">
|
||||
<div class="spinner-border text-primary" role="status" style="width: 5rem; height: 5rem;">
|
||||
<span class="sr-only"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modalWrapper"></div>
|
||||
<div id="hidingModalWrapper" onclick="hideModalWrapper()"></div>
|
||||
|
||||
<div id="errorPopupDiv">
|
||||
<h4 id="errorPopupTitle" class="error-text">Fehler</h4>
|
||||
<p id="errorPopupText" class="center-aligned-text-element">Ein Fehler ist aufgetreten</p>
|
||||
<div id="errorPopupContentDiv" class="center-aligned-text-element"></div>
|
||||
<div id="errorPopupBtnDiv" class="center-aligned-text-element" style="margin-top: 1em;">
|
||||
<input id="errorPopupOkBtn" type="button" class="popupBtn" value="OK" onclick="toggleErrorPopup('')" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="popup-container">
|
||||
<h4 id="popup-title" class="center-aligned-text-element">Titel</h4>
|
||||
<p id="popup-text" class="center-aligned-text-element">Der Popup-Text</p>
|
||||
<div id="button-container">
|
||||
<input type="button" id="popup-button-1" value="Button 1" class="popup-button" />
|
||||
<input type="button" id="popup-button-2" value="Button 2" class="popup-button" />
|
||||
<div class="modal" tabindex="-1" role="dialog" id="messagePopup">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="popupTitle"></h5>
|
||||
<button class="close" type="button" data-dismiss="modal" aria-label="close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p id="popupMessage"></p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn btn-primary" type="button" data-dismiss="modal">OK</button>
|
||||
<button class="btn btn-secondary" type="button" data-dismiss="modal">Schließen</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@RenderBody()
|
||||
|
||||
<script>
|
||||
toggleIconUContentUrl = '@Url.Content("~/Content/images/toggle-icon-u.svg")';
|
||||
toggleIconDContentUrl = '@Url.Content("~/Content/images/toggle-icon-d.svg")';
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -2,14 +2,14 @@
|
||||
|
||||
<configuration>
|
||||
<configSections>
|
||||
<sectionGroup name="system.web.webPages.razor" type="System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
|
||||
<section name="host" type="System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
|
||||
<section name="pages" type="System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
|
||||
<sectionGroup name="system.web.webPages.razor" type="System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
|
||||
<section name="host" type="System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
|
||||
<section name="pages" type="System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
|
||||
</sectionGroup>
|
||||
</configSections>
|
||||
|
||||
<system.web.webPages.razor>
|
||||
<host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
||||
<host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
||||
<pages pageBaseType="System.Web.Mvc.WebViewPage">
|
||||
<namespaces>
|
||||
<add namespace="System.Web.Mvc" />
|
||||
@@ -39,11 +39,11 @@
|
||||
-->
|
||||
<pages
|
||||
validateRequest="false"
|
||||
pageParserFilterType="System.Web.Mvc.ViewTypeParserFilter, System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
|
||||
pageBaseType="System.Web.Mvc.ViewPage, System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
|
||||
userControlBaseType="System.Web.Mvc.ViewUserControl, System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
|
||||
pageParserFilterType="System.Web.Mvc.ViewTypeParserFilter, System.Web.Mvc, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
|
||||
pageBaseType="System.Web.Mvc.ViewPage, System.Web.Mvc, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
|
||||
userControlBaseType="System.Web.Mvc.ViewUserControl, System.Web.Mvc, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
|
||||
<controls>
|
||||
<add assembly="System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" namespace="System.Web.Mvc" tagPrefix="mvc" />
|
||||
<add assembly="System.Web.Mvc, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" namespace="System.Web.Mvc" tagPrefix="mvc" />
|
||||
</controls>
|
||||
</pages>
|
||||
</system.web>
|
||||
|
||||
@@ -38,16 +38,13 @@
|
||||
<modules>
|
||||
<add name="ASPHibernateSession" type="BeWoPlanerMobil.Service.ASPHibernateSessionManager, BeWoPlanerMobil, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" />
|
||||
</modules>
|
||||
<handlers>
|
||||
<remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" />
|
||||
<remove name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" />
|
||||
<remove name="ExtensionlessUrlHandler-Integrated-4.0" />
|
||||
<add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
|
||||
<add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
|
||||
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
|
||||
</handlers>
|
||||
<directoryBrowse enabled="true" />
|
||||
</system.webServer>
|
||||
<handlers>
|
||||
<remove name="ExtensionlessUrlHandler-Integrated-4.0" />
|
||||
<remove name="OPTIONSVerbHandler" />
|
||||
<remove name="TRACEVerbHandler" />
|
||||
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
|
||||
</handlers></system.webServer>
|
||||
<system.serviceModel>
|
||||
<behaviors>
|
||||
<endpointBehaviors>
|
||||
@@ -113,7 +110,7 @@
|
||||
</client>
|
||||
</system.serviceModel>
|
||||
<appSettings>
|
||||
<add key="webpages:Version" value="2.0.0.0" />
|
||||
<add key="webpages:Version" value="3.0.0.0" />
|
||||
<add key="webpages:Enabled" value="false" />
|
||||
<add key="PreserveLoginUrl" value="true" />
|
||||
<add key="ClientValidationEnabled" value="true" />
|
||||
@@ -160,21 +157,9 @@
|
||||
</system.web>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
|
||||
<bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
|
||||
<bindingRedirect oldVersion="1.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
|
||||
<bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-1.3.0.0" newVersion="1.3.0.0" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
|
||||
@@ -188,6 +173,22 @@
|
||||
<assemblyIdentity name="EntityFramework" publicKeyToken="b77a5c561934e089" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.4.0.0" newVersion="4.4.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
|
||||
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
|
||||
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
|
||||
<bindingRedirect oldVersion="1.0.0.0-5.2.7.0" newVersion="5.2.7.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
</configuration>
|
||||
@@ -1,27 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="EntityFramework" version="5.0.0" targetFramework="net40" requireReinstallation="true" />
|
||||
<package id="jQuery" version="1.8.2" targetFramework="net40" />
|
||||
<package id="jQuery.UI.Combined" version="1.8.24" targetFramework="net40" />
|
||||
<package id="jQuery.Validation" version="1.10.0" targetFramework="net40" />
|
||||
<package id="knockoutjs" version="2.2.0" targetFramework="net40" />
|
||||
<package id="Microsoft.AspNet.Mvc" version="4.0.20710.0" targetFramework="net40" />
|
||||
<package id="Microsoft.AspNet.Mvc.FixedDisplayModes" version="1.0.0" targetFramework="net40" />
|
||||
<package id="Microsoft.AspNet.Providers.Core" version="1.2" targetFramework="net40" />
|
||||
<package id="Microsoft.AspNet.Providers.LocalDB" version="1.1" targetFramework="net40" />
|
||||
<package id="Microsoft.AspNet.Razor" version="2.0.20715.0" targetFramework="net40" />
|
||||
<package id="Microsoft.AspNet.Web.Optimization" version="1.0.0" targetFramework="net40" />
|
||||
<package id="Microsoft.AspNet.WebApi" version="4.0.20710.0" targetFramework="net40" />
|
||||
<package id="Microsoft.AspNet.WebApi.Client" version="4.0.20710.0" targetFramework="net40" />
|
||||
<package id="Microsoft.AspNet.WebApi.Core" version="4.0.20710.0" targetFramework="net40" />
|
||||
<package id="Microsoft.AspNet.WebApi.WebHost" version="4.0.20710.0" targetFramework="net40" />
|
||||
<package id="Microsoft.AspNet.WebPages" version="2.0.20710.0" targetFramework="net40" />
|
||||
<package id="Microsoft.jQuery.Unobtrusive.Ajax" version="2.0.30116.0" targetFramework="net40" />
|
||||
<package id="Microsoft.jQuery.Unobtrusive.Validation" version="2.0.30116.0" targetFramework="net40" />
|
||||
<package id="Microsoft.Net.Http" version="2.0.20710.0" targetFramework="net40" requireReinstallation="true" />
|
||||
<package id="Antlr" version="3.5.0.2" targetFramework="net472" />
|
||||
<package id="EntityFramework" version="6.4.0" targetFramework="net472" />
|
||||
<package id="jQuery" version="3.4.1" targetFramework="net472" />
|
||||
<package id="jQuery.UI.Combined" version="1.12.1" targetFramework="net472" />
|
||||
<package id="jQuery.Validation" version="1.19.1" targetFramework="net472" />
|
||||
<package id="Microsoft.AspNet.Mvc" version="5.2.7" targetFramework="net472" />
|
||||
<package id="Microsoft.AspNet.Providers.Core" version="2.0.0" targetFramework="net472" />
|
||||
<package id="Microsoft.AspNet.Providers.LocalDB" version="2.0.1" targetFramework="net472" />
|
||||
<package id="Microsoft.AspNet.Razor" version="3.2.7" targetFramework="net472" />
|
||||
<package id="Microsoft.AspNet.Web.Optimization" version="1.1.3" targetFramework="net472" />
|
||||
<package id="Microsoft.AspNet.WebApi" version="5.2.7" targetFramework="net472" />
|
||||
<package id="Microsoft.AspNet.WebApi.Client" version="5.2.7" targetFramework="net472" />
|
||||
<package id="Microsoft.AspNet.WebApi.Core" version="5.2.7" targetFramework="net472" />
|
||||
<package id="Microsoft.AspNet.WebApi.WebHost" version="5.2.7" targetFramework="net472" />
|
||||
<package id="Microsoft.AspNet.WebHelpers" version="3.2.7" targetFramework="net472" />
|
||||
<package id="Microsoft.AspNet.WebPages" version="3.2.7" targetFramework="net472" />
|
||||
<package id="Microsoft.AspNet.WebPages.Data" version="3.2.7" targetFramework="net472" />
|
||||
<package id="Microsoft.AspNet.WebPages.WebData" version="3.2.7" targetFramework="net472" />
|
||||
<package id="Microsoft.Bcl" version="1.1.10" targetFramework="net472" />
|
||||
<package id="Microsoft.Bcl.Build" version="1.0.21" targetFramework="net472" />
|
||||
<package id="Microsoft.jQuery.Unobtrusive.Ajax" version="3.2.6" targetFramework="net472" />
|
||||
<package id="Microsoft.jQuery.Unobtrusive.Validation" version="3.2.11" targetFramework="net472" />
|
||||
<package id="Microsoft.Net.Http" version="2.2.29" targetFramework="net472" />
|
||||
<package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net40" />
|
||||
<package id="Modernizr" version="2.6.2" targetFramework="net40" />
|
||||
<package id="Modernizr" version="2.8.3" targetFramework="net472" />
|
||||
<package id="Moment.js" version="2.24.0" targetFramework="net472" />
|
||||
<package id="Newtonsoft.Json" version="12.0.3" targetFramework="net472" />
|
||||
<package id="RestSharp" version="106.10.1" targetFramework="net472" />
|
||||
<package id="WebGrease" version="1.3.0" targetFramework="net40" />
|
||||
<package id="WebGrease" version="1.6.0" targetFramework="net472" />
|
||||
</packages>
|
||||
@@ -1,5 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="..\packages\EntityFramework.6.4.0\build\EntityFramework.props" Condition="Exists('..\packages\EntityFramework.6.4.0\build\EntityFramework.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
@@ -32,6 +33,8 @@
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
<TargetFrameworkProfile />
|
||||
<NuGetPackageImportStamp>
|
||||
</NuGetPackageImportStamp>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
@@ -74,10 +77,10 @@
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath>
|
||||
<HintPath>..\packages\EntityFramework.6.4.0\lib\net45\EntityFramework.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath>
|
||||
<HintPath>..\packages\EntityFramework.6.4.0\lib\net45\EntityFramework.SqlServer.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
@@ -768,6 +771,14 @@
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\EntityFramework.6.4.0\build\EntityFramework.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\EntityFramework.6.4.0\build\EntityFramework.props'))" />
|
||||
<Error Condition="!Exists('..\packages\EntityFramework.6.4.0\build\EntityFramework.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\EntityFramework.6.4.0\build\EntityFramework.targets'))" />
|
||||
</Target>
|
||||
<Import Project="..\packages\EntityFramework.6.4.0\build\EntityFramework.targets" Condition="Exists('..\packages\EntityFramework.6.4.0\build\EntityFramework.targets')" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
|
||||
@@ -650,9 +650,16 @@ namespace BS.Shared.Core
|
||||
{
|
||||
#if DEBUG
|
||||
|
||||
using(var file = new StreamWriter(Environment.GetFolderPath(Environment.SpecialFolder.Desktop) + @"\" + pFilename, true))
|
||||
const string path = @"C:\Users\lyndo\Desktop\";
|
||||
|
||||
var exists = Directory.Exists(path);
|
||||
|
||||
if (exists)
|
||||
{
|
||||
file.WriteLine($"{pMessage}");
|
||||
using (var file = new StreamWriter(path + pFilename, true))
|
||||
{
|
||||
file.WriteLine($"{pMessage}");
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
<configuration>
|
||||
<configSections>
|
||||
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
|
||||
</configSections>
|
||||
</configuration>
|
||||
@@ -1,5 +0,0 @@
|
||||
<configuration>
|
||||
<configSections>
|
||||
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
|
||||
</configSections>
|
||||
</configuration>
|
||||
Binary file not shown.
Binary file not shown.
18061
packages/EntityFramework.5.0.0/lib/net40/EntityFramework.xml
vendored
18061
packages/EntityFramework.5.0.0/lib/net40/EntityFramework.xml
vendored
File diff suppressed because it is too large
Load Diff
Binary file not shown.
17968
packages/EntityFramework.5.0.0/lib/net45/EntityFramework.xml
vendored
17968
packages/EntityFramework.5.0.0/lib/net45/EntityFramework.xml
vendored
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,777 +0,0 @@
|
||||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
|
||||
$InitialDatabase = '0'
|
||||
|
||||
$knownExceptions = @(
|
||||
'System.Data.Entity.Migrations.Infrastructure.MigrationsException',
|
||||
'System.Data.Entity.Migrations.Infrastructure.AutomaticMigrationsDisabledException',
|
||||
'System.Data.Entity.Migrations.Infrastructure.AutomaticDataLossException',
|
||||
'System.Data.Entity.Migrations.MigrationsPendingException',
|
||||
'System.Data.Entity.Migrations.ProjectTypeNotSupportedException'
|
||||
)
|
||||
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Enables Code First Migrations in a project.
|
||||
|
||||
.DESCRIPTION
|
||||
Enables Migrations by scaffolding a migrations configuration class in the project. If the
|
||||
target database was created by an initializer, an initial migration will be created (unless
|
||||
automatic migrations are enabled via the EnableAutomaticMigrations parameter).
|
||||
|
||||
.PARAMETER ContextTypeName
|
||||
Specifies the context to use. If omitted, migrations will attempt to locate a
|
||||
single context type in the target project.
|
||||
|
||||
.PARAMETER EnableAutomaticMigrations
|
||||
Specifies whether automatic migrations will be enabled in the scaffolded migrations configuration.
|
||||
If ommitted, automatic migrations will be disabled.
|
||||
|
||||
.PARAMETER ProjectName
|
||||
Specifies the project that the scaffolded migrations configuration class will
|
||||
be added to. If omitted, the default project selected in package manager
|
||||
console is used.
|
||||
|
||||
.PARAMETER StartUpProjectName
|
||||
Specifies the configuration file to use for named connection strings. If
|
||||
omitted, the specified project's configuration file is used.
|
||||
|
||||
.PARAMETER ConnectionStringName
|
||||
Specifies the name of a connection string to use from the application's
|
||||
configuration file.
|
||||
|
||||
.PARAMETER ConnectionString
|
||||
Specifies the the connection string to use. If omitted, the context's
|
||||
default connection will be used.
|
||||
|
||||
.PARAMETER ConnectionProviderName
|
||||
Specifies the provider invariant name of the connection string.
|
||||
|
||||
.PARAMETER Force
|
||||
Specifies that the migrations configuration be overwritten when running more
|
||||
than once for a given project.
|
||||
#>
|
||||
function Enable-Migrations
|
||||
{
|
||||
[CmdletBinding(DefaultParameterSetName = 'ConnectionStringName')]
|
||||
param (
|
||||
[string] $ContextTypeName,
|
||||
[alias('Auto')]
|
||||
[switch] $EnableAutomaticMigrations,
|
||||
[string] $ProjectName,
|
||||
[string] $StartUpProjectName,
|
||||
[parameter(ParameterSetName = 'ConnectionStringName')]
|
||||
[string] $ConnectionStringName,
|
||||
[parameter(ParameterSetName = 'ConnectionStringAndProviderName',
|
||||
Mandatory = $true)]
|
||||
[string] $ConnectionString,
|
||||
[parameter(ParameterSetName = 'ConnectionStringAndProviderName',
|
||||
Mandatory = $true)]
|
||||
[string] $ConnectionProviderName,
|
||||
[switch] $Force
|
||||
)
|
||||
|
||||
$runner = New-MigrationsRunner $ProjectName $StartUpProjectName $null $ConnectionStringName $ConnectionString $ConnectionProviderName
|
||||
|
||||
try
|
||||
{
|
||||
Invoke-RunnerCommand $runner System.Data.Entity.Migrations.EnableMigrationsCommand @( $EnableAutomaticMigrations.IsPresent, $Force.IsPresent ) @{ 'ContextTypeName' = $ContextTypeName }
|
||||
$error = Get-RunnerError $runner
|
||||
|
||||
if ($error)
|
||||
{
|
||||
if ($knownExceptions -notcontains $error.TypeName)
|
||||
{
|
||||
Write-Host $error.StackTrace
|
||||
}
|
||||
|
||||
throw $error.Message
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
Remove-Runner $runner
|
||||
}
|
||||
}
|
||||
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Scaffolds a migration script for any pending model changes.
|
||||
|
||||
.DESCRIPTION
|
||||
Scaffolds a new migration script and adds it to the project.
|
||||
|
||||
.PARAMETER Name
|
||||
Specifies the name of the custom script.
|
||||
|
||||
.PARAMETER Force
|
||||
Specifies that the migration user code be overwritten when re-scaffolding an
|
||||
existing migration.
|
||||
|
||||
.PARAMETER ProjectName
|
||||
Specifies the project that contains the migration configuration type to be
|
||||
used. If ommitted, the default project selected in package manager console
|
||||
is used.
|
||||
|
||||
.PARAMETER StartUpProjectName
|
||||
Specifies the configuration file to use for named connection strings. If
|
||||
omitted, the specified project's configuration file is used.
|
||||
|
||||
.PARAMETER ConfigurationTypeName
|
||||
Specifies the migrations configuration to use. If omitted, migrations will
|
||||
attempt to locate a single migrations configuration type in the target
|
||||
project.
|
||||
|
||||
.PARAMETER ConnectionStringName
|
||||
Specifies the name of a connection string to use from the application's
|
||||
configuration file.
|
||||
|
||||
.PARAMETER ConnectionString
|
||||
Specifies the the connection string to use. If omitted, the context's
|
||||
default connection will be used.
|
||||
|
||||
.PARAMETER ConnectionProviderName
|
||||
Specifies the provider invariant name of the connection string.
|
||||
|
||||
.PARAMETER IgnoreChanges
|
||||
Scaffolds an empty migration ignoring any pending changes detected in the current model.
|
||||
This can be used to create an initial, empty migration to enable Migrations for an existing
|
||||
database. N.B. Doing this assumes that the target database schema is compatible with the
|
||||
current model.
|
||||
|
||||
#>
|
||||
function Add-Migration
|
||||
{
|
||||
[CmdletBinding(DefaultParameterSetName = 'ConnectionStringName')]
|
||||
param (
|
||||
[parameter(Position = 0,
|
||||
Mandatory = $true)]
|
||||
[string] $Name,
|
||||
[switch] $Force,
|
||||
[string] $ProjectName,
|
||||
[string] $StartUpProjectName,
|
||||
[string] $ConfigurationTypeName,
|
||||
[parameter(ParameterSetName = 'ConnectionStringName')]
|
||||
[string] $ConnectionStringName,
|
||||
[parameter(ParameterSetName = 'ConnectionStringAndProviderName',
|
||||
Mandatory = $true)]
|
||||
[string] $ConnectionString,
|
||||
[parameter(ParameterSetName = 'ConnectionStringAndProviderName',
|
||||
Mandatory = $true)]
|
||||
[string] $ConnectionProviderName,
|
||||
[switch] $IgnoreChanges)
|
||||
|
||||
$runner = New-MigrationsRunner $ProjectName $StartUpProjectName $ConfigurationTypeName $ConnectionStringName $ConnectionString $ConnectionProviderName
|
||||
|
||||
try
|
||||
{
|
||||
Invoke-RunnerCommand $runner System.Data.Entity.Migrations.AddMigrationCommand @( $Name, $Force.IsPresent, $IgnoreChanges.IsPresent )
|
||||
$error = Get-RunnerError $runner
|
||||
|
||||
if ($error)
|
||||
{
|
||||
if ($knownExceptions -notcontains $error.TypeName)
|
||||
{
|
||||
Write-Host $error.StackTrace
|
||||
}
|
||||
|
||||
throw $error.Message
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
Remove-Runner $runner
|
||||
}
|
||||
}
|
||||
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Applies any pending migrations to the database.
|
||||
|
||||
.DESCRIPTION
|
||||
Updates the database to the current model by applying pending migrations.
|
||||
|
||||
.PARAMETER SourceMigration
|
||||
Only valid with -Script. Specifies the name of a particular migration to use
|
||||
as the update's starting point. If ommitted, the last applied migration in
|
||||
the database will be used.
|
||||
|
||||
.PARAMETER TargetMigration
|
||||
Specifies the name of a particular migration to update the database to. If
|
||||
ommitted, the current model will be used.
|
||||
|
||||
.PARAMETER Script
|
||||
Generate a SQL script rather than executing the pending changes directly.
|
||||
|
||||
.PARAMETER Force
|
||||
Specifies that data loss is acceptable during automatic migration of the
|
||||
database.
|
||||
|
||||
.PARAMETER ProjectName
|
||||
Specifies the project that contains the migration configuration type to be
|
||||
used. If ommitted, the default project selected in package manager console
|
||||
is used.
|
||||
|
||||
.PARAMETER StartUpProjectName
|
||||
Specifies the configuration file to use for named connection strings. If
|
||||
omitted, the specified project's configuration file is used.
|
||||
|
||||
.PARAMETER ConfigurationTypeName
|
||||
Specifies the migrations configuration to use. If omitted, migrations will
|
||||
attempt to locate a single migrations configuration type in the target
|
||||
project.
|
||||
|
||||
.PARAMETER ConnectionStringName
|
||||
Specifies the name of a connection string to use from the application's
|
||||
configuration file.
|
||||
|
||||
.PARAMETER ConnectionString
|
||||
Specifies the the connection string to use. If omitted, the context's
|
||||
default connection will be used.
|
||||
|
||||
.PARAMETER ConnectionProviderName
|
||||
Specifies the provider invariant name of the connection string.
|
||||
#>
|
||||
function Update-Database
|
||||
{
|
||||
[CmdletBinding(DefaultParameterSetName = 'ConnectionStringName')]
|
||||
param (
|
||||
[string] $SourceMigration,
|
||||
[string] $TargetMigration,
|
||||
[switch] $Script,
|
||||
[switch] $Force,
|
||||
[string] $ProjectName,
|
||||
[string] $StartUpProjectName,
|
||||
[string] $ConfigurationTypeName,
|
||||
[parameter(ParameterSetName = 'ConnectionStringName')]
|
||||
[string] $ConnectionStringName,
|
||||
[parameter(ParameterSetName = 'ConnectionStringAndProviderName',
|
||||
Mandatory = $true)]
|
||||
[string] $ConnectionString,
|
||||
[parameter(ParameterSetName = 'ConnectionStringAndProviderName',
|
||||
Mandatory = $true)]
|
||||
[string] $ConnectionProviderName)
|
||||
|
||||
$runner = New-MigrationsRunner $ProjectName $StartUpProjectName $ConfigurationTypeName $ConnectionStringName $ConnectionString $ConnectionProviderName
|
||||
|
||||
try
|
||||
{
|
||||
Invoke-RunnerCommand $runner System.Data.Entity.Migrations.UpdateDatabaseCommand @( $SourceMigration, $TargetMigration, $Script.IsPresent, $Force.IsPresent, $Verbose.IsPresent )
|
||||
$error = Get-RunnerError $runner
|
||||
|
||||
if ($error)
|
||||
{
|
||||
if ($knownExceptions -notcontains $error.TypeName)
|
||||
{
|
||||
Write-Host $error.StackTrace
|
||||
}
|
||||
|
||||
throw $error.Message
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
Remove-Runner $runner
|
||||
}
|
||||
}
|
||||
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Displays the migrations that have been applied to the target database.
|
||||
|
||||
.DESCRIPTION
|
||||
Displays the migrations that have been applied to the target database.
|
||||
|
||||
.PARAMETER ProjectName
|
||||
Specifies the project that contains the migration configuration type to be
|
||||
used. If ommitted, the default project selected in package manager console
|
||||
is used.
|
||||
|
||||
.PARAMETER StartUpProjectName
|
||||
Specifies the configuration file to use for named connection strings. If
|
||||
omitted, the specified project's configuration file is used.
|
||||
|
||||
.PARAMETER ConfigurationTypeName
|
||||
Specifies the migrations configuration to use. If omitted, migrations will
|
||||
attempt to locate a single migrations configuration type in the target
|
||||
project.
|
||||
|
||||
.PARAMETER ConnectionStringName
|
||||
Specifies the name of a connection string to use from the application's
|
||||
configuration file.
|
||||
|
||||
.PARAMETER ConnectionString
|
||||
Specifies the the connection string to use. If omitted, the context's
|
||||
default connection will be used.
|
||||
|
||||
.PARAMETER ConnectionProviderName
|
||||
Specifies the provider invariant name of the connection string.
|
||||
#>
|
||||
function Get-Migrations
|
||||
{
|
||||
[CmdletBinding(DefaultParameterSetName = 'ConnectionStringName')]
|
||||
param (
|
||||
[string] $ProjectName,
|
||||
[string] $StartUpProjectName,
|
||||
[string] $ConfigurationTypeName,
|
||||
[parameter(ParameterSetName = 'ConnectionStringName')]
|
||||
[string] $ConnectionStringName,
|
||||
[parameter(ParameterSetName = 'ConnectionStringAndProviderName',
|
||||
Mandatory = $true)]
|
||||
[string] $ConnectionString,
|
||||
[parameter(ParameterSetName = 'ConnectionStringAndProviderName',
|
||||
Mandatory = $true)]
|
||||
[string] $ConnectionProviderName)
|
||||
|
||||
$runner = New-MigrationsRunner $ProjectName $StartUpProjectName $ConfigurationTypeName $ConnectionStringName $ConnectionString $ConnectionProviderName
|
||||
|
||||
try
|
||||
{
|
||||
Invoke-RunnerCommand $runner System.Data.Entity.Migrations.GetMigrationsCommand
|
||||
$error = Get-RunnerError $runner
|
||||
|
||||
if ($error)
|
||||
{
|
||||
if ($knownExceptions -notcontains $error.TypeName)
|
||||
{
|
||||
Write-Host $error.StackTrace
|
||||
}
|
||||
|
||||
throw $error.Message
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
Remove-Runner $runner
|
||||
}
|
||||
}
|
||||
|
||||
function New-MigrationsRunner($ProjectName, $StartUpProjectName, $ConfigurationTypeName, $ConnectionStringName, $ConnectionString, $ConnectionProviderName)
|
||||
{
|
||||
$startUpProject = Get-MigrationsStartUpProject $StartUpProjectName $ProjectName
|
||||
Build-Project $startUpProject
|
||||
|
||||
$project = Get-MigrationsProject $ProjectName
|
||||
Build-Project $project
|
||||
|
||||
$installPath = Get-EntityFrameworkInstallPath $project
|
||||
$toolsPath = Join-Path $installPath tools
|
||||
|
||||
$info = New-Object System.AppDomainSetup -Property @{
|
||||
ShadowCopyFiles = 'true';
|
||||
ApplicationBase = $installPath;
|
||||
PrivateBinPath = 'tools'
|
||||
}
|
||||
|
||||
$targetFrameworkVersion = (New-Object System.Runtime.Versioning.FrameworkName ($project.Properties.Item('TargetFrameworkMoniker').Value)).Version
|
||||
|
||||
if ($targetFrameworkVersion -lt (New-Object Version @( 4, 5 )))
|
||||
{
|
||||
$info.PrivateBinPath += ';lib\net40'
|
||||
|
||||
$dteVersion = [System.Text.RegularExpressions.Regex]::Match($DTE.Version, '^(?<version>\d{1,2}(\.\d{1,2})?)( \(.+\))?$').Groups['version'].Value
|
||||
|
||||
if ((New-Object Version $dteVersion) -lt (New-Object Version @( 11, 0 )))
|
||||
{
|
||||
$info.ConfigurationFile = Join-Path $toolsPath 'Redirect.config'
|
||||
}
|
||||
else
|
||||
{
|
||||
$info.ConfigurationFile = Join-Path $toolsPath 'Redirect.VS11.config'
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$info.PrivateBinPath += ';lib\net45'
|
||||
$info.ConfigurationFile = [AppDomain]::CurrentDomain.SetupInformation.ConfigurationFile
|
||||
}
|
||||
|
||||
$domain = [AppDomain]::CreateDomain('Migrations', $null, $info)
|
||||
$domain.SetData('project', $project)
|
||||
$domain.SetData('startUpProject', $startUpProject)
|
||||
$domain.SetData('configurationTypeName', $ConfigurationTypeName)
|
||||
$domain.SetData('connectionStringName', $ConnectionStringName)
|
||||
$domain.SetData('connectionString', $ConnectionString)
|
||||
$domain.SetData('connectionProviderName', $ConnectionProviderName)
|
||||
|
||||
[AppDomain]::CurrentDomain.SetShadowCopyFiles()
|
||||
$utilityAssembly = [System.Reflection.Assembly]::LoadFrom((Join-Path $toolsPath EntityFramework.PowerShell.Utility.dll))
|
||||
$dispatcher = $utilityAssembly.CreateInstance(
|
||||
'System.Data.Entity.Migrations.Utilities.DomainDispatcher',
|
||||
$false,
|
||||
[System.Reflection.BindingFlags]::Instance -bor [System.Reflection.BindingFlags]::Public,
|
||||
$null,
|
||||
$PSCmdlet,
|
||||
$null,
|
||||
$null)
|
||||
$domain.SetData('efDispatcher', $dispatcher)
|
||||
|
||||
return @{
|
||||
Domain = $domain;
|
||||
ToolsPath = $toolsPath
|
||||
}
|
||||
}
|
||||
|
||||
function Remove-Runner($runner)
|
||||
{
|
||||
[AppDomain]::Unload($runner.Domain)
|
||||
}
|
||||
|
||||
function Invoke-RunnerCommand($runner, $command, $parameters, $anonymousArguments)
|
||||
{
|
||||
$domain = $runner.Domain
|
||||
|
||||
if ($anonymousArguments)
|
||||
{
|
||||
$anonymousArguments.GetEnumerator() | %{
|
||||
$domain.SetData($_.Name, $_.Value)
|
||||
}
|
||||
}
|
||||
|
||||
$domain.CreateInstanceFrom(
|
||||
(Join-Path $runner.ToolsPath EntityFramework.PowerShell.dll),
|
||||
$command,
|
||||
$false,
|
||||
0,
|
||||
$null,
|
||||
$parameters,
|
||||
$null,
|
||||
$null) | Out-Null
|
||||
}
|
||||
|
||||
function Get-RunnerError($runner)
|
||||
{
|
||||
$domain = $runner.Domain
|
||||
|
||||
if (!$domain.GetData('wasError'))
|
||||
{
|
||||
return $null
|
||||
}
|
||||
|
||||
return @{
|
||||
Message = $domain.GetData('error.Message');
|
||||
TypeName = $domain.GetData('error.TypeName');
|
||||
StackTrace = $domain.GetData('error.StackTrace')
|
||||
}
|
||||
}
|
||||
|
||||
function Get-MigrationsProject($name, $hideMessage)
|
||||
{
|
||||
if ($name)
|
||||
{
|
||||
return Get-SingleProject $name
|
||||
}
|
||||
|
||||
$project = Get-Project
|
||||
$projectName = $project.Name
|
||||
|
||||
if (!$hideMessage)
|
||||
{
|
||||
Write-Verbose "Using NuGet project '$projectName'."
|
||||
}
|
||||
|
||||
return $project
|
||||
}
|
||||
|
||||
function Get-MigrationsStartUpProject($name, $fallbackName)
|
||||
{
|
||||
$startUpProject = $null
|
||||
|
||||
if ($name)
|
||||
{
|
||||
$startUpProject = Get-SingleProject $name
|
||||
}
|
||||
else
|
||||
{
|
||||
$startupProjectPaths = $DTE.Solution.SolutionBuild.StartupProjects
|
||||
|
||||
if ($startupProjectPaths)
|
||||
{
|
||||
if ($startupProjectPaths.Length -eq 1)
|
||||
{
|
||||
$startupProjectPath = $startupProjectPaths[0]
|
||||
|
||||
if (!(Split-Path -IsAbsolute $startupProjectPath))
|
||||
{
|
||||
$solutionPath = Split-Path $DTE.Solution.Properties.Item('Path').Value
|
||||
$startupProjectPath = Join-Path $solutionPath $startupProjectPath -Resolve
|
||||
}
|
||||
|
||||
$startupProject = Get-SolutionProjects | ?{
|
||||
try
|
||||
{
|
||||
$fullName = $_.FullName
|
||||
}
|
||||
catch [NotImplementedException]
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if ($fullName -and $fullName.EndsWith('\'))
|
||||
{
|
||||
$fullName = $fullName.Substring(0, $fullName.Length - 1)
|
||||
}
|
||||
|
||||
return $fullName -eq $startupProjectPath
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Write-Verbose 'More than one start-up project found.'
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Write-Verbose 'No start-up project found.'
|
||||
}
|
||||
}
|
||||
|
||||
if (!($startUpProject -and (Test-StartUpProject $startUpProject)))
|
||||
{
|
||||
$startUpProject = Get-MigrationsProject $fallbackName $true
|
||||
$startUpProjectName = $startUpProject.Name
|
||||
|
||||
Write-Warning "Cannot determine a valid start-up project. Using project '$startUpProjectName' instead. Your configuration file and working directory may not be set as expected. Use the -StartUpProjectName parameter to set one explicitly. Use the -Verbose switch for more information."
|
||||
}
|
||||
else
|
||||
{
|
||||
$startUpProjectName = $startUpProject.Name
|
||||
|
||||
Write-Verbose "Using StartUp project '$startUpProjectName'."
|
||||
}
|
||||
|
||||
return $startUpProject
|
||||
}
|
||||
|
||||
function Get-SolutionProjects()
|
||||
{
|
||||
$projects = New-Object System.Collections.Stack
|
||||
|
||||
$DTE.Solution.Projects | %{
|
||||
$projects.Push($_)
|
||||
}
|
||||
|
||||
while ($projects.Count -ne 0)
|
||||
{
|
||||
$project = $projects.Pop();
|
||||
|
||||
# NOTE: This line is similar to doing a "yield return" in C#
|
||||
$project
|
||||
|
||||
if ($project.ProjectItems)
|
||||
{
|
||||
$project.ProjectItems | ?{ $_.SubProject } | %{
|
||||
$projects.Push($_.SubProject)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function Get-SingleProject($name)
|
||||
{
|
||||
$project = Get-Project $name
|
||||
|
||||
if ($project -is [array])
|
||||
{
|
||||
throw "More than one project '$name' was found. Specify the full name of the one to use."
|
||||
}
|
||||
|
||||
return $project
|
||||
}
|
||||
|
||||
function Test-StartUpProject($project)
|
||||
{
|
||||
if ($project.Kind -eq '{cc5fd16d-436d-48ad-a40c-5a424c6e3e79}')
|
||||
{
|
||||
$projectName = $project.Name
|
||||
Write-Verbose "Cannot use start-up project '$projectName'. The Windows Azure Project type isn't supported."
|
||||
|
||||
return $false
|
||||
}
|
||||
|
||||
return $true
|
||||
}
|
||||
|
||||
function Build-Project($project)
|
||||
{
|
||||
$configuration = $DTE.Solution.SolutionBuild.ActiveConfiguration.Name
|
||||
|
||||
$DTE.Solution.SolutionBuild.BuildProject($configuration, $project.UniqueName, $true)
|
||||
|
||||
if ($DTE.Solution.SolutionBuild.LastBuildInfo)
|
||||
{
|
||||
$projectName = $project.Name
|
||||
|
||||
throw "The project '$projectName' failed to build."
|
||||
}
|
||||
}
|
||||
|
||||
function Get-EntityFrameworkInstallPath($project)
|
||||
{
|
||||
$package = Get-Package -ProjectName $project.FullName | ?{ $_.Id -eq 'EntityFramework' }
|
||||
|
||||
if (!$package)
|
||||
{
|
||||
$projectName = $project.Name
|
||||
|
||||
throw "The EntityFramework package is not installed on project '$projectName'."
|
||||
}
|
||||
|
||||
return Get-PackageInstallPath $package
|
||||
}
|
||||
|
||||
function Get-PackageInstallPath($package)
|
||||
{
|
||||
$componentModel = Get-VsComponentModel
|
||||
$packageInstallerServices = $componentModel.GetService([NuGet.VisualStudio.IVsPackageInstallerServices])
|
||||
|
||||
$vsPackage = $packageInstallerServices.GetInstalledPackages() | ?{ $_.Id -eq $package.Id -and $_.Version -eq $package.Version }
|
||||
|
||||
return $vsPackage.InstallPath
|
||||
}
|
||||
|
||||
Export-ModuleMember @( 'Enable-Migrations', 'Add-Migration', 'Update-Database', 'Get-Migrations' ) -Variable InitialDatabase
|
||||
|
||||
# SIG # Begin signature block
|
||||
# MIIaRgYJKoZIhvcNAQcCoIIaNzCCGjMCAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB
|
||||
# gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR
|
||||
# AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQUc46O5H/xCa1Zd+kKsDgAx0de
|
||||
# pNmgghUtMIIEoDCCA4igAwIBAgIKYRnMkwABAAAAZjANBgkqhkiG9w0BAQUFADB5
|
||||
# MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVk
|
||||
# bW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSMwIQYDVQQDExpN
|
||||
# aWNyb3NvZnQgQ29kZSBTaWduaW5nIFBDQTAeFw0xMTEwMTAyMDMyMjVaFw0xMzAx
|
||||
# MTAyMDMyMjVaMIGDMQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQ
|
||||
# MA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9u
|
||||
# MQ0wCwYDVQQLEwRNT1BSMR4wHAYDVQQDExVNaWNyb3NvZnQgQ29ycG9yYXRpb24w
|
||||
# ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDuW759ESTjhgbgZv9ItRe9
|
||||
# AuS0DDLwcj59LofXTqGxp0Mv92WeMeEyMUWu18EkhCHXLrWEfvo101Mc17ZRHk/O
|
||||
# ZrnrtwwC/SlcraiH9soitNW/CHX1inCPY9fvih7pj0MkZFrTh32QbTusds1XNn3o
|
||||
# vBBWrJjwiV0uZMavJgleHmMV8T2/Fo+Z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oZIhvcNAQkDMQsGCSqGSIb3
|
||||
# DQEHATAcBgkqhkiG9w0BCQUxDxcNMTIwNjI4MjA0MzM5WjAjBgkqhkiG9w0BCQQx
|
||||
# FgQU2luimdNA+66F/z6ooEia0K5OZC8wDQYJKoZIhvcNAQEFBQAEggEAPUTPALhi
|
||||
# x8qJIn6WmeZTiazQRH4/TVQHCJPDxhlaMgDUDsPwwmjrAfL/UnMz+TVi5ltSM0Hb
|
||||
# jGLfhTbaw/YcLUqztgxNq/vm0cFqU3n+rIGUBXFUwDoS6Ol6UTSoXkJVHyiOxHuU
|
||||
# Fdh33QDv9EVBbr1CQJLTs02d31Uwjg8vUt9+LDSYQWFlZH0+xsy1wStReGX4DSRz
|
||||
# QneatHmqk+Vej4/3iFKBlCJO1SPlXQLaFAUFsZr6yl6oTrpfatG6sA16/e8jjW4u
|
||||
# Kz0GzJYJ4DMVdSVGpsvVWMADsbEsjlr6yesOrN4ZDEBdv7Y3P518wK/iJ1/WdgRc
|
||||
# SA474q5bExc5pA==
|
||||
# SIG # End signature block
|
||||
@@ -1,18 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="EntityFramework"
|
||||
culture="neutral"
|
||||
publicKeyToken="b77a5c561934e089" />
|
||||
<bindingRedirect oldVersion="5.0.0.0"
|
||||
newVersion="4.4.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Microsoft.VisualStudio.Shell" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
|
||||
<bindingRedirect oldVersion="2.0.0.0-10.0.0.0" newVersion="11.0.0.0"/>
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
</configuration>
|
||||
@@ -1,14 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="EntityFramework"
|
||||
culture="neutral"
|
||||
publicKeyToken="b77a5c561934e089" />
|
||||
<bindingRedirect oldVersion="5.0.0.0"
|
||||
newVersion="4.4.0.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
</configuration>
|
||||
@@ -1,30 +0,0 @@
|
||||
TOPIC
|
||||
about_EntityFramework
|
||||
|
||||
SHORT DESCRIPTION
|
||||
Provides information about Entity Framework commands.
|
||||
|
||||
LONG DESCRIPTION
|
||||
This topic describes the Entity Framework commands. Entity Framework is
|
||||
Microsoft's recommended data access technology for new applications.
|
||||
|
||||
|
||||
The following Entity Framework cmdlets are included.
|
||||
|
||||
Cmdlet Description
|
||||
----------------- ---------------------------------------------------
|
||||
Enable-Migrations Enables Code First Migrations in a project.
|
||||
|
||||
Add-Migration Scaffolds a migration script for any pending model
|
||||
changes.
|
||||
|
||||
Update-Database Applies any pending migrations to the database.
|
||||
|
||||
Get-Migrations Displays the migrations that have been applied to
|
||||
the target database.
|
||||
|
||||
SEE ALSO
|
||||
Enable-Migrations
|
||||
Add-Migration
|
||||
Update-Database
|
||||
Get-Migrations
|
||||
176
packages/EntityFramework.5.0.0/tools/init.ps1
vendored
176
packages/EntityFramework.5.0.0/tools/init.ps1
vendored
@@ -1,176 +0,0 @@
|
||||
param($installPath, $toolsPath, $package, $project)
|
||||
|
||||
$importedModule = Get-Module | ?{ $_.Name -eq 'EntityFramework' }
|
||||
|
||||
if ($PSVersionTable.PSVersion -ge (New-Object Version @( 3, 0 )))
|
||||
{
|
||||
$thisModuleManifest = 'EntityFramework.PS3.psd1'
|
||||
}
|
||||
else
|
||||
{
|
||||
$thisModuleManifest = 'EntityFramework.psd1'
|
||||
}
|
||||
|
||||
$thisModule = Test-ModuleManifest (Join-Path $toolsPath $thisModuleManifest)
|
||||
$shouldImport = $true
|
||||
|
||||
if ($importedModule)
|
||||
{
|
||||
if ($importedModule.Version -le $thisModule.Version)
|
||||
{
|
||||
Remove-Module EntityFramework
|
||||
}
|
||||
else
|
||||
{
|
||||
$shouldImport = $false
|
||||
}
|
||||
}
|
||||
|
||||
if ($shouldImport)
|
||||
{
|
||||
Import-Module $thisModule
|
||||
}
|
||||
|
||||
# SIG # Begin signature block
|
||||
# MIIaSAYJKoZIhvcNAQcCoIIaOTCCGjUCAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB
|
||||
# gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR
|
||||
# AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQU4JbMotbKQrAO4s/cceCMbJQG
|
||||
# 482gghUtMIIEoDCCA4igAwIBAgIKYRnMkwABAAAAZjANBgkqhkiG9w0BAQUFADB5
|
||||
# MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVk
|
||||
# bW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSMwIQYDVQQDExpN
|
||||
# aWNyb3NvZnQgQ29kZSBTaWduaW5nIFBDQTAeFw0xMTEwMTAyMDMyMjVaFw0xMzAx
|
||||
# MTAyMDMyMjVaMIGDMQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQ
|
||||
# MA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9u
|
||||
# MQ0wCwYDVQQLEwRNT1BSMR4wHAYDVQQDExVNaWNyb3NvZnQgQ29ycG9yYXRpb24w
|
||||
# ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDuW759ESTjhgbgZv9ItRe9
|
||||
# AuS0DDLwcj59LofXTqGxp0Mv92WeMeEyMUWu18EkhCHXLrWEfvo101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CBDb3Jwb3JhdGlvbjEhMB8GA1UEAxMYTWljcm9zb2Z0IFRpbWUtU3RhbXAg
|
||||
# UENBAgphApJKAAAAAAAgMAkGBSsOAwIaBQCgXTAYBgkqhkiG9w0BCQMxCwYJKoZI
|
||||
# hvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xMjA2MjgyMDQzMzlaMCMGCSqGSIb3DQEJ
|
||||
# BDEWBBTcH0Qic4YQ6MzFbjR1RWKCxjK8pzANBgkqhkiG9w0BAQUFAASCAQAdMhoS
|
||||
# z2zXLJyB1RIjdnGlDxLKzXF+rxImjMI7VfId2vIg4FaGIPqnN0BBTp8o+HZCv3cM
|
||||
# ZV/okS8w9k/82jWjJ183l9fn3moQe4qbVlV6yUJvPFpW47LFrEAXgdmL8bgA/VOW
|
||||
# HtJRP52lPDsb7J1WjqNOh7KkyD5x0Y8Pwrb+Xc63ibtTjOeAttPxKk+1gZh95wUA
|
||||
# ykjw7RKZLHfyJ9Ph5lCkzDQrXXwGGPuzaZVO+pkowgy2yCPRecShGBCKbCyOZlhT
|
||||
# BS1WVJDHS95N732o0lPzWE5rTQe/awv8xkgCe9e8ci4S7/lSnj3aVOLbM3S8jG4x
|
||||
# Oi4rxrjYTjts1n2P
|
||||
# SIG # End signature block
|
||||
170
packages/EntityFramework.5.0.0/tools/install.ps1
vendored
170
packages/EntityFramework.5.0.0/tools/install.ps1
vendored
@@ -1,170 +0,0 @@
|
||||
param($installPath, $toolsPath, $package, $project)
|
||||
|
||||
function Invoke-ConnectionFactoryConfigurator($assemblyPath, $project)
|
||||
{
|
||||
$appDomain = [AppDomain]::CreateDomain(
|
||||
'EntityFramework.PowerShell',
|
||||
$null,
|
||||
(New-Object System.AppDomainSetup -Property @{ ShadowCopyFiles = 'true' }))
|
||||
|
||||
$appDomain.CreateInstanceFrom(
|
||||
$assemblyPath,
|
||||
'System.Data.Entity.ConnectionFactoryConfig.ConnectionFactoryConfigurator',
|
||||
$false,
|
||||
0,
|
||||
$null,
|
||||
$project,
|
||||
$null,
|
||||
$null) | Out-Null
|
||||
|
||||
[AppDomain]::Unload($appDomain)
|
||||
}
|
||||
|
||||
Invoke-ConnectionFactoryConfigurator (Join-Path $toolsPath EntityFramework.PowerShell.dll) $project
|
||||
|
||||
Write-Host
|
||||
Write-Host "Type 'get-help EntityFramework' to see all available Entity Framework commands."
|
||||
|
||||
# SIG # Begin signature block
|
||||
# MIIaRgYJKoZIhvcNAQcCoIIaNzCCGjMCAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB
|
||||
# gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR
|
||||
# AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQU4nG54zEClXzFX9aYwYpo8BH3
|
||||
# YWygghUtMIIEoDCCA4igAwIBAgIKYRnMkwABAAAAZjANBgkqhkiG9w0BAQUFADB5
|
||||
# MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVk
|
||||
# bW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSMwIQYDVQQDExpN
|
||||
# aWNyb3NvZnQgQ29kZSBTaWduaW5nIFBDQTAeFw0xMTEwMTAyMDMyMjVaFw0xMzAx
|
||||
# MTAyMDMyMjVaMIGDMQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQ
|
||||
# MA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9u
|
||||
# MQ0wCwYDVQQLEwRNT1BSMR4wHAYDVQQDExVNaWNyb3NvZnQgQ29ycG9yYXRpb24w
|
||||
# ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDuW759ESTjhgbgZv9ItRe9
|
||||
# AuS0DDLwcj59LofXTqGxp0Mv92WeMeEyMUWu18EkhCHXLrWEfvo101Mc17ZRHk/O
|
||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lvbjEhMB8GA1UEAxMYTWljcm9zb2Z0IFRpbWUtU3RhbXAg
|
||||
# UENBAgphBRmWAAAAAAAbMAcGBSsOAwIaoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3
|
||||
# DQEHATAcBgkqhkiG9w0BCQUxDxcNMTIwNjI4MjA0MzU0WjAjBgkqhkiG9w0BCQQx
|
||||
# FgQUlE+8FmmwI9Hd6gz+luAdOPsKxHgwDQYJKoZIhvcNAQEFBQAEggEAiJCupwRm
|
||||
# YW3NHK2EdgaQ+VCIjXwVrEj6ElX4c30nAYXxnCOIesErL/N/jMYnM3Fo+GNsOikL
|
||||
# x9Mzo4sZv/c6bchLtnagS6MzQyDFiBPF+pngSMg2PpIDHsIBg2vPzClWx6+hCDxE
|
||||
# Yf9f7/s/vQEpEbHLjzQZJqoji2LV5HRxnHbT3J13atUF2yqgzyTRlOF2MPp3vLX1
|
||||
# 7q5KnOBrWsfyxoYskJEddsbH7zilomWyVZ2zcpG8Ui/h2xoN50AXtMQntx9VYxwT
|
||||
# D5U5ECSdKzXeUIwktYBPtxor5yGBda63PNxjUHYXSRvFrdnLtXTiMiIQzEzJUdk9
|
||||
# 6p75IHbjyjvZfg==
|
||||
# SIG # End signature block
|
||||
BIN
packages/EntityFramework.5.0.0/tools/migrate.exe
vendored
BIN
packages/EntityFramework.5.0.0/tools/migrate.exe
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,377 +0,0 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
|
||||
<head>
|
||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
||||
<title>ASP.NET Universal Providers Readme</title>
|
||||
|
||||
|
||||
<style type="text/css">
|
||||
body{
|
||||
margin-left:1in;
|
||||
margin-top:.75in;
|
||||
margin-right:1.7in;
|
||||
font-family:calibri;
|
||||
font-size:11pt;
|
||||
line-height:1.15em;
|
||||
background-color:white;
|
||||
}
|
||||
|
||||
h1{
|
||||
margin-left:-.2in;
|
||||
font-family:Arial, Verdana, sans-serif;
|
||||
font-size:20pt;
|
||||
}
|
||||
|
||||
h2{
|
||||
margin-left:-.2in;
|
||||
margin-top:1.8em;
|
||||
font-family:Arial, Verdana, sans-serif;
|
||||
font-size:16pt;
|
||||
}
|
||||
|
||||
h3{
|
||||
margin-left:-.2in;
|
||||
font-family:Verdana, sans-serif;
|
||||
font-size:13.5pt;
|
||||
}
|
||||
|
||||
table{
|
||||
border:thin gray groove;
|
||||
}
|
||||
|
||||
thead{
|
||||
background-color:black;
|
||||
color:white;
|
||||
font-weight:bold;
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
td{
|
||||
border:1px solid black;
|
||||
}
|
||||
|
||||
p.indent1{
|
||||
margin-left:.25in;
|
||||
}
|
||||
|
||||
|
||||
code{
|
||||
font-family:"Courier New";
|
||||
font-size:10pt;
|
||||
color:#006600;
|
||||
}
|
||||
|
||||
pre{
|
||||
font-family:"Courier New";
|
||||
font-size:10pt;
|
||||
padding:8px;
|
||||
color:#006600;
|
||||
}
|
||||
|
||||
span.highlight{
|
||||
background-color:Yellow;
|
||||
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<h1>ASP.NET Universal Providers</h1>
|
||||
|
||||
<p>Last update: 15 August 2012</p>
|
||||
|
||||
|
||||
<p>The
|
||||
<a href="http://msdn.microsoft.com/en-us/library/system.web.security.sqlmembershipprovider.aspx">SqlMembershipProvider</a>,
|
||||
<a href="http://msdn.microsoft.com/en-us/library/system.web.security.sqlroleprovider.aspx">SqlRoleProvider</a>,
|
||||
<a href="http://msdn.microsoft.com/en-us/library/system.web.profile.sqlprofileprovider.aspx">SqlProfileProvider</a> classes that shipped in ASP.NET through version 4 support only Microsoft SQL Server and Microsoft SQL Server Express. They do not support newer offerings such as
|
||||
<a href="http://msdn.microsoft.com/en-us/library/ee336241.aspx">Microsoft SQL Azure</a> and
|
||||
<a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=033cfb76-5382-44fb-bc7e-b3c8174832e2">Microsoft SQL Server Compact</a>. </p>
|
||||
<p>ASP.NET Universal Providers have been created in order to extend support to all editions of SQL Server 2005 and later and to SQL Azure. If you use these providers to develop your application, the application will be ready for cloud environments like Azure.</p>
|
||||
<p>Other than supporting additional storage options, the providers work like the existing SQL-based providers. Except as noted below, using ASP.NET Universal Providers requires no change in any of your applications.</p>
|
||||
<ul>
|
||||
<li><a href="#Installing_and_Configuring_ASP.NET_Unive">Installing and
|
||||
Configuring ASP.NET Universal Providers</a></li>
|
||||
<li><a href="#Selecting_a_Data_Store">Selecting a Data Store</a></li>
|
||||
<li><a href="#Storing_Data_in_Session_State_using_ASP">Storing Data in
|
||||
Session State using ASP.NET Universal Providers</a></li>
|
||||
<li><a href="#Deploying_to_a_Cloud_Environment">Deploying to a Cloud
|
||||
Environment</a></li>
|
||||
<li><a href="#Known_Issues">Known Issues</a></li>
|
||||
<li><a href="#Additional_Resources">Additional Resources</a></li>
|
||||
<li><a href="#Disclaimer">Disclaimer</a><br />
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h2><a name="Installing_and_Configuring_ASP.NET_Unive">Installing and Configuring ASP.NET Universal Providers</a></h2>
|
||||
|
||||
|
||||
|
||||
<p>To install ASP.NET Universal Providers, you use a NuGet package, which installs all required files (including this documentation). The NuGet package automatically enables the new providers when it is installed. By default, the NuGet package configures provider to use SQL Server Express. To use SQL Server Compact or SQL Azure, you must change the connection string for the provider, as explained
|
||||
<a href="#Selecting_a_Data_Store">later in this document</a>.</p>
|
||||
|
||||
<p>To enable the providers, the NuGet package adds configuration entries in the
|
||||
<em>web.config</em> file. The configuration for these providers is the same as the existing
|
||||
<code>SqlMembershipProvider</code> class, but the <code>type</code> parameter is set to the type of the new providers, as shown in the following table:</p>
|
||||
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<td>SQL Provider Types</td>
|
||||
<td>Equivalent Type for Universal Providers</td>
|
||||
</thead>
|
||||
<tr>
|
||||
<td ><code>System.Web.Security.SqlMembershipProvider</code></td>
|
||||
<td ><code>System.Web.Providers.DefaultMembershipProvider</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>System.Web.Profile.SqlProfileProvider</code></td>
|
||||
<td><code>System.Web.Providers.DefaultProfileProvider</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>System.Web.Security.SqlRoleProvider</code></td>
|
||||
<td><code>System.Web.Providers.DefaultRoleProvider</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>(Built into default provider)</td>
|
||||
<td><code>System.Web.Providers.DefaultSessionStateProvider</code></td>
|
||||
</tr>
|
||||
</table>
|
||||
<p>In the <em>web.config</em> file, the configuration looks like the following example (the connection string has been wrapped for readability). The differences from the configuration for older SQL-based providers are highlighted. Notice that a section has been added to define custom session-state handling using a custom provider, as described later under
|
||||
<a href="#Storing_Data_in_Session_State_using_ASP">Storing Data in Session State using ASP.NET Universal Providers</a>.</p>
|
||||
<pre><configuration>
|
||||
<connectionStrings>
|
||||
<add name="DefaultConnection"
|
||||
connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=aspnetdb;Integrated Security=True"
|
||||
providerName="System.Data.SqlClient" />
|
||||
</connectionStrings>
|
||||
|
||||
<system.web>
|
||||
<membership <span class="highlight">defaultProvider="DefaultMembershipProvider"</span>>
|
||||
<providers>
|
||||
<clear />
|
||||
<add name="DefaultMembershipProvider"
|
||||
<span class="highlight">type="System.Web.Providers.DefaultMembershipProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
|
||||
</span> connectionStringName="DefaultConnection"
|
||||
enablePasswordRetrieval="false"
|
||||
enablePasswordReset="true"
|
||||
requiresQuestionAndAnswer="false"
|
||||
requiresUniqueEmail="false"
|
||||
maxInvalidPasswordAttempts="5"
|
||||
minRequiredPasswordLength="6"
|
||||
minRequiredNonalphanumericCharacters="0"
|
||||
passwordAttemptWindow="10"
|
||||
applicationName="/" />
|
||||
</providers>
|
||||
</membership>
|
||||
|
||||
<profile <span class="highlight">defaultProvider="DefaultProfileProvider"</span>>
|
||||
<providers>
|
||||
<clear />
|
||||
<add name="DefaultProfileProvider"
|
||||
<span class="highlight">type="System.Web.Providers.DefaultProfileProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
|
||||
</span> connectionStringName="DefaultConnection"
|
||||
applicationName="/" />
|
||||
</providers>
|
||||
</profile>
|
||||
|
||||
<roleManager <span class="highlight">defaultProvider="DefaultRoleProvider"</span> enabled="false">
|
||||
<providers>
|
||||
<clear />
|
||||
<add name="DefaultRoleProvider"
|
||||
<span class="highlight">type="System.Web.Providers.DefaultRoleProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
|
||||
</span> connectionStringName="DefaultConnection"
|
||||
applicationName="/" />
|
||||
</providers>
|
||||
</roleManager>
|
||||
|
||||
<sessionState mode="Custom" customProvider="DefaultSessionProvider">
|
||||
<providers>
|
||||
<add name="DefaultSessionProvider"
|
||||
<span class="highlight">type="System.Web.Providers.DefaultSessionStateProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
|
||||
</span> connectionStringName="DefaultConnection"
|
||||
applicationName="/" />
|
||||
</providers>
|
||||
</sessionState>
|
||||
</system.web> </pre>
|
||||
|
||||
<h2><a name="Selecting_a_Data_Store">Selecting a Data Store</a></h2>
|
||||
<p>If you want to use SQL Server LocalDB database,change the connection string as shown in the following example:</p>
|
||||
<pre>
|
||||
<connectionStrings>
|
||||
<add name="DefaultConnection" providerName="System.Data.SqlClient"
|
||||
connectionString="Data Source=(LocalDb)\v11.0;
|
||||
Initial Catalog=aspnet-ProjectName-GUID;Integrated Security=SSPI;
|
||||
AttachDBFilename=|DataDirectory|\aspnet-ProjectName-GUID.mdf" />
|
||||
<connectionStrings>
|
||||
</pre>
|
||||
<p>If you want to use SQL Server Express database,change the connection string as shown in the following example:</p>
|
||||
<pre>
|
||||
<connectionStrings>
|
||||
<add name="DefaultConnection" providerName="System.Data.SqlClient"
|
||||
connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=aspnetdb;
|
||||
Integrated Security=True" providerName="System.Data.SqlClient"/>
|
||||
<connectionStrings>
|
||||
</pre>
|
||||
|
||||
<p>If you want to use SQL Server Compact, change the connection string as shown in the following example:</p>
|
||||
|
||||
<pre><connectionStrings>
|
||||
<add name="DefaultConnection" connectionString="Data Source=|DataDirectory|\aspnet.sdf"
|
||||
providerName="System.Data.SqlServerCe.4.0"/>
|
||||
</connectionStrings></pre>
|
||||
<p>If you want to use SQL Azure, change the connection string as shown in the
|
||||
following example (wrapped for readability):</p>
|
||||
<pre><connectionStrings>
|
||||
<add name="DefaultConnection"
|
||||
connectionString="data source=myDNSName;
|
||||
User ID=myUserName;Password=myPassword;
|
||||
Encrypt=true;Trusted_Connection=false=false"
|
||||
providerName="System.Data.SqlClient"/>
|
||||
<connectionStrings></pre>
|
||||
|
||||
<h2><a name="Storing_Data_in_Session_State_using_ASP">Storing Data in Session State using ASP.NET Universal Providers</a></h2>
|
||||
|
||||
<p>By default, ASP.NET stores session data using an in-process (in-memory) session provider. This provider allows you to put any object in session state, because session state simply holds a reference to the object, not the object itself.</p>
|
||||
<p>However, cloud environments might run your application on multiple computers. Therefore, for cloud-based applications, the application must store session state in some form of storage (like a database) that be accessed by more than one machine. This puts some restrictions on what data you store in session state — essentially, the data must be serializable. </p>
|
||||
<p>When you install ASP.NET Universal Providers, the installation process configures session state to use the
|
||||
<code>System.Web.Providers.DefaultSessionStateProvider</code> type, as shown in the
|
||||
<em>web.config</em> file example earlier. This type stores session state in a database.</p>
|
||||
<p>Session data must be serializable. If you attempt to store something in session state that is not serializable, you will receive the following error: </p>
|
||||
|
||||
<p class="indent1"><code>Unable to serialize the session state. In 'StateServer' and 'SQLServer' mode, ASP.NET will serialize the session state objects, and as a result non-serializable objects or MarshalByRef objects are not permitted. the same restriction applies if similar serialization is done by the custom session state store in 'Custom' mode. </code></p>
|
||||
|
||||
<p>There are two ways to resolve this issue: by marking the type as serializable or by using a surrogate serializer.</p>
|
||||
|
||||
<h3>Marking Types as Serializable</h3>
|
||||
|
||||
<p>If you have access to the source code for the type that is being stored in session state, you can mark the type using the
|
||||
<code>Serializable</code> attribute, as in the following example. If the type contains additional classes, all the contained classes must be serializable as well.</p>
|
||||
<pre><span class="highlight">[Serializable]</span>
|
||||
public class Address { }
|
||||
|
||||
<span class="highlight">[Serializable]</span>
|
||||
public class Person {
|
||||
public Address Work;
|
||||
public Address Home;
|
||||
}</pre>
|
||||
|
||||
<h3>Using a Surrogate Serializer in .NET Framework 4.5</h3>
|
||||
|
||||
<p>If it's not practical to mark the type as serializable in source code, and if you are using .NET Framework 4.5, you can use a surrogate serializer. (This technique does not work in .NET Framework 4.)</p>
|
||||
<p>Create a class that implements the
|
||||
<a href="http://msdn.microsoft.com/en-us/library/system.runtime.serialization.iserializationsurrogate.aspx">ISerializationSurrogate</a> interface. In this class, you implement
|
||||
<a href="http://msdn.microsoft.com/en-us/library/system.runtime.serialization.iserializationsurrogate.getobjectdata.aspx">GetObjectData</a> and
|
||||
<a href="http://msdn.microsoft.com/en-us/library/system.runtime.serialization.iserializationsurrogate.setobjectdata.aspx">SetObjectData</a> methods in order to serialize and deserialze the data, respectively. In
|
||||
<code>GetObjectData</code> you invoke
|
||||
<a href="http://msdn.microsoft.com/en-us/library/system.runtime.serialization.serializationinfo.addvalue.aspx">SerializationInfo.AddValue</a> (using the appropriate overload for the data type of your data) to add individual fields of the object to serialize to a
|
||||
<a href="http://msdn.microsoft.com/en-us/library/system.runtime.serialization.serializationinfo.aspx">SerializationInfo</a> object. In
|
||||
<code>SetObjectData</code> you extract the serialized version back to its original value in the object. Here's an example:</p>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<pre>public class EmployeeSerializationSurrogate : ISerializationSurrogate
|
||||
{
|
||||
// Serialize the Employee object to save the object name and address fields.
|
||||
public void GetObjectData(Object obj, SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
Employee emp = (Employee)obj;
|
||||
info.AddValue("name", emp.name);
|
||||
info.AddValue("address", emp.address);
|
||||
}
|
||||
|
||||
// Deserialize the Employee object to set the object name and address fields.
|
||||
public Object SetObjectData(Object obj, SerializationInfo info, StreamingContext context,
|
||||
ISurrogateSelector selector)
|
||||
{
|
||||
Employee emp = (Employee)obj;
|
||||
emp.name = info.GetString("name");
|
||||
emp.address = info.GetString("address");
|
||||
return null;
|
||||
}
|
||||
}</pre>
|
||||
<p>You then register the serializer and the class to be serialized using the
|
||||
<a href="http://msdn.microsoft.com/en-us/library/system.runtime.serialization.surrogateselector.aspx">SurrogateSelector</a> class in code, like this:</p>
|
||||
<pre>protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
SurrogateSelector ss = new SurrogateSelector();
|
||||
ss.AddSurrogate(typeof(Employee), new StreamingContext(StreamingContextStates.All), new EmployeeSerializationSurrogate());
|
||||
SessionStateUtility.SerializationSurrogateSelector = ss;
|
||||
}</pre>
|
||||
<h2><a name="Deploying_to_a_Cloud_Environment">Deploying to a Cloud Environment</a></h2>
|
||||
|
||||
<p>If you are deploying to a cloud environment that has multiple web server instances, you should change session state mode from "InProc" to "Custom". In addition, change the connection string named "DefaultConnection" to connect to an instance of SQL Server (including SQL Azure and SQL Compact) instead of to SQL Server Express.</p>
|
||||
|
||||
<h2><a name="Known_Issues">Known Issues</a></h2>
|
||||
|
||||
<ul>
|
||||
|
||||
|
||||
|
||||
<li>
|
||||
<p>During the installation process, NuGet performs an exact match on items in the
|
||||
<em>web.config</em> file. If you have customized any of the elements in <em>web.config</em> that are updated by the installation process for ASP.NET Universal Providers, the installation process will not find these elements. Instead of updating the elements, the installation process will assume that they do not exist and add them. As a result, the
|
||||
<em>web.config</em> will effectively contain duplicate elements.</p>
|
||||
<p>If your application is experiencing issues that indicate problems in the <em>web.config</em> file, make sure that the file contains the elements that are illustrated earlier in this document and remove any duplicate elements.</p>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<p>If you are working in Visual Studio and use <strong>Server Explorer</strong> to open the database that contains the membership, role, profile, or session provider tables, and if you then try to run the application, you might see an error like the following: </p>
|
||||
<p><code>Cannot open database "aspnet" requested by the login. The login failed. Login failed for user 'yourname.'</code></p>
|
||||
<p>To resolve this issue, right-click the database in <strong>Server Explorer</strong> and then click
|
||||
<strong>Close Connection</strong>. </p>
|
||||
</li>
|
||||
|
||||
|
||||
<li>
|
||||
<p>The new providers do not use the same tables, stored procedures, and database objects as the SQL-based providers. If you switch to the new providers in an existing application, the data from the existing tables will not be available. We are considering creating a conversion utility to help you move existing applications to the new providers.</p>
|
||||
</li>
|
||||
|
||||
|
||||
<li>
|
||||
<p>Web Parts personalization will not work with Universal Providers. You must use the SQL Personalization provider. That in turn does not work with LocalDB, so you must use SQL Server Express.</p>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<p>This release requires that the ASP.NET application be running under full trust.</p>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
<h2><a name="Additional_Resources">Additional Resources</a></h2>
|
||||
|
||||
<ul>
|
||||
<li><a href="http://msdn.microsoft.com/en-us/library/tw292whz.aspx">Managing Users by Using Membership</a></li>
|
||||
<li><a href="http://msdn.microsoft.com/en-us/library/9ab2fxh0.aspx">Managing Authorization Using Roles</a></li>
|
||||
<li><a href="http://msdn.microsoft.com/en-us/library/014bec1k.aspx">ASP.NET Profile Providers</a></li>
|
||||
<li><a href="http://msdn.microsoft.com/en-us/library/ee336241.aspx">Microsoft SQL Azure</a></li>
|
||||
<li>
|
||||
<a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=033cfb76-5382-44fb-bc7e-b3c8174832e2">Microsoft SQL Server Compact</a></li>
|
||||
<li>
|
||||
<a href="http://docs.nuget.org/docs/creating-packages/configuration-file-and-source-code-transformations">Configuration File and Source Code Transformations</a></li>
|
||||
<li><a href="http://go.microsoft.com/fwlink/?LinkId=261899">Migration for user accounts from the SQL MembershipProvider to the Universal Providers</a></li>
|
||||
</ul>
|
||||
<h2><a name="Disclaimer">Disclaimer</a></h2>
|
||||
|
||||
|
||||
<p>This is a preliminary document and may be changed substantially prior to final commercial release of the software described herein.</p>
|
||||
<p>The information contained in this document represents the current view of Microsoft Corporation on the issues discussed as of the date of publication. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information presented after the date of publication.</p>
|
||||
<p>This White Paper is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS DOCUMENT.
|
||||
<p>Complying with all applicable copyright laws is the responsibility of the user. Without limiting the rights under copyright, no part of this document may be reproduced, stored in or introduced into a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or otherwise), or for any purpose, without the express written permission of Microsoft Corporation.</p>
|
||||
<p>Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in this document. Except as expressly provided in any written license agreement from Microsoft, the furnishing of this document does not give you any license to these patents, trademarks, copyrights, or other intellectual property.</p>
|
||||
<p>Unless otherwise noted, the example companies, organizations, products, domain names, e-mail addresses, logos, people, places and events depicted herein are fictitious, and no association with any real company, organization, product, domain name, email address, logo, person, place or event is intended or should be inferred.</p>
|
||||
<p>© 2011 Microsoft Corporation. All rights reserved.</p>
|
||||
<p>Microsoft and Windows are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.</p>
|
||||
<p>The names of actual companies and products mentioned herein may be the trademarks of their respective owners.</p>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Binary file not shown.
@@ -1,33 +0,0 @@
|
||||
<configuration>
|
||||
<system.web>
|
||||
<profile defaultProvider="DefaultProfileProvider" >
|
||||
<providers>
|
||||
<add name="DefaultProfileProvider" type="System.Web.Providers.DefaultProfileProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" applicationName="/"/>
|
||||
</providers>
|
||||
</profile>
|
||||
<membership defaultProvider="DefaultMembershipProvider">
|
||||
<providers>
|
||||
<add name="DefaultMembershipProvider" type="System.Web.Providers.DefaultMembershipProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection"
|
||||
enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false"
|
||||
maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10"
|
||||
applicationName="/" />
|
||||
</providers>
|
||||
</membership>
|
||||
<roleManager defaultProvider="DefaultRoleProvider">
|
||||
<providers>
|
||||
<add name="DefaultRoleProvider" type="System.Web.Providers.DefaultRoleProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" applicationName="/" />
|
||||
</providers>
|
||||
</roleManager>
|
||||
<!--
|
||||
If you are deploying to a cloud environment that has multiple web server instances,
|
||||
you should change session state mode from "InProc" to "Custom". In addition,
|
||||
change the connection string named "DefaultConnection" to connect to an instance
|
||||
of SQL Server (including SQL Azure and SQL Compact) instead of to SQL Server Express.
|
||||
-->
|
||||
<sessionState mode="InProc" customProvider="DefaultSessionProvider">
|
||||
<providers>
|
||||
<add name="DefaultSessionProvider" type="System.Web.Providers.DefaultSessionStateProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection"/>
|
||||
</providers>
|
||||
</sessionState>
|
||||
</system.web>
|
||||
</configuration>
|
||||
@@ -1,220 +0,0 @@
|
||||
param($installPath, $toolsPath, $package, $project)
|
||||
|
||||
try {
|
||||
# Set up variables
|
||||
$timestamp = (Get-Date).ToString('yyyyMMddHHmmss')
|
||||
$projectName = [IO.Path]::GetFileName($project.ProjectName.Trim([IO.PATH]::DirectorySeparatorChar, [IO.PATH]::AltDirectorySeparatorChar))
|
||||
$catalogName = "aspnet-$projectName-$timestamp"
|
||||
$connectionString ="Data Source=(LocalDb)\v11.0;Initial Catalog=$catalogName;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\$catalogName.mdf"
|
||||
$connectionStringToken = 'Data Source=(LocalDb)\v11.0;'
|
||||
$config = $project.ProjectItems | Where-Object { $_.Name -eq "Web.config" }
|
||||
$configPath = ($config.Properties | Where-Object { $_.Name -eq "FullPath" }).Value
|
||||
|
||||
#Load the Config File
|
||||
$xml = New-Object System.Xml.XmlDocument
|
||||
$xml.Load($configPath)
|
||||
|
||||
function CommentNode($node) {
|
||||
if (!$node) {
|
||||
return;
|
||||
}
|
||||
|
||||
$commentNode = $xml.CreateComment($node.OuterXml)
|
||||
$parent = $node.ParentNode
|
||||
$parent.InsertBefore($commentNode, $node) | Out-Null
|
||||
$parent.RemoveChild($node) | Out-Null
|
||||
}
|
||||
|
||||
# Comment out older providers
|
||||
$node = $xml.SelectSingleNode("/configuration/system.web/membership/providers/add[@type='System.Web.Security.SqlMembershipProvider']")
|
||||
$addedNode = $xml.SelectSingleNode("/configuration/system.web/membership/providers/add[@name='DefaultMembershipProvider']")
|
||||
|
||||
if ($node) {
|
||||
# Copy all attributes other than 'name', 'type' and 'connectionStringName' to the newly added node.
|
||||
$node.Attributes | Where { ! (@('name', 'type', 'connectionStringName') -contains $_.name) } | ForEach {
|
||||
$addedNode.SetAttribute($_.name, $_.value)
|
||||
}
|
||||
}
|
||||
|
||||
$oldConnectionNode = $xml.SelectSingleNode("/configuration/connectionStrings/add[@name='$($node.connectionStringName)']")
|
||||
CommentNode $node
|
||||
CommentNode $oldConnectionNode
|
||||
|
||||
$node = $xml.SelectSingleNode("/configuration/system.web/profile/providers/add[@type='System.Web.Profile.SqlProfileProvider']")
|
||||
$oldConnectionNode = $xml.SelectSingleNode("/configuration/connectionStrings/add[@name='$($node.connectionStringName)']")
|
||||
CommentNode $node
|
||||
CommentNode $oldConnectionNode
|
||||
|
||||
$node = $xml.SelectSingleNode("/configuration/system.web/roleManager/providers/add[@type='System.Web.Security.SqlRoleProvider']")
|
||||
$oldConnectionNode = $xml.SelectSingleNode("/configuration/connectionStrings/add[@name='$($node.connectionStringName)']")
|
||||
$connectionStringsToComment += $node.connectionStringName
|
||||
CommentNode $node
|
||||
CommentNode $oldConnectionNode
|
||||
|
||||
# Verify that the connectionStrings node exists
|
||||
$connectionStrings = $xml.SelectSingleNode("/configuration/connectionStrings")
|
||||
if (!$connectionStrings) {
|
||||
$connectionStrings = $xml.CreateElement("connectionStrings")
|
||||
$xml.configuration.AppendChild($connectionStrings) | Out-Null
|
||||
}
|
||||
|
||||
if (!($connectionStrings.SelectNodes("add[@name='DefaultConnection']") | Where { $_.connectionString.StartsWith($connectionStringToken, 'OrdinalIgnoreCase') })) {
|
||||
# If there aren't any connection strings that look like ours, proceed to add one
|
||||
$newConnectionNode = $xml.CreateElement("add")
|
||||
$newConnectionNode.SetAttribute("name", 'DefaultConnection')
|
||||
$newConnectionNode.SetAttribute("providerName", "System.Data.SqlClient")
|
||||
$newConnectionNode.SetAttribute("connectionString", $connectionString)
|
||||
|
||||
$connectionStrings.AppendChild($newConnectionNode) | Out-Null
|
||||
}
|
||||
|
||||
# Save the Config File
|
||||
$xml.Save($configPath)
|
||||
|
||||
} catch {
|
||||
Write-Error "Unable to update the web.config file at $configPath. Add the following connection string to your config: <add name=`"DefaultConnection`" providerName=`"System.Data.SqlClient`" connectionString=`"$connectionString`" />"
|
||||
}
|
||||
|
||||
# SIG # Begin signature block
|
||||
# MIIaRAYJKoZIhvcNAQcCoIIaNTCCGjECAQExCzAJBgUrDgMCG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oL
|
||||
# kuebcjjH8n5+KlB8oAcCLRgU+unIJP105kip47XIqvUH/8AOFVN4Oto6RVtqwNA2
|
||||
# a+uYuSdfwdZjKNL/SjkXd0vSB5j86xEx7ac6Apd+/6YES1SsuAm2OR7swBkXiTId
|
||||
# EIlkZ1XekIZ7dHz4bu+Ee5FoVm2wKn4RZbTtEcyGHr/BAPHXwWuoObDrt6KJW+qK
|
||||
# ivYWvN05JqNal/Zsd3P+azKaEk9FJncuK1zdSJXmixam8ZHm+ixNlwO3nX5bi8ix
|
||||
# yJORXvJZGE2QrSufiH/+HhONa8n6YMRuWw6Ws/2io5w+NGlThiTe0n3AuKbB773Z
|
||||
# YZgAzu+XkmI=
|
||||
# SIG # End signature block
|
||||
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<system.webServer>
|
||||
<handlers>
|
||||
<remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" />
|
||||
<remove name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" />
|
||||
<remove name="ExtensionlessUrlHandler-Integrated-4.0" />
|
||||
<add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
|
||||
<add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
|
||||
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
|
||||
</handlers>
|
||||
</system.webServer>
|
||||
</configuration>
|
||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
@@ -1,136 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>System.Web.Http.WebHost</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:System.Web.Http.GlobalConfiguration">
|
||||
<summary> Provides a global <see cref="T:System.Web.Http.HttpConfiguration" /> for ASP.NET applications. </summary>
|
||||
</member>
|
||||
<member name="P:System.Web.Http.GlobalConfiguration.Configuration"></member>
|
||||
<member name="P:System.Web.Http.GlobalConfiguration.DefaultHandler">
|
||||
<summary> Gets the default message handler that will be called for all requests. </summary>
|
||||
</member>
|
||||
<member name="T:System.Web.Http.RouteCollectionExtensions">
|
||||
<summary> Extension methods for <see cref="T:System.Web.Routing.RouteCollection" /></summary>
|
||||
</member>
|
||||
<member name="M:System.Web.Http.RouteCollectionExtensions.MapHttpRoute(System.Web.Routing.RouteCollection,System.String,System.String)">
|
||||
<summary>Maps the specified route template.</summary>
|
||||
<returns>A reference to the mapped route.</returns>
|
||||
<param name="routes">A collection of routes for the application.</param>
|
||||
<param name="name">The name of the route to map.</param>
|
||||
<param name="routeTemplate">The route template for the route.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Http.RouteCollectionExtensions.MapHttpRoute(System.Web.Routing.RouteCollection,System.String,System.String,System.Object)">
|
||||
<summary>Maps the specified route template and sets default route.</summary>
|
||||
<returns>A reference to the mapped route.</returns>
|
||||
<param name="routes">A collection of routes for the application.</param>
|
||||
<param name="name">The name of the route to map.</param>
|
||||
<param name="routeTemplate">The route template for the route.</param>
|
||||
<param name="defaults">An object that contains default route values.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Http.RouteCollectionExtensions.MapHttpRoute(System.Web.Routing.RouteCollection,System.String,System.String,System.Object,System.Object)">
|
||||
<summary>Maps the specified route template and sets default route values and constraints.</summary>
|
||||
<returns>A reference to the mapped route.</returns>
|
||||
<param name="routes">A collection of routes for the application.</param>
|
||||
<param name="name">The name of the route to map.</param>
|
||||
<param name="routeTemplate">The route template for the route.</param>
|
||||
<param name="defaults">An object that contains default route values.</param>
|
||||
<param name="constraints">A set of expressions that specify values for routeTemplate.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Http.RouteCollectionExtensions.MapHttpRoute(System.Web.Routing.RouteCollection,System.String,System.String,System.Object,System.Object,System.Net.Http.HttpMessageHandler)">
|
||||
<summary>Maps the specified route template and sets default route values, constraints, and end-point message handler.</summary>
|
||||
<returns>A reference to the mapped route.</returns>
|
||||
<param name="routes">A collection of routes for the application.</param>
|
||||
<param name="name">The name of the route to map.</param>
|
||||
<param name="routeTemplate">The route template for the route.</param>
|
||||
<param name="defaults">An object that contains default route values.</param>
|
||||
<param name="constraints">A set of expressions that specify values for routeTemplate.</param>
|
||||
<param name="handler">The handler to which the request will be dispatched.</param>
|
||||
</member>
|
||||
<member name="T:System.Web.Http.WebHost.HttpControllerHandler">
|
||||
<summary> A <see cref="T:System.Web.IHttpAsyncHandler" /> that passes ASP.NET requests into the <see cref="T:System.Web.Http.HttpServer" /> pipeline and write the result back. </summary>
|
||||
</member>
|
||||
<member name="M:System.Web.Http.WebHost.HttpControllerHandler.#ctor(System.Web.Routing.RouteData)">
|
||||
<summary> Initializes a new instance of the <see cref="T:System.Web.Http.WebHost.HttpControllerHandler" /> class. </summary>
|
||||
<param name="routeData">The route data.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Http.WebHost.HttpControllerHandler.BeginProcessRequest(System.Web.HttpContextBase,System.AsyncCallback,System.Object)">
|
||||
<summary> Begins the process request. </summary>
|
||||
<returns>An <see cref="T:System.IAsyncResult" /> that contains information about the status of the process. </returns>
|
||||
<param name="httpContextBase">The HTTP context base.</param>
|
||||
<param name="callback">The callback.</param>
|
||||
<param name="state">The state.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Http.WebHost.HttpControllerHandler.EndProcessRequest(System.IAsyncResult)">
|
||||
<summary> Provides an asynchronous process End method when the process ends. </summary>
|
||||
<param name="result">An <see cref="T:System.IAsyncResult" /> that contains information about the status of the process.</param>
|
||||
</member>
|
||||
<member name="P:System.Web.Http.WebHost.HttpControllerHandler.IsReusable">
|
||||
<summary> Gets a value indicating whether another request can use the <see cref="T:System.Web.IHttpHandler" /> instance. </summary>
|
||||
</member>
|
||||
<member name="M:System.Web.Http.WebHost.HttpControllerHandler.ProcessRequest(System.Web.HttpContextBase)">
|
||||
<summary> Processes the request. </summary>
|
||||
<param name="httpContextBase">The HTTP context base.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Http.WebHost.HttpControllerHandler.System#Web#IHttpAsyncHandler#BeginProcessRequest(System.Web.HttpContext,System.AsyncCallback,System.Object)">
|
||||
<summary> Begins processing the request. </summary>
|
||||
<returns>An <see cref="T:System.IAsyncResult" /> that contains information about the status of the process. </returns>
|
||||
<param name="httpContext">The HTTP context.</param>
|
||||
<param name="callback">The callback.</param>
|
||||
<param name="state">The state.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Http.WebHost.HttpControllerHandler.System#Web#IHttpAsyncHandler#EndProcessRequest(System.IAsyncResult)">
|
||||
<summary> Provides an asynchronous process End method when the process ends. </summary>
|
||||
<param name="result">An <see cref="T:System.IAsyncResult" /> that contains information about the status of the process.</param>
|
||||
</member>
|
||||
<member name="P:System.Web.Http.WebHost.HttpControllerHandler.System#Web#IHttpHandler#IsReusable">
|
||||
<summary> Gets a value indicating whether another request can use the <see cref="T:System.Web.IHttpHandler" /> instance. </summary>
|
||||
</member>
|
||||
<member name="M:System.Web.Http.WebHost.HttpControllerHandler.System#Web#IHttpHandler#ProcessRequest(System.Web.HttpContext)">
|
||||
<summary> Processes the request. </summary>
|
||||
<param name="httpContext">The HTTP context base.</param>
|
||||
</member>
|
||||
<member name="T:System.Web.Http.WebHost.HttpControllerRouteHandler">
|
||||
<summary> A <see cref="T:System.Web.Routing.IRouteHandler" /> that returns instances of <see cref="T:System.Web.Http.WebHost.HttpControllerHandler" /> that can pass requests to a given <see cref="T:System.Web.Http.HttpServer" /> instance. </summary>
|
||||
</member>
|
||||
<member name="M:System.Web.Http.WebHost.HttpControllerRouteHandler.#ctor">
|
||||
<summary> Initializes a new instance of the <see cref="T:System.Web.Http.WebHost.HttpControllerRouteHandler" /> class. </summary>
|
||||
</member>
|
||||
<member name="M:System.Web.Http.WebHost.HttpControllerRouteHandler.GetHttpHandler(System.Web.Routing.RequestContext)">
|
||||
<summary> Provides the object that processes the request. </summary>
|
||||
<returns> An object that processes the request. </returns>
|
||||
<param name="requestContext">An object that encapsulates information about the request.</param>
|
||||
</member>
|
||||
<member name="P:System.Web.Http.WebHost.HttpControllerRouteHandler.Instance">
|
||||
<summary> Gets the singleton <see cref="T:System.Web.Http.WebHost.HttpControllerRouteHandler" /> instance. </summary>
|
||||
</member>
|
||||
<member name="M:System.Web.Http.WebHost.HttpControllerRouteHandler.System#Web#Routing#IRouteHandler#GetHttpHandler(System.Web.Routing.RequestContext)">
|
||||
<summary> Provides the object that processes the request. </summary>
|
||||
<returns> An object that processes the request. </returns>
|
||||
<param name="requestContext">An object that encapsulates information about the request.</param>
|
||||
</member>
|
||||
<member name="T:System.Web.Http.WebHost.PreApplicationStartCode">
|
||||
<summary>Provides a registration point for the simple membership pre-application start code.</summary>
|
||||
</member>
|
||||
<member name="M:System.Web.Http.WebHost.PreApplicationStartCode.Start">
|
||||
<summary>Registers the simple membership pre-application start code.</summary>
|
||||
</member>
|
||||
<member name="T:System.Web.Http.WebHost.WebHostBufferPolicySelector">
|
||||
<summary>Represents the web host buffer policy selector.</summary>
|
||||
</member>
|
||||
<member name="M:System.Web.Http.WebHost.WebHostBufferPolicySelector.#ctor">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Web.Http.WebHost.WebHostBufferPolicySelector" /> class.</summary>
|
||||
</member>
|
||||
<member name="M:System.Web.Http.WebHost.WebHostBufferPolicySelector.UseBufferedInputStream(System.Object)">
|
||||
<summary>Gets a value that indicates whether the host should buffer the entity body of the HTTP request.</summary>
|
||||
<returns>true if buffering should be used; otherwise a streamed request should be used.</returns>
|
||||
<param name="hostContext">The host context.</param>
|
||||
</member>
|
||||
<member name="M:System.Web.Http.WebHost.WebHostBufferPolicySelector.UseBufferedOutputStream(System.Net.Http.HttpResponseMessage)">
|
||||
<summary>Uses a buffered output stream for the web host.</summary>
|
||||
<returns>A buffered output stream.</returns>
|
||||
<param name="response">The response.</param>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
Binary file not shown.
Binary file not shown.
@@ -1,833 +0,0 @@
|
||||
<?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="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="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="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="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="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="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>
|
||||
<param name="index">The zero-based index of the value in the JSON array to return.</param>
|
||||
</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="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`2,System.Boolean,System.Object)">
|
||||
<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>
|
||||
<exception cref="T:System.NotSupportedException">The <see cref="P:System.Web.Helpers.WebGrid.PageIndex" /> property cannot be set because paging is not enabled.</exception>
|
||||
</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`2,System.Boolean)">
|
||||
<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.</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="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.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.All">
|
||||
<summary>Indicates that all methods for moving between <see cref="T:System.Web.Helpers.WebGrid" /> pages 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 null 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.
@@ -1,41 +0,0 @@
|
||||
<?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.</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.</summary>
|
||||
</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.</summary>
|
||||
</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.</summary>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Deployment.WebPagesDeployment.GetVersion(System.String)">
|
||||
<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.</summary>
|
||||
</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.</summary>
|
||||
</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.</summary>
|
||||
</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.</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
Binary file not shown.
@@ -1,224 +0,0 @@
|
||||
<?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.</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.</summary>
|
||||
</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.</summary>
|
||||
</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.</summary>
|
||||
</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.</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.</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.</summary>
|
||||
</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.</summary>
|
||||
</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.</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.</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.</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.</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.</summary>
|
||||
</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.</summary>
|
||||
</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.</summary>
|
||||
</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.</summary>
|
||||
</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.</summary>
|
||||
</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.</summary>
|
||||
</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.</summary>
|
||||
</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.</summary>
|
||||
</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.</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.</summary>
|
||||
</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.</summary>
|
||||
</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.</summary>
|
||||
</member>
|
||||
<member name="M:System.Web.WebPages.Razor.WebCodeRazorHost.PostProcessGeneratedCode(System.Web.Razor.Generator.CodeGeneratorContext)"></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.</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.</summary>
|
||||
</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.</summary>
|
||||
</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.</summary>
|
||||
</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.</summary>
|
||||
</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.</summary>
|
||||
</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.</summary>
|
||||
</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.</summary>
|
||||
</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.</summary>
|
||||
</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.</summary>
|
||||
</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.</summary>
|
||||
</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.</summary>
|
||||
</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.</summary>
|
||||
</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.</summary>
|
||||
</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.</summary>
|
||||
</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.</summary>
|
||||
</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.</summary>
|
||||
</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.</summary>
|
||||
</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.</summary>
|
||||
</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.</summary>
|
||||
</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.</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.</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.</summary>
|
||||
</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.</summary>
|
||||
</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.</summary>
|
||||
</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.</summary>
|
||||
</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.</summary>
|
||||
</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.</summary>
|
||||
</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.</summary>
|
||||
</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.</summary>
|
||||
</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.
Binary file not shown.
@@ -1,63 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>System.Net.Http.WebRequest</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:System.Net.Http.RtcRequestFactory">
|
||||
<summary>Represents the class that is used to create special <see cref="T:System.Net.Http.HttpRequestMessage" /> for use with the Real-Time-Communications (RTC) background notification infrastructure.</summary>
|
||||
</member>
|
||||
<member name="M:System.Net.Http.RtcRequestFactory.Create(System.Net.Http.HttpMethod,System.Uri)">
|
||||
<summary>Creates a special <see cref="T:System.Net.Http.HttpRequestMessage" /> for use with the Real-Time-Communications (RTC) background notification infrastructure.</summary>
|
||||
<returns>Returns <see cref="T:System.Net.Http.HttpRequestMessage" />.An HTTP request message for use with the RTC background notification infrastructure.</returns>
|
||||
<param name="method">The HTTP method.</param>
|
||||
<param name="uri">The Uri the request is sent to.</param>
|
||||
</member>
|
||||
<member name="T:System.Net.Http.WebRequestHandler">
|
||||
<summary>Provides desktop-specific features not available to Windows Store apps or other environments. </summary>
|
||||
</member>
|
||||
<member name="M:System.Net.Http.WebRequestHandler.#ctor">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Net.Http.WebRequestHandler" /> class.</summary>
|
||||
</member>
|
||||
<member name="P:System.Net.Http.WebRequestHandler.AllowPipelining">
|
||||
<summary> Gets or sets a value that indicates whether to pipeline the request to the Internet resource.</summary>
|
||||
<returns>Returns <see cref="T:System.Boolean" />.true if the request should be pipelined; otherwise, false. The default is true. </returns>
|
||||
</member>
|
||||
<member name="P:System.Net.Http.WebRequestHandler.AuthenticationLevel">
|
||||
<summary>Gets or sets a value indicating the level of authentication and impersonation used for this request.</summary>
|
||||
<returns>Returns <see cref="T:System.Net.Security.AuthenticationLevel" />.A bitwise combination of the <see cref="T:System.Net.Security.AuthenticationLevel" /> values. The default value is <see cref="F:System.Net.Security.AuthenticationLevel.MutualAuthRequested" />.</returns>
|
||||
</member>
|
||||
<member name="P:System.Net.Http.WebRequestHandler.CachePolicy">
|
||||
<summary>Gets or sets the cache policy for this request.</summary>
|
||||
<returns>Returns <see cref="T:System.Net.Cache.RequestCachePolicy" />.A <see cref="T:System.Net.Cache.RequestCachePolicy" /> object that defines a cache policy. The default is <see cref="P:System.Net.WebRequest.DefaultCachePolicy" />.</returns>
|
||||
</member>
|
||||
<member name="P:System.Net.Http.WebRequestHandler.ClientCertificates">
|
||||
<summary>Gets or sets the collection of security certificates that are associated with this request.</summary>
|
||||
<returns>Returns <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" />.The collection of security certificates associated with this request.</returns>
|
||||
</member>
|
||||
<member name="P:System.Net.Http.WebRequestHandler.ContinueTimeout">
|
||||
<summary>Gets or sets the amount of time, in milliseconds, the application will wait for 100-continue from the server before uploading data.</summary>
|
||||
<returns>Returns <see cref="T:System.TimeSpan" />.The amount of time, in milliseconds, the application will wait for 100-continue from the server before uploading data. The default value is 350 milliseconds.</returns>
|
||||
</member>
|
||||
<member name="P:System.Net.Http.WebRequestHandler.ImpersonationLevel">
|
||||
<summary>Gets or sets the impersonation level for the current request.</summary>
|
||||
<returns>Returns <see cref="T:System.Security.Principal.TokenImpersonationLevel" />.The impersonation level for the request. The default is <see cref="F:System.Security.Principal.TokenImpersonationLevel.Delegation" />.</returns>
|
||||
</member>
|
||||
<member name="P:System.Net.Http.WebRequestHandler.MaxResponseHeadersLength">
|
||||
<summary>Gets or sets the maximum allowed length of the response headers.</summary>
|
||||
<returns>Returns <see cref="T:System.Int32" />.The length, in kilobytes (1024 bytes), of the response headers.</returns>
|
||||
</member>
|
||||
<member name="P:System.Net.Http.WebRequestHandler.ReadWriteTimeout">
|
||||
<summary>Gets or sets a time-out in milliseconds when writing a request to or reading a response from a server.</summary>
|
||||
<returns>Returns <see cref="T:System.Int32" />.The number of milliseconds before the writing or reading times out. The default value is 300,000 milliseconds (5 minutes). </returns>
|
||||
</member>
|
||||
<member name="P:System.Net.Http.WebRequestHandler.ServerCertificateValidationCallback">
|
||||
<summary>Gets or sets a callback method to validate the server certificate.</summary>
|
||||
<returns>Returns <see cref="T:System.Net.Security.RemoteCertificateValidationCallback" />.A callback method to validate the server certificate.</returns>
|
||||
</member>
|
||||
<member name="P:System.Net.Http.WebRequestHandler.UnsafeAuthenticatedConnectionSharing">
|
||||
<summary>Gets or sets a value that indicates whether to allow high-speed NTLM-authenticated connection sharing.</summary>
|
||||
<returns>Returns <see cref="T:System.Boolean" />.true to keep the authenticated connection open; otherwise, false.</returns>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -1 +0,0 @@
|
||||
|
||||
@@ -1,163 +0,0 @@
|
||||
/*!
|
||||
** Unobtrusive Ajax support library for jQuery
|
||||
** Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*/
|
||||
|
||||
/*jslint white: true, browser: true, onevar: true, undef: true, nomen: true, eqeqeq: true, plusplus: true, bitwise: true, regexp: true, newcap: true, immed: true, strict: false */
|
||||
/*global window: false, jQuery: false */
|
||||
|
||||
(function ($) {
|
||||
var data_click = "unobtrusiveAjaxClick",
|
||||
data_validation = "unobtrusiveValidation";
|
||||
|
||||
function getFunction(code, argNames) {
|
||||
var fn = window, parts = (code || "").split(".");
|
||||
while (fn && parts.length) {
|
||||
fn = fn[parts.shift()];
|
||||
}
|
||||
if (typeof (fn) === "function") {
|
||||
return fn;
|
||||
}
|
||||
argNames.push(code);
|
||||
return Function.constructor.apply(null, argNames);
|
||||
}
|
||||
|
||||
function isMethodProxySafe(method) {
|
||||
return method === "GET" || method === "POST";
|
||||
}
|
||||
|
||||
function asyncOnBeforeSend(xhr, method) {
|
||||
if (!isMethodProxySafe(method)) {
|
||||
xhr.setRequestHeader("X-HTTP-Method-Override", method);
|
||||
}
|
||||
}
|
||||
|
||||
function asyncOnSuccess(element, data, contentType) {
|
||||
var mode;
|
||||
|
||||
if (contentType.indexOf("application/x-javascript") !== -1) { // jQuery already executes JavaScript for us
|
||||
return;
|
||||
}
|
||||
|
||||
mode = (element.getAttribute("data-ajax-mode") || "").toUpperCase();
|
||||
$(element.getAttribute("data-ajax-update")).each(function (i, update) {
|
||||
var top;
|
||||
|
||||
switch (mode) {
|
||||
case "BEFORE":
|
||||
top = update.firstChild;
|
||||
$("<div />").html(data).contents().each(function () {
|
||||
update.insertBefore(this, top);
|
||||
});
|
||||
break;
|
||||
case "AFTER":
|
||||
$("<div />").html(data).contents().each(function () {
|
||||
update.appendChild(this);
|
||||
});
|
||||
break;
|
||||
default:
|
||||
$(update).html(data);
|
||||
break;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function asyncRequest(element, options) {
|
||||
var confirm, loading, method, duration;
|
||||
|
||||
confirm = element.getAttribute("data-ajax-confirm");
|
||||
if (confirm && !window.confirm(confirm)) {
|
||||
return;
|
||||
}
|
||||
|
||||
loading = $(element.getAttribute("data-ajax-loading"));
|
||||
duration = element.getAttribute("data-ajax-loading-duration") || 0;
|
||||
|
||||
$.extend(options, {
|
||||
type: element.getAttribute("data-ajax-method") || undefined,
|
||||
url: element.getAttribute("data-ajax-url") || undefined,
|
||||
beforeSend: function (xhr) {
|
||||
var result;
|
||||
asyncOnBeforeSend(xhr, method);
|
||||
result = getFunction(element.getAttribute("data-ajax-begin"), ["xhr"]).apply(this, arguments);
|
||||
if (result !== false) {
|
||||
loading.show(duration);
|
||||
}
|
||||
return result;
|
||||
},
|
||||
complete: function () {
|
||||
loading.hide(duration);
|
||||
getFunction(element.getAttribute("data-ajax-complete"), ["xhr", "status"]).apply(this, arguments);
|
||||
},
|
||||
success: function (data, status, xhr) {
|
||||
asyncOnSuccess(element, data, xhr.getResponseHeader("Content-Type") || "text/html");
|
||||
getFunction(element.getAttribute("data-ajax-success"), ["data", "status", "xhr"]).apply(this, arguments);
|
||||
},
|
||||
error: getFunction(element.getAttribute("data-ajax-failure"), ["xhr", "status", "error"])
|
||||
});
|
||||
|
||||
options.data.push({ name: "X-Requested-With", value: "XMLHttpRequest" });
|
||||
|
||||
method = options.type.toUpperCase();
|
||||
if (!isMethodProxySafe(method)) {
|
||||
options.type = "POST";
|
||||
options.data.push({ name: "X-HTTP-Method-Override", value: method });
|
||||
}
|
||||
|
||||
$.ajax(options);
|
||||
}
|
||||
|
||||
function validate(form) {
|
||||
var validationInfo = $(form).data(data_validation);
|
||||
return !validationInfo || !validationInfo.validate || validationInfo.validate();
|
||||
}
|
||||
|
||||
$(document).on("click", "a[data-ajax=true]", function (evt) {
|
||||
evt.preventDefault();
|
||||
asyncRequest(this, {
|
||||
url: this.href,
|
||||
type: "GET",
|
||||
data: []
|
||||
});
|
||||
});
|
||||
|
||||
$(document).on("click", "form[data-ajax=true] input[type=image]", function (evt) {
|
||||
var name = evt.target.name,
|
||||
$target = $(evt.target),
|
||||
form = $target.parents("form")[0],
|
||||
offset = $target.offset();
|
||||
|
||||
$(form).data(data_click, [
|
||||
{ name: name + ".x", value: Math.round(evt.pageX - offset.left) },
|
||||
{ name: name + ".y", value: Math.round(evt.pageY - offset.top) }
|
||||
]);
|
||||
|
||||
setTimeout(function () {
|
||||
$(form).removeData(data_click);
|
||||
}, 0);
|
||||
});
|
||||
|
||||
$(document).on("click", "form[data-ajax=true] :submit", function (evt) {
|
||||
var name = evt.target.name,
|
||||
form = $(evt.target).parents("form")[0];
|
||||
|
||||
$(form).data(data_click, name ? [{ name: name, value: evt.target.value }] : []);
|
||||
|
||||
setTimeout(function () {
|
||||
$(form).removeData(data_click);
|
||||
}, 0);
|
||||
});
|
||||
|
||||
$(document).on("submit", "form[data-ajax=true]", function (evt) {
|
||||
var clickInfo = $(this).data(data_click) || [];
|
||||
evt.preventDefault();
|
||||
if (!validate(this)) {
|
||||
return;
|
||||
}
|
||||
asyncRequest(this, {
|
||||
url: this.action,
|
||||
type: this.method || "GET",
|
||||
data: clickInfo.concat($(this).serializeArray())
|
||||
});
|
||||
});
|
||||
}(jQuery));
|
||||
@@ -1,5 +0,0 @@
|
||||
/*
|
||||
** Unobtrusive Ajax support library for jQuery
|
||||
** Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*/
|
||||
(function(a){var b="unobtrusiveAjaxClick",g="unobtrusiveValidation";function c(d,b){var a=window,c=(d||"").split(".");while(a&&c.length)a=a[c.shift()];if(typeof a==="function")return a;b.push(d);return Function.constructor.apply(null,b)}function d(a){return a==="GET"||a==="POST"}function f(b,a){!d(a)&&b.setRequestHeader("X-HTTP-Method-Override",a)}function h(c,b,e){var d;if(e.indexOf("application/x-javascript")!==-1)return;d=(c.getAttribute("data-ajax-mode")||"").toUpperCase();a(c.getAttribute("data-ajax-update")).each(function(f,c){var e;switch(d){case"BEFORE":e=c.firstChild;a("<div />").html(b).contents().each(function(){c.insertBefore(this,e)});break;case"AFTER":a("<div />").html(b).contents().each(function(){c.appendChild(this)});break;default:a(c).html(b)}})}function e(b,e){var j,k,g,i;j=b.getAttribute("data-ajax-confirm");if(j&&!window.confirm(j))return;k=a(b.getAttribute("data-ajax-loading"));i=b.getAttribute("data-ajax-loading-duration")||0;a.extend(e,{type:b.getAttribute("data-ajax-method")||undefined,url:b.getAttribute("data-ajax-url")||undefined,beforeSend:function(d){var a;f(d,g);a=c(b.getAttribute("data-ajax-begin"),["xhr"]).apply(this,arguments);a!==false&&k.show(i);return a},complete:function(){k.hide(i);c(b.getAttribute("data-ajax-complete"),["xhr","status"]).apply(this,arguments)},success:function(a,e,d){h(b,a,d.getResponseHeader("Content-Type")||"text/html");c(b.getAttribute("data-ajax-success"),["data","status","xhr"]).apply(this,arguments)},error:c(b.getAttribute("data-ajax-failure"),["xhr","status","error"])});e.data.push({name:"X-Requested-With",value:"XMLHttpRequest"});g=e.type.toUpperCase();if(!d(g)){e.type="POST";e.data.push({name:"X-HTTP-Method-Override",value:g})}a.ajax(e)}function i(c){var b=a(c).data(g);return!b||!b.validate||b.validate()}a(document).on("click","a[data-ajax=true]",function(a){a.preventDefault();e(this,{url:this.href,type:"GET",data:[]})});a(document).on("click","form[data-ajax=true] input[type=image]",function(c){var g=c.target.name,d=a(c.target),f=d.parents("form")[0],e=d.offset();a(f).data(b,[{name:g+".x",value:Math.round(c.pageX-e.left)},{name:g+".y",value:Math.round(c.pageY-e.top)}]);setTimeout(function(){a(f).removeData(b)},0)});a(document).on("click","form[data-ajax=true] :submit",function(c){var e=c.target.name,d=a(c.target).parents("form")[0];a(d).data(b,e?[{name:e,value:c.target.value}]:[]);setTimeout(function(){a(d).removeData(b)},0)});a(document).on("submit","form[data-ajax=true]",function(d){var c=a(this).data(b)||[];d.preventDefault();if(!i(this))return;e(this,{url:this.action,type:this.method||"GET",data:c.concat(a(this).serializeArray())})})})(jQuery);
|
||||
Binary file not shown.
@@ -1,367 +0,0 @@
|
||||
/*!
|
||||
** Unobtrusive validation support library for jQuery and jQuery Validate
|
||||
** Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*/
|
||||
|
||||
/*jslint white: true, browser: true, onevar: true, undef: true, nomen: true, eqeqeq: true, plusplus: true, bitwise: true, regexp: true, newcap: true, immed: true, strict: false */
|
||||
/*global document: false, jQuery: false */
|
||||
|
||||
(function ($) {
|
||||
var $jQval = $.validator,
|
||||
adapters,
|
||||
data_validation = "unobtrusiveValidation";
|
||||
|
||||
function setValidationValues(options, ruleName, value) {
|
||||
options.rules[ruleName] = value;
|
||||
if (options.message) {
|
||||
options.messages[ruleName] = options.message;
|
||||
}
|
||||
}
|
||||
|
||||
function splitAndTrim(value) {
|
||||
return value.replace(/^\s+|\s+$/g, "").split(/\s*,\s*/g);
|
||||
}
|
||||
|
||||
function escapeAttributeValue(value) {
|
||||
// As mentioned on http://api.jquery.com/category/selectors/
|
||||
return value.replace(/([!"#$%&'()*+,./:;<=>?@\[\\\]^`{|}~])/g, "\\$1");
|
||||
}
|
||||
|
||||
function getModelPrefix(fieldName) {
|
||||
return fieldName.substr(0, fieldName.lastIndexOf(".") + 1);
|
||||
}
|
||||
|
||||
function appendModelPrefix(value, prefix) {
|
||||
if (value.indexOf("*.") === 0) {
|
||||
value = value.replace("*.", prefix);
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
function onError(error, inputElement) { // 'this' is the form element
|
||||
var container = $(this).find("[data-valmsg-for='" + escapeAttributeValue(inputElement[0].name) + "']"),
|
||||
replaceAttrValue = container.attr("data-valmsg-replace"),
|
||||
replace = replaceAttrValue ? $.parseJSON(replaceAttrValue) !== false : null;
|
||||
|
||||
container.removeClass("field-validation-valid").addClass("field-validation-error");
|
||||
error.data("unobtrusiveContainer", container);
|
||||
|
||||
if (replace) {
|
||||
container.empty();
|
||||
error.removeClass("input-validation-error").appendTo(container);
|
||||
}
|
||||
else {
|
||||
error.hide();
|
||||
}
|
||||
}
|
||||
|
||||
function onErrors(event, validator) { // 'this' is the form element
|
||||
var container = $(this).find("[data-valmsg-summary=true]"),
|
||||
list = container.find("ul");
|
||||
|
||||
if (list && list.length && validator.errorList.length) {
|
||||
list.empty();
|
||||
container.addClass("validation-summary-errors").removeClass("validation-summary-valid");
|
||||
|
||||
$.each(validator.errorList, function () {
|
||||
$("<li />").html(this.message).appendTo(list);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function onSuccess(error) { // 'this' is the form element
|
||||
var container = error.data("unobtrusiveContainer"),
|
||||
replaceAttrValue = container.attr("data-valmsg-replace"),
|
||||
replace = replaceAttrValue ? $.parseJSON(replaceAttrValue) : null;
|
||||
|
||||
if (container) {
|
||||
container.addClass("field-validation-valid").removeClass("field-validation-error");
|
||||
error.removeData("unobtrusiveContainer");
|
||||
|
||||
if (replace) {
|
||||
container.empty();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function onReset(event) { // 'this' is the form element
|
||||
var $form = $(this);
|
||||
$form.data("validator").resetForm();
|
||||
$form.find(".validation-summary-errors")
|
||||
.addClass("validation-summary-valid")
|
||||
.removeClass("validation-summary-errors");
|
||||
$form.find(".field-validation-error")
|
||||
.addClass("field-validation-valid")
|
||||
.removeClass("field-validation-error")
|
||||
.removeData("unobtrusiveContainer")
|
||||
.find(">*") // If we were using valmsg-replace, get the underlying error
|
||||
.removeData("unobtrusiveContainer");
|
||||
}
|
||||
|
||||
function validationInfo(form) {
|
||||
var $form = $(form),
|
||||
result = $form.data(data_validation),
|
||||
onResetProxy = $.proxy(onReset, form);
|
||||
|
||||
if (!result) {
|
||||
result = {
|
||||
options: { // options structure passed to jQuery Validate's validate() method
|
||||
errorClass: "input-validation-error",
|
||||
errorElement: "span",
|
||||
errorPlacement: $.proxy(onError, form),
|
||||
invalidHandler: $.proxy(onErrors, form),
|
||||
messages: {},
|
||||
rules: {},
|
||||
success: $.proxy(onSuccess, form)
|
||||
},
|
||||
attachValidation: function () {
|
||||
$form
|
||||
.unbind("reset." + data_validation, onResetProxy)
|
||||
.bind("reset." + data_validation, onResetProxy)
|
||||
.validate(this.options);
|
||||
},
|
||||
validate: function () { // a validation function that is called by unobtrusive Ajax
|
||||
$form.validate();
|
||||
return $form.valid();
|
||||
}
|
||||
};
|
||||
$form.data(data_validation, result);
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
$jQval.unobtrusive = {
|
||||
adapters: [],
|
||||
|
||||
parseElement: function (element, skipAttach) {
|
||||
/// <summary>
|
||||
/// Parses a single HTML element for unobtrusive validation attributes.
|
||||
/// </summary>
|
||||
/// <param name="element" domElement="true">The HTML element to be parsed.</param>
|
||||
/// <param name="skipAttach" type="Boolean">[Optional] true to skip attaching the
|
||||
/// validation to the form. If parsing just this single element, you should specify true.
|
||||
/// If parsing several elements, you should specify false, and manually attach the validation
|
||||
/// to the form when you are finished. The default is false.</param>
|
||||
var $element = $(element),
|
||||
form = $element.parents("form")[0],
|
||||
valInfo, rules, messages;
|
||||
|
||||
if (!form) { // Cannot do client-side validation without a form
|
||||
return;
|
||||
}
|
||||
|
||||
valInfo = validationInfo(form);
|
||||
valInfo.options.rules[element.name] = rules = {};
|
||||
valInfo.options.messages[element.name] = messages = {};
|
||||
|
||||
$.each(this.adapters, function () {
|
||||
var prefix = "data-val-" + this.name,
|
||||
message = $element.attr(prefix),
|
||||
paramValues = {};
|
||||
|
||||
if (message !== undefined) { // Compare against undefined, because an empty message is legal (and falsy)
|
||||
prefix += "-";
|
||||
|
||||
$.each(this.params, function () {
|
||||
paramValues[this] = $element.attr(prefix + this);
|
||||
});
|
||||
|
||||
this.adapt({
|
||||
element: element,
|
||||
form: form,
|
||||
message: message,
|
||||
params: paramValues,
|
||||
rules: rules,
|
||||
messages: messages
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
$.extend(rules, { "__dummy__": true });
|
||||
|
||||
if (!skipAttach) {
|
||||
valInfo.attachValidation();
|
||||
}
|
||||
},
|
||||
|
||||
parse: function (selector) {
|
||||
/// <summary>
|
||||
/// Parses all the HTML elements in the specified selector. It looks for input elements decorated
|
||||
/// with the [data-val=true] attribute value and enables validation according to the data-val-*
|
||||
/// attribute values.
|
||||
/// </summary>
|
||||
/// <param name="selector" type="String">Any valid jQuery selector.</param>
|
||||
var $forms = $(selector)
|
||||
.parents("form")
|
||||
.andSelf()
|
||||
.add($(selector).find("form"))
|
||||
.filter("form");
|
||||
|
||||
$(selector).find(":input[data-val=true]").each(function () {
|
||||
$jQval.unobtrusive.parseElement(this, true);
|
||||
});
|
||||
|
||||
$forms.each(function () {
|
||||
var info = validationInfo(this);
|
||||
if (info) {
|
||||
info.attachValidation();
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
adapters = $jQval.unobtrusive.adapters;
|
||||
|
||||
adapters.add = function (adapterName, params, fn) {
|
||||
/// <summary>Adds a new adapter to convert unobtrusive HTML into a jQuery Validate validation.</summary>
|
||||
/// <param name="adapterName" type="String">The name of the adapter to be added. This matches the name used
|
||||
/// in the data-val-nnnn HTML attribute (where nnnn is the adapter name).</param>
|
||||
/// <param name="params" type="Array" optional="true">[Optional] An array of parameter names (strings) that will
|
||||
/// be extracted from the data-val-nnnn-mmmm HTML attributes (where nnnn is the adapter name, and
|
||||
/// mmmm is the parameter name).</param>
|
||||
/// <param name="fn" type="Function">The function to call, which adapts the values from the HTML
|
||||
/// attributes into jQuery Validate rules and/or messages.</param>
|
||||
/// <returns type="jQuery.validator.unobtrusive.adapters" />
|
||||
if (!fn) { // Called with no params, just a function
|
||||
fn = params;
|
||||
params = [];
|
||||
}
|
||||
this.push({ name: adapterName, params: params, adapt: fn });
|
||||
return this;
|
||||
};
|
||||
|
||||
adapters.addBool = function (adapterName, ruleName) {
|
||||
/// <summary>Adds a new adapter to convert unobtrusive HTML into a jQuery Validate validation, where
|
||||
/// the jQuery Validate validation rule has no parameter values.</summary>
|
||||
/// <param name="adapterName" type="String">The name of the adapter to be added. This matches the name used
|
||||
/// in the data-val-nnnn HTML attribute (where nnnn is the adapter name).</param>
|
||||
/// <param name="ruleName" type="String" optional="true">[Optional] The name of the jQuery Validate rule. If not provided, the value
|
||||
/// of adapterName will be used instead.</param>
|
||||
/// <returns type="jQuery.validator.unobtrusive.adapters" />
|
||||
return this.add(adapterName, function (options) {
|
||||
setValidationValues(options, ruleName || adapterName, true);
|
||||
});
|
||||
};
|
||||
|
||||
adapters.addMinMax = function (adapterName, minRuleName, maxRuleName, minMaxRuleName, minAttribute, maxAttribute) {
|
||||
/// <summary>Adds a new adapter to convert unobtrusive HTML into a jQuery Validate validation, where
|
||||
/// the jQuery Validate validation has three potential rules (one for min-only, one for max-only, and
|
||||
/// one for min-and-max). The HTML parameters are expected to be named -min and -max.</summary>
|
||||
/// <param name="adapterName" type="String">The name of the adapter to be added. This matches the name used
|
||||
/// in the data-val-nnnn HTML attribute (where nnnn is the adapter name).</param>
|
||||
/// <param name="minRuleName" type="String">The name of the jQuery Validate rule to be used when you only
|
||||
/// have a minimum value.</param>
|
||||
/// <param name="maxRuleName" type="String">The name of the jQuery Validate rule to be used when you only
|
||||
/// have a maximum value.</param>
|
||||
/// <param name="minMaxRuleName" type="String">The name of the jQuery Validate rule to be used when you
|
||||
/// have both a minimum and maximum value.</param>
|
||||
/// <param name="minAttribute" type="String" optional="true">[Optional] The name of the HTML attribute that
|
||||
/// contains the minimum value. The default is "min".</param>
|
||||
/// <param name="maxAttribute" type="String" optional="true">[Optional] The name of the HTML attribute that
|
||||
/// contains the maximum value. The default is "max".</param>
|
||||
/// <returns type="jQuery.validator.unobtrusive.adapters" />
|
||||
return this.add(adapterName, [minAttribute || "min", maxAttribute || "max"], function (options) {
|
||||
var min = options.params.min,
|
||||
max = options.params.max;
|
||||
|
||||
if (min && max) {
|
||||
setValidationValues(options, minMaxRuleName, [min, max]);
|
||||
}
|
||||
else if (min) {
|
||||
setValidationValues(options, minRuleName, min);
|
||||
}
|
||||
else if (max) {
|
||||
setValidationValues(options, maxRuleName, max);
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
adapters.addSingleVal = function (adapterName, attribute, ruleName) {
|
||||
/// <summary>Adds a new adapter to convert unobtrusive HTML into a jQuery Validate validation, where
|
||||
/// the jQuery Validate validation rule has a single value.</summary>
|
||||
/// <param name="adapterName" type="String">The name of the adapter to be added. This matches the name used
|
||||
/// in the data-val-nnnn HTML attribute(where nnnn is the adapter name).</param>
|
||||
/// <param name="attribute" type="String">[Optional] The name of the HTML attribute that contains the value.
|
||||
/// The default is "val".</param>
|
||||
/// <param name="ruleName" type="String" optional="true">[Optional] The name of the jQuery Validate rule. If not provided, the value
|
||||
/// of adapterName will be used instead.</param>
|
||||
/// <returns type="jQuery.validator.unobtrusive.adapters" />
|
||||
return this.add(adapterName, [attribute || "val"], function (options) {
|
||||
setValidationValues(options, ruleName || adapterName, options.params[attribute]);
|
||||
});
|
||||
};
|
||||
|
||||
$jQval.addMethod("__dummy__", function (value, element, params) {
|
||||
return true;
|
||||
});
|
||||
|
||||
$jQval.addMethod("regex", function (value, element, params) {
|
||||
var match;
|
||||
if (this.optional(element)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
match = new RegExp(params).exec(value);
|
||||
return (match && (match.index === 0) && (match[0].length === value.length));
|
||||
});
|
||||
|
||||
$jQval.addMethod("nonalphamin", function (value, element, nonalphamin) {
|
||||
var match;
|
||||
if (nonalphamin) {
|
||||
match = value.match(/\W/g);
|
||||
match = match && match.length >= nonalphamin;
|
||||
}
|
||||
return match;
|
||||
});
|
||||
|
||||
adapters.addSingleVal("accept", "exts").addSingleVal("regex", "pattern");
|
||||
adapters.addBool("creditcard").addBool("date").addBool("digits").addBool("email").addBool("number").addBool("url");
|
||||
adapters.addMinMax("length", "minlength", "maxlength", "rangelength").addMinMax("range", "min", "max", "range");
|
||||
adapters.add("equalto", ["other"], function (options) {
|
||||
var prefix = getModelPrefix(options.element.name),
|
||||
other = options.params.other,
|
||||
fullOtherName = appendModelPrefix(other, prefix),
|
||||
element = $(options.form).find(":input[name='" + escapeAttributeValue(fullOtherName) + "']")[0];
|
||||
|
||||
setValidationValues(options, "equalTo", element);
|
||||
});
|
||||
adapters.add("required", function (options) {
|
||||
// jQuery Validate equates "required" with "mandatory" for checkbox elements
|
||||
if (options.element.tagName.toUpperCase() !== "INPUT" || options.element.type.toUpperCase() !== "CHECKBOX") {
|
||||
setValidationValues(options, "required", true);
|
||||
}
|
||||
});
|
||||
adapters.add("remote", ["url", "type", "additionalfields"], function (options) {
|
||||
var value = {
|
||||
url: options.params.url,
|
||||
type: options.params.type || "GET",
|
||||
data: {}
|
||||
},
|
||||
prefix = getModelPrefix(options.element.name);
|
||||
|
||||
$.each(splitAndTrim(options.params.additionalfields || options.element.name), function (i, fieldName) {
|
||||
var paramName = appendModelPrefix(fieldName, prefix);
|
||||
value.data[paramName] = function () {
|
||||
return $(options.form).find(":input[name='" + escapeAttributeValue(paramName) + "']").val();
|
||||
};
|
||||
});
|
||||
|
||||
setValidationValues(options, "remote", value);
|
||||
});
|
||||
adapters.add("password", ["min", "nonalphamin", "regex"], function (options) {
|
||||
if (options.params.min) {
|
||||
setValidationValues(options, "minlength", options.params.min);
|
||||
}
|
||||
if (options.params.nonalphamin) {
|
||||
setValidationValues(options, "nonalphamin", options.params.nonalphamin);
|
||||
}
|
||||
if (options.params.regex) {
|
||||
setValidationValues(options, "regex", options.params.regex);
|
||||
}
|
||||
});
|
||||
|
||||
$(function () {
|
||||
$jQval.unobtrusive.parse(document);
|
||||
});
|
||||
} (jQuery));
|
||||
@@ -1,5 +0,0 @@
|
||||
/*
|
||||
** Unobtrusive validation support library for jQuery and jQuery Validate
|
||||
** Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*/
|
||||
(function(a){var d=a.validator,b,e="unobtrusiveValidation";function c(a,b,c){a.rules[b]=c;if(a.message)a.messages[b]=a.message}function j(a){return a.replace(/^\s+|\s+$/g,"").split(/\s*,\s*/g)}function f(a){return a.replace(/([!"#$%&'()*+,./:;<=>?@\[\\\]^`{|}~])/g,"\\$1")}function h(a){return a.substr(0,a.lastIndexOf(".")+1)}function g(a,b){if(a.indexOf("*.")===0)a=a.replace("*.",b);return a}function m(c,e){var b=a(this).find("[data-valmsg-for='"+f(e[0].name)+"']"),d=b.attr("data-valmsg-replace"),g=d?a.parseJSON(d)!==false:null;b.removeClass("field-validation-valid").addClass("field-validation-error");c.data("unobtrusiveContainer",b);if(g){b.empty();c.removeClass("input-validation-error").appendTo(b)}else c.hide()}function l(e,d){var c=a(this).find("[data-valmsg-summary=true]"),b=c.find("ul");if(b&&b.length&&d.errorList.length){b.empty();c.addClass("validation-summary-errors").removeClass("validation-summary-valid");a.each(d.errorList,function(){a("<li />").html(this.message).appendTo(b)})}}function k(d){var b=d.data("unobtrusiveContainer"),c=b.attr("data-valmsg-replace"),e=c?a.parseJSON(c):null;if(b){b.addClass("field-validation-valid").removeClass("field-validation-error");d.removeData("unobtrusiveContainer");e&&b.empty()}}function n(){var b=a(this);b.data("validator").resetForm();b.find(".validation-summary-errors").addClass("validation-summary-valid").removeClass("validation-summary-errors");b.find(".field-validation-error").addClass("field-validation-valid").removeClass("field-validation-error").removeData("unobtrusiveContainer").find(">*").removeData("unobtrusiveContainer")}function i(c){var b=a(c),d=b.data(e),f=a.proxy(n,c);if(!d){d={options:{errorClass:"input-validation-error",errorElement:"span",errorPlacement:a.proxy(m,c),invalidHandler:a.proxy(l,c),messages:{},rules:{},success:a.proxy(k,c)},attachValidation:function(){b.unbind("reset."+e,f).bind("reset."+e,f).validate(this.options)},validate:function(){b.validate();return b.valid()}};b.data(e,d)}return d}d.unobtrusive={adapters:[],parseElement:function(b,h){var d=a(b),f=d.parents("form")[0],c,e,g;if(!f)return;c=i(f);c.options.rules[b.name]=e={};c.options.messages[b.name]=g={};a.each(this.adapters,function(){var c="data-val-"+this.name,i=d.attr(c),h={};if(i!==undefined){c+="-";a.each(this.params,function(){h[this]=d.attr(c+this)});this.adapt({element:b,form:f,message:i,params:h,rules:e,messages:g})}});a.extend(e,{__dummy__:true});!h&&c.attachValidation()},parse:function(b){var c=a(b).parents("form").andSelf().add(a(b).find("form")).filter("form");a(b).find(":input[data-val=true]").each(function(){d.unobtrusive.parseElement(this,true)});c.each(function(){var a=i(this);a&&a.attachValidation()})}};b=d.unobtrusive.adapters;b.add=function(c,a,b){if(!b){b=a;a=[]}this.push({name:c,params:a,adapt:b});return this};b.addBool=function(a,b){return this.add(a,function(d){c(d,b||a,true)})};b.addMinMax=function(e,g,f,a,d,b){return this.add(e,[d||"min",b||"max"],function(b){var e=b.params.min,d=b.params.max;if(e&&d)c(b,a,[e,d]);else if(e)c(b,g,e);else d&&c(b,f,d)})};b.addSingleVal=function(a,b,d){return this.add(a,[b||"val"],function(e){c(e,d||a,e.params[b])})};d.addMethod("__dummy__",function(){return true});d.addMethod("regex",function(b,c,d){var a;if(this.optional(c))return true;a=(new RegExp(d)).exec(b);return a&&a.index===0&&a[0].length===b.length});d.addMethod("nonalphamin",function(c,d,b){var a;if(b){a=c.match(/\W/g);a=a&&a.length>=b}return a});b.addSingleVal("accept","exts").addSingleVal("regex","pattern");b.addBool("creditcard").addBool("date").addBool("digits").addBool("email").addBool("number").addBool("url");b.addMinMax("length","minlength","maxlength","rangelength").addMinMax("range","min","max","range");b.add("equalto",["other"],function(b){var i=h(b.element.name),j=b.params.other,d=g(j,i),e=a(b.form).find(":input[name='"+f(d)+"']")[0];c(b,"equalTo",e)});b.add("required",function(a){(a.element.tagName.toUpperCase()!=="INPUT"||a.element.type.toUpperCase()!=="CHECKBOX")&&c(a,"required",true)});b.add("remote",["url","type","additionalfields"],function(b){var d={url:b.params.url,type:b.params.type||"GET",data:{}},e=h(b.element.name);a.each(j(b.params.additionalfields||b.element.name),function(i,h){var c=g(h,e);d.data[c]=function(){return a(b.form).find(":input[name='"+f(c)+"']").val()}});c(b,"remote",d)});b.add("password",["min","nonalphamin","regex"],function(a){a.params.min&&c(a,"minlength",a.params.min);a.params.nonalphamin&&c(a,"nonalphamin",a.params.nonalphamin);a.params.regex&&c(a,"regex",a.params.regex)});a(function(){d.unobtrusive.parse(document)})})(jQuery);
|
||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
BIN
packages/Modernizr.2.6.2/Modernizr.2.6.2.nupkg
vendored
BIN
packages/Modernizr.2.6.2/Modernizr.2.6.2.nupkg
vendored
Binary file not shown.
75
packages/Modernizr.2.6.2/Tools/common.ps1
vendored
75
packages/Modernizr.2.6.2/Tools/common.ps1
vendored
@@ -1,75 +0,0 @@
|
||||
function AddOrUpdate-Reference($scriptsFolderProjectItem, $fileNamePattern, $newFileName) {
|
||||
try {
|
||||
$referencesFileProjectItem = $scriptsFolderProjectItem.ProjectItems.Item("_references.js")
|
||||
}
|
||||
catch {
|
||||
# _references.js file not found
|
||||
return
|
||||
}
|
||||
|
||||
if ($referencesFileProjectItem -eq $null) {
|
||||
# _references.js file not found
|
||||
return
|
||||
}
|
||||
|
||||
$referencesFilePath = $referencesFileProjectItem.FileNames(1)
|
||||
$referencesTempFilePath = Join-Path $env:TEMP "_references.tmp.js"
|
||||
|
||||
if ((Select-String $referencesFilePath -pattern $fileNamePattern).Length -eq 0) {
|
||||
# File has no existing matching reference line
|
||||
# Add the full reference line to the beginning of the file
|
||||
"/// <reference path=""$newFileName"" />" | Add-Content $referencesTempFilePath -Encoding UTF8
|
||||
Get-Content $referencesFilePath | Add-Content $referencesTempFilePath
|
||||
}
|
||||
else {
|
||||
# Loop through file and replace old file name with new file name
|
||||
Get-Content $referencesFilePath | ForEach-Object { $_ -replace $fileNamePattern, $newFileName } > $referencesTempFilePath
|
||||
}
|
||||
|
||||
# Copy over the new _references.js file
|
||||
Copy-Item $referencesTempFilePath $referencesFilePath -Force
|
||||
Remove-Item $referencesTempFilePath -Force
|
||||
}
|
||||
|
||||
function Remove-Reference($scriptsFolderProjectItem, $fileNamePattern) {
|
||||
try {
|
||||
$referencesFileProjectItem = $scriptsFolderProjectItem.ProjectItems.Item("_references.js")
|
||||
}
|
||||
catch {
|
||||
# _references.js file not found
|
||||
return
|
||||
}
|
||||
|
||||
if ($referencesFileProjectItem -eq $null) {
|
||||
return
|
||||
}
|
||||
|
||||
$referencesFilePath = $referencesFileProjectItem.FileNames(1)
|
||||
$referencesTempFilePath = Join-Path $env:TEMP "_references.tmp.js"
|
||||
|
||||
if ((Select-String $referencesFilePath -pattern $fileNamePattern).Length -eq 1) {
|
||||
# Delete the line referencing the file
|
||||
Get-Content $referencesFilePath | ForEach-Object { if (-not ($_ -match $fileNamePattern)) { $_ } } > $referencesTempFilePath
|
||||
|
||||
# Copy over the new _references.js file
|
||||
Copy-Item $referencesTempFilePath $referencesFilePath -Force
|
||||
Remove-Item $referencesTempFilePath -Force
|
||||
}
|
||||
}
|
||||
|
||||
# Extract the version number from the file in the package's content\scripts folder
|
||||
$packageScriptsFolder = Join-Path $installPath Content\Scripts
|
||||
$modernizrFileName = Join-Path $packageScriptsFolder "modernizr-*.js" | Get-ChildItem -Exclude "*.min.js","*-vsdoc.js" | Split-Path -Leaf
|
||||
$modernizrFileNameRegEx = "modernizr-((?:\d+\.)?(?:\d+\.)?(?:\d+\.)?(?:\d+)).js"
|
||||
$modernizrFileName -match $modernizrFileNameRegEx
|
||||
$ver = $matches[1]
|
||||
|
||||
# Get the project item for the scripts folder
|
||||
try {
|
||||
$scriptsFolderProjectItem = $project.ProjectItems.Item("Scripts")
|
||||
$projectScriptsFolderPath = $scriptsFolderProjectItem.FileNames(1)
|
||||
}
|
||||
catch {
|
||||
# No Scripts folder
|
||||
Write-Host "No scripts folder found"
|
||||
}
|
||||
12
packages/Modernizr.2.6.2/Tools/install.ps1
vendored
12
packages/Modernizr.2.6.2/Tools/install.ps1
vendored
@@ -1,12 +0,0 @@
|
||||
param($installPath, $toolsPath, $package, $project)
|
||||
|
||||
. (Join-Path $toolsPath common.ps1)
|
||||
|
||||
if ($scriptsFolderProjectItem -eq $null) {
|
||||
# No Scripts folder
|
||||
Write-Host "No Scripts folder found"
|
||||
exit
|
||||
}
|
||||
|
||||
# Update the _references.js file
|
||||
AddOrUpdate-Reference $scriptsFolderProjectItem $modernizrFileNameRegEx $modernizrFileName
|
||||
6
packages/Modernizr.2.6.2/Tools/uninstall.ps1
vendored
6
packages/Modernizr.2.6.2/Tools/uninstall.ps1
vendored
@@ -1,6 +0,0 @@
|
||||
param($installPath, $toolsPath, $package, $project)
|
||||
|
||||
. (Join-Path $toolsPath common.ps1)
|
||||
|
||||
# Update the _references.js file
|
||||
Remove-Reference $scriptsFolderProjectItem $modernizrFileNameRegEx
|
||||
BIN
packages/WebGrease.1.3.0/WebGrease.1.3.0.nupkg
vendored
BIN
packages/WebGrease.1.3.0/WebGrease.1.3.0.nupkg
vendored
Binary file not shown.
BIN
packages/WebGrease.1.3.0/lib/Antlr3.Runtime.dll
vendored
BIN
packages/WebGrease.1.3.0/lib/Antlr3.Runtime.dll
vendored
Binary file not shown.
BIN
packages/WebGrease.1.3.0/lib/WebGrease.dll
vendored
BIN
packages/WebGrease.1.3.0/lib/WebGrease.dll
vendored
Binary file not shown.
BIN
packages/WebGrease.1.3.0/tools/WG.exe
vendored
BIN
packages/WebGrease.1.3.0/tools/WG.exe
vendored
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user