@ -0,0 +1,17 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<configuration> | |||||
<configSections> | |||||
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> | |||||
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> | |||||
</configSections> | |||||
<entityFramework> | |||||
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework"> | |||||
<parameters> | |||||
<parameter value="v11.0" /> | |||||
</parameters> | |||||
</defaultConnectionFactory> | |||||
<providers> | |||||
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> | |||||
</providers> | |||||
</entityFramework> | |||||
</configuration> |
@ -0,0 +1,36 @@ | |||||
using System.Reflection; | |||||
using System.Runtime.CompilerServices; | |||||
using System.Runtime.InteropServices; | |||||
// General Information about an assembly is controlled through the following | |||||
// set of attributes. Change these attribute values to modify the information | |||||
// associated with an assembly. | |||||
[assembly: AssemblyTitle("Sevomin.Models")] | |||||
[assembly: AssemblyDescription("")] | |||||
[assembly: AssemblyConfiguration("")] | |||||
[assembly: AssemblyCompany("")] | |||||
[assembly: AssemblyProduct("Sevomin.Models")] | |||||
[assembly: AssemblyCopyright("Copyright © 2014")] | |||||
[assembly: AssemblyTrademark("")] | |||||
[assembly: AssemblyCulture("")] | |||||
// Setting ComVisible to false makes the types in this assembly not visible | |||||
// to COM components. If you need to access a type in this assembly from | |||||
// COM, set the ComVisible attribute to true on that type. | |||||
[assembly: ComVisible(false)] | |||||
// The following GUID is for the ID of the typelib if this project is exposed to COM | |||||
[assembly: Guid("0ba43968-7756-4308-9e9c-35d9d747db7c")] | |||||
// Version information for an assembly consists of the following four values: | |||||
// | |||||
// Major Version | |||||
// Minor Version | |||||
// Build Number | |||||
// Revision | |||||
// | |||||
// You can specify all the values or you can default the Build and Revision Numbers | |||||
// by using the '*' as shown below: | |||||
// [assembly: AssemblyVersion("1.0.*")] | |||||
[assembly: AssemblyVersion("1.0.0.0")] | |||||
[assembly: AssemblyFileVersion("1.0.0.0")] |
@ -0,0 +1,59 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | |||||
<PropertyGroup> | |||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | |||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | |||||
<ProjectGuid>0ba43968-7756-4308-9e9c-35d9d747db7c</ProjectGuid> | |||||
<OutputType>Library</OutputType> | |||||
<AppDesignerFolder>Properties</AppDesignerFolder> | |||||
<RootNamespace>Sevomin.Models</RootNamespace> | |||||
<AssemblyName>Sevomin.Models</AssemblyName> | |||||
<TargetFrameworkVersion>v4.5.1</TargetFrameworkVersion> | |||||
<FileAlignment>512</FileAlignment> | |||||
</PropertyGroup> | |||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | |||||
<DebugSymbols>true</DebugSymbols> | |||||
<DebugType>full</DebugType> | |||||
<Optimize>false</Optimize> | |||||
<OutputPath>bin\Debug\</OutputPath> | |||||
<DefineConstants>DEBUG;TRACE</DefineConstants> | |||||
<ErrorReport>prompt</ErrorReport> | |||||
<WarningLevel>4</WarningLevel> | |||||
</PropertyGroup> | |||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | |||||
<DebugType>pdbonly</DebugType> | |||||
<Optimize>true</Optimize> | |||||
<OutputPath>bin\Release\</OutputPath> | |||||
<DefineConstants>TRACE</DefineConstants> | |||||
<ErrorReport>prompt</ErrorReport> | |||||
<WarningLevel>4</WarningLevel> | |||||
</PropertyGroup> | |||||
<ItemGroup> | |||||
<Reference Include="System"/> | |||||
<Reference Include="System.Core"/> | |||||
<Reference Include="System.Xml.Linq"/> | |||||
<Reference Include="System.Data.DataSetExtensions"/> | |||||
<Reference Include="Microsoft.CSharp"/> | |||||
<Reference Include="System.Data"/> | |||||
<Reference Include="System.Xml"/> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<Compile Include="Class1.cs" /> | |||||
<Compile Include="Properties\AssemblyInfo.cs" /> | |||||
</ItemGroup> | |||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | |||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | |||||
Other similar extension points exist, see Microsoft.Common.targets. | |||||
<Target Name="BeforeBuild"> | |||||
</Target> | |||||
<Target Name="AfterBuild"> | |||||
</Target> | |||||
--> | |||||
</Project> |
@ -0,0 +1,6 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<packages> | |||||
<package id="EntityFramework" version="6.0.2" targetFramework="net451" /> | |||||
<package id="Microsoft.AspNet.Identity.Core" version="1.0.0" targetFramework="net451" /> | |||||
<package id="Microsoft.AspNet.Identity.EntityFramework" version="1.0.0" targetFramework="net451" /> | |||||
</packages> |
@ -0,0 +1,14 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Linq; | |||||
using System.Text; | |||||
using System.Threading.Tasks; | |||||
using System.Web.Mvc; | |||||
namespace Sevomin.WebFrontend.Controllers | |||||
{ | |||||
[Authorize] | |||||
public class AuthorizedController : BaseController | |||||
{ | |||||
} | |||||
} |
@ -0,0 +1,13 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Linq; | |||||
using System.Text; | |||||
using System.Threading.Tasks; | |||||
using System.Web.Mvc; | |||||
namespace Sevomin.WebFrontend.Controllers | |||||
{ | |||||
public class BaseController : Controller | |||||
{ | |||||
} | |||||
} |
@ -0,0 +1,14 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Linq; | |||||
using System.Text; | |||||
using System.Threading.Tasks; | |||||
using System.Web.Mvc; | |||||
namespace Sevomin.WebFrontend.Controllers | |||||
{ | |||||
public class HomeController : BaseController | |||||
{ | |||||
} | |||||
} |
@ -0,0 +1,36 @@ | |||||
using System.Reflection; | |||||
using System.Runtime.CompilerServices; | |||||
using System.Runtime.InteropServices; | |||||
// General Information about an assembly is controlled through the following | |||||
// set of attributes. Change these attribute values to modify the information | |||||
// associated with an assembly. | |||||
[assembly: AssemblyTitle("Sevomin.WebFrontend.Controllers")] | |||||
[assembly: AssemblyDescription("")] | |||||
[assembly: AssemblyConfiguration("")] | |||||
[assembly: AssemblyCompany("")] | |||||
[assembly: AssemblyProduct("Sevomin.WebFrontend.Controllers")] | |||||
[assembly: AssemblyCopyright("Copyright © 2014")] | |||||
[assembly: AssemblyTrademark("")] | |||||
[assembly: AssemblyCulture("")] | |||||
// Setting ComVisible to false makes the types in this assembly not visible | |||||
// to COM components. If you need to access a type in this assembly from | |||||
// COM, set the ComVisible attribute to true on that type. | |||||
[assembly: ComVisible(false)] | |||||
// The following GUID is for the ID of the typelib if this project is exposed to COM | |||||
[assembly: Guid("9bdd0225-b699-4da2-9378-be2ba2535f77")] | |||||
// Version information for an assembly consists of the following four values: | |||||
// | |||||
// Major Version | |||||
// Minor Version | |||||
// Build Number | |||||
// Revision | |||||
// | |||||
// You can specify all the values or you can default the Build and Revision Numbers | |||||
// by using the '*' as shown below: | |||||
// [assembly: AssemblyVersion("1.0.*")] | |||||
[assembly: AssemblyVersion("1.0.0.0")] | |||||
[assembly: AssemblyFileVersion("1.0.0.0")] |
@ -0,0 +1,59 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | |||||
<PropertyGroup> | |||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | |||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | |||||
<ProjectGuid>{1E1E197B-9300-4512-98CB-B1B8AAB75964}</ProjectGuid> | |||||
<OutputType>Library</OutputType> | |||||
<AppDesignerFolder>Properties</AppDesignerFolder> | |||||
<RootNamespace>Sevomin.WebFrontend.Controllers</RootNamespace> | |||||
<AssemblyName>Sevomin.WebFrontend.Controllers</AssemblyName> | |||||
<TargetFrameworkVersion>v4.5.1</TargetFrameworkVersion> | |||||
<FileAlignment>512</FileAlignment> | |||||
</PropertyGroup> | |||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | |||||
<DebugSymbols>true</DebugSymbols> | |||||
<DebugType>full</DebugType> | |||||
<Optimize>false</Optimize> | |||||
<OutputPath>bin\Debug\</OutputPath> | |||||
<DefineConstants>DEBUG;TRACE</DefineConstants> | |||||
<ErrorReport>prompt</ErrorReport> | |||||
<WarningLevel>4</WarningLevel> | |||||
</PropertyGroup> | |||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | |||||
<DebugType>pdbonly</DebugType> | |||||
<Optimize>true</Optimize> | |||||
<OutputPath>bin\Release\</OutputPath> | |||||
<DefineConstants>TRACE</DefineConstants> | |||||
<ErrorReport>prompt</ErrorReport> | |||||
<WarningLevel>4</WarningLevel> | |||||
</PropertyGroup> | |||||
<ItemGroup> | |||||
<Reference Include="System" /> | |||||
<Reference Include="System.Core" /> | |||||
<Reference Include="System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> | |||||
<SpecificVersion>False</SpecificVersion> | |||||
<HintPath>..\packages\Microsoft.AspNet.Mvc.5.0.0\lib\net45\System.Web.Mvc.dll</HintPath> | |||||
</Reference> | |||||
<Reference Include="System.Xml.Linq" /> | |||||
<Reference Include="System.Data.DataSetExtensions" /> | |||||
<Reference Include="Microsoft.CSharp" /> | |||||
<Reference Include="System.Data" /> | |||||
<Reference Include="System.Xml" /> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<Compile Include="AuthorizedController.cs" /> | |||||
<Compile Include="BaseController.cs" /> | |||||
<Compile Include="HomeController.cs" /> | |||||
<Compile Include="Properties\AssemblyInfo.cs" /> | |||||
</ItemGroup> | |||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | |||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | |||||
Other similar extension points exist, see Microsoft.Common.targets. | |||||
<Target Name="BeforeBuild"> | |||||
</Target> | |||||
<Target Name="AfterBuild"> | |||||
</Target> | |||||
--> | |||||
</Project> |
@ -0,0 +1,4 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<packages> | |||||
<package id="Microsoft.AspNet.Identity.Core" version="1.0.0" targetFramework="net451" /> | |||||
</packages> |
@ -0,0 +1,23 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Linq; | |||||
using System.Web; | |||||
using System.Web.Mvc; | |||||
using System.Web.Routing; | |||||
namespace Sevomin.WebFrontend | |||||
{ | |||||
public class RouteConfig | |||||
{ | |||||
public static void RegisterRoutes(RouteCollection routes) | |||||
{ | |||||
routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); | |||||
routes.MapRoute( | |||||
name: "Default", | |||||
url: "{controller}/{action}/{id}", | |||||
defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional } | |||||
); | |||||
} | |||||
} | |||||
} |
@ -0,0 +1 @@ | |||||
<%@ Application Codebehind="Global.asax.cs" Inherits="Sevomin.WebFrontend.MvcApplication" Language="C#" %> |
@ -0,0 +1,18 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Linq; | |||||
using System.Web; | |||||
using System.Web.Mvc; | |||||
using System.Web.Routing; | |||||
namespace Sevomin.WebFrontend | |||||
{ | |||||
public class MvcApplication : System.Web.HttpApplication | |||||
{ | |||||
protected void Application_Start() | |||||
{ | |||||
AreaRegistration.RegisterAllAreas(); | |||||
RouteConfig.RegisterRoutes(RouteTable.Routes); | |||||
} | |||||
} | |||||
} |
@ -0,0 +1,35 @@ | |||||
using System.Reflection; | |||||
using System.Runtime.CompilerServices; | |||||
using System.Runtime.InteropServices; | |||||
// General Information about an assembly is controlled through the following | |||||
// set of attributes. Change these attribute values to modify the information | |||||
// associated with an assembly. | |||||
[assembly: AssemblyTitle("Sevomin.WebFrontend")] | |||||
[assembly: AssemblyDescription("")] | |||||
[assembly: AssemblyConfiguration("")] | |||||
[assembly: AssemblyCompany("")] | |||||
[assembly: AssemblyProduct("Sevomin.WebFrontend")] | |||||
[assembly: AssemblyCopyright("Copyright © 2014")] | |||||
[assembly: AssemblyTrademark("")] | |||||
[assembly: AssemblyCulture("")] | |||||
// Setting ComVisible to false makes the types in this assembly not visible | |||||
// to COM components. If you need to access a type in this assembly from | |||||
// COM, set the ComVisible attribute to true on that type. | |||||
[assembly: ComVisible(false)] | |||||
// The following GUID is for the ID of the typelib if this project is exposed to COM | |||||
[assembly: Guid("3ee19564-0caa-4569-ba92-f8faf73c3bd4")] | |||||
// Version information for an assembly consists of the following four values: | |||||
// | |||||
// Major Version | |||||
// Minor Version | |||||
// Build Number | |||||
// Revision | |||||
// | |||||
// You can specify all the values or you can default the Revision and Build Numbers | |||||
// by using the '*' as shown below: | |||||
[assembly: AssemblyVersion("1.0.0.0")] | |||||
[assembly: AssemblyFileVersion("1.0.0.0")] |
@ -0,0 +1,344 @@ | |||||
/* NUGET: BEGIN LICENSE TEXT | |||||
* | |||||
* Microsoft grants you the right to use these script files for the sole | |||||
* purpose of either: (i) interacting through your browser with the Microsoft | |||||
* website or online service, subject to the applicable licensing or use | |||||
* terms; or (ii) using the files as included with a Microsoft product subject | |||||
* to that product's license terms. Microsoft reserves all other rights to the | |||||
* files not expressly granted by Microsoft, whether by implication, estoppel | |||||
* or otherwise. Insofar as a script file is dual licensed under GPL, | |||||
* Microsoft neither took the code under GPL nor distributes it thereunder but | |||||
* under the terms set out in this paragraph. All notices and licenses | |||||
* below are for informational purposes only. | |||||
* | |||||
* NUGET: END LICENSE TEXT */ | |||||
/*! | |||||
** 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"); | |||||
// :input is a psuedoselector provided by jQuery which selects input and input-like elements | |||||
// combining :input with other selectors significantly decreases performance. | |||||
$(selector).find(":input").filter("[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; | |||||
}); | |||||
if ($jQval.methods.extension) { | |||||
adapters.addSingleVal("accept", "mimtype"); | |||||
adapters.addSingleVal("extension", "extension"); | |||||
} else { | |||||
// for backward compatibility, when the 'extension' validation method does not exist, such as with versions | |||||
// of JQuery Validation plugin prior to 1.10, we should use the 'accept' method for | |||||
// validating the extension, and ignore mime-type validations as they are not supported. | |||||
adapters.addSingleVal("extension", "extension", "accept"); | |||||
} | |||||
adapters.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").filter("[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").filter("[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)); |
@ -0,0 +1,19 @@ | |||||
/* NUGET: BEGIN LICENSE TEXT | |||||
* | |||||
* Microsoft grants you the right to use these script files for the sole | |||||
* purpose of either: (i) interacting through your browser with the Microsoft | |||||
* website or online service, subject to the applicable licensing or use | |||||
* terms; or (ii) using the files as included with a Microsoft product subject | |||||
* to that product's license terms. Microsoft reserves all other rights to the | |||||
* files not expressly granted by Microsoft, whether by implication, estoppel | |||||
* or otherwise. Insofar as a script file is dual licensed under GPL, | |||||
* Microsoft neither took the code under GPL nor distributes it thereunder but | |||||
* under the terms set out in this paragraph. All notices and licenses | |||||
* below are for informational purposes only. | |||||
* | |||||
* NUGET: END LICENSE TEXT */ | |||||
/* | |||||
** 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").filter("[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});if(d.methods.extension){b.addSingleVal("accept","mimtype");b.addSingleVal("extension","extension")}else b.addSingleVal("extension","extension","accept");b.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").filter("[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").filter("[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); |
@ -0,0 +1,153 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | |||||
<PropertyGroup> | |||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | |||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | |||||
<ProductVersion> | |||||
</ProductVersion> | |||||
<SchemaVersion>2.0</SchemaVersion> | |||||
<ProjectGuid>{95C7D295-0E5E-43EB-AD46-8CED0B9FDB2F}</ProjectGuid> | |||||
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids> | |||||
<OutputType>Library</OutputType> | |||||
<AppDesignerFolder>Properties</AppDesignerFolder> | |||||
<RootNamespace>Sevomin.WebFrontend</RootNamespace> | |||||
<AssemblyName>Sevomin.WebFrontend</AssemblyName> | |||||
<TargetFrameworkVersion>v4.5.1</TargetFrameworkVersion> | |||||
<UseIISExpress>true</UseIISExpress> | |||||
<IISExpressSSLPort /> | |||||
<IISExpressAnonymousAuthentication /> | |||||
<IISExpressWindowsAuthentication /> | |||||
<IISExpressUseClassicPipelineMode /> | |||||
</PropertyGroup> | |||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | |||||
<DebugSymbols>true</DebugSymbols> | |||||
<DebugType>full</DebugType> | |||||
<Optimize>false</Optimize> | |||||
<OutputPath>bin\</OutputPath> | |||||
<DefineConstants>DEBUG;TRACE</DefineConstants> | |||||
<ErrorReport>prompt</ErrorReport> | |||||
<WarningLevel>4</WarningLevel> | |||||
</PropertyGroup> | |||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | |||||
<DebugType>pdbonly</DebugType> | |||||
<Optimize>true</Optimize> | |||||
<OutputPath>bin\</OutputPath> | |||||
<DefineConstants>TRACE</DefineConstants> | |||||
<ErrorReport>prompt</ErrorReport> | |||||
<WarningLevel>4</WarningLevel> | |||||
</PropertyGroup> | |||||
<ItemGroup> | |||||
<Reference Include="Microsoft.CSharp" /> | |||||
<Reference Include="System.Web.DynamicData" /> | |||||
<Reference Include="System.Web.Entity" /> | |||||
<Reference Include="System.Web.ApplicationServices" /> | |||||
<Reference Include="System.ComponentModel.DataAnnotations" /> | |||||
<Reference Include="System" /> | |||||
<Reference Include="System.Data" /> | |||||
<Reference Include="System.Core" /> | |||||
<Reference Include="System.Data.DataSetExtensions" /> | |||||
<Reference Include="System.Web.Extensions" /> | |||||
<Reference Include="System.Xml.Linq" /> | |||||
<Reference Include="System.Drawing" /> | |||||
<Reference Include="System.Web" /> | |||||
<Reference Include="System.Xml" /> | |||||
<Reference Include="System.Configuration" /> | |||||
<Reference Include="System.Web.Services" /> | |||||
<Reference Include="System.EnterpriseServices" /> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<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="System.Web.Razor"> | |||||
<HintPath>..\packages\Microsoft.AspNet.Razor.3.0.0\lib\net45\System.Web.Razor.dll</HintPath> | |||||
</Reference> | |||||
<Reference Include="System.Web.Webpages"> | |||||
<HintPath>..\packages\Microsoft.AspNet.Webpages.3.0.0\lib\net45\System.Web.Webpages.dll</HintPath> | |||||
</Reference> | |||||
<Reference Include="System.Web.Webpages.Deployment"> | |||||
<HintPath>..\packages\Microsoft.AspNet.Webpages.3.0.0\lib\net45\System.Web.Webpages.Deployment.dll</HintPath> | |||||
</Reference> | |||||
<Reference Include="System.Web.Webpages.Razor"> | |||||
<HintPath>..\packages\Microsoft.AspNet.Webpages.3.0.0\lib\net45\System.Web.Webpages.Razor.dll</HintPath> | |||||
</Reference> | |||||
<Reference Include="System.Web.Helpers"> | |||||
<HintPath>..\packages\Microsoft.AspNet.Webpages.3.0.0\lib\net45\System.Web.Helpers.dll</HintPath> | |||||
</Reference> | |||||
<Reference Include="System.Web.Mvc"> | |||||
<HintPath>..\packages\Microsoft.AspNet.Mvc.5.0.0\lib\net45\System.Web.Mvc.dll</HintPath> | |||||
</Reference> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<Content Include="Global.asax" /> | |||||
<None Include="Scripts\jquery-1.10.2.intellisense.js" /> | |||||
<Content Include="Scripts\jquery-1.10.2.js" /> | |||||
<Content Include="Scripts\jquery-1.10.2.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="Web.config" /> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<Compile Include="App_Start\RouteConfig.cs" /> | |||||
<Compile Include="Global.asax.cs"> | |||||
<DependentUpon>Global.asax</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Properties\AssemblyInfo.cs" /> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<Content Include="Views\web.config" /> | |||||
<Content Include="packages.config" /> | |||||
<Content Include="Scripts\jquery-1.10.2.min.map" /> | |||||
<Content Include="Views\Home\Index.cshtml" /> | |||||
<None Include="Web.Debug.config"> | |||||
<DependentUpon>Web.config</DependentUpon> | |||||
</None> | |||||
<None Include="Web.Release.config"> | |||||
<DependentUpon>Web.config</DependentUpon> | |||||
</None> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<ProjectReference Include="..\Sevomin.WebFrontend.Controllers\Sevomin.WebFrontend.Controllers.csproj"> | |||||
<Project>{1e1e197b-9300-4512-98cb-b1b8aab75964}</Project> | |||||
<Name>Sevomin.WebFrontend.Controllers</Name> | |||||
</ProjectReference> | |||||
</ItemGroup> | |||||
<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="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" /> | |||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" /> | |||||
<ProjectExtensions> | |||||
<VisualStudio> | |||||
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}"> | |||||
<WebProjectProperties> | |||||
<UseIIS>True</UseIIS> | |||||
<AutoAssignPort>True</AutoAssignPort> | |||||
<DevelopmentServerPort>0</DevelopmentServerPort> | |||||
<DevelopmentServerVPath>/</DevelopmentServerVPath> | |||||
<IISUrl>http://localhost:1531/</IISUrl> | |||||
<NTLMAuthentication>False</NTLMAuthentication> | |||||
<UseCustomServer>False</UseCustomServer> | |||||
<CustomServerUrl> | |||||
</CustomServerUrl> | |||||
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile> | |||||
</WebProjectProperties> | |||||
</FlavorProperties> | |||||
</VisualStudio> | |||||
</ProjectExtensions> | |||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | |||||
Other similar extension points exist, see Microsoft.Common.targets. | |||||
<Target Name="BeforeBuild"> | |||||
</Target> | |||||
<Target Name="AfterBuild"> | |||||
</Target> | |||||
--> | |||||
</Project> |
@ -0,0 +1,15 @@ | |||||
@{ | |||||
Layout = null; | |||||
} | |||||
<!DOCTYPE html> | |||||
<html> | |||||
<head> | |||||
<meta name="viewport" content="width=device-width" /> | |||||
<title>Index</title> | |||||
</head> | |||||
<body> | |||||
<div> | |||||
</div> | |||||
</body> | |||||
</html> |
@ -0,0 +1,34 @@ | |||||
<?xml version="1.0"?> | |||||
<configuration> | |||||
<configSections> | |||||
<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=5.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> | |||||
<pages pageBaseType="System.Web.Mvc.WebViewPage"> | |||||
<namespaces> | |||||
<add namespace="System.Web.Mvc" /> | |||||
<add namespace="System.Web.Mvc.Ajax" /> | |||||
<add namespace="System.Web.Mvc.Html" /> | |||||
<add namespace="System.Web.Routing" /> | |||||
<add namespace="Sevomin.WebFrontend" /> | |||||
</namespaces> | |||||
</pages> | |||||
</system.web.webPages.razor> | |||||
<appSettings> | |||||
<add key="webpages:Enabled" value="false" /> | |||||
</appSettings> | |||||
<system.webServer> | |||||
<handlers> | |||||
<remove name="BlockViewHandler"/> | |||||
<add name="BlockViewHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler" /> | |||||
</handlers> | |||||
</system.webServer> | |||||
</configuration> |
@ -0,0 +1,30 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 --> | |||||
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> | |||||
<!-- | |||||
In the example below, the "SetAttributes" transform will change the value of | |||||
"connectionString" to use "ReleaseSQLServer" only when the "Match" locator | |||||
finds an attribute "name" that has a value of "MyDB". | |||||
<connectionStrings> | |||||
<add name="MyDB" | |||||
connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True" | |||||
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/> | |||||
</connectionStrings> | |||||
--> | |||||
<system.web> | |||||
<!-- | |||||
In the example below, the "Replace" transform will replace the entire | |||||
<customErrors> section of your web.config file. | |||||
Note that because there is only one customErrors section under the | |||||
<system.web> node, there is no need to use the "xdt:Locator" attribute. | |||||
<customErrors defaultRedirect="GenericError.htm" | |||||
mode="RemoteOnly" xdt:Transform="Replace"> | |||||
<error statusCode="500" redirect="InternalError.htm"/> | |||||
</customErrors> | |||||
--> | |||||
</system.web> | |||||
</configuration> |
@ -0,0 +1,31 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 --> | |||||
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> | |||||
<!-- | |||||
In the example below, the "SetAttributes" transform will change the value of | |||||
"connectionString" to use "ReleaseSQLServer" only when the "Match" locator | |||||
finds an attribute "name" that has a value of "MyDB". | |||||
<connectionStrings> | |||||
<add name="MyDB" | |||||
connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True" | |||||
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/> | |||||
</connectionStrings> | |||||
--> | |||||
<system.web> | |||||
<compilation xdt:Transform="RemoveAttributes(debug)" /> | |||||
<!-- | |||||
In the example below, the "Replace" transform will replace the entire | |||||
<customErrors> section of your web.config file. | |||||
Note that because there is only one customErrors section under the | |||||
<system.web> node, there is no need to use the "xdt:Locator" attribute. | |||||
<customErrors defaultRedirect="GenericError.htm" | |||||
mode="RemoteOnly" xdt:Transform="Replace"> | |||||
<error statusCode="500" redirect="InternalError.htm"/> | |||||
</customErrors> | |||||
--> | |||||
</system.web> | |||||
</configuration> |
@ -0,0 +1,17 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<!-- | |||||
For more information on how to configure your ASP.NET application, please visit | |||||
http://go.microsoft.com/fwlink/?LinkId=301880 | |||||
--> | |||||
<configuration> | |||||
<appSettings> | |||||
<add key="webpages:Version" value="3.0.0.0" /> | |||||
<add key="webpages:Enabled" value="false" /> | |||||
<add key="ClientValidationEnabled" value="true" /> | |||||
<add key="UnobtrusiveJavaScriptEnabled" value="true" /> | |||||
</appSettings> | |||||
<system.web> | |||||
<compilation debug="true" targetFramework="4.5.1" /> | |||||
<httpRuntime targetFramework="4.5.1" /> | |||||
</system.web> | |||||
</configuration> |
@ -0,0 +1,10 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<packages> | |||||
<package id="jQuery" version="1.10.2" targetFramework="net451" /> | |||||
<package id="jQuery.Validation" version="1.11.1" targetFramework="net451" /> | |||||
<package id="Microsoft.AspNet.Mvc" version="5.0.0" targetFramework="net451" /> | |||||
<package id="Microsoft.AspNet.Razor" version="3.0.0" targetFramework="net451" /> | |||||
<package id="Microsoft.AspNet.WebPages" version="3.0.0" targetFramework="net451" /> | |||||
<package id="Microsoft.jQuery.Unobtrusive.Validation" version="3.0.0" targetFramework="net451" /> | |||||
<package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net451" /> | |||||
</packages> |
@ -0,0 +1,31 @@ | |||||
| |||||
Microsoft Visual Studio Solution File, Format Version 12.00 | |||||
# Visual Studio 2012 | |||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sevomin.WebFrontend", "Sevomin.WebFrontend\Sevomin.WebFrontend.csproj", "{95C7D295-0E5E-43EB-AD46-8CED0B9FDB2F}" | |||||
EndProject | |||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Controllers", "Controllers", "{9371666D-949F-4978-824B-AC8C396A8720}" | |||||
EndProject | |||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sevomin.WebFrontend.Controllers", "Sevomin.WebFrontend.Controllers\Sevomin.WebFrontend.Controllers.csproj", "{1E1E197B-9300-4512-98CB-B1B8AAB75964}" | |||||
EndProject | |||||
Global | |||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | |||||
Debug|Any CPU = Debug|Any CPU | |||||
Release|Any CPU = Release|Any CPU | |||||
EndGlobalSection | |||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | |||||
{95C7D295-0E5E-43EB-AD46-8CED0B9FDB2F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | |||||
{95C7D295-0E5E-43EB-AD46-8CED0B9FDB2F}.Debug|Any CPU.Build.0 = Debug|Any CPU | |||||
{95C7D295-0E5E-43EB-AD46-8CED0B9FDB2F}.Release|Any CPU.ActiveCfg = Release|Any CPU | |||||
{95C7D295-0E5E-43EB-AD46-8CED0B9FDB2F}.Release|Any CPU.Build.0 = Release|Any CPU | |||||
{1E1E197B-9300-4512-98CB-B1B8AAB75964}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | |||||
{1E1E197B-9300-4512-98CB-B1B8AAB75964}.Debug|Any CPU.Build.0 = Debug|Any CPU | |||||
{1E1E197B-9300-4512-98CB-B1B8AAB75964}.Release|Any CPU.ActiveCfg = Release|Any CPU | |||||
{1E1E197B-9300-4512-98CB-B1B8AAB75964}.Release|Any CPU.Build.0 = Release|Any CPU | |||||
EndGlobalSection | |||||
GlobalSection(SolutionProperties) = preSolution | |||||
HideSolutionNode = FALSE | |||||
EndGlobalSection | |||||
GlobalSection(NestedProjects) = preSolution | |||||
{1E1E197B-9300-4512-98CB-B1B8AAB75964} = {9371666D-949F-4978-824B-AC8C396A8720} | |||||
EndGlobalSection | |||||
EndGlobal |
@ -0,0 +1,21 @@ | |||||
<?xml version="1.0"?> | |||||
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> | |||||
<metadata> | |||||
<id>EntityFramework</id> | |||||
<version>6.0.2</version> | |||||
<title>EntityFramework</title> | |||||
<authors>Microsoft</authors> | |||||
<owners>Microsoft</owners> | |||||
<licenseUrl>http://go.microsoft.com/fwlink/?LinkID=320539</licenseUrl> | |||||
<projectUrl>http://go.microsoft.com/fwlink/?LinkID=320540</projectUrl> | |||||
<iconUrl>http://go.microsoft.com/fwlink/?LinkID=386613</iconUrl> | |||||
<requireLicenseAcceptance>true</requireLicenseAcceptance> | |||||
<description>Entity Framework is Microsoft's recommended data access technology for new applications.</description> | |||||
<summary>Entity Framework is Microsoft's recommended data access technology for new applications.</summary> | |||||
<language>en-US</language> | |||||
<tags>Microsoft EF Database Data O/RM ADO.NET</tags> | |||||
<frameworkAssemblies> | |||||
<frameworkAssembly assemblyName="System.ComponentModel.DataAnnotations" targetFramework="" /> | |||||
</frameworkAssemblies> | |||||
</metadata> | |||||
</package> |
@ -0,0 +1,5 @@ | |||||
<configuration> | |||||
<configSections> | |||||
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> | |||||
</configSections> | |||||
</configuration> |
@ -0,0 +1,5 @@ | |||||
<configuration> | |||||
<configSections> | |||||
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> | |||||
</configSections> | |||||
</configuration> |
@ -0,0 +1,48 @@ | |||||
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 used with Entity Framework | |||||
Migrations. | |||||
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. | |||||
The following Entity Framework cmdlets are used by NuGet packages that | |||||
install Entity Framework providers. These commands are not usually used as | |||||
part of normal application development. | |||||
Cmdlet Description | |||||
------------------------------ --------------------------------------- | |||||
Add-EFProvider Adds or updates an Entity Framework | |||||
provider entry in the project config | |||||
file. | |||||
Add-EFDefaultConnectionFactory Adds or updates an Entity Framework | |||||
default connection factory in the | |||||
project config file. | |||||
Initialize-EFConfiguration Initializes the Entity Framework | |||||
section in the project config file and | |||||
sets defaults. | |||||
SEE ALSO | |||||
Enable-Migrations | |||||
Add-Migration | |||||
Update-Database | |||||
Get-Migrations |
@ -0,0 +1,154 @@ | |||||
param($installPath, $toolsPath, $package, $project) | |||||
if (Get-Module | ?{ $_.Name -eq 'EntityFramework' }) | |||||
{ | |||||
Remove-Module EntityFramework | |||||
} | |||||
Import-Module (Join-Path $toolsPath EntityFramework.psd1) | |||||
# SIG # Begin signature block | |||||
# MIIarwYJKoZIhvcNAQcCoIIaoDCCGpwCAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB | |||||
# gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR | |||||
# AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQUjXj4E03IfImYfKMB4CA3DfY0 | |||||
# KZmgghWCMIIEwzCCA6ugAwIBAgITMwAAADPlJ4ajDkoqgAAAAAAAMzANBgkqhkiG | |||||
# 9w0BAQUFADB3MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4G | |||||
# A1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSEw | |||||
# HwYDVQQDExhNaWNyb3NvZnQgVGltZS1TdGFtcCBQQ0EwHhcNMTMwMzI3MjAwODIz | |||||
# WhcNMTQwNjI3MjAwODIzWjCBszELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hp | |||||
# bmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw | |||||
# b3JhdGlvbjENMAsGA1UECxMETU9QUjEnMCUGA1UECxMebkNpcGhlciBEU0UgRVNO | |||||
# OkY1MjgtMzc3Ny04QTc2MSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBT | |||||
# ZXJ2aWNlMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyt7KGQ8fllaC | |||||
# X9hCMtQIbbadwMLtfDirWDOta4FQuIghCl2vly2QWsfDLrJM1GN0WP3fxYlU0AvM | |||||
# /ZyEEXmsoyEibTPgrt4lQEWSTg1jCCuLN91PB2rcKs8QWo9XXZ09+hdjAsZwPrsi | |||||
# 7Vux9zK65HG8ef/4y+lXP3R75vJ9fFdYL6zSDqjZiNlAHzoiQeIJJgKgzOUlzoxn | |||||
# g99G+IVNw9pmHsdzfju0dhempaCgdFWo5WAYQWI4x2VGqwQWZlbq+abLQs9dVGQv | |||||
# gfjPOAAPEGvhgy6NPkjsSVZK7Jpp9MsPEPsHNEpibAGNbscghMpc0WOZHo5d7A+l | |||||
# Fkiqa94hLwIDAQABo4IBCTCCAQUwHQYDVR0OBBYEFABYGz7txfEGk74xPTa0rAtd | |||||
# MvCBMB8GA1UdIwQYMBaAFCM0+NlSRnAK7UD7dvuzK7DDNbMPMFQGA1UdHwRNMEsw | |||||
# SaBHoEWGQ2h0dHA6Ly9jcmwubWljcm9zb2Z0LmNvbS9wa2kvY3JsL3Byb2R1Y3Rz | |||||
# L01pY3Jvc29mdFRpbWVTdGFtcFBDQS5jcmwwWAYIKwYBBQUHAQEETDBKMEgGCCsG | |||||
# AQUFBzAChjxodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20vcGtpL2NlcnRzL01pY3Jv | |||||
# c29mdFRpbWVTdGFtcFBDQS5jcnQwEwYDVR0lBAwwCgYIKwYBBQUHAwgwDQYJKoZI | |||||
# hvcNAQEFBQADggEBAAL/44wD6u9+OLm5fJ87UoOk+iM41AO4alm16uBviAP0b1Fq | |||||
# lTp1hegc3AfFTp0bqM4kRxQkTzV3sZy8J3uPXU/8BouXl/kpm/dAHVKBjnZIA37y | |||||
# mxe3rtlbIpFjOzJfNfvGkTzM7w6ZgD4GkTgTegxMvjPbv+2tQcZ8GyR8E9wK/EuK | |||||
# IAUdCYmROQdOIU7ebHxwu6vxII74mHhg3IuUz2W+lpAPoJyE7Vy1fEGgYS29Q2dl | |||||
# GiqC1KeKWfcy46PnxY2yIruSKNiwjFOPaEdHodgBsPFhFcQXoS3jOmxPb6897t4p | |||||
# sETLw5JnugDOD44R79ECgjFJlJidUUh4rR3WQLYwggTsMIID1KADAgECAhMzAAAA | |||||
# sBGvCovQO5/dAAEAAACwMA0GCSqGSIb3DQEBBQUAMHkxCzAJBgNVBAYTAlVTMRMw | |||||
# EQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVN | |||||
# aWNyb3NvZnQgQ29ycG9yYXRpb24xIzAhBgNVBAMTGk1pY3Jvc29mdCBDb2RlIFNp | |||||
# Z25pbmcgUENBMB4XDTEzMDEyNDIyMzMzOVoXDTE0MDQyNDIyMzMzOVowgYMxCzAJ | |||||
# BgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25k | |||||
# MR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xDTALBgNVBAsTBE1PUFIx | |||||
# HjAcBgNVBAMTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjCCASIwDQYJKoZIhvcNAQEB | |||||
# BQADggEPADCCAQoCggEBAOivXKIgDfgofLwFe3+t7ut2rChTPzrbQH2zjjPmVz+l | |||||
# URU0VKXPtIupP6g34S1Q7TUWTu9NetsTdoiwLPBZXKnr4dcpdeQbhSeb8/gtnkE2 | |||||
# KwtA+747urlcdZMWUkvKM8U3sPPrfqj1QRVcCGUdITfwLLoiCxCxEJ13IoWEfE+5 | |||||
# G5Cw9aP+i/QMmk6g9ckKIeKq4wE2R/0vgmqBA/WpNdyUV537S9QOgts4jxL+49Z6 | |||||
# dIhk4WLEJS4qrp0YHw4etsKvJLQOULzeHJNcSaZ5tbbbzvlweygBhLgqKc+/qQUF | |||||
# 4eAPcU39rVwjgynrx8VKyOgnhNN+xkMLlQAFsU9lccUCAwEAAaOCAWAwggFcMBMG | |||||
# A1UdJQQMMAoGCCsGAQUFBwMDMB0GA1UdDgQWBBRZcaZaM03amAeA/4Qevof5cjJB | |||||
# 8jBRBgNVHREESjBIpEYwRDENMAsGA1UECxMETU9QUjEzMDEGA1UEBRMqMzE1OTUr | |||||
# NGZhZjBiNzEtYWQzNy00YWEzLWE2NzEtNzZiYzA1MjM0NGFkMB8GA1UdIwQYMBaA | |||||
# FMsR6MrStBZYAck3LjMWFrlMmgofMFYGA1UdHwRPME0wS6BJoEeGRWh0dHA6Ly9j | |||||
# cmwubWljcm9zb2Z0LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL01pY0NvZFNpZ1BDQV8w | |||||
# OC0zMS0yMDEwLmNybDBaBggrBgEFBQcBAQROMEwwSgYIKwYBBQUHMAKGPmh0dHA6 | |||||
# Ly93d3cubWljcm9zb2Z0LmNvbS9wa2kvY2VydHMvTWljQ29kU2lnUENBXzA4LTMx | |||||
# LTIwMTAuY3J0MA0GCSqGSIb3DQEBBQUAA4IBAQAx124qElczgdWdxuv5OtRETQie | |||||
# 7l7falu3ec8CnLx2aJ6QoZwLw3+ijPFNupU5+w3g4Zv0XSQPG42IFTp8263Os8ls | |||||
# ujksRX0kEVQmMA0N/0fqAwfl5GZdLHudHakQ+hywdPJPaWueqSSE2u2WoN9zpO9q | |||||
# GqxLYp7xfMAUf0jNTbJE+fA8k21C2Oh85hegm2hoCSj5ApfvEQO6Z1Ktwemzc6bS | |||||
# Y81K4j7k8079/6HguwITO10g3lU/o66QQDE4dSheBKlGbeb1enlAvR/N6EXVruJd | |||||
# PvV1x+ZmY2DM1ZqEh40kMPfvNNBjHbFCZ0oOS786Du+2lTqnOOQlkgimiGaCMIIF | |||||
# vDCCA6SgAwIBAgIKYTMmGgAAAAAAMTANBgkqhkiG9w0BAQUFADBfMRMwEQYKCZIm | |||||
# iZPyLGQBGRYDY29tMRkwFwYKCZImiZPyLGQBGRYJbWljcm9zb2Z0MS0wKwYDVQQD | |||||
# EyRNaWNyb3NvZnQgUm9vdCBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkwHhcNMTAwODMx | |||||
# MjIxOTMyWhcNMjAwODMxMjIyOTMyWjB5MQswCQYDVQQGEwJVUzETMBEGA1UECBMK | |||||
# V2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0 | |||||
# IENvcnBvcmF0aW9uMSMwIQYDVQQDExpNaWNyb3NvZnQgQ29kZSBTaWduaW5nIFBD | |||||
# QTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALJyWVwZMGS/HZpgICBC | |||||
# mXZTbD4b1m/My/Hqa/6XFhDg3zp0gxq3L6Ay7P/ewkJOI9VyANs1VwqJyq4gSfTw | |||||
# aKxNS42lvXlLcZtHB9r9Jd+ddYjPqnNEf9eB2/O98jakyVxF3K+tPeAoaJcap6Vy | |||||
# c1bxF5Tk/TWUcqDWdl8ed0WDhTgW0HNbBbpnUo2lsmkv2hkL/pJ0KeJ2L1TdFDBZ | |||||
# +NKNYv3LyV9GMVC5JxPkQDDPcikQKCLHN049oDI9kM2hOAaFXE5WgigqBTK3S9dP | |||||
# Y+fSLWLxRT3nrAgA9kahntFbjCZT6HqqSvJGzzc8OJ60d1ylF56NyxGPVjzBrAlf | |||||
# A9MCAwEAAaOCAV4wggFaMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFMsR6MrS | |||||
# tBZYAck3LjMWFrlMmgofMAsGA1UdDwQEAwIBhjASBgkrBgEEAYI3FQEEBQIDAQAB | |||||
# MCMGCSsGAQQBgjcVAgQWBBT90TFO0yaKleGYYDuoMW+mPLzYLTAZBgkrBgEEAYI3 | |||||
# FAIEDB4KAFMAdQBiAEMAQTAfBgNVHSMEGDAWgBQOrIJgQFYnl+UlE/wq4QpTlVnk | |||||
# pDBQBgNVHR8ESTBHMEWgQ6BBhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtp | |||||
# L2NybC9wcm9kdWN0cy9taWNyb3NvZnRyb290Y2VydC5jcmwwVAYIKwYBBQUHAQEE | |||||
# SDBGMEQGCCsGAQUFBzAChjhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20vcGtpL2Nl | |||||
# cnRzL01pY3Jvc29mdFJvb3RDZXJ0LmNydDANBgkqhkiG9w0BAQUFAAOCAgEAWTk+ | |||||
# fyZGr+tvQLEytWrrDi9uqEn361917Uw7LddDrQv+y+ktMaMjzHxQmIAhXaw9L0y6 | |||||
# oqhWnONwu7i0+Hm1SXL3PupBf8rhDBdpy6WcIC36C1DEVs0t40rSvHDnqA2iA6VW | |||||
# 4LiKS1fylUKc8fPv7uOGHzQ8uFaa8FMjhSqkghyT4pQHHfLiTviMocroE6WRTsgb | |||||
# 0o9ylSpxbZsa+BzwU9ZnzCL/XB3Nooy9J7J5Y1ZEolHN+emjWFbdmwJFRC9f9Nqu | |||||
# 1IIybvyklRPk62nnqaIsvsgrEA5ljpnb9aL6EiYJZTiU8XofSrvR4Vbo0HiWGFzJ | |||||
# NRZf3ZMdSY4tvq00RBzuEBUaAF3dNVshzpjHCe6FDoxPbQ4TTj18KUicctHzbMrB | |||||
# 7HCjV5JXfZSNoBtIA1r3z6NnCnSlNu0tLxfI5nI3EvRvsTxngvlSso0zFmUeDord | |||||
# EN5k9G/ORtTTF+l5xAS00/ss3x+KnqwK+xMnQK3k+eGpf0a7B2BHZWBATrBC7E7t | |||||
# s3Z52Ao0CW0cgDEf4g5U3eWh++VHEK1kmP9QFi58vwUheuKVQSdpw5OPlcmN2Jsh | |||||
# rg1cnPCiroZogwxqLbt2awAdlq3yFnv2FoMkuYjPaqhHMS+a3ONxPdcAfmJH0c6I | |||||
# ybgY+g5yjcGjPa8CQGr/aZuW4hCoELQ3UAjWwz0wggYHMIID76ADAgECAgphFmg0 | |||||
# AAAAAAAcMA0GCSqGSIb3DQEBBQUAMF8xEzARBgoJkiaJk/IsZAEZFgNjb20xGTAX | |||||
# BgoJkiaJk/IsZAEZFgltaWNyb3NvZnQxLTArBgNVBAMTJE1pY3Jvc29mdCBSb290 | |||||
# IENlcnRpZmljYXRlIEF1dGhvcml0eTAeFw0wNzA0MDMxMjUzMDlaFw0yMTA0MDMx | |||||
# MzAzMDlaMHcxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYD | |||||
# VQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xITAf | |||||
# BgNVBAMTGE1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQTCCASIwDQYJKoZIhvcNAQEB | |||||
# BQADggEPADCCAQoCggEBAJ+hbLHf20iSKnxrLhnhveLjxZlRI1Ctzt0YTiQP7tGn | |||||
# 0UytdDAgEesH1VSVFUmUG0KSrphcMCbaAGvoe73siQcP9w4EmPCJzB/LMySHnfL0 | |||||
# Zxws/HvniB3q506jocEjU8qN+kXPCdBer9CwQgSi+aZsk2fXKNxGU7CG0OUoRi4n | |||||
# rIZPVVIM5AMs+2qQkDBuh/NZMJ36ftaXs+ghl3740hPzCLdTbVK0RZCfSABKR2YR | |||||
# JylmqJfk0waBSqL5hKcRRxQJgp+E7VV4/gGaHVAIhQAQMEbtt94jRrvELVSfrx54 | |||||
# QTF3zJvfO4OToWECtR0Nsfz3m7IBziJLVP/5BcPCIAsCAwEAAaOCAaswggGnMA8G | |||||
# A1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFCM0+NlSRnAK7UD7dvuzK7DDNbMPMAsG | |||||
# A1UdDwQEAwIBhjAQBgkrBgEEAYI3FQEEAwIBADCBmAYDVR0jBIGQMIGNgBQOrIJg | |||||
# QFYnl+UlE/wq4QpTlVnkpKFjpGEwXzETMBEGCgmSJomT8ixkARkWA2NvbTEZMBcG | |||||
# CgmSJomT8ixkARkWCW1pY3Jvc29mdDEtMCsGA1UEAxMkTWljcm9zb2Z0IFJvb3Qg | |||||
# Q2VydGlmaWNhdGUgQXV0aG9yaXR5ghB5rRahSqClrUxzWPQHEy5lMFAGA1UdHwRJ | |||||
# MEcwRaBDoEGGP2h0dHA6Ly9jcmwubWljcm9zb2Z0LmNvbS9wa2kvY3JsL3Byb2R1 | |||||
# Y3RzL21pY3Jvc29mdHJvb3RjZXJ0LmNybDBUBggrBgEFBQcBAQRIMEYwRAYIKwYB | |||||
# BQUHMAKGOGh0dHA6Ly93d3cubWljcm9zb2Z0LmNvbS9wa2kvY2VydHMvTWljcm9z | |||||
# b2Z0Um9vdENlcnQuY3J0MBMGA1UdJQQMMAoGCCsGAQUFBwMIMA0GCSqGSIb3DQEB | |||||
# BQUAA4ICAQAQl4rDXANENt3ptK132855UU0BsS50cVttDBOrzr57j7gu1BKijG1i | |||||
# uFcCy04gE1CZ3XpA4le7r1iaHOEdAYasu3jyi9DsOwHu4r6PCgXIjUji8FMV3U+r | |||||
# kuTnjWrVgMHmlPIGL4UD6ZEqJCJw+/b85HiZLg33B+JwvBhOnY5rCnKVuKE5nGct | |||||
# xVEO6mJcPxaYiyA/4gcaMvnMMUp2MT0rcgvI6nA9/4UKE9/CCmGO8Ne4F+tOi3/F | |||||
# NSteo7/rvH0LQnvUU3Ih7jDKu3hlXFsBFwoUDtLaFJj1PLlmWLMtL+f5hYbMUVbo | |||||
# nXCUbKw5TNT2eb+qGHpiKe+imyk0BncaYsk9Hm0fgvALxyy7z0Oz5fnsfbXjpKh0 | |||||
# NbhOxXEjEiZ2CzxSjHFaRkMUvLOzsE1nyJ9C/4B5IYCeFTBm6EISXhrIniIh0EPp | |||||
# K+m79EjMLNTYMoBMJipIJF9a6lbvpt6Znco6b72BJ3QGEe52Ib+bgsEnVLaxaj2J | |||||
# oXZhtG6hE6a/qkfwEm/9ijJssv7fUciMI8lmvZ0dhxJkAj0tr1mPuOQh5bWwymO0 | |||||
# eFQF1EEuUKyUsKV4q7OglnUa2ZKHE3UiLzKoCG6gW4wlv6DvhMoh1useT8ma7kng | |||||
# 9wFlb4kLfchpyOZu6qeXzjEp/w7FW1zYTRuh2Povnj8uVRZryROj/TGCBJcwggST | |||||
# AgEBMIGQMHkxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYD | |||||
# VQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xIzAh | |||||
# BgNVBAMTGk1pY3Jvc29mdCBDb2RlIFNpZ25pbmcgUENBAhMzAAAAsBGvCovQO5/d | |||||
# AAEAAACwMAkGBSsOAwIaBQCggbAwGQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQw | |||||
# HAYKKwYBBAGCNwIBCzEOMAwGCisGAQQBgjcCARUwIwYJKoZIhvcNAQkEMRYEFOrT | |||||
# ZEbL6mMRie0QxeNrtIXxNuY6MFAGCisGAQQBgjcCAQwxQjBAoCKAIABFAG4AdABp | |||||
# AHQAeQAgAEYAcgBhAG0AZQB3AG8AcgBroRqAGGh0dHA6Ly9tc2RuLmNvbS9kYXRh | |||||
# L2VmIDANBgkqhkiG9w0BAQEFAASCAQAp46rF491ax2xI+ywddNCS8k+nfEHapr0P | |||||
# /5psYf8iQn+QOp8boRjDaP3AVdnbf+ZHAhkqc+/1RoEI6FbfLqPECRFKAdMip3vR | |||||
# cHC/CcTsCTrJzn9/seSsoVFO+6zY4K8VNtlGD4cQNXkOy+2WAdvXlyiUi4qKC7tr | |||||
# XyF6KsbdhqXynrfRHkPUTMm1KakaH571roCd40WQrNh5Sec4m1ndOoY6pR2y3c/d | |||||
# EyTV/T3IhH0i8AsQxFOhDnxFNDWPKY83my2mZCWiW9XTMykCqNsBcQ2iAIb3oIx7 | |||||
# A7iLTvyDiVYrYfzVcJmJGqSZjAkHiKj02uIA/mWNyblckled8XzJoYICKDCCAiQG | |||||
# CSqGSIb3DQEJBjGCAhUwggIRAgEBMIGOMHcxCzAJBgNVBAYTAlVTMRMwEQYDVQQI | |||||
# EwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3Nv | |||||
# ZnQgQ29ycG9yYXRpb24xITAfBgNVBAMTGE1pY3Jvc29mdCBUaW1lLVN0YW1wIFBD | |||||
# QQITMwAAADPlJ4ajDkoqgAAAAAAAMzAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkD | |||||
# MQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTMxMjExMjIxODIyWjAjBgkq | |||||
# hkiG9w0BCQQxFgQUmKcMuWdwUtNtz9/a4twIEFV7cyAwDQYJKoZIhvcNAQEFBQAE | |||||
# ggEASfeGe/Nnk70Ean0S8UfT2IhkTdLVUDXPTfsrKwJxy+JoAfCjx8AOJieMB2l6 | |||||
# bSde4f2pBLFua+L5vRWTGik/nM3sufwJD6QjYKkWPjCCOwKr9tzeOQgR7AtWO540 | |||||
# pu9j7iqmK5PDrV45PfhzIQPc20UTzflzHo3P8VJJvQO79TIUIOtUKTYyOq7nRZfx | |||||
# TmKpbrtXjwuN/2HDjS8/A6z1uiNBcecShvW+1IUQ/3HEQXKwEgjt5JjupMcB9Bob | |||||
# n62/pt7XutAKRXir536nnjs4zg3RTHw0LbyD5dymYplZ88cojv9WBMN//2pXDbec | |||||
# 7AVTn0E88TfrS2mWABexn+qeNg== | |||||
# SIG # End signature block |
@ -0,0 +1,153 @@ | |||||
param($installPath, $toolsPath, $package, $project) | |||||
Initialize-EFConfiguration $project | |||||
Add-EFProvider $project 'System.Data.SqlClient' 'System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer' | |||||
Write-Host | |||||
Write-Host "Type 'get-help EntityFramework' to see all available Entity Framework commands." | |||||
# SIG # Begin signature block | |||||
# MIIarwYJKoZIhvcNAQcCoIIaoDCCGpwCAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB | |||||
# gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR | |||||
# AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQUt8mwpdjiFmu2B4KBh+vEeQ+V | |||||
# VnSgghWCMIIEwzCCA6ugAwIBAgITMwAAADQkMUDJoMF5jQAAAAAANDANBgkqhkiG | |||||
# 9w0BAQUFADB3MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4G | |||||
# A1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSEw | |||||
# HwYDVQQDExhNaWNyb3NvZnQgVGltZS1TdGFtcCBQQ0EwHhcNMTMwMzI3MjAwODI1 | |||||
# WhcNMTQwNjI3MjAwODI1WjCBszELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hp | |||||
# bmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw | |||||
# b3JhdGlvbjENMAsGA1UECxMETU9QUjEnMCUGA1UECxMebkNpcGhlciBEU0UgRVNO | |||||
# OkI4RUMtMzBBNC03MTQ0MSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBT | |||||
# ZXJ2aWNlMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5RoHrQqWLNS2 | |||||
# NGTLNCDyvARYgou1CdxS1HCf4lws5/VqpPW2LrGBhlkB7ElsKQQe9TiLVxj1wDIN | |||||
# 7TSQ7MZF5buKCiWq76F7h9jxcGdKzWrc5q8FkT3tBXDrQc+rsSVmu6uitxj5eBN4 | |||||
# dc2LM1x97WfE7QP9KKxYYMF7vYCNM5NhYgixj1ESZY9BfsTVJektZkHTQzT6l4H4 | |||||
# /Ieh7TlSH/jpPv9egMkGNgfb27lqxzfPhrUaS0rUJfLHyI2vYWeK2lMv80wegyxj | |||||
# yqAQUhG6gVhzQoTjNLLu6pO+TILQfZYLT38vzxBdGkVmqwLxXyQARsHBVdKDckIi | |||||
# hjqkvpNQAQIDAQABo4IBCTCCAQUwHQYDVR0OBBYEFF9LQt4MuTig1GY2jVb7dFlJ | |||||
# ZoErMB8GA1UdIwQYMBaAFCM0+NlSRnAK7UD7dvuzK7DDNbMPMFQGA1UdHwRNMEsw | |||||
# SaBHoEWGQ2h0dHA6Ly9jcmwubWljcm9zb2Z0LmNvbS9wa2kvY3JsL3Byb2R1Y3Rz | |||||
# L01pY3Jvc29mdFRpbWVTdGFtcFBDQS5jcmwwWAYIKwYBBQUHAQEETDBKMEgGCCsG | |||||
# AQUFBzAChjxodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20vcGtpL2NlcnRzL01pY3Jv | |||||
# c29mdFRpbWVTdGFtcFBDQS5jcnQwEwYDVR0lBAwwCgYIKwYBBQUHAwgwDQYJKoZI | |||||
# hvcNAQEFBQADggEBAA9CUKDVHq0XPx8Kpis3imdYLbEwTzvvwldp7GXTTMVQcvJz | |||||
# JfbkhALFdRxxWEOr8cmqjt/Kb1g8iecvzXo17GbX1V66jp9XhpQQoOtRN61X9id7 | |||||
# I08Z2OBtdgQlMGESraWOoya2SOVT8kVOxbiJJxCdqePPI+l5bK6TaDoa8xPEFLZ6 | |||||
# Op5B2plWntDT4BaWkHJMrwH3JAb7GSuYslXMep/okjprMXuA8w6eV4u35gW2OSWa | |||||
# l4IpNos4rq6LGqzu5+wuv0supQc1gfMTIOq0SpOev5yDVn+tFS9cKXELlGc4/DC/ | |||||
# Zef1Od7qIu2HjKuyO7UBwq3g/I4lFQwivp8M7R0wggTsMIID1KADAgECAhMzAAAA | |||||
# sBGvCovQO5/dAAEAAACwMA0GCSqGSIb3DQEBBQUAMHkxCzAJBgNVBAYTAlVTMRMw | |||||
# EQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVN | |||||
# aWNyb3NvZnQgQ29ycG9yYXRpb24xIzAhBgNVBAMTGk1pY3Jvc29mdCBDb2RlIFNp | |||||
# Z25pbmcgUENBMB4XDTEzMDEyNDIyMzMzOVoXDTE0MDQyNDIyMzMzOVowgYMxCzAJ | |||||
# BgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25k | |||||
# MR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xDTALBgNVBAsTBE1PUFIx | |||||
# HjAcBgNVBAMTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjCCASIwDQYJKoZIhvcNAQEB | |||||
# BQADggEPADCCAQoCggEBAOivXKIgDfgofLwFe3+t7ut2rChTPzrbQH2zjjPmVz+l | |||||
# URU0VKXPtIupP6g34S1Q7TUWTu9NetsTdoiwLPBZXKnr4dcpdeQbhSeb8/gtnkE2 | |||||
# KwtA+747urlcdZMWUkvKM8U3sPPrfqj1QRVcCGUdITfwLLoiCxCxEJ13IoWEfE+5 | |||||
# G5Cw9aP+i/QMmk6g9ckKIeKq4wE2R/0vgmqBA/WpNdyUV537S9QOgts4jxL+49Z6 | |||||
# dIhk4WLEJS4qrp0YHw4etsKvJLQOULzeHJNcSaZ5tbbbzvlweygBhLgqKc+/qQUF | |||||
# 4eAPcU39rVwjgynrx8VKyOgnhNN+xkMLlQAFsU9lccUCAwEAAaOCAWAwggFcMBMG | |||||
# A1UdJQQMMAoGCCsGAQUFBwMDMB0GA1UdDgQWBBRZcaZaM03amAeA/4Qevof5cjJB | |||||
# 8jBRBgNVHREESjBIpEYwRDENMAsGA1UECxMETU9QUjEzMDEGA1UEBRMqMzE1OTUr | |||||
# NGZhZjBiNzEtYWQzNy00YWEzLWE2NzEtNzZiYzA1MjM0NGFkMB8GA1UdIwQYMBaA | |||||
# FMsR6MrStBZYAck3LjMWFrlMmgofMFYGA1UdHwRPME0wS6BJoEeGRWh0dHA6Ly9j | |||||
# cmwubWljcm9zb2Z0LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL01pY0NvZFNpZ1BDQV8w | |||||
# OC0zMS0yMDEwLmNybDBaBggrBgEFBQcBAQROMEwwSgYIKwYBBQUHMAKGPmh0dHA6 | |||||
# Ly93d3cubWljcm9zb2Z0LmNvbS9wa2kvY2VydHMvTWljQ29kU2lnUENBXzA4LTMx | |||||
# LTIwMTAuY3J0MA0GCSqGSIb3DQEBBQUAA4IBAQAx124qElczgdWdxuv5OtRETQie | |||||
# 7l7falu3ec8CnLx2aJ6QoZwLw3+ijPFNupU5+w3g4Zv0XSQPG42IFTp8263Os8ls | |||||
# ujksRX0kEVQmMA0N/0fqAwfl5GZdLHudHakQ+hywdPJPaWueqSSE2u2WoN9zpO9q | |||||
# GqxLYp7xfMAUf0jNTbJE+fA8k21C2Oh85hegm2hoCSj5ApfvEQO6Z1Ktwemzc6bS | |||||
# Y81K4j7k8079/6HguwITO10g3lU/o66QQDE4dSheBKlGbeb1enlAvR/N6EXVruJd | |||||
# PvV1x+ZmY2DM1ZqEh40kMPfvNNBjHbFCZ0oOS786Du+2lTqnOOQlkgimiGaCMIIF | |||||
# vDCCA6SgAwIBAgIKYTMmGgAAAAAAMTANBgkqhkiG9w0BAQUFADBfMRMwEQYKCZIm | |||||
# iZPyLGQBGRYDY29tMRkwFwYKCZImiZPyLGQBGRYJbWljcm9zb2Z0MS0wKwYDVQQD | |||||
# EyRNaWNyb3NvZnQgUm9vdCBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkwHhcNMTAwODMx | |||||
# MjIxOTMyWhcNMjAwODMxMjIyOTMyWjB5MQswCQYDVQQGEwJVUzETMBEGA1UECBMK | |||||
# V2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0 | |||||
# IENvcnBvcmF0aW9uMSMwIQYDVQQDExpNaWNyb3NvZnQgQ29kZSBTaWduaW5nIFBD | |||||
# QTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALJyWVwZMGS/HZpgICBC | |||||
# mXZTbD4b1m/My/Hqa/6XFhDg3zp0gxq3L6Ay7P/ewkJOI9VyANs1VwqJyq4gSfTw | |||||
# aKxNS42lvXlLcZtHB9r9Jd+ddYjPqnNEf9eB2/O98jakyVxF3K+tPeAoaJcap6Vy | |||||
# c1bxF5Tk/TWUcqDWdl8ed0WDhTgW0HNbBbpnUo2lsmkv2hkL/pJ0KeJ2L1TdFDBZ | |||||
# +NKNYv3LyV9GMVC5JxPkQDDPcikQKCLHN049oDI9kM2hOAaFXE5WgigqBTK3S9dP | |||||
# Y+fSLWLxRT3nrAgA9kahntFbjCZT6HqqSvJGzzc8OJ60d1ylF56NyxGPVjzBrAlf | |||||
# A9MCAwEAAaOCAV4wggFaMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFMsR6MrS | |||||
# tBZYAck3LjMWFrlMmgofMAsGA1UdDwQEAwIBhjASBgkrBgEEAYI3FQEEBQIDAQAB | |||||
# MCMGCSsGAQQBgjcVAgQWBBT90TFO0yaKleGYYDuoMW+mPLzYLTAZBgkrBgEEAYI3 | |||||
# FAIEDB4KAFMAdQBiAEMAQTAfBgNVHSMEGDAWgBQOrIJgQFYnl+UlE/wq4QpTlVnk | |||||
# pDBQBgNVHR8ESTBHMEWgQ6BBhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtp | |||||
# L2NybC9wcm9kdWN0cy9taWNyb3NvZnRyb290Y2VydC5jcmwwVAYIKwYBBQUHAQEE | |||||
# SDBGMEQGCCsGAQUFBzAChjhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20vcGtpL2Nl | |||||
# cnRzL01pY3Jvc29mdFJvb3RDZXJ0LmNydDANBgkqhkiG9w0BAQUFAAOCAgEAWTk+ | |||||
# fyZGr+tvQLEytWrrDi9uqEn361917Uw7LddDrQv+y+ktMaMjzHxQmIAhXaw9L0y6 | |||||
# oqhWnONwu7i0+Hm1SXL3PupBf8rhDBdpy6WcIC36C1DEVs0t40rSvHDnqA2iA6VW | |||||
# 4LiKS1fylUKc8fPv7uOGHzQ8uFaa8FMjhSqkghyT4pQHHfLiTviMocroE6WRTsgb | |||||
# 0o9ylSpxbZsa+BzwU9ZnzCL/XB3Nooy9J7J5Y1ZEolHN+emjWFbdmwJFRC9f9Nqu | |||||
# 1IIybvyklRPk62nnqaIsvsgrEA5ljpnb9aL6EiYJZTiU8XofSrvR4Vbo0HiWGFzJ | |||||
# NRZf3ZMdSY4tvq00RBzuEBUaAF3dNVshzpjHCe6FDoxPbQ4TTj18KUicctHzbMrB | |||||
# 7HCjV5JXfZSNoBtIA1r3z6NnCnSlNu0tLxfI5nI3EvRvsTxngvlSso0zFmUeDord | |||||
# EN5k9G/ORtTTF+l5xAS00/ss3x+KnqwK+xMnQK3k+eGpf0a7B2BHZWBATrBC7E7t | |||||
# s3Z52Ao0CW0cgDEf4g5U3eWh++VHEK1kmP9QFi58vwUheuKVQSdpw5OPlcmN2Jsh | |||||
# rg1cnPCiroZogwxqLbt2awAdlq3yFnv2FoMkuYjPaqhHMS+a3ONxPdcAfmJH0c6I | |||||
# ybgY+g5yjcGjPa8CQGr/aZuW4hCoELQ3UAjWwz0wggYHMIID76ADAgECAgphFmg0 | |||||
# AAAAAAAcMA0GCSqGSIb3DQEBBQUAMF8xEzARBgoJkiaJk/IsZAEZFgNjb20xGTAX | |||||
# BgoJkiaJk/IsZAEZFgltaWNyb3NvZnQxLTArBgNVBAMTJE1pY3Jvc29mdCBSb290 | |||||
# IENlcnRpZmljYXRlIEF1dGhvcml0eTAeFw0wNzA0MDMxMjUzMDlaFw0yMTA0MDMx | |||||
# MzAzMDlaMHcxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYD | |||||
# VQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xITAf | |||||
# BgNVBAMTGE1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQTCCASIwDQYJKoZIhvcNAQEB | |||||
# BQADggEPADCCAQoCggEBAJ+hbLHf20iSKnxrLhnhveLjxZlRI1Ctzt0YTiQP7tGn | |||||
# 0UytdDAgEesH1VSVFUmUG0KSrphcMCbaAGvoe73siQcP9w4EmPCJzB/LMySHnfL0 | |||||
# Zxws/HvniB3q506jocEjU8qN+kXPCdBer9CwQgSi+aZsk2fXKNxGU7CG0OUoRi4n | |||||
# rIZPVVIM5AMs+2qQkDBuh/NZMJ36ftaXs+ghl3740hPzCLdTbVK0RZCfSABKR2YR | |||||
# JylmqJfk0waBSqL5hKcRRxQJgp+E7VV4/gGaHVAIhQAQMEbtt94jRrvELVSfrx54 | |||||
# QTF3zJvfO4OToWECtR0Nsfz3m7IBziJLVP/5BcPCIAsCAwEAAaOCAaswggGnMA8G | |||||
# A1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFCM0+NlSRnAK7UD7dvuzK7DDNbMPMAsG | |||||
# A1UdDwQEAwIBhjAQBgkrBgEEAYI3FQEEAwIBADCBmAYDVR0jBIGQMIGNgBQOrIJg | |||||
# QFYnl+UlE/wq4QpTlVnkpKFjpGEwXzETMBEGCgmSJomT8ixkARkWA2NvbTEZMBcG | |||||
# CgmSJomT8ixkARkWCW1pY3Jvc29mdDEtMCsGA1UEAxMkTWljcm9zb2Z0IFJvb3Qg | |||||
# Q2VydGlmaWNhdGUgQXV0aG9yaXR5ghB5rRahSqClrUxzWPQHEy5lMFAGA1UdHwRJ | |||||
# MEcwRaBDoEGGP2h0dHA6Ly9jcmwubWljcm9zb2Z0LmNvbS9wa2kvY3JsL3Byb2R1 | |||||
# Y3RzL21pY3Jvc29mdHJvb3RjZXJ0LmNybDBUBggrBgEFBQcBAQRIMEYwRAYIKwYB | |||||
# BQUHMAKGOGh0dHA6Ly93d3cubWljcm9zb2Z0LmNvbS9wa2kvY2VydHMvTWljcm9z | |||||
# b2Z0Um9vdENlcnQuY3J0MBMGA1UdJQQMMAoGCCsGAQUFBwMIMA0GCSqGSIb3DQEB | |||||
# BQUAA4ICAQAQl4rDXANENt3ptK132855UU0BsS50cVttDBOrzr57j7gu1BKijG1i | |||||
# uFcCy04gE1CZ3XpA4le7r1iaHOEdAYasu3jyi9DsOwHu4r6PCgXIjUji8FMV3U+r | |||||
# kuTnjWrVgMHmlPIGL4UD6ZEqJCJw+/b85HiZLg33B+JwvBhOnY5rCnKVuKE5nGct | |||||
# xVEO6mJcPxaYiyA/4gcaMvnMMUp2MT0rcgvI6nA9/4UKE9/CCmGO8Ne4F+tOi3/F | |||||
# NSteo7/rvH0LQnvUU3Ih7jDKu3hlXFsBFwoUDtLaFJj1PLlmWLMtL+f5hYbMUVbo | |||||
# nXCUbKw5TNT2eb+qGHpiKe+imyk0BncaYsk9Hm0fgvALxyy7z0Oz5fnsfbXjpKh0 | |||||
# NbhOxXEjEiZ2CzxSjHFaRkMUvLOzsE1nyJ9C/4B5IYCeFTBm6EISXhrIniIh0EPp | |||||
# K+m79EjMLNTYMoBMJipIJF9a6lbvpt6Znco6b72BJ3QGEe52Ib+bgsEnVLaxaj2J | |||||
# oXZhtG6hE6a/qkfwEm/9ijJssv7fUciMI8lmvZ0dhxJkAj0tr1mPuOQh5bWwymO0 | |||||
# eFQF1EEuUKyUsKV4q7OglnUa2ZKHE3UiLzKoCG6gW4wlv6DvhMoh1useT8ma7kng | |||||
# 9wFlb4kLfchpyOZu6qeXzjEp/w7FW1zYTRuh2Povnj8uVRZryROj/TGCBJcwggST | |||||
# AgEBMIGQMHkxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYD | |||||
# VQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xIzAh | |||||
# BgNVBAMTGk1pY3Jvc29mdCBDb2RlIFNpZ25pbmcgUENBAhMzAAAAsBGvCovQO5/d | |||||
# AAEAAACwMAkGBSsOAwIaBQCggbAwGQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQw | |||||
# HAYKKwYBBAGCNwIBCzEOMAwGCisGAQQBgjcCARUwIwYJKoZIhvcNAQkEMRYEFJiz | |||||
# f4JawBv4s6ihwSKoeZTRDcAvMFAGCisGAQQBgjcCAQwxQjBAoCKAIABFAG4AdABp | |||||
# AHQAeQAgAEYAcgBhAG0AZQB3AG8AcgBroRqAGGh0dHA6Ly9tc2RuLmNvbS9kYXRh | |||||
# L2VmIDANBgkqhkiG9w0BAQEFAASCAQBl1eyDt2dp8f759lxqbnnQy+TYCdsEAqxP | |||||
# 5AY0A38rcH28zRXOGRwxLo1o7uwmP9WFgmBvTa5yvDLVXI9OPsQ2yy1ugJT9GLro | |||||
# l2v6TbtUikmli9JQ1cMXAQKCvJWr7q8pie9Xlv/Kf2hD/KdxqACw/O+wXVu43cZq | |||||
# ewAUd4OsKQ5kWTalsog9sIQ9NoggMVDGwPQc4F/da9LwXaL9hwl+8J0l2V5TZefk | |||||
# X5Hxsae0Souw8RR+u55r3OMyGxX4jANDVpsMzVh3bmNwsq0OaNtJ5WXx/1R5+72D | |||||
# yZQPi+wpjcSn8oDJEhCAvNT/jzX6NsxbnZr3fxEn8MfMB5BmkInAoYICKDCCAiQG | |||||
# CSqGSIb3DQEJBjGCAhUwggIRAgEBMIGOMHcxCzAJBgNVBAYTAlVTMRMwEQYDVQQI | |||||
# EwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3Nv | |||||
# ZnQgQ29ycG9yYXRpb24xITAfBgNVBAMTGE1pY3Jvc29mdCBUaW1lLVN0YW1wIFBD | |||||
# QQITMwAAADQkMUDJoMF5jQAAAAAANDAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkD | |||||
# MQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTMxMjExMjIxODIyWjAjBgkq | |||||
# hkiG9w0BCQQxFgQU/5ZEGkCagXUs+tIh1LXCDL6NUJYwDQYJKoZIhvcNAQEFBQAE | |||||
# ggEAtpTJFzcUcZFzoxIShHYZSu/ts/KGjQk37aEWQByTGJ19kCzLyWrrtkmPNIro | |||||
# cKCqLeNw8mYfX8SbcfjzPVDcTs2j7xzBYoFNvOlaz6DPOXSDV7S4pYvgr4sYj/sc | |||||
# JcFj07HjbkJm6kdYDqxs4+xOM7+AeSCKGS6TWebZeAiwPVMhIQsOJ7iN4nY0t1UK | |||||
# J6cyz/zx5j2cnnawJDiUNMR8se8Rik2/b9AiP1LBEobxCdp2JZGDZRif0BqTK6hk | |||||
# Oh1Sh9EM7T83dWopjFVOd9wtWlaLgOWXLxErXG8IRhFyzb6P8te7FBvZTrpKGecI | |||||
# E7RuNvrIsP+LARvXmg1ecj/T4w== | |||||
# SIG # End signature block |
@ -0,0 +1,18 @@ | |||||
<?xml version="1.0"?> | |||||
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd"> | |||||
<metadata> | |||||
<id>Microsoft.AspNet.Identity.Core</id> | |||||
<version>1.0.0</version> | |||||
<title>Microsoft ASP.NET Identity Core</title> | |||||
<authors>Microsoft</authors> | |||||
<owners>Microsoft</owners> | |||||
<licenseUrl>http://www.microsoft.com/web/webpi/eula/aspnetcomponent_rtw_ENU.htm</licenseUrl> | |||||
<requireLicenseAcceptance>true</requireLicenseAcceptance> | |||||
<description>Core interfaces for ASP.NET Identity.</description> | |||||
<summary>Core interfaces for ASP.NET Identity.</summary> | |||||
<releaseNotes /> | |||||
<copyright>© Microsoft Corporation. All rights reserved.</copyright> | |||||
<language /> | |||||
<tags>Identity Membership</tags> | |||||
</metadata> | |||||
</package> |
@ -0,0 +1,646 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<doc> | |||||
<assembly> | |||||
<name>Microsoft.AspNet.Identity.Core</name> | |||||
</assembly> | |||||
<members> | |||||
<member name="T:Microsoft.AspNet.Identity.IdentityConfig"> | |||||
<summary>Static class to hold configuration settings for the Identity system</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.IdentityConfig.Settings"> | |||||
<summary>Settings class which holds the various options for the system</summary> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.IdentityManager"> | |||||
<summary>Helper class which contains methods that encapsulate common unit of work functionality on an IdentityStoreContext, i.e. ChangePasswordAsync or CreateLocalUserAsync and takes care of calling SaveChangesAsync</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IdentityManager.#ctor(Microsoft.AspNet.Identity.IdentitySettings,Microsoft.AspNet.Identity.IIdentityStore)"> | |||||
<summary>Constructor</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IdentityManager.#ctor(Microsoft.AspNet.Identity.IIdentityStore)"> | |||||
<summary>Constructor that uses the default settings</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IdentityManager.Dispose"> | |||||
<summary>Dispose the store context</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IdentityManager.Dispose(System.Boolean)"> | |||||
<summary>When disposing, actually dipose the store context</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.IdentityManager.Logins"> | |||||
<summary>User Login related APIs</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.IdentityManager.Passwords"> | |||||
<summary>Password API</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.IdentityManager.Roles"> | |||||
<summary>Roles API</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IdentityManager.SaveChangesAsync(System.Threading.CancellationToken)"> | |||||
<summary>SaveChanges to the various identity stores</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.IdentityManager.Settings"> | |||||
<summary>Settings object used for configuration, if null, uses the global settings (IdentityConfig.Settings)</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.IdentityManager.Store"> | |||||
<summary>IdentityStoreContext which the helper methods work against</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.IdentityManager.Tokens"> | |||||
<summary>Token API</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.IdentityManager.Users"> | |||||
<summary>APIs around User management</summary> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.IdentityOptions"> | |||||
<summary>Settings used to configure an IdentityManager</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IdentityOptions.#ctor"> | |||||
<summary>Constructor</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.IdentityOptions.AllowOnlyAlphaNumericUserNames"> | |||||
<summary>Only allow String.IsLetterOrDigits in UserNames</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.IdentityOptions.LocalLoginProvider"> | |||||
<summary>Identifier for user logins created by the local application, i.e. database</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.IdentityOptions.MinRequiredPasswordLength"> | |||||
<summary>Minimum required length for a text</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.IdentityOptions.PasswordValidator"> | |||||
<summary>Validators passwords are of sufficient strength</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.IdentityOptions.UserNameValidator"> | |||||
<summary>Validates usernames</summary> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.IdentityResult"> | |||||
<summary>Represents the result of an identity operation</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IdentityResult.#ctor(System.Boolean)"> | |||||
<summary>Constructor taking a success flag</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IdentityResult.#ctor(System.String[])"> | |||||
<summary>Failure constructor that takes error messages</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.IdentityResult.Errors"> | |||||
<summary>List of errors</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IdentityResult.Failed(System.String[])"> | |||||
<summary>Failed helper method</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IdentityResult.Succeeded"> | |||||
<summary>Success helper method</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.IdentityResult.Success"> | |||||
<summary>True if the operation was successful</summary> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.IdentityRoleManager"> | |||||
<summary>Roles API</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IdentityRoleManager.#ctor(Microsoft.AspNet.Identity.IIdentityStore)"> | |||||
<summary>Constructor</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IdentityRoleManager.AddUserToRoleAsync(System.String,System.String,System.Threading.CancellationToken)"> | |||||
<summary>Add a user to a role</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IdentityRoleManager.CreateRoleAsync(Microsoft.AspNet.Identity.IRole,System.Threading.CancellationToken)"> | |||||
<summary>Create a role</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IdentityRoleManager.DeleteRoleAsync(System.String,System.Boolean,System.Threading.CancellationToken)"> | |||||
<summary>Delete a role, returns true if successful</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IdentityRoleManager.FindRoleAsync(System.String,System.Threading.CancellationToken)"> | |||||
<summary>Find a role by id</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IdentityRoleManager.FindRoleByNameAsync(System.String,System.Threading.CancellationToken)"> | |||||
<summary>Find a role by name</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IdentityRoleManager.GetRolesForUserAsync(System.String,System.Threading.CancellationToken)"> | |||||
<summary>Returns the roles for the user</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IdentityRoleManager.GetUsersInRoleAsync(System.String,System.Threading.CancellationToken)"> | |||||
<summary>Returns the users in the role</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IdentityRoleManager.IsUserInRoleAsync(System.String,System.String,System.Threading.CancellationToken)"> | |||||
<summary>Returns true if the user is in the specified role</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IdentityRoleManager.RemoveUserFromRoleAsync(System.String,System.String,System.Threading.CancellationToken)"> | |||||
<summary>Returns true if the user was removed from the role</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IdentityRoleManager.RoleExistsAsync(System.String,System.Threading.CancellationToken)"> | |||||
<summary>Returns true if the role exists</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.IdentityRoleManager.Store"> | |||||
<summary>Store to operate on</summary> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.IdentitySettings"> | |||||
<summary>Class that holds various settings for the identity system</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IdentitySettings.#ctor"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.IdentitySettings.Add(System.String,System.Object)"> | |||||
<summary>Add a setting object with the specified key</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IdentitySettings.Get(System.String)"> | |||||
<summary>Return a settings object, or create a new one if it does not exist</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IdentitySettings.GetIdentityOptions"> | |||||
<summary>Return the IdentityManagerOptions</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IdentitySettings.GetOrCreate``1"> | |||||
<summary>Return a settings object, or create a new one if it does not exist, will throw if the wrong type is present</summary> | |||||
<typeparam name="T"></typeparam> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.IdentityStoreContextExtensions"> | |||||
<summary>Extension methods that use the default CancellationToken.None</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IdentityStoreContextExtensions.SaveChangesAsync(Microsoft.AspNet.Identity.IIdentityStore)"> | |||||
<summary>Saves any changes to the stores (Note: stores are not required to support this pattern)</summary> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.IIdentityManagerFactory"> | |||||
<summary>Factory used to construct IdentityManagers</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IIdentityManagerFactory.CreateStoreManager"> | |||||
<summary>Factory method used to construct an IdentityManager with the specified settings and context</summary> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.IIdentityStore"> | |||||
<summary>Used to coordinate operations involving the user, login, roles, and claims stores SaveChangesAsync will persist the changes (if the stores support this concept)</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.IIdentityStore.Logins"> | |||||
<summary>Maps local userIds to login providers, i.e. a local username/password, Google, Facebook, Twitter, Microsoft</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.IIdentityStore.Roles"> | |||||
<summary>Stores role information</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IIdentityStore.SaveChangesAsync(System.Threading.CancellationToken)"> | |||||
<summary>Saves any changes to the stores (Note: stores are not required to support this pattern)</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.IIdentityStore.Secrets"> | |||||
<summary>Store used to store user name/hashed passwords</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.IIdentityStore.Tokens"> | |||||
<summary>Stores arbitrary tokens (i.e. access tokens, refresh tokens, confirmation tokens)</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.IIdentityStore.UserClaims"> | |||||
<summary>Stores claims for users</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.IIdentityStore.UserManagement"> | |||||
<summary>Store responsible for managing users (confirmation, lockout)</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.IIdentityStore.Users"> | |||||
<summary>Store responsible for creating/deleting/retrieving users by userId</summary> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.ILoginManager"> | |||||
<summary>Login related APIs: managing local or external logins</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.ILoginManager.AddLocalLoginAsync(System.String,System.String,System.String,System.Threading.CancellationToken)"> | |||||
<summary>Create the specified user name and password local login</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.ILoginManager.AddLoginAsync(System.String,System.String,System.String,System.Threading.CancellationToken)"> | |||||
<summary>Associate a login with a user (external or local)</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.ILoginManager.GetLoginsAsync(System.String,System.Threading.CancellationToken)"> | |||||
<summary>Returns a list of logins for a user</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.ILoginManager.GetUserIdForLocalLoginAsync(System.String,System.Threading.CancellationToken)"> | |||||
<summary>Returns the local user id for a user login that matches</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.ILoginManager.GetUserIdForLoginAsync(System.String,System.String,System.Threading.CancellationToken)"> | |||||
<summary>Returns the userId if there is a local login with the specified userName, null otherwise</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.ILoginManager.HasLocalLoginAsync(System.String,System.Threading.CancellationToken)"> | |||||
<summary>Returns true if the userId has a local login</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.ILoginManager.RemoveLoginAsync(System.String,System.String,System.String,System.Threading.CancellationToken)"> | |||||
<summary>Remove a user login</summary> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.IPasswordManager"> | |||||
<summary>Password related APIs: changing user name passwords, resetting passwords</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IPasswordManager.ChangePasswordAsync(System.String,System.String,System.String,System.Threading.CancellationToken)"> | |||||
<summary>Change a user's password</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IPasswordManager.CheckPasswordAsync(System.String,System.String,System.Threading.CancellationToken)"> | |||||
<summary>Validates a local user name/password combination</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IPasswordManager.GenerateResetPasswordTokenAsync(System.String,System.String,System.DateTime,System.Threading.CancellationToken)"> | |||||
<summary>Create a token for the specified user that can be used to reset his password</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IPasswordManager.ResetPasswordAsync(System.String,System.String,System.Threading.CancellationToken)"> | |||||
<summary>Reset a user's password with the reset password token</summary> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.IRole"> | |||||
<summary> Minimal set of data needed to persist role data </summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.IRole.Id"> | |||||
<summary> Id of the role </summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.IRole.Name"></member> | |||||
<member name="T:Microsoft.AspNet.Identity.IRoleManager"> | |||||
<summary>Role related APIs</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IRoleManager.AddUserToRoleAsync(System.String,System.String,System.Threading.CancellationToken)"> | |||||
<summary>Add a user to a role</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IRoleManager.CreateRoleAsync(Microsoft.AspNet.Identity.IRole,System.Threading.CancellationToken)"> | |||||
<summary>Create a role</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IRoleManager.DeleteRoleAsync(System.String,System.Boolean,System.Threading.CancellationToken)"> | |||||
<summary>Delete a role, returns true if successful</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IRoleManager.FindRoleAsync(System.String,System.Threading.CancellationToken)"> | |||||
<summary>Find a role by id</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IRoleManager.FindRoleByNameAsync(System.String,System.Threading.CancellationToken)"> | |||||
<summary>Find a role by name</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IRoleManager.GetRolesForUserAsync(System.String,System.Threading.CancellationToken)"> | |||||
<summary>Returns the roles for the user</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IRoleManager.GetUsersInRoleAsync(System.String,System.Threading.CancellationToken)"> | |||||
<summary>Returns the users in the role</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IRoleManager.IsUserInRoleAsync(System.String,System.String,System.Threading.CancellationToken)"> | |||||
<summary>Returns true if the user is in the specified role</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IRoleManager.RemoveUserFromRoleAsync(System.String,System.String,System.Threading.CancellationToken)"> | |||||
<summary>Returns true if the user was removed from the role</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IRoleManager.RoleExistsAsync(System.String,System.Threading.CancellationToken)"> | |||||
<summary>Returns true if the role exists</summary> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.IRoleStore"> | |||||
<summary> Interface for managing the creation and membership of roles </summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IRoleStore.AddUserToRoleAsync(System.String,System.String,System.Threading.CancellationToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.IRoleStore.CreateRoleAsync(Microsoft.AspNet.Identity.IRole,System.Threading.CancellationToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.IRoleStore.DeleteRoleAsync(System.String,System.Boolean,System.Threading.CancellationToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.IRoleStore.FindRoleAsync(System.String,System.Threading.CancellationToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.IRoleStore.FindRoleByNameAsync(System.String,System.Threading.CancellationToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.IRoleStore.GetRolesForUserAsync(System.String,System.Threading.CancellationToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.IRoleStore.GetUsersInRoleAsync(System.String,System.Threading.CancellationToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.IRoleStore.IsUserInRoleAsync(System.String,System.String,System.Threading.CancellationToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.IRoleStore.RemoveUserFromRoleAsync(System.String,System.String,System.Threading.CancellationToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.IRoleStore.RoleExistsAsync(System.String,System.Threading.CancellationToken)"></member> | |||||
<member name="T:Microsoft.AspNet.Identity.IStringValidator"> | |||||
<summary>Interface used to specify custom username/text validation</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IStringValidator.Validate(System.String)"> | |||||
<summary>Validates a string.</summary> | |||||
<returns>A result with <see cref="P:Microsoft.AspNet.Identity.IdentityResult.Success" /> set to <see cref="true" /> when validation succeeds; otherwise, a result with <see cref="P:Microsoft.AspNet.Identity.IdentityResult.Success" /> set to <see cref="false" />.</returns> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.IToken"> | |||||
<summary>Interface for a token</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.IToken.Id"> | |||||
<summary>Unique identifier for the token</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.IToken.ValidUntilUtc"> | |||||
<summary>Token is valid until this date</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.IToken.Value"> | |||||
<summary>Value of the token</summary> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.ITokenManager"> | |||||
<summary>Token related APIs</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.ITokenManager.AddAsync(Microsoft.AspNet.Identity.IToken,System.Threading.CancellationToken)"> | |||||
<summary>Add a new token to the store</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.ITokenManager.FindAsync(System.String,System.Boolean,System.Threading.CancellationToken)"> | |||||
<summary>Find a token in the TokenStore</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.ITokenManager.RemoveAsync(System.String,System.Threading.CancellationToken)"> | |||||
<summary>Remove a token from the TokenStore</summary> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.ITokenStore"> | |||||
<summary>Store that contains tokens which can be used for different purposes (confirmation, access, refresh) and with expiration</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.ITokenStore.AddAsync(Microsoft.AspNet.Identity.IToken,System.Threading.CancellationToken)"> | |||||
<summary>Add a token to the store</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.ITokenStore.CreateNewInstance"> | |||||
<summary>Creates the appropriate IToken instance</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.ITokenStore.FindAsync(System.String,System.Boolean,System.Threading.CancellationToken)"> | |||||
<summary>Find a token</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.ITokenStore.RemoveAsync(System.String,System.Threading.CancellationToken)"> | |||||
<summary>Remove a token from the store</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.ITokenStore.UpdateAsync(Microsoft.AspNet.Identity.IToken,System.Threading.CancellationToken)"> | |||||
<summary>Update a token</summary> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.IUser"> | |||||
<summary> Minimal interface for a user with a string user key </summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.IUser.Id"> | |||||
<summary> Unique key for the user </summary> | |||||
<returns>The unique key for the user</returns> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.IUser.UserName"></member> | |||||
<member name="T:Microsoft.AspNet.Identity.IUserClaim"> | |||||
<summary>Represents a claim for a user</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.IUserClaim.ClaimType"> | |||||
<summary>ClaimType for the user claim</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.IUserClaim.ClaimValue"> | |||||
<summary>value for the user's claim</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.IUserClaim.UserId"> | |||||
<summary>UserId for the user with the claim</summary> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.IUserClaimStore"> | |||||
<summary>Stores claims for users.</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IUserClaimStore.AddAsync(Microsoft.AspNet.Identity.IUserClaim,System.Threading.CancellationToken)"> | |||||
<summary>Store a claim for the user with the specified type/value.</summary> | |||||
<returns>The task that performs the asynchronous operation.</returns> | |||||
<param name="userClaim">The user claim.</param> | |||||
<param name="cancellationToken">The cancellation token.</param> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IUserClaimStore.GetUserClaimsAsync(System.String,System.Threading.CancellationToken)"> | |||||
<summary>Returns the claims for the user with the issuer set.</summary> | |||||
<returns>The task that performs the asynchronous operation.</returns> | |||||
<param name="userId">The user ID.</param> | |||||
<param name="cancellationToken">The cancellation token.</param> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IUserClaimStore.RemoveAsync(System.String,System.String,System.String,System.Threading.CancellationToken)"> | |||||
<summary>RemoveAsync a user claim.</summary> | |||||
<returns>The task that performs the asynchronous operation.</returns> | |||||
<param name="userId">The user ID.</param> | |||||
<param name="claimType">The claim type.</param> | |||||
<param name="claimValue">The claim value.</param> | |||||
<param name="cancellationToken">The cancellation token.</param> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.IUserLogin"> | |||||
<summary> Represents a linked login for a user (i.e. a local username/password or a Facebook/Google account </summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.IUserLogin.LoginProvider"> | |||||
<summary> Provider for the linked login, i.e. Local, Facebook, Google, etc. </summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.IUserLogin.ProviderKey"> | |||||
<summary> Key for the linked login at the provider </summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.IUserLogin.UserId"> | |||||
<summary> UserId for the user who owns this account </summary> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.IUserLoginStore"> | |||||
<summary> Maps local userIds to account providers, i.e. a local username/password, Google, Facebook, Twitter, Microsoft </summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IUserLoginStore.AddAsync(Microsoft.AspNet.Identity.IUserLogin,System.Threading.CancellationToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.IUserLoginStore.CreateNewInstance(System.String,System.String,System.String)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.IUserLoginStore.GetLoginsAsync(System.String,System.Threading.CancellationToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.IUserLoginStore.GetProviderKeyAsync(System.String,System.String,System.Threading.CancellationToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.IUserLoginStore.GetUserIdAsync(System.String,System.String,System.Threading.CancellationToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.IUserLoginStore.RemoveAsync(System.String,System.String,System.String,System.Threading.CancellationToken)"></member> | |||||
<member name="T:Microsoft.AspNet.Identity.IUserManagement"> | |||||
<summary>Minimal interface for holding user management info (i.e. Confirmed, LastSignInTime)</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.IUserManagement.DisableSignIn"> | |||||
<summary>Set if user is not allowed to sign in</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.IUserManagement.LastSignInTimeUtc"> | |||||
<summary>Last time the user was signed in</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.IUserManagement.UserId"> | |||||
<summary>Unique key for the user</summary> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.IUserManagementStore"> | |||||
<summary>Responsible for creating/deleting/retrieving user management info</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IUserManagementStore.CreateAsync(Microsoft.AspNet.Identity.IUserManagement,System.Threading.CancellationToken)"> | |||||
<summary>Creates the specified IUserManagement object</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IUserManagementStore.CreateNewInstance(System.String)"> | |||||
<summary>Creates the appropriate IUserManagement instance for the user</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IUserManagementStore.DeleteAsync(System.String,System.Threading.CancellationToken)"> | |||||
<summary>Deletes the specified IUserManagement for the userId</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IUserManagementStore.FindAsync(System.String,System.Threading.CancellationToken)"> | |||||
<summary>Finds an IUserManagement by its key</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IUserManagementStore.UpdateAsync(Microsoft.AspNet.Identity.IUserManagement,System.Threading.CancellationToken)"> | |||||
<summary>Update the specified IUserManagement object</summary> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.IUserManager"> | |||||
<summary>User related APIs: creating users, adding claims</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IUserManager.AddClaimAsync(Microsoft.AspNet.Identity.IUserClaim,System.Threading.CancellationToken)"> | |||||
<summary>Add a new user claim to the store</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IUserManager.CreateExternalUserAsync(Microsoft.AspNet.Identity.IUser,System.String,System.String,System.Threading.CancellationToken)"> | |||||
<summary>Create a user with an associated external login</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IUserManager.CreateLocalUserAsync(Microsoft.AspNet.Identity.IUser,System.String,System.Threading.CancellationToken)"> | |||||
<summary>Create a user with a linked local login with the specified password</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IUserManager.CreateUserAsync(Microsoft.AspNet.Identity.IUser,System.Threading.CancellationToken)"> | |||||
<summary>Create a user and its associated user management object</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IUserManager.GetUserClaimsAsync(System.String,System.Threading.CancellationToken)"> | |||||
<summary>Get a users claims</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IUserManager.RemoveClaimAsync(System.String,System.String,System.String,System.Threading.CancellationToken)"> | |||||
<summary>Remove a user claim</summary> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.IUserSecret"> | |||||
<summary> Minimal set of data needed to persist login data </summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.IUserSecret.Secret"> | |||||
<summary> Opaque string to validate the user, i.e. password </summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.IUserSecret.UserName"> | |||||
<summary> Username </summary> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.IUserSecretStore"> | |||||
<summary> Stores login information (username/secret) </summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IUserSecretStore.CreateAsync(Microsoft.AspNet.Identity.IUserSecret,System.Threading.CancellationToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.IUserSecretStore.CreateNewInstance(System.String,System.String)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.IUserSecretStore.DeleteAsync(System.String,System.Threading.CancellationToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.IUserSecretStore.FindAsync(System.String,System.Threading.CancellationToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.IUserSecretStore.UpdateAsync(System.String,System.String,System.Threading.CancellationToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.IUserSecretStore.ValidateAsync(System.String,System.String,System.Threading.CancellationToken)"></member> | |||||
<member name="T:Microsoft.AspNet.Identity.IUserStore"> | |||||
<summary> Responsible for creating/deleting/retrieving users by userId </summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IUserStore.CreateAsync(Microsoft.AspNet.Identity.IUser,System.Threading.CancellationToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.IUserStore.DeleteAsync(System.String,System.Threading.CancellationToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.IUserStore.FindAsync(System.String,System.Threading.CancellationToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.IUserStore.FindByNameAsync(System.String,System.Threading.CancellationToken)"></member> | |||||
<member name="T:Microsoft.AspNet.Identity.LoginManager"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.LoginManager.#ctor(Microsoft.AspNet.Identity.IdentityManager)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.LoginManager.AddLocalLoginAsync(System.String,System.String,System.String,System.Threading.CancellationToken)"> | |||||
<summary>Create the specified user name and password local login</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.LoginManager.AddLoginAsync(System.String,System.String,System.String,System.Threading.CancellationToken)"> | |||||
<summary>Associate a login with a user (external or local)</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.LoginManager.GetLoginsAsync(System.String,System.Threading.CancellationToken)"> | |||||
<summary>Returns a list of logins for a user</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.LoginManager.GetUserIdForLocalLoginAsync(System.String,System.Threading.CancellationToken)"> | |||||
<summary>Returns the local user id for a user login that matches</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.LoginManager.GetUserIdForLoginAsync(System.String,System.String,System.Threading.CancellationToken)"> | |||||
<summary>Returns the userId if there is a local login with the specified userName, null otherwise</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.LoginManager.HasLocalLoginAsync(System.String,System.Threading.CancellationToken)"> | |||||
<summary>Returns true if the userId has a local login</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.LoginManager.RemoveLoginAsync(System.String,System.String,System.String,System.Threading.CancellationToken)"> | |||||
<summary>Remove a user login</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.LoginManager.Store"></member> | |||||
<member name="T:Microsoft.AspNet.Identity.LoginManagerExtensions"> | |||||
<summary>Extension methods for ILoginManager</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.LoginManagerExtensions.AddLocalLogin(Microsoft.AspNet.Identity.ILoginManager,System.String,System.String,System.String)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.LoginManagerExtensions.AddLocalLoginAsync(Microsoft.AspNet.Identity.ILoginManager,System.String,System.String,System.String)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.LoginManagerExtensions.AddLogin(Microsoft.AspNet.Identity.ILoginManager,System.String,System.String,System.String)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.LoginManagerExtensions.AddLoginAsync(Microsoft.AspNet.Identity.ILoginManager,System.String,System.String,System.String)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.LoginManagerExtensions.GetLogins(Microsoft.AspNet.Identity.ILoginManager,System.String)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.LoginManagerExtensions.GetLoginsAsync(Microsoft.AspNet.Identity.ILoginManager,System.String)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.LoginManagerExtensions.GetUserIdForLocalLogin(Microsoft.AspNet.Identity.ILoginManager,System.String)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.LoginManagerExtensions.GetUserIdForLocalLoginAsync(Microsoft.AspNet.Identity.ILoginManager,System.String)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.LoginManagerExtensions.GetUserIdForLogin(Microsoft.AspNet.Identity.ILoginManager,System.String,System.String)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.LoginManagerExtensions.GetUserIdForLoginAsync(Microsoft.AspNet.Identity.ILoginManager,System.String,System.String)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.LoginManagerExtensions.HasLocalLogin(Microsoft.AspNet.Identity.ILoginManager,System.String)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.LoginManagerExtensions.HasLocalLoginAsync(Microsoft.AspNet.Identity.ILoginManager,System.String)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.LoginManagerExtensions.RemoveLogin(Microsoft.AspNet.Identity.ILoginManager,System.String,System.String,System.String)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.LoginManagerExtensions.RemoveLoginAsync(Microsoft.AspNet.Identity.ILoginManager,System.String,System.String,System.String)"></member> | |||||
<member name="T:Microsoft.AspNet.Identity.PasswordManager"> | |||||
<summary>Password APIs</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.PasswordManager.#ctor(Microsoft.AspNet.Identity.IdentityManager)"> | |||||
<summary>Constructor</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.PasswordManager.ChangePasswordAsync(System.String,System.String,System.String,System.Threading.CancellationToken)"> | |||||
<summary>Change a user's password</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.PasswordManager.CheckPasswordAsync(System.String,System.String,System.Threading.CancellationToken)"> | |||||
<summary>Validates a local user name/password combination</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.PasswordManager.GenerateResetPasswordTokenAsync(System.String,System.String,System.DateTime,System.Threading.CancellationToken)"> | |||||
<summary>Create a token for the specified user that can be used to reset his password</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.PasswordManager.Manager"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.PasswordManager.ResetPasswordAsync(System.String,System.String,System.Threading.CancellationToken)"> | |||||
<summary>Reset a user's password with the reset password token</summary> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.PasswordManagerExtensions"> | |||||
<summary>Extension methods for IPasswordManager</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.PasswordManagerExtensions.ChangePassword(Microsoft.AspNet.Identity.IPasswordManager,System.String,System.String,System.String)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.PasswordManagerExtensions.ChangePasswordAsync(Microsoft.AspNet.Identity.IPasswordManager,System.String,System.String,System.String)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.PasswordManagerExtensions.CheckPassword(Microsoft.AspNet.Identity.IPasswordManager,System.String,System.String)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.PasswordManagerExtensions.CheckPasswordAsync(Microsoft.AspNet.Identity.IPasswordManager,System.String,System.String)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.PasswordManagerExtensions.GenerateResetPasswordToken(Microsoft.AspNet.Identity.IPasswordManager,System.String,System.String,System.DateTime)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.PasswordManagerExtensions.GenerateResetPasswordTokenAsync(Microsoft.AspNet.Identity.IPasswordManager,System.String,System.String,System.DateTime)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.PasswordManagerExtensions.ResetPassword(Microsoft.AspNet.Identity.IPasswordManager,System.String,System.String)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.PasswordManagerExtensions.ResetPasswordAsync(Microsoft.AspNet.Identity.IPasswordManager,System.String,System.String)"></member> | |||||
<member name="T:Microsoft.AspNet.Identity.RoleManagerExtensions"> | |||||
<summary>Extension methods for IRoleManager</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.RoleManagerExtensions.AddUserToRoleAsync(Microsoft.AspNet.Identity.IRoleManager,System.String,System.String)"> | |||||
<summary>Add a user to a role</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.RoleManagerExtensions.CreateRoleAsync(Microsoft.AspNet.Identity.IRoleManager,Microsoft.AspNet.Identity.IRole)"> | |||||
<summary>Create a role</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.RoleManagerExtensions.DeleteRoleAsync(Microsoft.AspNet.Identity.IRoleManager,System.String,System.Boolean)"> | |||||
<summary>Delete a role, returns true if successful</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.RoleManagerExtensions.FindRoleAsync(Microsoft.AspNet.Identity.IRoleManager,System.String)"> | |||||
<summary>Find a role by id</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.RoleManagerExtensions.FindRoleByNameAsync(Microsoft.AspNet.Identity.IRoleManager,System.String)"> | |||||
<summary>Find a role by name</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.RoleManagerExtensions.GetRolesForUserAsync(Microsoft.AspNet.Identity.IRoleManager,System.String)"> | |||||
<summary>Returns the roles for the user</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.RoleManagerExtensions.GetUsersInRoleAsync(Microsoft.AspNet.Identity.IRoleManager,System.String)"> | |||||
<summary>Returns the users in the role</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.RoleManagerExtensions.IsUserInRoleAsync(Microsoft.AspNet.Identity.IRoleManager,System.String,System.String)"> | |||||
<summary>Returns true if the user is in the specified role</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.RoleManagerExtensions.RemoveUserFromRoleAsync(Microsoft.AspNet.Identity.IRoleManager,System.String,System.String)"> | |||||
<summary>Returns true if the user was removed from the role</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.RoleManagerExtensions.RoleExistsAsync(Microsoft.AspNet.Identity.IRoleManager,System.String)"> | |||||
<summary>Returns true if the role exists</summary> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.TokenManager"> | |||||
<summary>Token related APIs</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.TokenManager.#ctor(Microsoft.AspNet.Identity.IIdentityStore)"> | |||||
<summary>Constructor</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.TokenManager.AddAsync(Microsoft.AspNet.Identity.IToken,System.Threading.CancellationToken)"> | |||||
<summary>Add a new token to the store</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.TokenManager.FindAsync(System.String,System.Boolean,System.Threading.CancellationToken)"> | |||||
<summary>Find a token in the TokenStore</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.TokenManager.RemoveAsync(System.String,System.Threading.CancellationToken)"> | |||||
<summary>Remove a token from the TokenStore</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.TokenManager.Store"> | |||||
<summary>Store to operate on</summary> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.TokenManagerExtensions"> | |||||
<summary>Extension methods for ITokenManager</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.TokenManagerExtensions.Add(Microsoft.AspNet.Identity.ITokenManager,Microsoft.AspNet.Identity.IToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.TokenManagerExtensions.AddAsync(Microsoft.AspNet.Identity.ITokenManager,Microsoft.AspNet.Identity.IToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.TokenManagerExtensions.Find(Microsoft.AspNet.Identity.ITokenManager,System.String,System.Boolean)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.TokenManagerExtensions.FindAsync(Microsoft.AspNet.Identity.ITokenManager,System.String,System.Boolean)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.TokenManagerExtensions.Remove(Microsoft.AspNet.Identity.ITokenManager,System.String)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.TokenManagerExtensions.RemoveAsync(Microsoft.AspNet.Identity.ITokenManager,System.String)"></member> | |||||
<member name="T:Microsoft.AspNet.Identity.UserManager"> | |||||
<summary>User related API</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.UserManager.#ctor(Microsoft.AspNet.Identity.IdentityManager)"> | |||||
<summary>Constructor</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.UserManager.AddClaimAsync(Microsoft.AspNet.Identity.IUserClaim,System.Threading.CancellationToken)"> | |||||
<summary>Add a new user claim to the store</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.UserManager.CreateExternalUserAsync(Microsoft.AspNet.Identity.IUser,System.String,System.String,System.Threading.CancellationToken)"> | |||||
<summary>Create a user with an associated external login</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.UserManager.CreateLocalUserAsync(Microsoft.AspNet.Identity.IUser,System.String,System.Threading.CancellationToken)"> | |||||
<summary>Create a user with a linked local login with the specified password</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.UserManager.CreateUserAsync(Microsoft.AspNet.Identity.IUser,System.Threading.CancellationToken)"> | |||||
<summary>Create a user and its associated user management object</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.UserManager.GetUserClaimsAsync(System.String,System.Threading.CancellationToken)"> | |||||
<summary>Get a users claims</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.UserManager.Manager"> | |||||
<summary>IdentityManager to operate on</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.UserManager.RemoveClaimAsync(System.String,System.String,System.String,System.Threading.CancellationToken)"> | |||||
<summary>Remove a user claim</summary> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.UserManagerExtensions"> | |||||
<summary>Extension methods for IUserManager</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.UserManagerExtensions.CreateExternalUser(Microsoft.AspNet.Identity.IUserManager,Microsoft.AspNet.Identity.IUser,System.String,System.String)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.UserManagerExtensions.CreateExternalUserAsync(Microsoft.AspNet.Identity.IUserManager,Microsoft.AspNet.Identity.IUser,System.String,System.String)"> | |||||
<summary>Createa user with an associated external login</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.UserManagerExtensions.CreateLocalUser(Microsoft.AspNet.Identity.IUserManager,Microsoft.AspNet.Identity.IUser,System.String)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.UserManagerExtensions.CreateLocalUserAsync(Microsoft.AspNet.Identity.IUserManager,Microsoft.AspNet.Identity.IUser,System.String)"> | |||||
<summary>CreateAsync a user with a linked local login with the specified password</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.UserManagerExtensions.CreateUser(Microsoft.AspNet.Identity.IUserManager,Microsoft.AspNet.Identity.IUser)"> | |||||
<summary>Create a user and its associated user management object</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.UserManagerExtensions.CreateUserAsync(Microsoft.AspNet.Identity.IUserManager,Microsoft.AspNet.Identity.IUser)"> | |||||
<summary>Create a user and its associated user management object</summary> | |||||
</member> | |||||
</members> | |||||
</doc> |
@ -0,0 +1,22 @@ | |||||
<?xml version="1.0"?> | |||||
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd"> | |||||
<metadata> | |||||
<id>Microsoft.AspNet.Identity.EntityFramework</id> | |||||
<version>1.0.0</version> | |||||
<title>Microsoft ASP.NET Identity EntityFramework</title> | |||||
<authors>Microsoft</authors> | |||||
<owners>Microsoft</owners> | |||||
<licenseUrl>http://www.microsoft.com/web/webpi/eula/aspnetcomponent_rtw_ENU.htm</licenseUrl> | |||||
<requireLicenseAcceptance>true</requireLicenseAcceptance> | |||||
<description>ASP.NET Identity providers that use Entity Framework.</description> | |||||
<summary>ASP.NET Identity providers that use Entity Framework.</summary> | |||||
<releaseNotes /> | |||||
<copyright>© Microsoft Corporation. All rights reserved.</copyright> | |||||
<language /> | |||||
<tags>Identity Membership</tags> | |||||
<dependencies> | |||||
<dependency id="Microsoft.AspNet.Identity.Core" version="1.0.0" /> | |||||
<dependency id="EntityFramework" version="6.0.0" /> | |||||
</dependencies> | |||||
</metadata> | |||||
</package> |
@ -0,0 +1,425 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<doc> | |||||
<assembly> | |||||
<name>Microsoft.AspNet.Identity.EntityFramework</name> | |||||
</assembly> | |||||
<members> | |||||
<member name="T:Microsoft.AspNet.Identity.EntityFramework.DefaultIdentityDbContext"> | |||||
<summary>Concrete instance of the IdentityDbContext which uses the default framework entities</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.DefaultIdentityDbContext.#ctor"> | |||||
<summary>Default constructor which uses the "DefaultConnection" connectionString</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.DefaultIdentityDbContext.#ctor(System.String)"> | |||||
<summary>Constructor which takes the connection string to use</summary> | |||||
<param name="nameOrConnectionString">The connection string to use.</param> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.EntityFramework.IdentityDbContext`8"> | |||||
<summary>Generic Context which takes entities for all of the sets needed for IIdentityManager</summary> | |||||
<typeparam name="TUser"></typeparam> | |||||
<typeparam name="TUserClaim"></typeparam> | |||||
<typeparam name="TUserSecret"></typeparam> | |||||
<typeparam name="TUserLogin"></typeparam> | |||||
<typeparam name="TRole"></typeparam> | |||||
<typeparam name="TUserRole"></typeparam> | |||||
<typeparam name="TToken"></typeparam> | |||||
<typeparam name="TUserManagement"></typeparam> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.IdentityDbContext`8.#ctor"> | |||||
<summary>Default constructor which uses the "DefaultConnection" connectionString</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.IdentityDbContext`8.#ctor(System.String)"> | |||||
<summary>Constructor which takes the connection string to use</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.IdentityDbContext`8.Roles"> | |||||
<summary>EntitySet of Roles</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.IdentityDbContext`8.Tokens"> | |||||
<summary>EntitySet of Tokens</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.IdentityDbContext`8.UserClaims"> | |||||
<summary>EntitySet of UserClaims</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.IdentityDbContext`8.UserLogins"> | |||||
<summary>EntitySet of UserLogins</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.IdentityDbContext`8.UserManagement"> | |||||
<summary>EntitySet of UserManagement</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.IdentityDbContext`8.UserRoles"> | |||||
<summary>EntitySet of UserRoles</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.IdentityDbContext`8.Users"> | |||||
<summary>EntitySet of Users</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.IdentityDbContext`8.UserSecrets"> | |||||
<summary>EntitySet of UserSecrets</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.IdentityDbContext`8.ValidateEntity(System.Data.Entity.Infrastructure.DbEntityEntry,System.Collections.Generic.IDictionary{System.Object,System.Object})"> | |||||
<summary>Validates that UserNames are unique and case insenstive</summary> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.EntityFramework.IdentityDbContextWithCustomUser`1"> | |||||
<summary>Concrete instance of the IdentityDbContext which uses a custom user entity but otherwise uses default framework entities</summary> | |||||
<typeparam name="TUser"></typeparam> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.IdentityDbContextWithCustomUser`1.#ctor"></member> | |||||
<member name="T:Microsoft.AspNet.Identity.EntityFramework.IdentityManagerFactory"> | |||||
<summary>Factory implementation that returns an IdentityManager</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.IdentityManagerFactory.#ctor(Microsoft.AspNet.Identity.IdentitySettings,System.Func{Microsoft.AspNet.Identity.IIdentityStore})"></member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.IdentityManagerFactory.ContextFactory"> | |||||
<summary>Factory method that creates an identity store context</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.IdentityManagerFactory.CreateStoreManager"> | |||||
<summary>Factory method that creates an IdentityManager</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.IdentityManagerFactory.Settings"> | |||||
<summary>IdentitySettings to use when creating IdentityManagers</summary> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.EntityFramework.IdentityStore"> | |||||
<summary>Implements IIdentityStoreContext <see cref="T:Microsoft.AspNet.Identity.IIdentityStore" /></summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.IdentityStore.#ctor"> | |||||
<summary>Default constuctor which uses a new instance of a DefaultIdentityDbContext</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.IdentityStore.#ctor(System.Data.Entity.DbContext)"> | |||||
<summary>Constructor which takes a db context and wires up the stores with default instances using the context</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.IdentityStore.DbContext"> | |||||
<summary>Context which encapsulates the unit of work</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.IdentityStore.Dispose"> | |||||
<summary>Dispose the stores and dbcontext</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.IdentityStore.Dispose(System.Boolean)"> | |||||
<summary>If disposing, calls dispose on the stores and Context. Always nulls out the stores/dbcontext</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.IdentityStore.Logins"></member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.IdentityStore.Roles"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.IdentityStore.SaveChangesAsync(System.Threading.CancellationToken)"> | |||||
<summary>Calls SaveChangesAsync on the Context</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.IdentityStore.Secrets"></member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.IdentityStore.Tokens"></member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.IdentityStore.UserClaims"></member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.IdentityStore.UserManagement"></member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.IdentityStore.Users"></member> | |||||
<member name="T:Microsoft.AspNet.Identity.EntityFramework.IUserRole"> | |||||
<summary> Represents a user being in a role </summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.IUserRole.RoleId"> | |||||
<summary> id of the role </summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.IUserRole.UserId"> | |||||
<summary> id of the user </summary> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.EntityFramework.Role"> | |||||
<summary>Implements IRole <see cref="T:Microsoft.AspNet.Identity.IRole" /></summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.Role.#ctor"> | |||||
<summary>Initializes a new instance of the <see cref="T:Microsoft.AspNet.Identity.EntityFramework.Role" /> class.</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.Role.#ctor(System.String)"> | |||||
<summary>Initializes a new instance of the <see cref="T:Microsoft.AspNet.Identity.EntityFramework.Role" /> class.</summary> | |||||
<param name="roleName">The name of the role.</param> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.Role.Id"> | |||||
<summary>Gets the identifier of this role.</summary> | |||||
<returns>The identifier of this role.</returns> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.Role.Name"> | |||||
<summary>Gets the name of this role.</summary> | |||||
<returns>The name of this role.</returns> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.Role.UserRoles"> | |||||
<summary>Gets a collection of user roles.</summary> | |||||
<returns>A collection of user roles.</returns> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.EntityFramework.RoleStore`2"> | |||||
<summary>Base class for RoleStores using EF where TRole is the entity type of the role, and TUserInRole is the entity type of the user/role membership</summary> | |||||
<typeparam name="TRole"></typeparam> | |||||
<typeparam name="TUserInRole"></typeparam> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.RoleStore`2.#ctor(System.Data.Entity.DbContext)"> | |||||
<summary>Constructor that takes the db context</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.RoleStore`2.AddUserToRoleAsync(System.String,System.String,System.Threading.CancellationToken)"> | |||||
<summary>Returns true if the user is successfully added to the role</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.RoleStore`2.CreateRoleAsync(Microsoft.AspNet.Identity.IRole,System.Threading.CancellationToken)"> | |||||
<summary>Creates a role, returns true if successful, false if not (role already exists)</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.RoleStore`2.DeleteRoleAsync(System.String,System.Boolean,System.Threading.CancellationToken)"> | |||||
<summary>DeleteById a role, returns true if successful</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.RoleStore`2.FindRoleAsync(System.String,System.Threading.CancellationToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.RoleStore`2.FindRoleByNameAsync(System.String,System.Threading.CancellationToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.RoleStore`2.GetRolesForUserAsync(System.String,System.Threading.CancellationToken)"> | |||||
<summary>Returns the roles for th euser</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.RoleStore`2.GetUsersInRoleAsync(System.String,System.Threading.CancellationToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.RoleStore`2.IsUserInRoleAsync(System.String,System.String,System.Threading.CancellationToken)"> | |||||
<summary>Returns true if the user is in the specified role</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.RoleStore`2.RemoveUserFromRoleAsync(System.String,System.String,System.Threading.CancellationToken)"> | |||||
<summary>Returns true if the user was removed from the role</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.RoleStore`2.RoleExistsAsync(System.String,System.Threading.CancellationToken)"> | |||||
<summary>Returns true if the role exists</summary> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.EntityFramework.Store`1"> | |||||
<summary>EntityFramework based Store that allows query/manipulation of a TEntity set</summary> | |||||
<typeparam name="TEntity"></typeparam> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.Store`1.#ctor(System.Data.Entity.DbContext)"> | |||||
<summary>Constructor that takes a Context</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.Store`1.Context"> | |||||
<summary>Context for the store</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.Store`1.Delete(`0)"> | |||||
<summary>Mark an entity for deletion</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.Store`1.DeleteById(System.Object)"> | |||||
<summary>Overload that deletes an entity</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.Store`1.EntitySet"> | |||||
<summary>EntitySet for this store</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.Store`1.GetByIdAsync(System.Object,System.Threading.CancellationToken)"> | |||||
<summary>FindAsync an entity by ID</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.Store`1.Insert(`0)"> | |||||
<summary>Insert an entity</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.Store`1.Update(`0)"> | |||||
<summary>Update an entity</summary> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.EntityFramework.Token"> | |||||
<summary>EntityType that implements IToken <see cref="T:Microsoft.AspNet.Identity.IToken" /></summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.Token.#ctor"> | |||||
<summary>Initializes a new instance of the <see cref="T:Microsoft.AspNet.Identity.EntityFramework.Token" /> class.</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.Token.Id"> | |||||
<summary>Gets the identifier of this token.</summary> | |||||
<returns>The identifier of this token.</returns> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.Token.ValidUntilUtc"> | |||||
<summary>Gets the date and time the token is valid.</summary> | |||||
<returns>The date and time the token is valid.</returns> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.Token.Value"> | |||||
<summary>Gets the value of this token.</summary> | |||||
<returns>The value of this token.</returns> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.EntityFramework.TokenStore`1"> | |||||
<summary>Implements ITokenStore using EntityFramework where TToken is the entity type of the token being stored</summary> | |||||
<typeparam name="TToken"></typeparam> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.TokenStore`1.#ctor(System.Data.Entity.DbContext)"> | |||||
<summary>Constructor that takes the db context</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.TokenStore`1.AddAsync(Microsoft.AspNet.Identity.IToken,System.Threading.CancellationToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.TokenStore`1.CreateNewInstance"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.TokenStore`1.FindAsync(System.String,System.Boolean,System.Threading.CancellationToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.TokenStore`1.RemoveAsync(System.String,System.Threading.CancellationToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.TokenStore`1.UpdateAsync(Microsoft.AspNet.Identity.IToken,System.Threading.CancellationToken)"></member> | |||||
<member name="T:Microsoft.AspNet.Identity.EntityFramework.User"> | |||||
<summary>EntityType that implements IUser <see cref="T:Microsoft.AspNet.Identity.IUser" /></summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.User.#ctor"> | |||||
<summary>Constructor</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.User.#ctor(System.String)"> | |||||
<summary>Constructor that takes userName</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.User.Id"></member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.User.Logins"> | |||||
<summary>The user's logins</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.User.Management"> | |||||
<summary>The user's management object</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.User.Roles"> | |||||
<summary>The user's roles</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.User.UserName"></member> | |||||
<member name="T:Microsoft.AspNet.Identity.EntityFramework.UserClaim"> | |||||
<summary>EntityType that represents one specific user claim <see cref="T:Microsoft.AspNet.Identity.IUserClaim" /></summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.UserClaim.#ctor"> | |||||
<summary>Constructor</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.UserClaim.ClaimType"> | |||||
<summary>Gets or sets the type of the claim associated with the user.</summary> | |||||
<returns>The type of the claim associated with the user.</returns> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.UserClaim.ClaimValue"> | |||||
<summary>Gets or sets the value of the claim.</summary> | |||||
<returns>The value of the claim.</returns> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.UserClaim.Key"> | |||||
<summary>Unique key for the user claim</summary> | |||||
<returns>The unique key for the user claim.</returns> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.UserClaim.User"> | |||||
<summary>Navigation property setting up the foreign key for User</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.UserClaim.UserId"> | |||||
<summary>Gets or sets the user identifier associated with the claim.</summary> | |||||
<returns>The user identifier associated with the claim.</returns> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.EntityFramework.UserClaimStore`1"> | |||||
<summary>Implements IUserClaimStore using EntityFramework where TUserSecret is the entity type of the user claim being stored</summary> | |||||
<typeparam name="TUserClaim"></typeparam> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.UserClaimStore`1.#ctor(System.Data.Entity.DbContext)"> | |||||
<summary>Constructor that takes the db context</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.UserClaimStore`1.AddAsync(Microsoft.AspNet.Identity.IUserClaim,System.Threading.CancellationToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.UserClaimStore`1.GetUserClaimsAsync(System.String,System.Threading.CancellationToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.UserClaimStore`1.RemoveAsync(System.String,System.String,System.String,System.Threading.CancellationToken)"></member> | |||||
<member name="T:Microsoft.AspNet.Identity.EntityFramework.UserLogin"> | |||||
<summary>Entity type for a user's login (i.e. facebook, local password, google)</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.UserLogin.#ctor"> | |||||
<summary>Default constructor</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.UserLogin.#ctor(System.String,System.String,System.String)"> | |||||
<summary>Constructor</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.UserLogin.LoginProvider"></member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.UserLogin.ProviderKey"></member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.UserLogin.User"> | |||||
<summary>Navigation property setting up the foreign key for User</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.UserLogin.UserId"></member> | |||||
<member name="T:Microsoft.AspNet.Identity.EntityFramework.UserLoginStore`1"> | |||||
<summary>Implements IUserLoginStore using EntityFramework where TUserLogin is the entity type of the user login being stored</summary> | |||||
<typeparam name="TUserLogin"></typeparam> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.UserLoginStore`1.#ctor(System.Data.Entity.DbContext)"> | |||||
<summary>Constructor that takes a db context</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.UserLoginStore`1.AddAsync(Microsoft.AspNet.Identity.IUserLogin,System.Threading.CancellationToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.UserLoginStore`1.CreateNewInstance(System.String,System.String,System.String)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.UserLoginStore`1.GetLoginsAsync(System.String,System.Threading.CancellationToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.UserLoginStore`1.GetProviderKeyAsync(System.String,System.String,System.Threading.CancellationToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.UserLoginStore`1.GetUserIdAsync(System.String,System.String,System.Threading.CancellationToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.UserLoginStore`1.RemoveAsync(System.String,System.String,System.String,System.Threading.CancellationToken)"></member> | |||||
<member name="T:Microsoft.AspNet.Identity.EntityFramework.UserManagement"> | |||||
<summary>Represents the user management instance.</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.UserManagement.#ctor"> | |||||
<summary>Initializes a new instance of the <see cref="T:Microsoft.AspNet.Identity.EntityFramework.UserManagement" /> class.</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.UserManagement.#ctor(System.String)"> | |||||
<summary>Initializes a new instance of the <see cref="T:Microsoft.AspNet.Identity.EntityFramework.UserManagement" /> class using the specified user identifier..</summary> | |||||
<param name="userId">The unique identifier of the user.</param> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.UserManagement.DisableSignIn"> | |||||
<summary>Gets or sets whether to disable the user sign in.</summary> | |||||
<returns>true to disable the user sign in; otherwise, false.</returns> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.UserManagement.LastSignInTimeUtc"> | |||||
<summary>Gets or sets the time when the user recently signed in.</summary> | |||||
<returns>The time when the user recently signed in.</returns> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.UserManagement.User"> | |||||
<summary>Navigation property setting up the foreign key for User</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.UserManagement.UserId"> | |||||
<summary>Gets or sets the unique identifier of the user.</summary> | |||||
<returns>The unique identifier of the user.</returns> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.EntityFramework.UserManagementStore`1"> | |||||
<summary>Represents the user management store.</summary> | |||||
<typeparam name="TUser">The type of the user.</typeparam> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.UserManagementStore`1.#ctor(System.Data.Entity.DbContext)"> | |||||
<summary>Initializes a new instance of the <see cref="T:Microsoft.AspNet.Identity.EntityFramework.UserManagementStore`1" /> class.</summary> | |||||
<param name="db">The context for the store.</param> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.UserManagementStore`1.CreateAsync(Microsoft.AspNet.Identity.IUserManagement,System.Threading.CancellationToken)"> | |||||
<summary>Creates a user management.</summary> | |||||
<returns>The created management store.</returns> | |||||
<param name="info">The user management information.</param> | |||||
<param name="cancellationToken">The cancellation token.</param> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.UserManagementStore`1.CreateNewInstance(System.String)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.UserManagementStore`1.DeleteAsync(System.String,System.Threading.CancellationToken)"> | |||||
<summary>Deletes a user management.</summary> | |||||
<returns>The deleted user management.</returns> | |||||
<param name="userId">The user identifier where the management will be deleted.</param> | |||||
<param name="cancellationToken">The cancellation token.</param> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.UserManagementStore`1.FindAsync(System.String,System.Threading.CancellationToken)"> | |||||
<summary>Searches for a user management of a specific user.</summary> | |||||
<returns>The searched user management.</returns> | |||||
<param name="userId">The user identifier.</param> | |||||
<param name="cancellationToken">The cancellation token.</param> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.UserManagementStore`1.UpdateAsync(Microsoft.AspNet.Identity.IUserManagement,System.Threading.CancellationToken)"> | |||||
<summary>Updates a user management.</summary> | |||||
<returns>The updated user management information.</returns> | |||||
<param name="info">The user management information.</param> | |||||
<param name="cancellationToken">The cancellation token.</param> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.EntityFramework.UserRole"> | |||||
<summary>EntityType that represents a user belonging to a role <see cref="T:Microsoft.AspNet.Identity.EntityFramework.IUserRole" /></summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.UserRole.#ctor"> | |||||
<summary>Initializes a new instance of the <see cref="T:Microsoft.AspNet.Identity.EntityFramework.UserRole" /> class.</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.UserRole.Role"> | |||||
<summary>Navigation property setting up the foreign key for Role</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.UserRole.RoleId"> | |||||
<summary>Gets or sets the role identifier.</summary> | |||||
<returns>The role identifier.</returns> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.UserRole.User"> | |||||
<summary>Navigation property setting up the foreign key for User</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.UserRole.UserId"> | |||||
<summary>Gets or sets the user identifier.</summary> | |||||
<returns>The user identifier.</returns> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.EntityFramework.UserSecret"> | |||||
<summary>EntityType that represents a username and secret(i.e. hashed password) <see cref="T:Microsoft.AspNet.Identity.IUserSecret" /></summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.UserSecret.#ctor"> | |||||
<summary>Constructor</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.UserSecret.#ctor(System.String,System.String)"> | |||||
<summary>Constructor</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.UserSecret.Secret"></member> | |||||
<member name="P:Microsoft.AspNet.Identity.EntityFramework.UserSecret.UserName"></member> | |||||
<member name="T:Microsoft.AspNet.Identity.EntityFramework.UserSecretStore`1"> | |||||
<summary>Implements IUserSecretStore using EntityFramework where TUserSecret is the entity type of the user secret being stored</summary> | |||||
<typeparam name="TUserSecret"></typeparam> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.UserSecretStore`1.#ctor(System.Data.Entity.DbContext)"> | |||||
<summary>Constructor that takes a db context</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.UserSecretStore`1.CreateAsync(Microsoft.AspNet.Identity.IUserSecret,System.Threading.CancellationToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.UserSecretStore`1.CreateNewInstance(System.String,System.String)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.UserSecretStore`1.DeleteAsync(System.String,System.Threading.CancellationToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.UserSecretStore`1.FindAsync(System.String,System.Threading.CancellationToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.UserSecretStore`1.UpdateAsync(System.String,System.String,System.Threading.CancellationToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.UserSecretStore`1.ValidateAsync(System.String,System.String,System.Threading.CancellationToken)"></member> | |||||
<member name="T:Microsoft.AspNet.Identity.EntityFramework.UserStore`1"> | |||||
<summary>Implements IUserStore using EntityFramework where TUser is the entity type of the user being stored</summary> | |||||
<typeparam name="TUser"></typeparam> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.UserStore`1.#ctor(System.Data.Entity.DbContext)"> | |||||
<summary>Constructor that takes the db context</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.UserStore`1.CreateAsync(Microsoft.AspNet.Identity.IUser,System.Threading.CancellationToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.UserStore`1.DeleteAsync(System.String,System.Threading.CancellationToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.UserStore`1.FindAsync(System.String,System.Threading.CancellationToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.EntityFramework.UserStore`1.FindByNameAsync(System.String,System.Threading.CancellationToken)"></member> | |||||
</members> | |||||
</doc> |
@ -0,0 +1,22 @@ | |||||
<?xml version="1.0"?> | |||||
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd"> | |||||
<metadata> | |||||
<id>Microsoft.AspNet.Mvc</id> | |||||
<version>5.0.0</version> | |||||
<title>Microsoft ASP.NET MVC</title> | |||||
<authors>Microsoft</authors> | |||||
<owners>Microsoft</owners> | |||||
<licenseUrl>http://www.microsoft.com/web/webpi/eula/aspnetcomponent_rtw_ENU.htm</licenseUrl> | |||||
<projectUrl>http://www.asp.net/mvc</projectUrl> | |||||
<requireLicenseAcceptance>true</requireLicenseAcceptance> | |||||
<description>This package contains the runtime assemblies for ASP.NET MVC. ASP.NET MVC gives you a powerful, patterns-based way to build dynamic websites that enables a clean separation of concerns and that gives you full control over markup.</description> | |||||
<summary>This package contains the runtime assemblies for ASP.NET MVC.</summary> | |||||
<copyright>© Microsoft Corporation. All rights reserved.</copyright> | |||||
<language>en-US</language> | |||||
<tags>Microsoft AspNet Mvc AspNetMvc</tags> | |||||
<dependencies> | |||||
<dependency id="Microsoft.AspNet.WebPages" version="3.0.0" /> | |||||
<dependency id="Microsoft.AspNet.Razor" version="3.0.0" /> | |||||
</dependencies> | |||||
</metadata> | |||||
</package> |
@ -0,0 +1,18 @@ | |||||
<?xml version="1.0"?> | |||||
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd"> | |||||
<metadata> | |||||
<id>Microsoft.AspNet.Razor</id> | |||||
<version>3.0.0</version> | |||||
<title>Microsoft ASP.NET Razor</title> | |||||
<authors>Microsoft</authors> | |||||
<owners>Microsoft</owners> | |||||
<licenseUrl>http://www.microsoft.com/web/webpi/eula/aspnetcomponent_rtw_ENU.htm</licenseUrl> | |||||
<projectUrl>http://www.asp.net/web-pages</projectUrl> | |||||
<requireLicenseAcceptance>true</requireLicenseAcceptance> | |||||
<description>This package contains the runtime assemblies for ASP.NET Web Pages. ASP.NET Web Pages and the new Razor syntax provide a fast, terse, clean and lightweight way to combine server code with HTML to create dynamic web content.</description> | |||||
<summary>This package contains the runtime assemblies for ASP.NET Web Pages.</summary> | |||||
<copyright>© Microsoft Corporation. All rights reserved.</copyright> | |||||
<language>en-US</language> | |||||
<tags>Microsoft AspNet WebPages AspNetWebPages Razor</tags> | |||||
</metadata> | |||||
</package> |
@ -0,0 +1,22 @@ | |||||
<?xml version="1.0"?> | |||||
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd"> | |||||
<metadata> | |||||
<id>Microsoft.AspNet.WebPages</id> | |||||
<version>3.0.0</version> | |||||
<title>Microsoft ASP.NET Web Pages</title> | |||||
<authors>Microsoft</authors> | |||||
<owners>Microsoft</owners> | |||||
<licenseUrl>http://www.microsoft.com/web/webpi/eula/aspnetcomponent_rtw_ENU.htm</licenseUrl> | |||||
<projectUrl>http://www.asp.net/web-pages</projectUrl> | |||||
<requireLicenseAcceptance>true</requireLicenseAcceptance> | |||||
<description>This package contains core runtime assemblies shared between ASP.NET MVC and ASP.NET Web Pages.</description> | |||||
<summary>This package contains core runtime assemblies shared between ASP.NET MVC and ASP.NET Web Pages.</summary> | |||||
<copyright>© Microsoft Corporation. All rights reserved.</copyright> | |||||
<language>en-US</language> | |||||
<tags>Microsoft AspNet WebPages AspNetWebPages</tags> | |||||
<dependencies> | |||||
<dependency id="Microsoft.Web.Infrastructure" version="1.0.0.0" /> | |||||
<dependency id="Microsoft.AspNet.Razor" version="3.0.0" /> | |||||
</dependencies> | |||||
</metadata> | |||||
</package> |
@ -0,0 +1,836 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<doc> | |||||
<assembly> | |||||
<name>System.Web.Helpers</name> | |||||
</assembly> | |||||
<members> | |||||
<member name="T:System.Web.Helpers.Chart"> | |||||
<summary>Displays data in the form of a graphical chart.</summary> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.#ctor(System.Int32,System.Int32,System.String,System.String)"> | |||||
<summary>Initializes a new instance of the <see cref="T:System.Web.Helpers.Chart" /> class.</summary> | |||||
<param name="width">The width, in pixels, of the complete chart image.</param> | |||||
<param name="height">The height, in pixels, of the complete chart image.</param> | |||||
<param name="theme">(Optional) The template (theme) to apply to the chart.</param> | |||||
<param name="themePath">(Optional) The template (theme) path and file name to apply to the chart.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.AddLegend(System.String,System.String)"> | |||||
<summary>Adds a legend to the chart.</summary> | |||||
<returns>The chart.</returns> | |||||
<param name="title">The text of the legend title.</param> | |||||
<param name="name">The unique name of the legend.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.AddSeries(System.String,System.String,System.String,System.String,System.String,System.Int32,System.Collections.IEnumerable,System.String,System.Collections.IEnumerable,System.String)"> | |||||
<summary>Provides data points and series attributes for the chart.</summary> | |||||
<returns>The chart.</returns> | |||||
<param name="name">The unique name of the series.</param> | |||||
<param name="chartType">The chart type of a series.</param> | |||||
<param name="chartArea">The name of the chart area that is used to plot the data series.</param> | |||||
<param name="axisLabel">The axis label text for the series.</param> | |||||
<param name="legend">The name of the series that is associated with the legend.</param> | |||||
<param name="markerStep">The granularity of data point markers.</param> | |||||
<param name="xValue">The values to plot along the x-axis.</param> | |||||
<param name="xField">The name of the field for x-values.</param> | |||||
<param name="yValues">The values to plot along the y-axis.</param> | |||||
<param name="yFields">A comma-separated list of name or names of the field or fields for y-values.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.AddTitle(System.String,System.String)"> | |||||
<summary>Adds a title to the chart.</summary> | |||||
<returns>The chart.</returns> | |||||
<param name="text">The title text.</param> | |||||
<param name="name">The unique name of the title.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.DataBindCrossTable(System.Collections.IEnumerable,System.String,System.String,System.String,System.String,System.String)"> | |||||
<summary>Binds a chart to a data table, where one series is created for each unique value in a column.</summary> | |||||
<returns>The chart.</returns> | |||||
<param name="dataSource">The chart data source.</param> | |||||
<param name="groupByField">The name of the column that is used to group data into the series.</param> | |||||
<param name="xField">The name of the column for x-values.</param> | |||||
<param name="yFields">A comma-separated list of names of the columns for y-values.</param> | |||||
<param name="otherFields">Other data point properties that can be bound.</param> | |||||
<param name="pointSortOrder">The order in which the series will be sorted. The default is "Ascending".</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.DataBindTable(System.Collections.IEnumerable,System.String)"> | |||||
<summary>Creates and binds series data to the specified data table, and optionally populates multiple x-values.</summary> | |||||
<returns>The chart.</returns> | |||||
<param name="dataSource">The chart data source. This can be can be any <see cref="T:System.Collections.IEnumerable" /> object.</param> | |||||
<param name="xField">The name of the table column used for the series x-values.</param> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Chart.FileName"> | |||||
<summary>Gets or sets the name of the file that contains the chart image.</summary> | |||||
<returns>The name of the file.</returns> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.GetBytes(System.String)"> | |||||
<summary>Returns a chart image as a byte array.</summary> | |||||
<returns>The chart.</returns> | |||||
<param name="format">The image format. The default is "jpeg".</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.GetFromCache(System.String)"> | |||||
<summary>Retrieves the specified chart from the cache.</summary> | |||||
<returns>The chart.</returns> | |||||
<param name="key">The ID of the cache item that contains the chart to retrieve. The key is set when you call the <see cref="M:System.Web.Helpers.Chart.SaveToCache(System.String,System.Int32,System.Boolean)" /> method.</param> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Chart.Height"> | |||||
<summary>Gets or sets the height, in pixels, of the chart image.</summary> | |||||
<returns>The chart height.</returns> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.Save(System.String,System.String)"> | |||||
<summary>Saves a chart image to the specified file.</summary> | |||||
<returns>The chart.</returns> | |||||
<param name="path">The location and name of the image file.</param> | |||||
<param name="format">The image file format, such as "png" or "jpeg".</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.SaveToCache(System.String,System.Int32,System.Boolean)"> | |||||
<summary>Saves a chart in the system cache.</summary> | |||||
<returns>The ID of the cache item that contains the chart.</returns> | |||||
<param name="key">The ID of the chart in the cache.</param> | |||||
<param name="minutesToCache">The number of minutes to keep the chart image in the cache. The default is 20.</param> | |||||
<param name="slidingExpiration">true to indicate that the chart cache item's expiration is reset each time the item is accessed, or false to indicate that the expiration is based on an absolute interval since the time that the item was added to the cache. The default is true.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.SaveXml(System.String)"> | |||||
<summary>Saves a chart as an XML file.</summary> | |||||
<returns>The chart.</returns> | |||||
<param name="path">The path and name of the XML file.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.SetXAxis(System.String,System.Double,System.Double)"> | |||||
<summary>Sets values for the horizontal axis.</summary> | |||||
<returns>The chart.</returns> | |||||
<param name="title">The title of the x-axis.</param> | |||||
<param name="min">The minimum value for the x-axis.</param> | |||||
<param name="max">The maximum value for the x-axis.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.SetYAxis(System.String,System.Double,System.Double)"> | |||||
<summary>Sets values for the vertical axis.</summary> | |||||
<returns>The chart.</returns> | |||||
<param name="title">The title of the y-axis.</param> | |||||
<param name="min">The minimum value for the y-axis.</param> | |||||
<param name="max">The maximum value for the y-axis.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.ToWebImage(System.String)"> | |||||
<summary>Creates a <see cref="T:System.Web.Helpers.WebImage" /> object based on the current <see cref="T:System.Web.Helpers.Chart" /> object.</summary> | |||||
<returns>The chart.</returns> | |||||
<param name="format">The format of the image to save the <see cref="T:System.Web.Helpers.WebImage" /> object as. The default is "jpeg". The <paramref name="format" /> parameter is not case sensitive.</param> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Chart.Width"> | |||||
<summary>Gets or set the width, in pixels, of the chart image.</summary> | |||||
<returns>The chart width.</returns> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.Write(System.String)"> | |||||
<summary>Renders the output of the <see cref="T:System.Web.Helpers.Chart" /> object as an image.</summary> | |||||
<returns>The chart.</returns> | |||||
<param name="format">The format of the image. The default is "jpeg".</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.WriteFromCache(System.String,System.String)"> | |||||
<summary>Renders the output of a <see cref="T:System.Web.Helpers.Chart" /> object that has been cached as an image.</summary> | |||||
<returns>The chart.</returns> | |||||
<param name="key">The ID of the chart in the cache.</param> | |||||
<param name="format">The format of the image. The default is "jpeg".</param> | |||||
</member> | |||||
<member name="T:System.Web.Helpers.ChartTheme"> | |||||
<summary>Specifies visual themes for a <see cref="T:System.Web.Helpers.Chart" /> object.</summary> | |||||
</member> | |||||
<member name="F:System.Web.Helpers.ChartTheme.Blue"> | |||||
<summary>A theme for 2D charting that features a visual container with a blue gradient, rounded edges, drop-shadowing, and high-contrast gridlines.</summary> | |||||
</member> | |||||
<member name="F:System.Web.Helpers.ChartTheme.Green"> | |||||
<summary>A theme for 2D charting that features a visual container with a green gradient, rounded edges, drop-shadowing, and low-contrast gridlines.</summary> | |||||
</member> | |||||
<member name="F:System.Web.Helpers.ChartTheme.Vanilla"> | |||||
<summary>A theme for 2D charting that features no visual container and no gridlines.</summary> | |||||
</member> | |||||
<member name="F:System.Web.Helpers.ChartTheme.Vanilla3D"> | |||||
<summary>A theme for 3D charting that features no visual container, limited labeling and, sparse, high-contrast gridlines.</summary> | |||||
</member> | |||||
<member name="F:System.Web.Helpers.ChartTheme.Yellow"> | |||||
<summary>A theme for 2D charting that features a visual container that has a yellow gradient, rounded edges, drop-shadowing, and high-contrast gridlines.</summary> | |||||
</member> | |||||
<member name="T:System.Web.Helpers.Crypto"> | |||||
<summary>Provides methods to generate hash values and encrypt passwords or other sensitive data.</summary> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Crypto.GenerateSalt(System.Int32)"> | |||||
<summary>Generates a cryptographically strong sequence of random byte values.</summary> | |||||
<returns>The generated salt value as a base-64-encoded string.</returns> | |||||
<param name="byteLength">The number of cryptographically random bytes to generate.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Crypto.Hash(System.Byte[],System.String)"> | |||||
<summary>Returns a hash value for the specified byte array.</summary> | |||||
<returns>The hash value for <paramref name="input" /> as a string of hexadecimal characters.</returns> | |||||
<param name="input">The data to provide a hash value for.</param> | |||||
<param name="algorithm">The algorithm that is used to generate the hash value. The default is "sha256".</param> | |||||
<exception cref="T:System.ArgumentNullException"> | |||||
<paramref name="input" /> is null.</exception> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Crypto.Hash(System.String,System.String)"> | |||||
<summary>Returns a hash value for the specified string.</summary> | |||||
<returns>The hash value for <paramref name="input" /> as a string of hexadecimal characters.</returns> | |||||
<param name="input">The data to provide a hash value for.</param> | |||||
<param name="algorithm">The algorithm that is used to generate the hash value. The default is "sha256".</param> | |||||
<exception cref="T:System.ArgumentNullException"> | |||||
<paramref name="input" /> is null.</exception> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Crypto.HashPassword(System.String)"> | |||||
<summary>Returns an RFC 2898 hash value for the specified password.</summary> | |||||
<returns>The hash value for <paramref name="password" /> as a base-64-encoded string.</returns> | |||||
<param name="password">The password to generate a hash value for.</param> | |||||
<exception cref="T:System.ArgumentNullException"> | |||||
<paramref name="password" /> is null.</exception> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Crypto.SHA1(System.String)"> | |||||
<summary>Returns a SHA-1 hash value for the specified string.</summary> | |||||
<returns>The SHA-1 hash value for <paramref name="input" /> as a string of hexadecimal characters.</returns> | |||||
<param name="input">The data to provide a hash value for.</param> | |||||
<exception cref="T:System.ArgumentNullException"> | |||||
<paramref name="input" /> is null.</exception> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Crypto.SHA256(System.String)"> | |||||
<summary>Returns a SHA-256 hash value for the specified string.</summary> | |||||
<returns>The SHA-256 hash value for <paramref name="input" /> as a string of hexadecimal characters.</returns> | |||||
<param name="input">The data to provide a hash value for.</param> | |||||
<exception cref="T:System.ArgumentNullException"> | |||||
<paramref name="input" /> is null.</exception> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Crypto.VerifyHashedPassword(System.String,System.String)"> | |||||
<summary>Determines whether the specified RFC 2898 hash and password are a cryptographic match.</summary> | |||||
<returns>true if the hash value is a cryptographic match for the password; otherwise, false.</returns> | |||||
<param name="hashedPassword">The previously-computed RFC 2898 hash value as a base-64-encoded string.</param> | |||||
<param name="password">The plaintext password to cryptographically compare with <paramref name="hashedPassword" />.</param> | |||||
<exception cref="T:System.ArgumentNullException"> | |||||
<paramref name="hashedPassword" /> or <paramref name="password" /> is null.</exception> | |||||
</member> | |||||
<member name="T:System.Web.Helpers.DynamicJsonArray"> | |||||
<summary>Represents a series of values as a JavaScript-like array by using the dynamic capabilities of the Dynamic Language Runtime (DLR).</summary> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.DynamicJsonArray.#ctor(System.Object[])"> | |||||
<summary>Initializes a new instance of the <see cref="T:System.Web.Helpers.DynamicJsonArray" /> class using the specified array element values.</summary> | |||||
<param name="arrayValues">An array of objects that contains the values to add to the <see cref="T:System.Web.Helpers.DynamicJsonArray" /> instance.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.DynamicJsonArray.GetEnumerator"> | |||||
<summary>Returns an enumerator that can be used to iterate through the elements of the <see cref="T:System.Web.Helpers.DynamicJsonArray" /> instance.</summary> | |||||
<returns>An enumerator that can be used to iterate through the elements of the JSON array.</returns> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.DynamicJsonArray.Item(System.Int32)"> | |||||
<summary>Returns the value at the specified index in the <see cref="T:System.Web.Helpers.DynamicJsonArray" /> instance.</summary> | |||||
<returns>The value at the specified index.</returns> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.DynamicJsonArray.Length"> | |||||
<summary>Returns the number of elements in the <see cref="T:System.Web.Helpers.DynamicJsonArray" /> instance.</summary> | |||||
<returns>The number of elements in the JSON array.</returns> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.DynamicJsonArray.op_Implicit(System.Web.Helpers.DynamicJsonArray)~System.Object[]"> | |||||
<summary>Converts a <see cref="T:System.Web.Helpers.DynamicJsonArray" /> instance to an array of objects.</summary> | |||||
<returns>The array of objects that represents the JSON array.</returns> | |||||
<param name="obj">The JSON array to convert.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.DynamicJsonArray.op_Implicit(System.Web.Helpers.DynamicJsonArray)~System.Array"> | |||||
<summary>Converts a <see cref="T:System.Web.Helpers.DynamicJsonArray" /> instance to an array of objects.</summary> | |||||
<returns>The array of objects that represents the JSON array.</returns> | |||||
<param name="obj">The JSON array to convert.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.DynamicJsonArray.System#Collections#Generic#IEnumerable{T}#GetEnumerator"> | |||||
<summary>Returns an enumerator that can be used to iterate through a collection.</summary> | |||||
<returns>An enumerator that can be used to iterate through the collection.</returns> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.DynamicJsonArray.TryConvert(System.Dynamic.ConvertBinder,System.Object@)"> | |||||
<summary>Converts the <see cref="T:System.Web.Helpers.DynamicJsonArray" /> instance to a compatible type.</summary> | |||||
<returns>true if the conversion was successful; otherwise, false.</returns> | |||||
<param name="binder">Provides information about the conversion operation.</param> | |||||
<param name="result">When this method returns, contains the result of the type conversion operation. This parameter is passed uninitialized.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.DynamicJsonArray.TryGetMember(System.Dynamic.GetMemberBinder,System.Object@)"> | |||||
<summary>Tests the <see cref="T:System.Web.Helpers.DynamicJsonArray" /> instance for dynamic members (which are not supported) in a way that does not cause an exception to be thrown.</summary> | |||||
<returns>true in all cases.</returns> | |||||
<param name="binder">Provides information about the get operation.</param> | |||||
<param name="result">When this method returns, contains null. This parameter is passed uninitialized.</param> | |||||
</member> | |||||
<member name="T:System.Web.Helpers.DynamicJsonObject"> | |||||
<summary>Represents a collection of values as a JavaScript-like object by using the capabilities of the Dynamic Language Runtime.</summary> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.DynamicJsonObject.#ctor(System.Collections.Generic.IDictionary{System.String,System.Object})"> | |||||
<summary>Initializes a new instance of the <see cref="T:System.Web.Helpers.DynamicJsonObject" /> class using the specified field values.</summary> | |||||
<param name="values">A dictionary of property names and values to add to the <see cref="T:System.Web.Helpers.DynamicJsonObject" /> instance as dynamic members.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.DynamicJsonObject.GetDynamicMemberNames"> | |||||
<summary>Returns a list that contains the name of all dynamic members (JSON fields) of the <see cref="T:System.Web.Helpers.DynamicJsonObject" /> instance.</summary> | |||||
<returns>A list that contains the name of every dynamic member (JSON field).</returns> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.DynamicJsonObject.TryConvert(System.Dynamic.ConvertBinder,System.Object@)"> | |||||
<summary>Converts the <see cref="T:System.Web.Helpers.DynamicJsonObject" /> instance to a compatible type.</summary> | |||||
<returns>true in all cases.</returns> | |||||
<param name="binder">Provides information about the conversion operation.</param> | |||||
<param name="result">When this method returns, contains the result of the type conversion operation. This parameter is passed uninitialized.</param> | |||||
<exception cref="T:System.InvalidOperationException">The <see cref="T:System.Web.Helpers.DynamicJsonObject" /> instance could not be converted to the specified type.</exception> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.DynamicJsonObject.TryGetIndex(System.Dynamic.GetIndexBinder,System.Object[],System.Object@)"> | |||||
<summary>Gets the value of a <see cref="T:System.Web.Helpers.DynamicJsonObject" /> field using the specified index.</summary> | |||||
<returns>true in all cases.</returns> | |||||
<param name="binder">Provides information about the indexed get operation.</param> | |||||
<param name="indexes">An array that contains a single object that indexes the field by name. The object must be convertible to a string that specifies the name of the JSON field to return. If multiple indexes are specified, <paramref name="result" /> contains null when this method returns.</param> | |||||
<param name="result">When this method returns, contains the value of the indexed field, or null if the get operation was unsuccessful. This parameter is passed uninitialized.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.DynamicJsonObject.TryGetMember(System.Dynamic.GetMemberBinder,System.Object@)"> | |||||
<summary>Gets the value of a <see cref="T:System.Web.Helpers.DynamicJsonObject" /> field using the specified name.</summary> | |||||
<returns>true in all cases.</returns> | |||||
<param name="binder">Provides information about the get operation.</param> | |||||
<param name="result">When this method returns, contains the value of the field, or null if the get operation was unsuccessful. This parameter is passed uninitialized.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.DynamicJsonObject.TrySetIndex(System.Dynamic.SetIndexBinder,System.Object[],System.Object)"> | |||||
<summary>Sets the value of a <see cref="T:System.Web.Helpers.DynamicJsonObject" /> field using the specified index.</summary> | |||||
<returns>true in all cases.</returns> | |||||
<param name="binder">Provides information about the indexed set operation.</param> | |||||
<param name="indexes">An array that contains a single object that indexes the field by name. The object must be convertible to a string that specifies the name of the JSON field to return. If multiple indexes are specified, no field is changed or added.</param> | |||||
<param name="value">The value to set the field to.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.DynamicJsonObject.TrySetMember(System.Dynamic.SetMemberBinder,System.Object)"> | |||||
<summary>Sets the value of a <see cref="T:System.Web.Helpers.DynamicJsonObject" /> field using the specified name.</summary> | |||||
<returns>true in all cases.</returns> | |||||
<param name="binder">Provides information about the set operation.</param> | |||||
<param name="value">The value to set the field to.</param> | |||||
</member> | |||||
<member name="T:System.Web.Helpers.Json"> | |||||
<summary>Provides methods for working with data in JavaScript Object Notation (JSON) format.</summary> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Json.Decode``1(System.String)"> | |||||
<summary>Converts data in JavaScript Object Notation (JSON) format into the specified strongly typed data list.</summary> | |||||
<returns>The JSON-encoded data converted to a strongly typed list.</returns> | |||||
<param name="value">The JSON-encoded string to convert.</param> | |||||
<typeparam name="T">The type of the strongly typed list to convert JSON data into.</typeparam> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Json.Decode(System.String)"> | |||||
<summary>Converts data in JavaScript Object Notation (JSON) format into a data object.</summary> | |||||
<returns>The JSON-encoded data converted to a data object.</returns> | |||||
<param name="value">The JSON-encoded string to convert.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Json.Decode(System.String,System.Type)"> | |||||
<summary>Converts data in JavaScript Object Notation (JSON) format into a data object of a specified type.</summary> | |||||
<returns>The JSON-encoded data converted to the specified type.</returns> | |||||
<param name="value">The JSON-encoded string to convert.</param> | |||||
<param name="targetType">The type that the <paramref name="value" /> data should be converted to.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Json.Encode(System.Object)"> | |||||
<summary>Converts a data object to a string that is in the JavaScript Object Notation (JSON) format.</summary> | |||||
<returns>Returns a string of data converted to the JSON format.</returns> | |||||
<param name="value">The data object to convert.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Json.Write(System.Object,System.IO.TextWriter)"> | |||||
<summary>Converts a data object to a string in JavaScript Object Notation (JSON) format and adds the string to the specified <see cref="T:System.IO.TextWriter" /> object.</summary> | |||||
<param name="value">The data object to convert.</param> | |||||
<param name="writer">The object that contains the converted JSON data.</param> | |||||
</member> | |||||
<member name="T:System.Web.Helpers.ObjectInfo"> | |||||
<summary>Renders the property names and values of the specified object and of any subobjects that it references.</summary> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.ObjectInfo.Print(System.Object,System.Int32,System.Int32)"> | |||||
<summary>Renders the property names and values of the specified object and of any subobjects.</summary> | |||||
<returns>For a simple variable, returns the type and the value. For an object that contains multiple items, returns the property name or key and the value for each property.</returns> | |||||
<param name="value">The object to render information for.</param> | |||||
<param name="depth">Optional. Specifies the depth of nested subobjects to render information for. The default is 10.</param> | |||||
<param name="enumerationLength">Optional. Specifies the maximum number of characters that the method displays for object values. The default is 1000.</param> | |||||
<exception cref="T:System.ArgumentOutOfRangeException"> | |||||
<paramref name="depth" /> is less than zero.</exception> | |||||
<exception cref="T:System.ArgumentOutOfRangeException"> | |||||
<paramref name="enumerationLength" /> is less than or equal to zero.</exception> | |||||
</member> | |||||
<member name="T:System.Web.Helpers.ServerInfo"> | |||||
<summary>Displays information about the web server environment that hosts the current web page.</summary> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.ServerInfo.GetHtml"> | |||||
<summary>Displays information about the web server environment.</summary> | |||||
<returns>A string of name-value pairs that contains information about the web server. </returns> | |||||
</member> | |||||
<member name="T:System.Web.Helpers.SortDirection"> | |||||
<summary>Specifies the direction in which to sort a list of items.</summary> | |||||
</member> | |||||
<member name="F:System.Web.Helpers.SortDirection.Ascending"> | |||||
<summary>Sort from smallest to largest —for example, from 1 to 10.</summary> | |||||
</member> | |||||
<member name="F:System.Web.Helpers.SortDirection.Descending"> | |||||
<summary>Sort from largest to smallest — for example, from 10 to 1.</summary> | |||||
</member> | |||||
<member name="T:System.Web.Helpers.WebCache"> | |||||
<summary>Provides a cache to store frequently accessed data.</summary> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebCache.Get(System.String)"> | |||||
<summary>Retrieves the specified item from the <see cref="T:System.Web.Helpers.WebCache" /> object.</summary> | |||||
<returns>The item retrieved from the cache, or null if the item is not found.</returns> | |||||
<param name="key">The identifier for the cache item to retrieve.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebCache.Remove(System.String)"> | |||||
<summary>Removes the specified item from the <see cref="T:System.Web.Helpers.WebCache" /> object.</summary> | |||||
<returns>The item removed from the <see cref="T:System.Web.Helpers.WebCache" /> object. If the item is not found, returns null.</returns> | |||||
<param name="key">The identifier for the cache item to remove.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebCache.Set(System.String,System.Object,System.Int32,System.Boolean)"> | |||||
<summary>Inserts an item into the <see cref="T:System.Web.Helpers.WebCache" /> object.</summary> | |||||
<param name="key">The identifier for the cache item.</param> | |||||
<param name="value">The data to insert into the cache.</param> | |||||
<param name="minutesToCache">Optional. The number of minutes to keep an item in the cache. The default is 20.</param> | |||||
<param name="slidingExpiration">Optional. true to indicate that the cache item expiration is reset each time the item is accessed, or false to indicate that the expiration is based the absolute time since the item was added to the cache. The default is true. In that case, if you also use the default value for the <paramref name="minutesToCache" /> parameter, a cached item expires 20 minutes after it was last accessed.</param> | |||||
<exception cref="T:System.ArgumentOutOfRangeException">The value of <paramref name="minutesToCache" /> is less than or equal to zero.</exception> | |||||
<exception cref="T:System.ArgumentOutOfRangeException">Sliding expiration is enabled and the value of <paramref name="minutesToCache" /> is greater than a year.</exception> | |||||
</member> | |||||
<member name="T:System.Web.Helpers.WebGrid"> | |||||
<summary>Displays data on a web page using an HTML table element.</summary> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebGrid.#ctor(System.Collections.Generic.IEnumerable{System.Object},System.Collections.Generic.IEnumerable{System.String},System.String,System.Int32,System.Boolean,System.Boolean,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> | |||||
<summary>Initializes a new instance of the <see cref="T:System.Web.Helpers.WebGrid" /> class.</summary> | |||||
<param name="source">The data to display.</param> | |||||
<param name="columnNames">A collection that contains the names of the data columns to display. By default, this value is auto-populated according to the values in the <paramref name="source" /> parameter.</param> | |||||
<param name="defaultSort">The name of the data column that is used to sort the grid by default.</param> | |||||
<param name="rowsPerPage">The number of rows that are displayed on each page of the grid when paging is enabled. The default is 10.</param> | |||||
<param name="canPage">true to specify that paging is enabled for the <see cref="T:System.Web.Helpers.WebGrid" /> instance; otherwise false. The default is true. </param> | |||||
<param name="canSort">true to specify that sorting is enabled for the <see cref="T:System.Web.Helpers.WebGrid" /> instance; otherwise, false. The default is true.</param> | |||||
<param name="ajaxUpdateContainerId">The value of the HTML id attribute that is used to mark the HTML element that gets dynamic Ajax updates that are associated with the <see cref="T:System.Web.Helpers.WebGrid" /> instance.</param> | |||||
<param name="ajaxUpdateCallback">The name of the JavaScript function that is called after the HTML element specified by the <see cref="P:System.Web.Helpers.WebGrid.AjaxUpdateContainerId" /> property has been updated. If the name of a function is not provided, no function will be called. If the specified function does not exist, a JavaScript error will occur if it is invoked.</param> | |||||
<param name="fieldNamePrefix">The prefix that is applied to all query-string fields that are associated with the <see cref="T:System.Web.Helpers.WebGrid" /> instance. This value is used in order to support multiple <see cref="T:System.Web.Helpers.WebGrid" /> instances on the same web page.</param> | |||||
<param name="pageFieldName">The name of the query-string field that is used to specify the current page of the <see cref="T:System.Web.Helpers.WebGrid" /> instance.</param> | |||||
<param name="selectionFieldName">The name of the query-string field that is used to specify the currently selected row of the <see cref="T:System.Web.Helpers.WebGrid" /> instance.</param> | |||||
<param name="sortFieldName">The name of the query-string field that is used to specify the name of the data column that the <see cref="T:System.Web.Helpers.WebGrid" /> instance is sorted by.</param> | |||||
<param name="sortDirectionFieldName">The name of the query-string field that is used to specify the direction in which the <see cref="T:System.Web.Helpers.WebGrid" /> instance is sorted.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebGrid.AddSorter``2(System.String,System.Linq.Expressions.Expression{System.Func{``0,``1}})"> | |||||
<typeparam name="TElement"></typeparam> | |||||
<typeparam name="TProperty"></typeparam> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.WebGrid.AjaxUpdateCallback"> | |||||
<summary>Gets the name of the JavaScript function to call after the HTML element that is associated with the <see cref="T:System.Web.Helpers.WebGrid" /> instance has been updated in response to an Ajax update request.</summary> | |||||
<returns>The name of the function.</returns> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.WebGrid.AjaxUpdateContainerId"> | |||||
<summary>Gets the value of the HTML id attribute that marks an HTML element on the web page that gets dynamic Ajax updates that are associated with the <see cref="T:System.Web.Helpers.WebGrid" /> instance.</summary> | |||||
<returns>The value of the id attribute.</returns> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebGrid.Bind(System.Collections.Generic.IEnumerable{System.Object},System.Collections.Generic.IEnumerable{System.String},System.Boolean,System.Int32)"> | |||||
<summary>Binds the specified data to the <see cref="T:System.Web.Helpers.WebGrid" /> instance.</summary> | |||||
<returns>The bound and populated <see cref="T:System.Web.Helpers.WebGrid" /> instance.</returns> | |||||
<param name="source">The data to display.</param> | |||||
<param name="columnNames">A collection that contains the names of the data columns to bind.</param> | |||||
<param name="autoSortAndPage">true to enable sorting and paging of the <see cref="T:System.Web.Helpers.WebGrid" /> instance; otherwise, false.</param> | |||||
<param name="rowCount">The number of rows to display on each page of the grid.</param> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.WebGrid.CanSort"> | |||||
<summary>Gets a value that indicates whether the <see cref="T:System.Web.Helpers.WebGrid" /> instance supports sorting.</summary> | |||||
<returns>true if the instance supports sorting; otherwise, false.</returns> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebGrid.Column(System.String,System.String,System.Func{System.Object,System.Object},System.String,System.Boolean)"> | |||||
<summary>Creates a new <see cref="T:System.Web.Helpers.WebGridColumn" /> instance.</summary> | |||||
<returns>The new column.</returns> | |||||
<param name="columnName">The name of the data column to associate with the <see cref="T:System.Web.Helpers.WebGridColumn" /> instance.</param> | |||||
<param name="header">The text that is rendered in the header of the HTML table column that is associated with the <see cref="T:System.Web.Helpers.WebGridColumn" /> instance.</param> | |||||
<param name="format">The function that is used to format the data values that are associated with the <see cref="T:System.Web.Helpers.WebGridColumn" /> instance.</param> | |||||
<param name="style">A string that specifies the name of the CSS class that is used to style the HTML table cells that are associated with the <see cref="T:System.Web.Helpers.WebGridColumn" /> instance.</param> | |||||
<param name="canSort">true to enable sorting in the <see cref="T:System.Web.Helpers.WebGrid" /> instance by the data values that are associated with the <see cref="T:System.Web.Helpers.WebGridColumn" /> instance; otherwise, false. The default is true.</param> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.WebGrid.ColumnNames"> | |||||
<summary>Gets a collection that contains the name of each data column that is bound to the <see cref="T:System.Web.Helpers.WebGrid" /> instance.</summary> | |||||
<returns>The collection of data column names.</returns> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebGrid.Columns(System.Web.Helpers.WebGridColumn[])"> | |||||
<summary>Returns an array that contains the specified <see cref="T:System.Web.Helpers.WebGridColumn" /> instances.</summary> | |||||
<returns>An array of columns.</returns> | |||||
<param name="columnSet">A variable number of <see cref="T:System.Web.Helpers.WebGridColumn" /> column instances.</param> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.WebGrid.FieldNamePrefix"> | |||||
<summary>Gets the prefix that is applied to all query-string fields that are associated with the <see cref="T:System.Web.Helpers.WebGrid" /> instance.</summary> | |||||
<returns>The query-string field prefix of the <see cref="T:System.Web.Helpers.WebGrid" /> instance.</returns> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebGrid.GetContainerUpdateScript(System.String)"> | |||||
<summary>Returns a JavaScript statement that can be used to update the HTML element that is associated with the <see cref="T:System.Web.Helpers.WebGrid" /> instance on the specified web page.</summary> | |||||
<returns>A JavaScript statement that can be used to update the HTML element in a web page that is associated with the <see cref="T:System.Web.Helpers.WebGrid" /> instance.</returns> | |||||
<param name="path">The URL of the web page that contains the <see cref="T:System.Web.Helpers.WebGrid" /> instance that is being updated. The URL can include query-string arguments.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebGrid.GetHtml(System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.Boolean,System.Boolean,System.String,System.Collections.Generic.IEnumerable{System.Web.Helpers.WebGridColumn},System.Collections.Generic.IEnumerable{System.String},System.Web.Helpers.WebGridPagerModes,System.String,System.String,System.String,System.String,System.Int32,System.Object)"> | |||||
<summary>Returns the HTML markup that is used to render the <see cref="T:System.Web.Helpers.WebGrid" /> instance and using the specified paging options.</summary> | |||||
<returns>The HTML markup that represents the fully-populated <see cref="T:System.Web.Helpers.WebGrid" /> instance.</returns> | |||||
<param name="tableStyle">The name of the CSS class that is used to style the whole table.</param> | |||||
<param name="headerStyle">The name of the CSS class that is used to style the table header.</param> | |||||
<param name="footerStyle">The name of the CSS class that is used to style the table footer.</param> | |||||
<param name="rowStyle">The name of the CSS class that is used to style each table row.</param> | |||||
<param name="alternatingRowStyle">The name of the CSS class that is used to style even-numbered table rows.</param> | |||||
<param name="selectedRowStyle">The name of the CSS class that is used to style the selected table row. (Only one row can be selected at a time.)</param> | |||||
<param name="caption">The table caption.</param> | |||||
<param name="displayHeader">true to display the table header; otherwise, false. The default is true.</param> | |||||
<param name="fillEmptyRows">true to insert additional rows in the last page when there are insufficient data items to fill the last page; otherwise, false. The default is false. Additional rows are populated using the text specified by the <paramref name="emptyRowCellValue" /> parameter.</param> | |||||
<param name="emptyRowCellValue">The text that is used to populate additional rows in a page when there are insufficient data items to fill the last page. The <paramref name="fillEmptyRows" /> parameter must be set to true to display these additional rows.</param> | |||||
<param name="columns">A collection of <see cref="T:System.Web.Helpers.WebGridColumn" /> instances that specify how each column is displayed. This includes which data column is associated with each grid column, and how to format the data values that each grid column contains.</param> | |||||
<param name="exclusions">A collection that contains the names of the data columns to exclude when the grid auto-populates columns.</param> | |||||
<param name="mode">A bitwise combination of the enumeration values that specify methods that are provided for moving between pages of the <see cref="T:System.Web.Helpers.WebGrid" /> instance.</param> | |||||
<param name="firstText">The text for the HTML link element that is used to link to the first page of the <see cref="T:System.Web.Helpers.WebGrid" /> instance. The <see cref="F:System.Web.Helpers.WebGridPagerModes.FirstLast" /> flag of the <paramref name="mode" /> parameter must be set to display this page navigation element.</param> | |||||
<param name="previousText">The text for the HTML link element that is used to link to previous page of the <see cref="T:System.Web.Helpers.WebGrid" /> instance. The <see cref="F:System.Web.Helpers.WebGridPagerModes.NextPrevious" /> flag of the <paramref name="mode" /> parameter must be set to display this page navigation element.</param> | |||||
<param name="nextText">The text for the HTML link element that is used to link to the next page of the <see cref="T:System.Web.Helpers.WebGrid" /> instance. The <see cref="F:System.Web.Helpers.WebGridPagerModes.NextPrevious" /> flag of the <paramref name="mode" /> parameter must be set to display this page navigation element.</param> | |||||
<param name="lastText">The text for the HTML link element that is used to link to the last page of the <see cref="T:System.Web.Helpers.WebGrid" /> instance. The <see cref="F:System.Web.Helpers.WebGridPagerModes.FirstLast" /> flag of the <paramref name="mode" /> parameter must be set to display this page navigation element.</param> | |||||
<param name="numericLinksCount">The number of numeric page links that are provided to nearby <see cref="T:System.Web.Helpers.WebGrid" /> pages. The text of each numeric page link contains the page number. The <see cref="F:System.Web.Helpers.WebGridPagerModes.Numeric" /> flag of the <paramref name="mode" /> parameter must be set to display these page navigation elements.</param> | |||||
<param name="htmlAttributes">An object that represents a collection of attributes (names and values) to set for the HTML table element that represents the <see cref="T:System.Web.Helpers.WebGrid" /> instance.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebGrid.GetPageUrl(System.Int32)"> | |||||
<summary>Returns a URL that can be used to display the specified data page of the <see cref="T:System.Web.Helpers.WebGrid" /> instance.</summary> | |||||
<returns>A URL that can be used to display the specified data page of the grid.</returns> | |||||
<param name="pageIndex">The index of the <see cref="T:System.Web.Helpers.WebGrid" /> page to display.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebGrid.GetSortUrl(System.String)"> | |||||
<summary>Returns a URL that can be used to sort the <see cref="T:System.Web.Helpers.WebGrid" /> instance by the specified column.</summary> | |||||
<returns>A URL that can be used to sort the grid.</returns> | |||||
<param name="column">The name of the data column to sort by.</param> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.WebGrid.HasSelection"> | |||||
<summary>Gets a value that indicates whether a row in the <see cref="T:System.Web.Helpers.WebGrid" /> instance is selected.</summary> | |||||
<returns>true if a row is currently selected; otherwise, false.</returns> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.WebGrid.IsAjaxEnabled"> | |||||
<summary>Returns a value that indicates whether the <see cref="T:System.Web.Helpers.WebGrid" /> instance can use Ajax calls to refresh the display.</summary> | |||||
<returns>true if the instance supports Ajax calls; otherwise, false..</returns> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.WebGrid.PageCount"> | |||||
<summary>Gets the number of pages that the <see cref="T:System.Web.Helpers.WebGrid" /> instance contains.</summary> | |||||
<returns>The page count.</returns> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.WebGrid.PageFieldName"> | |||||
<summary>Gets the full name of the query-string field that is used to specify the current page of the <see cref="T:System.Web.Helpers.WebGrid" /> instance.</summary> | |||||
<returns>The full name of the query string field that is used to specify the current page of the grid.</returns> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.WebGrid.PageIndex"> | |||||
<summary>Gets or sets the index of the current page of the <see cref="T:System.Web.Helpers.WebGrid" /> instance.</summary> | |||||
<returns>The index of the current page.</returns> | |||||
<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{System.Object,System.Object},System.Object)"> | |||||
<summary>Returns the HTML markup that is used to render the <see cref="T:System.Web.Helpers.WebGrid" /> instance.</summary> | |||||
<returns>The HTML markup that represents the fully-populated <see cref="T:System.Web.Helpers.WebGrid" /> instance.</returns> | |||||
<param name="tableStyle">The name of the CSS class that is used to style the whole table.</param> | |||||
<param name="headerStyle">The name of the CSS class that is used to style the table header.</param> | |||||
<param name="footerStyle">The name of the CSS class that is used to style the table footer.</param> | |||||
<param name="rowStyle">The name of the CSS class that is used to style each table row.</param> | |||||
<param name="alternatingRowStyle">The name of the CSS class that is used to style even-numbered table rows.</param> | |||||
<param name="selectedRowStyle">The name of the CSS class that is used use to style the selected table row.</param> | |||||
<param name="caption">The table caption.</param> | |||||
<param name="displayHeader">true to display the table header; otherwise, false. The default is true.</param> | |||||
<param name="fillEmptyRows">true to insert additional rows in the last page when there are insufficient data items to fill the last page; otherwise, false. The default is false. Additional rows are populated using the text specified by the <paramref name="emptyRowCellValue" /> parameter.</param> | |||||
<param name="emptyRowCellValue">The text that is used to populate additional rows in the last page when there are insufficient data items to fill the last page. The <paramref name="fillEmptyRows" /> parameter must be set to true to display these additional rows.</param> | |||||
<param name="columns">A collection of <see cref="T:System.Web.Helpers.WebGridColumn" /> instances that specify how each column is displayed. This includes which data column is associated with each grid column, and how to format the data values that each grid column contains.</param> | |||||
<param name="exclusions">A collection that contains the names of the data columns to exclude when the grid auto-populates columns.</param> | |||||
<param name="footer">A function that returns the HTML markup that is used to render the table footer.</param> | |||||
<param name="htmlAttributes">An object that represents a collection of attributes (names and values) to set for the HTML table element that represents the <see cref="T:System.Web.Helpers.WebGrid" /> instance.</param> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.WebGrid.TotalRowCount"> | |||||
<summary>Gets the total number of rows that the <see cref="T:System.Web.Helpers.WebGrid" /> instance contains.</summary> | |||||
<returns>The total number of rows in the grid. This value includes all rows from every page, but does not include the additional rows inserted in the last page when there are insufficient data items to fill the last page.</returns> | |||||
</member> | |||||
<member name="T:System.Web.Helpers.WebGridColumn"> | |||||
<summary>Represents a column in a <see cref="T:System.Web.Helpers.WebGrid" /> instance.</summary> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebGridColumn.#ctor"> | |||||
<summary>Initializes a new instance of the <see cref="T:System.Web.Helpers.WebGridColumn" /> class.</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.WebGridColumn.CanSort"> | |||||
<summary>Gets or sets a value that indicates whether the <see cref="T:System.Web.Helpers.WebGrid" /> column can be sorted.</summary> | |||||
<returns>true to indicate that the column can be sorted; otherwise, false.</returns> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.WebGridColumn.ColumnName"> | |||||
<summary>Gets or sets the name of the data item that is associated with the <see cref="T:System.Web.Helpers.WebGrid" /> column.</summary> | |||||
<returns>The name of the data item.</returns> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.WebGridColumn.Format"> | |||||
<summary>Gets or sets a function that is used to format the data item that is associated with the <see cref="T:System.Web.Helpers.WebGrid" /> column.</summary> | |||||
<returns>The function that is used to format that data item that is associated with the column.</returns> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.WebGridColumn.Header"> | |||||
<summary>Gets or sets the text that is rendered in the header of the <see cref="T:System.Web.Helpers.WebGrid" /> column.</summary> | |||||
<returns>The text that is rendered to the column header.</returns> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.WebGridColumn.Style"> | |||||
<summary>Gets or sets the CSS class attribute that is rendered as part of the HTML table cells that are associated with the <see cref="T:System.Web.Helpers.WebGrid" /> column.</summary> | |||||
<returns>The CSS class attribute that is applied to cells that are associated with the column.</returns> | |||||
</member> | |||||
<member name="T:System.Web.Helpers.WebGridPagerModes"> | |||||
<summary>Specifies flags that describe the methods that are provided for moving between the pages of a <see cref="T:System.Web.Helpers.WebGrid" /> instance.This enumeration has a <see cref="T:System.FlagsAttribute" /> attribute that allows a bitwise combination of its member values.</summary> | |||||
</member> | |||||
<member name="F:System.Web.Helpers.WebGridPagerModes.All"> | |||||
<summary>Indicates that all methods for moving between <see cref="T:System.Web.Helpers.WebGrid" /> pages are provided.</summary> | |||||
</member> | |||||
<member name="F:System.Web.Helpers.WebGridPagerModes.FirstLast"> | |||||
<summary>Indicates that methods for moving directly to the first or last <see cref="F:System.Web.Helpers.WebGrid" /> page are provided.</summary> | |||||
</member> | |||||
<member name="F:System.Web.Helpers.WebGridPagerModes.NextPrevious"> | |||||
<summary>Indicates that methods for moving to the next or previous <see cref="F:System.Web.Helpers.WebGrid" /> page are provided.</summary> | |||||
</member> | |||||
<member name="F:System.Web.Helpers.WebGridPagerModes.Numeric"> | |||||
<summary>Indicates that methods for moving to a nearby <see cref="F:System.Web.Helpers.WebGrid" /> page by using a page number are provided.</summary> | |||||
</member> | |||||
<member name="T:System.Web.Helpers.WebGridRow"> | |||||
<summary>Represents a row in a <see cref="T:System.Web.Helpers.WebGrid" /> instance.</summary> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebGridRow.#ctor(System.Web.Helpers.WebGrid,System.Object,System.Int32)"> | |||||
<summary>Initializes a new instance of the <see cref="T:System.Web.Helpers.WebGridRow" /> class using the specified <see cref="T:System.Web.Helpers.WebGrid" /> instance, row value, and index.</summary> | |||||
<param name="webGrid">The <see cref="T:System.Web.Helpers.WebGrid" /> instance that contains the row.</param> | |||||
<param name="value">An object that contains a property member for each value in the row.</param> | |||||
<param name="rowIndex">The index of the row.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebGridRow.GetEnumerator"> | |||||
<summary>Returns an enumerator that can be used to iterate through the values of the <see cref="T:System.Web.Helpers.WebGridRow" /> instance.</summary> | |||||
<returns>An enumerator that can be used to iterate through the values of the row.</returns> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebGridRow.GetSelectLink(System.String)"> | |||||
<summary>Returns an HTML element (a link) that users can use to select the row.</summary> | |||||
<returns>The link that users can click to select the row.</returns> | |||||
<param name="text">The inner text of the link element. If <paramref name="text" /> is empty or null, "Select" is used.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebGridRow.GetSelectUrl"> | |||||
<summary>Returns the URL that can be used to select the row.</summary> | |||||
<returns>The URL that is used to select a row.</returns> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.WebGridRow.Item(System.Int32)"> | |||||
<summary>Returns the value at the specified index in the <see cref="T:System.Web.Helpers.WebGridRow" /> instance.</summary> | |||||
<returns>The value at the specified index.</returns> | |||||
<param name="index">The zero-based index of the value in the row to return.</param> | |||||
<exception cref="T:System.ArgumentOutOfRangeException"> | |||||
<paramref name="index" /> is less than 0 or greater than or equal to the number of values in the row.</exception> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.WebGridRow.Item(System.String)"> | |||||
<summary>Returns the value that has the specified name in the <see cref="T:System.Web.Helpers.WebGridRow" /> instance.</summary> | |||||
<returns>The specified value.</returns> | |||||
<param name="name">The name of the value in the row to return.</param> | |||||
<exception cref="T:System.ArgumentException"> | |||||
<paramref name="name" /> is Nothing or empty.</exception> | |||||
<exception cref="T:System.InvalidOperationException"> | |||||
<paramref name="name" /> specifies a value that does not exist.</exception> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebGridRow.System#Collections#IEnumerable#GetEnumerator"> | |||||
<summary>Returns an enumerator that can be used to iterate through a collection.</summary> | |||||
<returns>An enumerator that can be used to iterate through the collection.</returns> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebGridRow.ToString"> | |||||
<summary>Returns a string that represents all of the values of the <see cref="T:System.Web.Helpers.WebGridRow" /> instance.</summary> | |||||
<returns>A string that represents the row's values.</returns> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebGridRow.TryGetMember(System.Dynamic.GetMemberBinder,System.Object@)"> | |||||
<summary>Returns the value of a <see cref="T:System.Web.Helpers.WebGridRow" /> member that is described by the specified binder.</summary> | |||||
<returns>true if the value of the item was successfully retrieved; otherwise, false.</returns> | |||||
<param name="binder">The getter of the bound property member.</param> | |||||
<param name="result">When this method returns, contains an object that holds the value of the item described by <paramref name="binder" />. This parameter is passed uninitialized.</param> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.WebGridRow.Value"> | |||||
<summary>Gets an object that contains a property member for each value in the row.</summary> | |||||
<returns>An object that contains each value in the row as a property.</returns> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.WebGridRow.WebGrid"> | |||||
<summary>Gets the <see cref="T:System.Web.Helpers.WebGrid" /> instance that the row belongs to.</summary> | |||||
<returns>The <see cref="T:System.Web.Helpers.WebGrid" /> instance that contains the row.</returns> | |||||
</member> | |||||
<member name="T:System.Web.Helpers.WebImage"> | |||||
<summary>Represents an object that lets you display and manage images in a web page.</summary> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebImage.#ctor(System.Byte[])"> | |||||
<summary>Initializes a new instance of the <see cref="T:System.Web.Helpers.WebImage" /> class using a byte array to represent the image.</summary> | |||||
<param name="content">The image.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebImage.#ctor(System.IO.Stream)"> | |||||
<summary>Initializes a new instance of the <see cref="T:System.Web.Helpers.WebImage" /> class using a stream to represent the image.</summary> | |||||
<param name="imageStream">The image.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebImage.#ctor(System.String)"> | |||||
<summary>Initializes a new instance of the <see cref="T:System.Web.Helpers.WebImage" /> class using a path to represent the image location.</summary> | |||||
<param name="filePath">The path of the file that contains the image.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebImage.AddImageWatermark(System.String,System.Int32,System.Int32,System.String,System.String,System.Int32,System.Int32)"> | |||||
<summary>Adds a watermark image using a path to the watermark image.</summary> | |||||
<returns>The watermarked image.</returns> | |||||
<param name="watermarkImageFilePath">The path of a file that contains the watermark image.</param> | |||||
<param name="width">The width, in pixels, of the watermark image.</param> | |||||
<param name="height">The height, in pixels, of the watermark image.</param> | |||||
<param name="horizontalAlign">The horizontal alignment for watermark image. Values can be "Left", "Right", or "Center".</param> | |||||
<param name="verticalAlign">The vertical alignment for the watermark image. Values can be "Top", "Middle", or "Bottom".</param> | |||||
<param name="opacity">The opacity for the watermark image, specified as a value between 0 and 100.</param> | |||||
<param name="padding">The size, in pixels, of the padding around the watermark image.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebImage.AddImageWatermark(System.Web.Helpers.WebImage,System.Int32,System.Int32,System.String,System.String,System.Int32,System.Int32)"> | |||||
<summary>Adds a watermark image using the specified image object.</summary> | |||||
<returns>The watermarked image.</returns> | |||||
<param name="watermarkImage">A <see cref="T:System.Web.Helpers.WebImage" /> object.</param> | |||||
<param name="width">The width, in pixels, of the watermark image.</param> | |||||
<param name="height">The height, in pixels, of the watermark image.</param> | |||||
<param name="horizontalAlign">The horizontal alignment for watermark image. Values can be "Left", "Right", or "Center".</param> | |||||
<param name="verticalAlign">The vertical alignment for the watermark image. Values can be "Top", "Middle", or "Bottom".</param> | |||||
<param name="opacity">The opacity for the watermark image, specified as a value between 0 and 100.</param> | |||||
<param name="padding">The size, in pixels, of the padding around the watermark image.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebImage.AddTextWatermark(System.String,System.String,System.Int32,System.String,System.String,System.String,System.String,System.Int32,System.Int32)"> | |||||
<summary>Adds watermark text to the image.</summary> | |||||
<returns>The watermarked image.</returns> | |||||
<param name="text">The text to use as a watermark.</param> | |||||
<param name="fontColor">The color of the watermark text.</param> | |||||
<param name="fontSize">The font size of the watermark text.</param> | |||||
<param name="fontStyle">The font style of the watermark text.</param> | |||||
<param name="fontFamily">The font type of the watermark text.</param> | |||||
<param name="horizontalAlign">The horizontal alignment for watermark text. Values can be "Left", "Right", or "Center".</param> | |||||
<param name="verticalAlign">The vertical alignment for the watermark text. Values can be "Top", "Middle", or "Bottom".</param> | |||||
<param name="opacity">The opacity for the watermark image, specified as a value between 0 and 100.</param> | |||||
<param name="padding">The size, in pixels, of the padding around the watermark text.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebImage.Clone"> | |||||
<summary>Copies the <see cref="T:System.Web.Helpers.WebImage" /> object.</summary> | |||||
<returns>The image.</returns> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebImage.Crop(System.Int32,System.Int32,System.Int32,System.Int32)"> | |||||
<summary>Crops an image.</summary> | |||||
<returns>The cropped image.</returns> | |||||
<param name="top">The number of pixels to remove from the top.</param> | |||||
<param name="left">The number of pixels to remove from the left.</param> | |||||
<param name="bottom">The number of pixels to remove from the bottom.</param> | |||||
<param name="right">The number of pixels to remove from the right.</param> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.WebImage.FileName"> | |||||
<summary>Gets or sets the file name of the <see cref="T:System.Web.Helpers.WebImage" /> object.</summary> | |||||
<returns>The file name.</returns> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebImage.FlipHorizontal"> | |||||
<summary>Flips an image horizontally.</summary> | |||||
<returns>The flipped image.</returns> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebImage.FlipVertical"> | |||||
<summary>Flips an image vertically.</summary> | |||||
<returns>The flipped image.</returns> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebImage.GetBytes(System.String)"> | |||||
<summary>Returns the image as a byte array.</summary> | |||||
<returns>The image.</returns> | |||||
<param name="requestedFormat">The <see cref="P:System.Web.Helpers.WebImage.ImageFormat" /> value of the <see cref="T:System.Web.Helpers.WebImage" /> object.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebImage.GetImageFromRequest(System.String)"> | |||||
<summary>Returns an image that has been uploaded using the browser.</summary> | |||||
<returns>The image.</returns> | |||||
<param name="postedFileName">(Optional) The name of the file that has been posted. If no file name is specified, the first file that was uploaded is returned.</param> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.WebImage.Height"> | |||||
<summary>Gets the height, in pixels, of the image.</summary> | |||||
<returns>The height.</returns> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.WebImage.ImageFormat"> | |||||
<summary>Gets the format of the image (for example, "jpeg" or "png").</summary> | |||||
<returns>The file format of the image.</returns> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebImage.Resize(System.Int32,System.Int32,System.Boolean,System.Boolean)"> | |||||
<summary>Resizes an image.</summary> | |||||
<returns>The resized image.</returns> | |||||
<param name="width">The width, in pixels, of the <see cref="T:System.Web.Helpers.WebImage" /> object.</param> | |||||
<param name="height">The height, in pixels, of the <see cref="T:System.Web.Helpers.WebImage" /> object.</param> | |||||
<param name="preserveAspectRatio">true to preserve the aspect ratio of the image; otherwise, false.</param> | |||||
<param name="preventEnlarge">true to prevent the enlargement of the image; otherwise, false.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebImage.RotateLeft"> | |||||
<summary>Rotates an image to the left.</summary> | |||||
<returns>The rotated image.</returns> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebImage.RotateRight"> | |||||
<summary>Rotates an image to the right.</summary> | |||||
<returns>The rotated image.</returns> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebImage.Save(System.String,System.String,System.Boolean)"> | |||||
<summary>Saves the image using the specified file name.</summary> | |||||
<returns>The image.</returns> | |||||
<param name="filePath">The path to save the image to.</param> | |||||
<param name="imageFormat">The format to use when the image file is saved, such as "gif", or "png".</param> | |||||
<param name="forceCorrectExtension">true to force the correct file-name extension to be used for the format that is specified in <paramref name="imageFormat" />; otherwise, false. If there is a mismatch between the file type and the specified file-name extension, and if <paramref name="forceCorrectExtension" /> is true, the correct extension will be appended to the file name. For example, a PNG file named Photograph.txt is saved using the name Photograph.txt.png.</param> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.WebImage.Width"> | |||||
<summary>Gets the width, in pixels, of the image.</summary> | |||||
<returns>The width.</returns> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebImage.Write(System.String)"> | |||||
<summary>Renders an image to the browser.</summary> | |||||
<returns>The image.</returns> | |||||
<param name="requestedFormat">(Optional) The file format to use when the image is written.</param> | |||||
</member> | |||||
<member name="T:System.Web.Helpers.WebMail"> | |||||
<summary>Provides a way to construct and send an email message using Simple Mail Transfer Protocol (SMTP).</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.WebMail.EnableSsl"> | |||||
<summary>Gets or sets a value that indicates whether Secure Sockets Layer (SSL) is used to encrypt the connection when an email message is sent.</summary> | |||||
<returns>true if SSL is used to encrypt the connection; otherwise, false.</returns> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.WebMail.From"> | |||||
<summary>Gets or sets the email address of the sender.</summary> | |||||
<returns>The email address of the sender.</returns> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.WebMail.Password"> | |||||
<summary>Gets or sets the password of the sender's email account.</summary> | |||||
<returns>The sender's password.</returns> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebMail.Send(System.String,System.String,System.String,System.String,System.String,System.Collections.Generic.IEnumerable{System.String},System.Boolean,System.Collections.Generic.IEnumerable{System.String},System.String,System.String,System.String,System.String,System.String)"> | |||||
<summary>Sends the specified message to an SMTP server for delivery.</summary> | |||||
<param name="to">The email address of the recipient or recipients. Separate multiple recipients using a semicolon (;).</param> | |||||
<param name="subject">The subject line for the email message.</param> | |||||
<param name="body">The body of the email message. If <paramref name="isBodyHtml" /> is true, HTML in the body is interpreted as markup.</param> | |||||
<param name="from">(Optional) The email address of the message sender, or null to not specify a sender. The default value is null.</param> | |||||
<param name="cc">(Optional) The email addresses of additional recipients to send a copy of the message to, or null if there are no additional recipients. Separate multiple recipients using a semicolon (;). The default value is null.</param> | |||||
<param name="filesToAttach">(Optional) A collection of file names that specifies the files to attach to the email message, or null if there are no files to attach. The default value is null.</param> | |||||
<param name="isBodyHtml">(Optional) true to specify that the email message body is in HTML format; false to indicate that the body is in plain-text format. The default value is true.</param> | |||||
<param name="additionalHeaders">(Optional) A collection of headers to add to the normal SMTP headers included in this email message, or null to send no additional headers. The default value is null.</param> | |||||
<param name="bcc">(Optional) The email addresses of additional recipients to send a "blind" copy of the message to, or null if there are no additional recipients. Separate multiple recipients using a semicolon (;). The default value is null.</param> | |||||
<param name="contentEncoding">(Optional) The encoding to use for the body of the message. Possible values are property values for the <see cref="T:System.Text.Encoding" /> class, such as <see cref="P:System.Text.Encoding.UTF8" />. The default value is null.</param> | |||||
<param name="headerEncoding">(Optional) The encoding to use for the header of the message. Possible values are property values for the <see cref="T:System.Text.Encoding" /> class, such as <see cref="P:System.Text.Encoding.UTF8" />. The default value is null.</param> | |||||
<param name="priority">(Optional) A value ("Normal", "Low", "High") that specifies the priority of the message. The default is "Normal".</param> | |||||
<param name="replyTo">(Optional) The email address that will be used when the recipient replies to the message. The default value is null, which indicates that the reply address is the value of the From property. </param> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.WebMail.SmtpPort"> | |||||
<summary>Gets or sets the port that is used for SMTP transactions.</summary> | |||||
<returns>The port that is used for SMTP transactions.</returns> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.WebMail.SmtpServer"> | |||||
<summary>Gets or sets the name of the SMTP server that is used to transmit the email message.</summary> | |||||
<returns>The SMTP server.</returns> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.WebMail.SmtpUseDefaultCredentials"> | |||||
<summary>Gets or sets a value that indicates whether the default credentials are sent with the requests.</summary> | |||||
<returns>true if credentials are sent with the email message; otherwise, false.</returns> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.WebMail.UserName"> | |||||
<summary>Gets or sets the name of email account that is used to send email.</summary> | |||||
<returns>The name of the user account.</returns> | |||||
</member> | |||||
</members> | |||||
</doc> |
@ -0,0 +1,60 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<doc> | |||||
<assembly> | |||||
<name>System.Web.WebPages.Deployment</name> | |||||
</assembly> | |||||
<members> | |||||
<member name="T:System.Web.WebPages.Deployment.PreApplicationStartCode"> | |||||
<summary>Provides a registration point for pre-application start code for Web Pages deployment.</summary> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Deployment.PreApplicationStartCode.Start"> | |||||
<summary>Registers pre-application start code for Web Pages deployment.</summary> | |||||
</member> | |||||
<member name="T:System.Web.WebPages.Deployment.WebPagesDeployment"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Provides methods that are used to get deployment information about the Web application.</summary> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Deployment.WebPagesDeployment.GetAssemblyPath(System.Version)"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the assembly path for the Web Pages deployment.</summary> | |||||
<returns>The assembly path for the Web Pages deployment.</returns> | |||||
<param name="version">The Web Pages version.</param> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Deployment.WebPagesDeployment.GetExplicitWebPagesVersion(System.String)"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the Web Pages version from the given binary path.</summary> | |||||
<returns>The Web Pages version.</returns> | |||||
<param name="path">The binary path for the Web Pages.</param> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Deployment.WebPagesDeployment.GetIncompatibleDependencies(System.String)"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the assembly references from the given path regardless of the Web Pages version.</summary> | |||||
<returns>The dictionary containing the assembly references of the Web Pages and its version.</returns> | |||||
<param name="appPath">The path to the Web Pages application.</param> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Deployment.WebPagesDeployment.GetMaxVersion"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the maximum version of the Web Pages loaded assemblies.</summary> | |||||
<returns>The maximum version of the Web Pages loaded assemblies.</returns> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Deployment.WebPagesDeployment.GetVersion(System.String)"> | |||||
<summary>Gets the Web Pages version from the given path.</summary> | |||||
<returns>The Web Pages version.</returns> | |||||
<param name="path">The path of the root directory for the application.</param> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Deployment.WebPagesDeployment.GetVersionWithoutEnabledCheck(System.String)"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the Web Pages version using the configuration settings with the specified path.</summary> | |||||
<returns>The Web Pages version.</returns> | |||||
<param name="path">The path to the application settings.</param> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Deployment.WebPagesDeployment.GetWebPagesAssemblies"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Returns the assemblies for this Web Pages deployment.</summary> | |||||
<returns>A list containing the assemblies for this Web Pages deployment.</returns> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Deployment.WebPagesDeployment.IsEnabled(System.String)"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Indicates whether the Web Pages deployment is enabled.</summary> | |||||
<returns>true if the Web Pages deployment is enabled; otherwise, false.</returns> | |||||
<param name="path">The path to the Web Pages deployment.</param> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Deployment.WebPagesDeployment.IsExplicitlyDisabled(System.String)"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Indicates whether the Web Pages deployment is explicitly disabled.</summary> | |||||
<returns>true if the Web Pages deployment is explicitly disabled; otherwise, false.</returns> | |||||
<param name="path">The path to the Web Pages deployment.</param> | |||||
</member> | |||||
</members> | |||||
</doc> |
@ -0,0 +1,292 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<doc> | |||||
<assembly> | |||||
<name>System.Web.WebPages.Razor</name> | |||||
</assembly> | |||||
<members> | |||||
<member name="T:System.Web.WebPages.Razor.CompilingPathEventArgs"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Represents the base class for the compiling path that contains event data.</summary> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Razor.CompilingPathEventArgs.#ctor(System.String,System.Web.WebPages.Razor.WebPageRazorHost)"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the <see cref="T:System.Web.WebPages.Razor.CompilingPathEventArgs" /> class.</summary> | |||||
<param name="virtualPath">The string of virtual path.</param> | |||||
<param name="host">The host for the webpage razor.</param> | |||||
</member> | |||||
<member name="P:System.Web.WebPages.Razor.CompilingPathEventArgs.Host"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the host for the webpage razor.</summary> | |||||
<returns>The host for the webpage razor.</returns> | |||||
</member> | |||||
<member name="P:System.Web.WebPages.Razor.CompilingPathEventArgs.VirtualPath"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the virtual path for the webpage.</summary> | |||||
<returns>The virtual path for the webpage.</returns> | |||||
</member> | |||||
<member name="T:System.Web.WebPages.Razor.PreApplicationStartCode"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.</summary> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Razor.PreApplicationStartCode.Start"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.</summary> | |||||
</member> | |||||
<member name="T:System.Web.WebPages.Razor.RazorBuildProvider"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Represents a build provider for Razor.</summary> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Razor.RazorBuildProvider.#ctor"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the <see cref="T:System.Web.WebPages.Razor.RazorBuildProvider" /> class.</summary> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Razor.RazorBuildProvider.AddVirtualPathDependency(System.String)"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Adds a virtual path dependency to the collection.</summary> | |||||
<param name="dependency">A virtual path dependency to add.</param> | |||||
</member> | |||||
<member name="P:System.Web.WebPages.Razor.RazorBuildProvider.AssemblyBuilder"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the assembly builder for Razor environment.</summary> | |||||
<returns>The assembly builder.</returns> | |||||
</member> | |||||
<member name="P:System.Web.WebPages.Razor.RazorBuildProvider.CodeCompilerType"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the compiler settings for Razor environment.</summary> | |||||
</member> | |||||
<member name="E:System.Web.WebPages.Razor.RazorBuildProvider.CodeGenerationCompleted"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Occurs when code generation is completed.</summary> | |||||
</member> | |||||
<member name="E:System.Web.WebPages.Razor.RazorBuildProvider.CodeGenerationStarted"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Occurs when code generation is started.</summary> | |||||
</member> | |||||
<member name="E:System.Web.WebPages.Razor.RazorBuildProvider.CompilingPath"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Occurs when compiling with a new virtual path.</summary> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Razor.RazorBuildProvider.CreateHost"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a Razor engine host instance base on web configuration.</summary> | |||||
<returns>A Razor engine host instance.</returns> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Razor.RazorBuildProvider.GenerateCode(System.Web.Compilation.AssemblyBuilder)"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Generates the code using the provided assembly builder.</summary> | |||||
<param name="assemblyBuilder">The assembly builder.</param> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Razor.RazorBuildProvider.GetGeneratedType(System.CodeDom.Compiler.CompilerResults)"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the type of the generated code.</summary> | |||||
<returns>The type of the generated code.</returns> | |||||
<param name="results">The results of the code compilation.</param> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Razor.RazorBuildProvider.GetHostFromConfig"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates the Razor engine host instance based on the web configuration.</summary> | |||||
<returns>The Razor engine host instance.</returns> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Razor.RazorBuildProvider.InternalOpenReader"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Opens an internal text reader.</summary> | |||||
<returns>An internal text reader.</returns> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Razor.RazorBuildProvider.OnBeforeCompilePath(System.Web.WebPages.Razor.CompilingPathEventArgs)"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Raises the CompilingPath event.</summary> | |||||
<param name="args">The data provided for the CompilingPath event.</param> | |||||
</member> | |||||
<member name="P:System.Web.WebPages.Razor.RazorBuildProvider.VirtualPath"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the virtual path of the source code.</summary> | |||||
<returns>The virtual path of the source code.</returns> | |||||
</member> | |||||
<member name="P:System.Web.WebPages.Razor.RazorBuildProvider.VirtualPathDependencies"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the collection of virtual path for the dependencies.</summary> | |||||
<returns>The collection of virtual path for the dependencies.</returns> | |||||
</member> | |||||
<member name="T:System.Web.WebPages.Razor.WebCodeRazorHost"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Represents a web code razor host for the web pages.</summary> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Razor.WebCodeRazorHost.#ctor(System.String)"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the <see cref="T:System.Web.WebPages.Razor.WebCodeRazorHost" /> class.</summary> | |||||
<param name="virtualPath">The virtual path.</param> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Razor.WebCodeRazorHost.#ctor(System.String,System.String)"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the <see cref="T:System.Web.WebPages.Razor.WebCodeRazorHost" /> class.</summary> | |||||
<param name="virtualPath">The virtual path.</param> | |||||
<param name="physicalPath">The physical path.</param> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Razor.WebCodeRazorHost.GetClassName(System.String)"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Returns the class name of this instance.</summary> | |||||
<returns>The class name of this instance.</returns> | |||||
<param name="virtualPath">The virtual path.</param> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Razor.WebCodeRazorHost.PostProcessGeneratedCode(System.Web.Razor.Generator.CodeGeneratorContext)"> | |||||
<summary>Generates a post process code for the web code razor host.</summary> | |||||
<param name="context">The generator code context.</param> | |||||
</member> | |||||
<member name="T:System.Web.WebPages.Razor.WebPageRazorHost"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Represents the razor hosts in a webpage.</summary> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Razor.WebPageRazorHost.#ctor(System.String)"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the <see cref="T:System.Web.WebPages.Razor.WebPageRazorHost" /> class with the specified virtual file path.</summary> | |||||
<param name="virtualPath">The virtual file path.</param> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Razor.WebPageRazorHost.#ctor(System.String,System.String)"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the <see cref="T:System.Web.WebPages.Razor.WebPageRazorHost" /> class with the specified virtual and physical file path.</summary> | |||||
<param name="virtualPath">The virtual file path.</param> | |||||
<param name="physicalPath">The physical file path.</param> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Razor.WebPageRazorHost.AddGlobalImport(System.String)"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Adds a global import on the webpage.</summary> | |||||
<param name="ns">The notification service name.</param> | |||||
</member> | |||||
<member name="P:System.Web.WebPages.Razor.WebPageRazorHost.CodeLanguage"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the <see cref="T:System.Web.Razor.RazorCodeLanguage" />.</summary> | |||||
<returns>The <see cref="T:System.Web.Razor.RazorCodeLanguage" />.</returns> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Razor.WebPageRazorHost.CreateMarkupParser"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a markup parser.</summary> | |||||
<returns>A markup parser.</returns> | |||||
</member> | |||||
<member name="P:System.Web.WebPages.Razor.WebPageRazorHost.DefaultBaseClass"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets a value for the DefaultBaseClass.</summary> | |||||
<returns>A value for the DefaultBaseClass.</returns> | |||||
</member> | |||||
<member name="P:System.Web.WebPages.Razor.WebPageRazorHost.DefaultClassName"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the name of the default class.</summary> | |||||
<returns>The name of the default class.</returns> | |||||
</member> | |||||
<member name="P:System.Web.WebPages.Razor.WebPageRazorHost.DefaultDebugCompilation"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets a value that indicates whether the debug compilation is set to default.</summary> | |||||
<returns>true if the debug compilation is set to default; otherwise, false.</returns> | |||||
</member> | |||||
<member name="P:System.Web.WebPages.Razor.WebPageRazorHost.DefaultPageBaseClass"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the base class of the default page.</summary> | |||||
<returns>The base class of the default page.</returns> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Razor.WebPageRazorHost.GetClassName(System.String)"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Retrieves the name of the class to which the specified webpage belongs.</summary> | |||||
<returns>The name of the class to which the specified webpage belongs.</returns> | |||||
<param name="virtualPath">The virtual file path.</param> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Razor.WebPageRazorHost.GetCodeLanguage"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the code language specified in the webpage.</summary> | |||||
<returns>The code language specified in the webpage.</returns> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Razor.WebPageRazorHost.GetGlobalImports"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the global imports for the webpage.</summary> | |||||
<returns>The global imports for the webpage.</returns> | |||||
</member> | |||||
<member name="P:System.Web.WebPages.Razor.WebPageRazorHost.InstrumentedSourceFilePath"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the file path of the instrumental source.</summary> | |||||
<returns>The file path of the instrumental source.</returns> | |||||
</member> | |||||
<member name="P:System.Web.WebPages.Razor.WebPageRazorHost.IsSpecialPage"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets a value that indicates whether the webpage is a special page.</summary> | |||||
<returns>true if the webpage is a special page; otherwise, false.</returns> | |||||
</member> | |||||
<member name="P:System.Web.WebPages.Razor.WebPageRazorHost.PhysicalPath"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the physical file system path of the razor host.</summary> | |||||
<returns>They physical file system path of the razor host.</returns> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Razor.WebPageRazorHost.PostProcessGeneratedCode(System.Web.Razor.Generator.CodeGeneratorContext)"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the generated code after the process.</summary> | |||||
<param name="context">The <see cref="T:System.Web.Razor.Generator.CodeGeneratorContext" />.</param> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Razor.WebPageRazorHost.RegisterSpecialFile(System.String,System.String)"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Registers the special file with the specified file name and base type name.</summary> | |||||
<param name="fileName">The file name.</param> | |||||
<param name="baseTypeName">The base type name.</param> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Razor.WebPageRazorHost.RegisterSpecialFile(System.String,System.Type)"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Registers the special file with the specified file name and base type.</summary> | |||||
<param name="fileName">The file name.</param> | |||||
<param name="baseType">The type of base file.</param> | |||||
</member> | |||||
<member name="P:System.Web.WebPages.Razor.WebPageRazorHost.VirtualPath"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the virtual file path.</summary> | |||||
<returns>The virtual file path.</returns> | |||||
</member> | |||||
<member name="T:System.Web.WebPages.Razor.WebRazorHostFactory"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates instances of the host files.</summary> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Razor.WebRazorHostFactory.#ctor"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the <see cref="T:System.Web.WebPages.Razor.WebRazorHostFactory" /> class.</summary> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Razor.WebRazorHostFactory.ApplyConfigurationToHost(System.Web.WebPages.Razor.Configuration.RazorPagesSection,System.Web.WebPages.Razor.WebPageRazorHost)"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Loads the service description information from the configuration file and applies it to the host.</summary> | |||||
<param name="config">The configuration.</param> | |||||
<param name="host">The webpage razor host.</param> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Razor.WebRazorHostFactory.CreateDefaultHost(System.String)"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a default host with the specified virtual path.</summary> | |||||
<returns>A default host.</returns> | |||||
<param name="virtualPath">The virtual path of the file.</param> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Razor.WebRazorHostFactory.CreateDefaultHost(System.String,System.String)"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a default host with the specified virtual and physical path.</summary> | |||||
<returns>A default host.</returns> | |||||
<param name="virtualPath">The virtual path of the file.</param> | |||||
<param name="physicalPath">The physical file system path.</param> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Razor.WebRazorHostFactory.CreateHost(System.String,System.String)"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a Razor host.</summary> | |||||
<returns>A razor host.</returns> | |||||
<param name="virtualPath">The virtual path to the target file.</param> | |||||
<param name="physicalPath">The physical path to the target file.</param> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Razor.WebRazorHostFactory.CreateHostFromConfig(System.String)"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a host from the configuration.</summary> | |||||
<returns>A host from the configuration.</returns> | |||||
<param name="virtualPath">The virtual path to the target file.</param> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Razor.WebRazorHostFactory.CreateHostFromConfig(System.String,System.String)"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a host from the configuration.</summary> | |||||
<returns>A host from the configuration.</returns> | |||||
<param name="virtualPath">The virtual path of the file.</param> | |||||
<param name="physicalPath">The physical file system path.</param> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Razor.WebRazorHostFactory.CreateHostFromConfig(System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup,System.String)"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a host from the configuration.</summary> | |||||
<returns>A host from the configuration.</returns> | |||||
<param name="config">The configuration.</param> | |||||
<param name="virtualPath">The virtual path of the file.</param> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Razor.WebRazorHostFactory.CreateHostFromConfig(System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup,System.String,System.String)"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a host from the configuration.</summary> | |||||
<returns>A host from the configuration.</returns> | |||||
<param name="config">The configuration.</param> | |||||
<param name="virtualPath">The virtual path of the file.</param> | |||||
<param name="physicalPath">The physical file system path.</param> | |||||
</member> | |||||
<member name="T:System.Web.WebPages.Razor.Configuration.HostSection"> | |||||
<summary>Provides configuration system support for the host configuration section.</summary> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Razor.Configuration.HostSection.#ctor"> | |||||
<summary>Initializes a new instance of the <see cref="T:System.Web.WebPages.Razor.Configuration.HostSection" /> class.</summary> | |||||
</member> | |||||
<member name="P:System.Web.WebPages.Razor.Configuration.HostSection.FactoryType"> | |||||
<summary>Gets or sets the host factory.</summary> | |||||
<returns>The host factory.</returns> | |||||
</member> | |||||
<member name="F:System.Web.WebPages.Razor.Configuration.HostSection.SectionName"> | |||||
<summary>Represents the name of the configuration section for a Razor host environment.</summary> | |||||
</member> | |||||
<member name="T:System.Web.WebPages.Razor.Configuration.RazorPagesSection"> | |||||
<summary>Provides configuration system support for the pages configuration section.</summary> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Razor.Configuration.RazorPagesSection.#ctor"> | |||||
<summary>Initializes a new instance of the <see cref="T:System.Web.WebPages.Razor.Configuration.RazorPagesSection" /> class.</summary> | |||||
</member> | |||||
<member name="P:System.Web.WebPages.Razor.Configuration.RazorPagesSection.Namespaces"> | |||||
<summary>Gets or sets the collection of namespaces to add to Web Pages pages in the current application.</summary> | |||||
<returns>The collection of namespaces.</returns> | |||||
</member> | |||||
<member name="P:System.Web.WebPages.Razor.Configuration.RazorPagesSection.PageBaseType"> | |||||
<summary>Gets or sets the name of the page base type class.</summary> | |||||
<returns>The name of the page base type class.</returns> | |||||
</member> | |||||
<member name="F:System.Web.WebPages.Razor.Configuration.RazorPagesSection.SectionName"> | |||||
<summary>Represents the name of the configuration section for Razor pages.</summary> | |||||
</member> | |||||
<member name="T:System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup"> | |||||
<summary>Provides configuration system support for the system.web.webPages.razor configuration section.</summary> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup.#ctor"> | |||||
<summary>Initializes a new instance of the <see cref="T:System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup" /> class.</summary> | |||||
</member> | |||||
<member name="F:System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup.GroupName"> | |||||
<summary>Represents the name of the configuration section for Razor Web section. Contains the static, read-only string "system.web.webPages.razor".</summary> | |||||
</member> | |||||
<member name="P:System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup.Host"> | |||||
<summary>Gets or sets the host value for system.web.webPages.razor section group.</summary> | |||||
<returns>The host value.</returns> | |||||
</member> | |||||
<member name="P:System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup.Pages"> | |||||
<summary>Gets or sets the value of the pages element for the system.web.webPages.razor section.</summary> | |||||
<returns>The pages element value.</returns> | |||||
</member> | |||||
</members> | |||||
</doc> |
@ -0,0 +1,15 @@ | |||||
<?xml version="1.0"?> | |||||
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> | |||||
<metadata> | |||||
<id>Microsoft.Web.Infrastructure</id> | |||||
<version>1.0.0.0</version> | |||||
<title>Microsoft.Web.Infrastructure</title> | |||||
<authors>Microsoft</authors> | |||||
<owners>Microsoft</owners> | |||||
<licenseUrl>http://go.microsoft.com/fwlink/?LinkID=214339</licenseUrl> | |||||
<projectUrl>http://www.asp.net</projectUrl> | |||||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | |||||
<description>This package contains the Microsoft.Web.Infrastructure assembly that lets you dynamically register HTTP modules at run time.</description> | |||||
<language>en-US</language> | |||||
</metadata> | |||||
</package> |
@ -0,0 +1,344 @@ | |||||
/* NUGET: BEGIN LICENSE TEXT | |||||
* | |||||
* Microsoft grants you the right to use these script files for the sole | |||||
* purpose of either: (i) interacting through your browser with the Microsoft | |||||
* website or online service, subject to the applicable licensing or use | |||||
* terms; or (ii) using the files as included with a Microsoft product subject | |||||
* to that product's license terms. Microsoft reserves all other rights to the | |||||
* files not expressly granted by Microsoft, whether by implication, estoppel | |||||
* or otherwise. Insofar as a script file is dual licensed under GPL, | |||||
* Microsoft neither took the code under GPL nor distributes it thereunder but | |||||
* under the terms set out in this paragraph. All notices and licenses | |||||
* below are for informational purposes only. | |||||
* | |||||
* NUGET: END LICENSE TEXT */ | |||||
/*! | |||||
** 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"); | |||||
// :input is a psuedoselector provided by jQuery which selects input and input-like elements | |||||
// combining :input with other selectors significantly decreases performance. | |||||
$(selector).find(":input").filter("[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; | |||||
}); | |||||
if ($jQval.methods.extension) { | |||||
adapters.addSingleVal("accept", "mimtype"); | |||||
adapters.addSingleVal("extension", "extension"); | |||||
} else { | |||||
// for backward compatibility, when the 'extension' validation method does not exist, such as with versions | |||||
// of JQuery Validation plugin prior to 1.10, we should use the 'accept' method for | |||||
// validating the extension, and ignore mime-type validations as they are not supported. | |||||
adapters.addSingleVal("extension", "extension", "accept"); | |||||
} | |||||
adapters.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").filter("[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").filter("[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)); |
@ -0,0 +1,19 @@ | |||||
/* NUGET: BEGIN LICENSE TEXT | |||||
* | |||||
* Microsoft grants you the right to use these script files for the sole | |||||
* purpose of either: (i) interacting through your browser with the Microsoft | |||||
* website or online service, subject to the applicable licensing or use | |||||
* terms; or (ii) using the files as included with a Microsoft product subject | |||||
* to that product's license terms. Microsoft reserves all other rights to the | |||||
* files not expressly granted by Microsoft, whether by implication, estoppel | |||||
* or otherwise. Insofar as a script file is dual licensed under GPL, | |||||
* Microsoft neither took the code under GPL nor distributes it thereunder but | |||||
* under the terms set out in this paragraph. All notices and licenses | |||||
* below are for informational purposes only. | |||||
* | |||||
* NUGET: END LICENSE TEXT */ | |||||
/* | |||||
** 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").filter("[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});if(d.methods.extension){b.addSingleVal("accept","mimtype");b.addSingleVal("extension","extension")}else b.addSingleVal("extension","extension","accept");b.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").filter("[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").filter("[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); |
@ -0,0 +1,18 @@ | |||||
<?xml version="1.0"?> | |||||
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd"> | |||||
<metadata> | |||||
<id>Microsoft.jQuery.Unobtrusive.Validation</id> | |||||
<version>3.0.0</version> | |||||
<title>Microsoft jQuery Unobtrusive Validation</title> | |||||
<authors>Microsoft</authors> | |||||
<owners>Microsoft</owners> | |||||
<licenseUrl>http://www.microsoft.com/web/webpi/eula/aspnetcomponent_rtw_ENU.htm</licenseUrl> | |||||
<requireLicenseAcceptance>true</requireLicenseAcceptance> | |||||
<description>jQuery plugin that unobtrusively sets up jQuery.Validation.</description> | |||||
<summary>jQuery plugin that unobtrusively sets up jQuery.Validation.</summary> | |||||
<copyright>© Microsoft Corporation. All rights reserved.</copyright> | |||||
<dependencies> | |||||
<dependency id="jQuery.Validation" version="1.8" /> | |||||
</dependencies> | |||||
</metadata> | |||||
</package> |
@ -0,0 +1,117 @@ | |||||
function Get-Checksum($file) { | |||||
$cryptoProvider = New-Object "System.Security.Cryptography.MD5CryptoServiceProvider" | |||||
$fileInfo = Get-Item $file | |||||
trap { ; | |||||
continue } $stream = $fileInfo.OpenRead() | |||||
if ($? -eq $false) { | |||||
# Couldn't open file for reading | |||||
return $null | |||||
} | |||||
$bytes = $cryptoProvider.ComputeHash($stream) | |||||
$checksum = '' | |||||
foreach ($byte in $bytes) { | |||||
$checksum += $byte.ToString('x2') | |||||
} | |||||
$stream.Close() | Out-Null | |||||
return $checksum | |||||
} | |||||
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 | |||||
} | |||||
} | |||||
function Delete-ProjectItem($item) { | |||||
$itemDeleted = $false | |||||
for ($1=1; $i -le 5; $i++) { | |||||
try { | |||||
$item.Delete() | |||||
$itemDeleted = $true | |||||
break | |||||
} | |||||
catch { | |||||
# Try again in 200ms | |||||
[System.Threading.Thread]::Sleep(200) | |||||
} | |||||
} | |||||
if ($itemDeleted -eq $false) { | |||||
throw "Unable to delete project item after five attempts." | |||||
} | |||||
} | |||||
# Extract the version number from the jquery file in the package's content\scripts folder | |||||
$packageScriptsFolder = Join-Path $installPath Content\Scripts | |||||
$jqueryFileName = Join-Path $packageScriptsFolder "jquery-*.js" | Get-ChildItem -Exclude "*.min.js","*-vsdoc.js" | Split-Path -Leaf | |||||
$jqueryFileNameRegEx = "jquery-((?:\d+\.)?(?:\d+\.)?(?:\d+\.)?(?:\d+)).js" | |||||
$jqueryFileName -match $jqueryFileNameRegEx | |||||
$ver = $matches[1] | |||||
$intelliSenseFileName = "jquery-$ver.intellisense.js" | |||||
# 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" | |||||
} |
@ -0,0 +1,41 @@ | |||||
param($installPath, $toolsPath, $package, $project) | |||||
. (Join-Path $toolsPath common.ps1) | |||||
# VS 11 and above supports the new intellisense JS files | |||||
$vsVersion = [System.Version]::Parse($dte.Version) | |||||
$supportsJsIntelliSenseFile = $vsVersion.Major -ge 11 | |||||
if (-not $supportsJsIntelliSenseFile) { | |||||
$displayVersion = $vsVersion.Major | |||||
Write-Host "IntelliSense JS files are not supported by your version of Visual Studio: $displayVersion" | |||||
exit | |||||
} | |||||
if ($scriptsFolderProjectItem -eq $null) { | |||||
# No Scripts folder | |||||
Write-Host "No Scripts folder found" | |||||
exit | |||||
} | |||||
# Delete the vsdoc file from the project | |||||
try { | |||||
$vsDocProjectItem = $scriptsFolderProjectItem.ProjectItems.Item("jquery-$ver-vsdoc.js") | |||||
Delete-ProjectItem $vsDocProjectItem | |||||
} | |||||
catch { | |||||
Write-Host "Error deleting vsdoc file: " + $_.Exception -ForegroundColor Red | |||||
exit | |||||
} | |||||
# Copy the intellisense file to the project from the tools folder | |||||
$intelliSenseFileSourcePath = Join-Path $toolsPath $intelliSenseFileName | |||||
try { | |||||
$scriptsFolderProjectItem.ProjectItems.AddFromFileCopy($intelliSenseFileSourcePath) | |||||
} | |||||
catch { | |||||
# This will throw if the file already exists, so we need to catch here | |||||
} | |||||
# Update the _references.js file | |||||
AddOrUpdate-Reference $scriptsFolderProjectItem $jqueryFileNameRegEx $jqueryFileName |
@ -0,0 +1,41 @@ | |||||
param($installPath, $toolsPath, $package, $project) | |||||
. (Join-Path $toolsPath common.ps1) | |||||
# Determine the file paths | |||||
$projectIntelliSenseFilePath = Join-Path $projectScriptsFolderPath $intelliSenseFileName | |||||
$origIntelliSenseFilePath = Join-Path $toolsPath $intelliSenseFileName | |||||
if (Test-Path $projectIntelliSenseFilePath) { | |||||
if ((Get-Checksum $projectIntelliSenseFilePath) -eq (Get-Checksum $origIntelliSenseFilePath)) { | |||||
# The intellisense file in the project matches the file in the tools folder, delete it | |||||
if ($scriptsFolderProjectItem -eq $null) { | |||||
# No Scripts folder | |||||
exit | |||||
} | |||||
try { | |||||
# Get the project item for the intellisense file | |||||
$intelliSenseFileProjectItem = $scriptsFolderProjectItem.ProjectItems.Item($intelliSenseFileName) | |||||
} | |||||
catch { | |||||
# The item wasn't found | |||||
exit | |||||
} | |||||
# Delete the project item | |||||
Delete-ProjectItem $intelliSenseFileProjectItem | |||||
} | |||||
else { | |||||
$projectScriptsFolderLeaf = Split-Path $projectScriptsFolderPath -Leaf | |||||
Write-Host "Skipping '$projectScriptsFolderLeaf\$intelliSenseFileName' because it was modified." -ForegroundColor Magenta | |||||
} | |||||
} | |||||
else { | |||||
# The intellisense file was not found in project | |||||
Write-Host "The intellisense file was not found in project at path $projectIntelliSenseFilePath" | |||||
} | |||||
# Update the _references.js file | |||||
Remove-Reference $scriptsFolderProjectItem $jqueryFileNameRegEx |
@ -0,0 +1,18 @@ | |||||
<?xml version="1.0"?> | |||||
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> | |||||
<metadata> | |||||
<id>jQuery</id> | |||||
<version>1.10.2</version> | |||||
<title>jQuery</title> | |||||
<authors>jQuery Foundation,Inc.</authors> | |||||
<owners>jQuery Foundation,Inc.</owners> | |||||
<licenseUrl>http://jquery.org/license</licenseUrl> | |||||
<projectUrl>http://jquery.com/</projectUrl> | |||||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | |||||
<description>jQuery is a new kind of JavaScript Library. | |||||
jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is designed to change the way that you write JavaScript. | |||||
NOTE: This package is maintained on behalf of the library owners by the NuGet Community Packages project at http://nugetpackages.codeplex.com/</description> | |||||
<language>en-US</language> | |||||
<tags>jQuery</tags> | |||||
</metadata> | |||||
</package> |
@ -0,0 +1,19 @@ | |||||
<?xml version="1.0"?> | |||||
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> | |||||
<metadata> | |||||
<id>jQuery.Validation</id> | |||||
<version>1.11.1</version> | |||||
<title>jQuery Validation</title> | |||||
<authors>Jörn Zaefferer</authors> | |||||
<owners>Jörn Zaefferer</owners> | |||||
<projectUrl>http://bassistance.de/jquery-plugins/jquery-plugin-validation/</projectUrl> | |||||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | |||||
<description>This jQuery plugin makes simple clientside form validation trivial, while offering lots of option for customization. That makes a good choice if you’re building something new from scratch, but also when you’re trying to integrate it into an existing application with lots of existing markup. The plugin comes bundled with a useful set of validation methods, including URL and email validation, while providing an API to write your own methods. All bundled methods come with default error messages in english and translations into 32 languages. | |||||
NOTE: This package is maintained on behalf of the library owners by the NuGet Community Packages project at http://nugetpackages.codeplex.com/</description> | |||||
<language>en-US</language> | |||||
<tags>jQuery plugins</tags> | |||||
<dependencies> | |||||
<dependency id="jQuery" version="1.4.4" /> | |||||
</dependencies> | |||||
</metadata> | |||||
</package> |
@ -0,0 +1,6 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<repositories> | |||||
<repository path="..\Sevomin.Models\packages.config" /> | |||||
<repository path="..\Sevomin.WebFrontend.Controllers\packages.config" /> | |||||
<repository path="..\Sevomin.WebFrontend\packages.config" /> | |||||
</repositories> |