@ -0,0 +1,35 @@ | |||||
using Microsoft.AspNet.Identity; | |||||
using Microsoft.AspNet.Identity.EntityFramework; | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Linq; | |||||
using System.Text; | |||||
using System.Threading.Tasks; | |||||
namespace Sevomin.Models.Helpers | |||||
{ | |||||
public class SevominUserValidator : IIdentityValidator<User> | |||||
{ | |||||
private readonly UserManager<User> manager; | |||||
public SevominUserValidator() | |||||
{ | |||||
manager = new UserManager<User>(new UserStore<User>(new UsersDbContext())); | |||||
} | |||||
public async Task<IdentityResult> ValidateAsync(User item) | |||||
{ | |||||
var errors = new List<string>(); | |||||
if (string.IsNullOrWhiteSpace(item.UserName)) | |||||
errors.Add("نام کاربری نمی تواند خالی باشد. لطفا ایمیل خود را وارد نمایید."); | |||||
else if (await (manager.FindByNameAsync(item.UserName)) != null) | |||||
errors.Add("ایمیل وارد شده قبلا در سایت استفاده شده است. کلمه عبور خود را فراموش کرده اید؟"); | |||||
return errors.Any() ? | |||||
IdentityResult.Failed(errors.ToArray()) | |||||
: IdentityResult.Success; | |||||
} | |||||
} | |||||
} |
@ -1,10 +1,15 @@ | |||||
| | ||||
using System.ComponentModel; | |||||
using System.ComponentModel.DataAnnotations; | |||||
namespace Sevomin.Models | namespace Sevomin.Models | ||||
{ | { | ||||
public class LoginViewModel | public class LoginViewModel | ||||
{ | { | ||||
[DisplayName("نام کاربری")] | |||||
[Required(ErrorMessage = "ورود {0} الزامی است.")] | |||||
public string Username { get; set; } | public string Username { get; set; } | ||||
public string Password { get; set; } | |||||
public bool RememberMe { get; set; } | |||||
[DisplayName("کلمه عبور")] | |||||
[Required(ErrorMessage = "ورود {0} الزامی است.")] | |||||
public string Password { get; set; } | |||||
} | } | ||||
} | } |
@ -1,11 +1,26 @@ | |||||
| |||||
using Sevomin.Models.Helpers; | |||||
using System.ComponentModel; | |||||
using System.ComponentModel.DataAnnotations; | |||||
using System.Web.Mvc; | |||||
namespace Sevomin.Models | namespace Sevomin.Models | ||||
{ | { | ||||
public class SignupViewModel | public class SignupViewModel | ||||
{ | { | ||||
[Required(ErrorMessage = "برای آشنایی بیشتر ما با شما لطفا نام خود را وارد کنید.")] | |||||
public string DisplayName { get; set; } | public string DisplayName { get; set; } | ||||
[Required(ErrorMessage = "ورود {0} الزامی است.")] | |||||
[DisplayName("ایمیل")] | |||||
[EmailValidation(ErrorMessage = "لطفا ایمیل معتبر وارد نمایید.")] | |||||
[RegularExpression(@"^([\w\!\#$\%\&\'\*\+\-\/\=\?\^\`{\|\}\~]+\.)*[\w\!\#$\%\&\'\*\+\-\/\=\?\^\`{\|\}\~]+@((((([a-zA-Z0-9]{1}[a-zA-Z0-9\-]{0,62}[a-zA-Z0-9]{1})|[a-zA-Z])\.)+[a-zA-Z]{2,6})|(\d{1,3}\.){3}\d{1,3}(\:\d{1,5})?)$", ErrorMessage = "لطفا ایمیل معتبر وارد کنید.")] | |||||
[Remote("CheckUsername", "Account")] | |||||
public string Email { get; set; } | public string Email { get; set; } | ||||
[Required(ErrorMessage="ورود {0} الزامی است.")] | |||||
[DisplayName("کلمه عبور")] | |||||
public string Password { get; set; } | public string Password { get; set; } | ||||
public bool IsAvalin { get; set; } | public bool IsAvalin { get; set; } | ||||
} | } | ||||
} | } |
@ -0,0 +1,43 @@ | |||||
using Microsoft.AspNet.Identity; | |||||
using Microsoft.Owin; | |||||
using Microsoft.Owin.Security.Cookies; | |||||
using Owin; | |||||
namespace Sevomin.WebFrontend | |||||
{ | |||||
public class Startup | |||||
{ | |||||
public void Configuration(IAppBuilder app) | |||||
{ | |||||
ConfigureAuth(app); | |||||
} | |||||
// For more information on configuring authentication, please visit http://go.microsoft.com/fwlink/?LinkId=301864 | |||||
public void ConfigureAuth(IAppBuilder app) | |||||
{ | |||||
// Enable the application to use a cookie to store information for the signed in user | |||||
app.UseCookieAuthentication(new CookieAuthenticationOptions | |||||
{ | |||||
AuthenticationType = DefaultAuthenticationTypes.ApplicationCookie, | |||||
LoginPath = new PathString("/Account/Login") | |||||
}); | |||||
// Use a cookie to temporarily store information about a user logging in with a third party login provider | |||||
app.UseExternalSignInCookie(DefaultAuthenticationTypes.ExternalCookie); | |||||
// Uncomment the following lines to enable logging in with third party login providers | |||||
//app.UseMicrosoftAccountAuthentication( | |||||
// clientId: "", | |||||
// clientSecret: ""); | |||||
//app.UseTwitterAuthentication( | |||||
// consumerKey: "", | |||||
// consumerSecret: ""); | |||||
//app.UseFacebookAuthentication( | |||||
// appId: "", | |||||
// appSecret: ""); | |||||
//app.UseGoogleAuthentication(); | |||||
} | |||||
} | |||||
} |
@ -0,0 +1,36 @@ | |||||
@font-face { | |||||
font-family: 'Koodak'; | |||||
src: url('/fonts/BKoodakBold.eot?#') format('eot'), /* IE6–8 */ | |||||
url('/fonts/BKoodakBold.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ | |||||
url('/fonts/BKoodakBold.ttf') format('truetype'); /* Saf3—5, Chrome4+, FF3.5, Opera 10+ */ | |||||
} @font-face { | |||||
font-family: 'Yekan'; | |||||
src: url('/fonts/BYekan.eot?#') format('eot'), /* IE6–8 */ | |||||
url('/fonts/BYekan.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ | |||||
url('/fonts/BYekan.ttf') format('truetype'); /* Saf3—5, Chrome4+, FF3.5, Opera 10+ */ | |||||
} | |||||
body{ | |||||
font-family: Yekan, "Helvetica Neue",Helvetica,Arial,sans-serif; | |||||
} | |||||
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6{ | |||||
font-family: Koodak, "Helvetica Neue",Helvetica,Arial,sans-serif; | |||||
} | |||||
.rtl{ | |||||
direction: rtl; | |||||
text-align: right; | |||||
} | |||||
.ltr{ | |||||
direction: ltr; | |||||
text-align: left; | |||||
} | |||||
.pull-right{ | |||||
float: right; | |||||
} | |||||
.pull-left{ | |||||
float: left; | |||||
} |
@ -0,0 +1,18 @@ | |||||
button, label{ | |||||
font-family: Koodak; | |||||
} | |||||
label{ | |||||
font-size: 1.5em; | |||||
} | |||||
.input-validation-error{ | |||||
border-color: #ee4646; | |||||
} | |||||
.field-validation-valid{ | |||||
display: inline-block; | |||||
min-height: 1.3em; | |||||
} | |||||
.field-validation-error{ | |||||
font-family: Koodak; | |||||
font-size: 1.2em; | |||||
} |
@ -1,344 +1,394 @@ | |||||
/* NUGET: BEGIN LICENSE TEXT | /* 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 */ | |||||
* | |||||
* 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 | ** Unobtrusive validation support library for jQuery and jQuery Validate | ||||
** Copyright (C) Microsoft Corporation. All rights reserved. | ** 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 */ | /*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 */ | /*global document: false, jQuery: false */ | ||||
(function ($) { | (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)); | |||||
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.addMinMax("minlength", "minlength").addMinMax("maxlength", "minlength", "maxlength"); | |||||
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)); |
@ -1,19 +1,19 @@ | |||||
/* NUGET: BEGIN LICENSE TEXT | /* 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 */ | |||||
* | |||||
* 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 | ** Unobtrusive validation support library for jQuery and jQuery Validate | ||||
** Copyright (C) Microsoft Corporation. All rights reserved. | ** 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); | |||||
(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.addMinMax("minlength","minlength").addMinMax("maxlength","minlength","maxlength");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,4 @@ | |||||
// This file depends heavily on jquery and jquery validation. So be nice and include them on the page. | |||||
$(function () { | |||||
$('form').validate(); | |||||
}); |
@ -0,0 +1,49 @@ | |||||
@model Sevomin.Models.LoginViewModel | |||||
@{ | |||||
ViewBag.Title = "ورود به سومین"; | |||||
} | |||||
<div class="row rtl"> | |||||
<h2>ورود به سومین</h2> | |||||
<div class="col-md-6"> | |||||
<p> | |||||
@Html.ValidationSummary() | |||||
</p> | |||||
@using (Html.BeginForm("Login", "Account", FormMethod.Post, new { role = "form" })) | |||||
{ | |||||
@Html.AntiForgeryToken() | |||||
<div class="form-horizontal"> | |||||
<div class="form-group"> | |||||
@Html.LabelFor(model => model.Username, new { @class = "control-label" }) | |||||
<div class="col-md-10"> | |||||
@Html.TextBoxFor(model => model.Username, new { @class = "form-control ltr" }) | |||||
@Html.ValidationMessageFor(model => model.Username) | |||||
</div> | |||||
</div> | |||||
<div class="form-group"> | |||||
@Html.LabelFor(model => model.Password, new { @class = "control-label" }) | |||||
<div class="col-md-10"> | |||||
@Html.PasswordFor(model => model.Password, new { @class = "form-control ltr" }) | |||||
@Html.ValidationMessageFor(model => model.Password) | |||||
</div> | |||||
</div> | |||||
<div class="form-group"> | |||||
<div class="col-md-offset-2 col-md-10"> | |||||
<button type="submit" class="btn btn-default">ورود</button> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
} | |||||
</div> | |||||
<div class="col-md-6"> | |||||
<p> | |||||
لورم ایپسوم متنی است که ساختگی برای طراحی و چاپ آن مورد است. صنعت چاپ زمانی لازم بود شرایطی شما باید فکر ثبت نام و طراحی، لازمه خروج می باشد. در ضمن قاعده همفکری ها جوابگوی سئوالات زیاد شاید باشد، آنچنان که لازم بود طراحی گرافیکی خوب بود. کتابهای زیادی شرایط سخت ، دشوار و کمی در سالهای دور لازم است. هدف از این نسخه فرهنگ پس از آن و دستاوردهای خوب شاید باشد. حروفچینی لازم در شرایط فعلی لازمه تکنولوژی بود که گذشته، حال و آینده را شامل گردد. سی و پنج درصد از طراحان در قرن پانزدهم میبایست پرینتر در ستون و سطر حروف لازم است، بلکه شناخت این ابزار گاه اساسا بدون هدف بود و سئوالهای زیادی در گذشته بوجود می آید، تنها لازمه آن بود. | |||||
لورم ایپسوم متنی است که ساختگی برای طراحی و چاپ آن مورد است. صنعت چاپ زمانی لازم بود شرایطی شما باید فکر ثبت نام و طراحی، لازمه خروج می باشد. در ضمن قاعده همفکری ها جوابگوی سئوالات زیاد شاید باشد، آنچنان که لازم بود طراحی گرافیکی خوب بود. کتابهای زیادی شرایط سخت ، دشوار و کمی در سالهای دور لازم است. هدف از این نسخه فرهنگ پس از آن و دستاوردهای خوب شاید باشد. حروفچینی لازم در شرایط فعلی لازمه تکنولوژی بود که گذشته، حال و آینده را شامل گردد. سی و پنج درصد از طراحان در قرن پانزدهم میبایست پرینتر در ستون و سطر حروف لازم است، بلکه شناخت این ابزار گاه اساسا بدون هدف بود و سئوالهای زیادی در گذشته بوجود می آید، تنها لازمه آن بود. | |||||
</p> | |||||
</div> | |||||
</div> |
@ -1,18 +0,0 @@ | |||||
@{ | |||||
Layout = null; | |||||
} | |||||
<!DOCTYPE html> | |||||
<html> | |||||
<head> | |||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> | |||||
<title>سومین: مرکز کاریابی برنامهریزی و کنترل پروژه</title> | |||||
<link rel="stylesheet" type="text/css" href="@Url.Content("~/Content/bootstrap.min.css")" /> | |||||
</head> | |||||
<body> | |||||
<div class="container"> | |||||
@{Html.RenderPartial("Signup");} | |||||
</div> | |||||
<script src="@Url.Content("~/Script/bootstrap.min.js")"></script> | |||||
</body> | |||||
</html> |
@ -0,0 +1,25 @@ | |||||
@{ | |||||
Layout = null; | |||||
} | |||||
<!DOCTYPE html> | |||||
<html> | |||||
<head> | |||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> | |||||
<title>سومین: مرکز کاریابی برنامهریزی و کنترل پروژه</title> | |||||
<link rel="stylesheet" type="text/css" href="@Url.Content("~/content/bootstrap.min.css")" /> | |||||
<link rel="stylesheet" type="text/css" href="@Url.Content("~/content/bootstrap-theme.min.css")" /> | |||||
<link rel="stylesheet" type="text/css" href="@Url.Content("~/content/common.css")" /> | |||||
<link rel="stylesheet" type="text/css" href="@Url.Content("~/content/forms.css")" /> | |||||
</head> | |||||
<body> | |||||
<div class="container"> | |||||
@{Html.RenderPartial("IntroSignup");} | |||||
</div> | |||||
<script src="@Url.Content("~/scripts/jquery-1.10.2.min.js")"></script> | |||||
<script src="@Url.Content("~/scripts/jquery.validate.min.js")"></script> | |||||
<script src="@Url.Content("~/scripts/jquery.validate.unobtrusive.min.js")"></script> | |||||
<script src="@Url.Content("~/scripts/bootstrap.min.js")"></script> | |||||
<script src="@Url.Content("~/scripts/sevomin-ui.js")"></script> | |||||
</body> | |||||
</html> |
@ -1,12 +1,20 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||||
<packages> | <packages> | ||||
<package id="bootstrap" version="3.0.3" targetFramework="net451" /> | |||||
<package id="jQuery" version="1.10.2" targetFramework="net451" /> | |||||
<package id="bootstrap" version="3.1.1" targetFramework="net451" /> | |||||
<package id="jQuery" version="2.1.0" targetFramework="net451" /> | |||||
<package id="jQuery.Validation" version="1.11.1" 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.AspNet.Identity.Core" version="2.0.0" targetFramework="net451" /> | |||||
<package id="Microsoft.AspNet.Identity.Owin" version="2.0.0" targetFramework="net451" /> | |||||
<package id="Microsoft.AspNet.Mvc" version="5.1.1" targetFramework="net451" /> | |||||
<package id="Microsoft.AspNet.Razor" version="3.1.1" targetFramework="net451" /> | |||||
<package id="Microsoft.AspNet.WebPages" version="3.1.1" targetFramework="net451" /> | |||||
<package id="Microsoft.jQuery.Unobtrusive.Validation" version="3.1.1" targetFramework="net451" /> | |||||
<package id="Microsoft.Owin" version="2.1.0" targetFramework="net451" /> | |||||
<package id="Microsoft.Owin.Security" version="2.1.0" targetFramework="net451" /> | |||||
<package id="Microsoft.Owin.Security.Cookies" version="2.1.0" targetFramework="net451" /> | |||||
<package id="Microsoft.Owin.Security.OAuth" version="2.1.0" targetFramework="net451" /> | |||||
<package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net451" /> | <package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net451" /> | ||||
<package id="Newtonsoft.Json" version="6.0.1" targetFramework="net451" /> | |||||
<package id="Owin" version="1.0" targetFramework="net451" /> | |||||
<package id="Twitter.Bootstrap" version="3.0.1.1" targetFramework="net451" /> | <package id="Twitter.Bootstrap" version="3.0.1.1" targetFramework="net451" /> | ||||
</packages> | </packages> |
@ -1,198 +0,0 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<doc> | |||||
<assembly> | |||||
<name>Microsoft.AspNet.Identity.Owin</name> | |||||
</assembly> | |||||
<members> | |||||
<member name="T:Microsoft.AspNet.Identity.IdentityExtensions"> | |||||
<summary>Extensions making it easier to get the user name/user id claims off of an identity.</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IdentityExtensions.FindFirstValue(System.Security.Claims.ClaimsIdentity,System.String)"> | |||||
<summary>Return the claim value for the first claim with the specified type if it exists, null otherwise.</summary> | |||||
<returns>Returns <see cref="T:System.String" />.</returns> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IdentityExtensions.GetUserId(System.Security.Principal.IIdentity)"> | |||||
<summary>Return the user id using the UserIdClaimType.</summary> | |||||
<returns>Returns <see cref="T:System.String" />.</returns> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.IdentityExtensions.GetUserName(System.Security.Principal.IIdentity)"> | |||||
<summary>Return the user name using the UserNameClaimType.</summary> | |||||
<returns>Returns <see cref="T:System.String" />.</returns> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.Owin.AuthenticationIdentityManager"> | |||||
<summary>Owin aware identity manager that adds sign in/sign out and claims functionality</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.AuthenticationIdentityManager.#ctor(Microsoft.AspNet.Identity.IdentitySettings,Microsoft.AspNet.Identity.IIdentityStore)"> | |||||
<summary>Constructor</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.AuthenticationIdentityManager.#ctor(Microsoft.AspNet.Identity.IIdentityStore)"> | |||||
<summary>Constructor that uses the default settings</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.Owin.AuthenticationIdentityManager.Authentication"> | |||||
<summary>Authentication APIs (SignIn, SignOut)</summary> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.Owin.AuthenticationManager"> | |||||
<summary>Authentication APIs (SignIn/SignOut)</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.AuthenticationManager.#ctor(Microsoft.AspNet.Identity.Owin.IdentityAuthenticationOptions,Microsoft.AspNet.Identity.IdentityManager)"> | |||||
<summary>Constructor</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.AuthenticationManager.CheckPasswordAndSignInAsync(Microsoft.Owin.Security.IAuthenticationManager,System.String,System.String,System.Boolean,System.Threading.CancellationToken)"> | |||||
<summary>Validates that the password matches and then signs the token in</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.AuthenticationManager.ConfirmSignInTokenAsync(System.String,System.Threading.CancellationToken)"> | |||||
<summary>If the token is found, allows the user to sign in</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.AuthenticationManager.CreateAndSignInExternalUserAsync(Microsoft.Owin.Security.IAuthenticationManager,Microsoft.AspNet.Identity.IUser,System.Threading.CancellationToken)"> | |||||
<summary>Create an external user and sign them in</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.AuthenticationManager.CreateApplicationClaimsIdentity(System.Collections.Generic.IEnumerable{System.Security.Claims.Claim})"> | |||||
<summary>Creates a claims identity with the ApplicationAuthenticaitonType, UserNameClaimType and ConfigRole type</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.AuthenticationManager.GetExternalIdentityAsync(Microsoft.Owin.Security.IAuthenticationManager)"> | |||||
<summary>Return the identity associated with the default external authentication type</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.AuthenticationManager.GetUserIdentityClaimsAsync(System.String,System.Collections.Generic.IEnumerable{System.Security.Claims.Claim},System.Threading.CancellationToken)"> | |||||
<summary>Return the claims for a token, which will contain the UserIdClaimType, UserNameClaimType, a claim representing each Role and any claims specified in the UserClaims</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.AuthenticationManager.LinkExternalIdentityAsync(System.Security.Claims.ClaimsIdentity,System.String,System.Threading.CancellationToken)"> | |||||
<summary>Try to link the given identity to the specified token</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.Owin.AuthenticationManager.Manager"> | |||||
<summary>IdentityManager for operations</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.Owin.AuthenticationManager.Options"> | |||||
<summary>Config</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.AuthenticationManager.RequireTokenConfirmationForSignInAsync(System.String,System.String,System.DateTime,System.Threading.CancellationToken)"> | |||||
<summary>Create a token for the specified user and disables sign in. ConfirmSignInTokenAsync will confirm this token and reenable sign in.</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.AuthenticationManager.SignInAsync(Microsoft.Owin.Security.IAuthenticationManager,System.String,System.Collections.Generic.IEnumerable{System.Security.Claims.Claim},System.Boolean,System.Threading.CancellationToken)"> | |||||
<summary>Signs in the active principal with a identity that contains claims set to the result of GetUserIdentityClaims and the specified claims</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.AuthenticationManager.SignInExternalIdentityAsync(Microsoft.Owin.Security.IAuthenticationManager,System.Security.Claims.ClaimsIdentity,System.Threading.CancellationToken)"> | |||||
<summary>Signs the identity in if the external identity is already linked</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.AuthenticationManager.UpdateUserDisableSignIn(System.String,System.Boolean,System.Threading.CancellationToken)"> | |||||
<summary>Set the AllowSignIn flag for a user</summary> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.Owin.IAuthenticationManager"> | |||||
<summary>Authentication APIs (SignIn/SignOut)</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.IAuthenticationManager.CheckPasswordAndSignInAsync(Microsoft.Owin.Security.IAuthenticationManager,System.String,System.String,System.Boolean,System.Threading.CancellationToken)"> | |||||
<summary>Validates that the password matches and then signs the token in</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.IAuthenticationManager.ConfirmSignInTokenAsync(System.String,System.Threading.CancellationToken)"> | |||||
<summary>If the token is found, allows the user to sign in</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.IAuthenticationManager.CreateAndSignInExternalUserAsync(Microsoft.Owin.Security.IAuthenticationManager,Microsoft.AspNet.Identity.IUser,System.Threading.CancellationToken)"> | |||||
<summary>Create an external user and sign them in</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.IAuthenticationManager.CreateApplicationClaimsIdentity(System.Collections.Generic.IEnumerable{System.Security.Claims.Claim})"> | |||||
<summary>Creates a claims identity with the ApplicationAuthenticaitonType, UserNameClaimType and ConfigRole type</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.IAuthenticationManager.GetExternalIdentityAsync(Microsoft.Owin.Security.IAuthenticationManager)"> | |||||
<summary>Return the identity associated with the default external authentication type</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.IAuthenticationManager.GetUserIdentityClaimsAsync(System.String,System.Collections.Generic.IEnumerable{System.Security.Claims.Claim},System.Threading.CancellationToken)"> | |||||
<summary>Return the claims for a token, which will contain the UserIdClaimType, UserNameClaimType, a claim representing each Role and any claims specified in the UserClaims</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.IAuthenticationManager.LinkExternalIdentityAsync(System.Security.Claims.ClaimsIdentity,System.String,System.Threading.CancellationToken)"> | |||||
<summary>Try to link the given identity to the specified token</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.IAuthenticationManager.RequireTokenConfirmationForSignInAsync(System.String,System.String,System.DateTime,System.Threading.CancellationToken)"> | |||||
<summary>Require a call to ConfirmSignInToken with the given token before this user can be signed in</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.IAuthenticationManager.SignInAsync(Microsoft.Owin.Security.IAuthenticationManager,System.String,System.Collections.Generic.IEnumerable{System.Security.Claims.Claim},System.Boolean,System.Threading.CancellationToken)"> | |||||
<summary>Signs in the active principal with a identity that contains claims set to the result of GetUserIdentityClaims and the specified claims</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.IAuthenticationManager.SignInExternalIdentityAsync(Microsoft.Owin.Security.IAuthenticationManager,System.Security.Claims.ClaimsIdentity,System.Threading.CancellationToken)"> | |||||
<summary>Signs the identity in if the external identity is already linked</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.IAuthenticationManager.UpdateUserDisableSignIn(System.String,System.Boolean,System.Threading.CancellationToken)"> | |||||
<summary>Set the AllowSignIn flag for a user</summary> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.Owin.IAuthenticationManagerExtensions"> | |||||
<summary>Adds extensions methods related to SignIn using OWIN middleware and the IdentityManager to generate the appropriate user claims</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.IAuthenticationManagerExtensions.CheckPasswordAndSignIn(Microsoft.AspNet.Identity.Owin.IAuthenticationManager,Microsoft.Owin.Security.IAuthenticationManager,System.String,System.String,System.Boolean)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.IAuthenticationManagerExtensions.CheckPasswordAndSignInAsync(Microsoft.AspNet.Identity.Owin.IAuthenticationManager,Microsoft.Owin.Security.IAuthenticationManager,System.String,System.String,System.Boolean)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.IAuthenticationManagerExtensions.ConfirmSignInToken(Microsoft.AspNet.Identity.Owin.IAuthenticationManager,System.String)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.IAuthenticationManagerExtensions.ConfirmSignInTokenAsync(Microsoft.AspNet.Identity.Owin.IAuthenticationManager,System.String)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.IAuthenticationManagerExtensions.CreateAndSignInExternalUser(Microsoft.AspNet.Identity.Owin.IAuthenticationManager,Microsoft.Owin.Security.IAuthenticationManager,Microsoft.AspNet.Identity.IUser)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.IAuthenticationManagerExtensions.CreateAndSignInExternalUserAsync(Microsoft.AspNet.Identity.Owin.IAuthenticationManager,Microsoft.Owin.Security.IAuthenticationManager,Microsoft.AspNet.Identity.IUser)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.IAuthenticationManagerExtensions.GetExternalIdentity(Microsoft.AspNet.Identity.Owin.IAuthenticationManager,Microsoft.Owin.Security.IAuthenticationManager)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.IAuthenticationManagerExtensions.LinkExternalIdentity(Microsoft.AspNet.Identity.Owin.IAuthenticationManager,System.Security.Claims.ClaimsIdentity,System.String)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.IAuthenticationManagerExtensions.LinkExternalIdentityAsync(Microsoft.AspNet.Identity.Owin.IAuthenticationManager,System.Security.Claims.ClaimsIdentity,System.String)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.IAuthenticationManagerExtensions.RequireTokenConfirmationForSignIn(Microsoft.AspNet.Identity.Owin.IAuthenticationManager,System.String,System.String,System.DateTime)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.IAuthenticationManagerExtensions.RequireTokenConfirmationForSignInAsync(Microsoft.AspNet.Identity.Owin.IAuthenticationManager,System.String,System.String,System.DateTime)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.IAuthenticationManagerExtensions.SignIn(Microsoft.AspNet.Identity.Owin.IAuthenticationManager,Microsoft.Owin.Security.IAuthenticationManager,System.String,System.Boolean)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.IAuthenticationManagerExtensions.SignIn(Microsoft.AspNet.Identity.Owin.IAuthenticationManager,Microsoft.Owin.Security.IAuthenticationManager,System.String,System.Collections.Generic.IEnumerable{System.Security.Claims.Claim},System.Boolean)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.IAuthenticationManagerExtensions.SignInAsync(Microsoft.AspNet.Identity.Owin.IAuthenticationManager,Microsoft.Owin.Security.IAuthenticationManager,System.String,System.Boolean)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.IAuthenticationManagerExtensions.SignInAsync(Microsoft.AspNet.Identity.Owin.IAuthenticationManager,Microsoft.Owin.Security.IAuthenticationManager,System.String,System.Boolean,System.Threading.CancellationToken)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.IAuthenticationManagerExtensions.SignInExternalIdentity(Microsoft.AspNet.Identity.Owin.IAuthenticationManager,Microsoft.Owin.Security.IAuthenticationManager,System.Security.Claims.ClaimsIdentity)"></member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.IAuthenticationManagerExtensions.SignInExternalIdentityAsync(Microsoft.AspNet.Identity.Owin.IAuthenticationManager,Microsoft.Owin.Security.IAuthenticationManager,System.Security.Claims.ClaimsIdentity)"></member> | |||||
<member name="T:Microsoft.AspNet.Identity.Owin.IdentityAuthenticationOptions"> | |||||
<summary>Configuration for the Identity system</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.IdentityAuthenticationOptions.#ctor"> | |||||
<summary>Default constructor which uses the built in default options</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.Owin.IdentityAuthenticationOptions.ApplicationAuthenticationType"> | |||||
<summary>The AuthenticationType used in the UseSignInCookies extension method for the active signed in identity.</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.Owin.IdentityAuthenticationOptions.ClaimsIssuer"> | |||||
<summary>Issuer used for the claims generated</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.Owin.IdentityAuthenticationOptions.ExternalAuthenticationType"> | |||||
<summary>The AuthenticationType used by the UseSignInCookies extension method for the external signed in identity.</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.Owin.IdentityAuthenticationOptions.LoginPath"> | |||||
<summary>Path to the login page in the app</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.Owin.IdentityAuthenticationOptions.LogoutPath"> | |||||
<summary>Path to the logout page in the app</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.Owin.IdentityAuthenticationOptions.RoleClaimType"> | |||||
<summary>Claim type used for role claims</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.Owin.IdentityAuthenticationOptions.UserIdClaimType"> | |||||
<summary>Claim type used for the user id</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.Owin.IdentityAuthenticationOptions.UserNameClaimType"> | |||||
<summary>Claim type used for the user name</summary> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.Owin.IdentitySettingsExtensions"> | |||||
<summary>Represents the extensions used in identity settings.</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.IdentitySettingsExtensions.GetAuthenticationOptions(Microsoft.AspNet.Identity.IdentitySettings)"> | |||||
<summary>Returns the authentication options for the identity.</summary> | |||||
<returns>The authentication options for the identity.</returns> | |||||
<param name="settings">The identity settings.</param> | |||||
</member> | |||||
<member name="T:Microsoft.Owin.Security.AuthenticationManagerExtensions"> | |||||
<summary>Extensions methods on IAuthenticationManager that add methods for using the default Application and External authentication type constants</summary> | |||||
</member> | |||||
<member name="M:Microsoft.Owin.Security.AuthenticationManagerExtensions.GetExternalAuthenticationTypes(Microsoft.Owin.Security.IAuthenticationManager)"> | |||||
<summary>Return the authentication types which are considered external because they have captions</summary> | |||||
</member> | |||||
<member name="T:Owin.AppBuilderExtensions"> | |||||
<summary>Extensions off of IAppBuilder to make it easier to configure the SignInCookies</summary> | |||||
</member> | |||||
<member name="M:Owin.AppBuilderExtensions.UseExternalSignInCookie(Owin.IAppBuilder)"> | |||||
<summary>Configure the app to use owin middleware based cookie authentication for external identities</summary> | |||||
</member> | |||||
<member name="M:Owin.AppBuilderExtensions.UseExternalSignInCookie(Owin.IAppBuilder,System.String)"> | |||||
<summary>Configure the app to use owin middleware based cookie authentication for external identities</summary> | |||||
</member> | |||||
<member name="M:Owin.AppBuilderExtensions.UseOAuthBearerTokens(Owin.IAppBuilder,Microsoft.Owin.Security.OAuth.OAuthAuthorizationServerOptions,System.String)"> | |||||
<summary>Configure the app to use owin middleware based oauth bearer tokens</summary> | |||||
</member> | |||||
<member name="M:Owin.AppBuilderExtensions.UseSignInCookies(Owin.IAppBuilder)"> | |||||
<summary>Use application and external sign in cookies for the app</summary> | |||||
</member> | |||||
<member name="M:Owin.AppBuilderExtensions.UseSignInCookies(Owin.IAppBuilder,Microsoft.AspNet.Identity.Owin.IdentityAuthenticationOptions)"> | |||||
<summary>Configure the app to use owin middleware based cookie authentication for the active identity and external identities</summary> | |||||
</member> | |||||
</members> | |||||
</doc> |
@ -0,0 +1,397 @@ | |||||
<?xml version="1.0"?> | |||||
<doc> | |||||
<assembly> | |||||
<name>Microsoft.AspNet.Identity.Owin</name> | |||||
</assembly> | |||||
<members> | |||||
<member name="T:Microsoft.AspNet.Identity.Owin.IdentityFactoryMiddleware`2"> | |||||
<summary> | |||||
OwinMiddleware that initializes an object for use in the OwinContext via the Get/Set generic extensions method | |||||
</summary> | |||||
<typeparam name="TResult"></typeparam> | |||||
<typeparam name="TOptions"></typeparam> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.IdentityFactoryMiddleware`2.#ctor(Microsoft.Owin.OwinMiddleware,`1)"> | |||||
<summary> | |||||
Constructor | |||||
</summary> | |||||
<param name="next">The next middleware in the OWIN pipeline to invoke</param> | |||||
<param name="options">Configuration options for the middleware</param> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.IdentityFactoryMiddleware`2.Invoke(Microsoft.Owin.IOwinContext)"> | |||||
<summary> | |||||
Create an object using the Options.Provider, storing it in the OwinContext and then disposes the object when finished | |||||
</summary> | |||||
<param name="context"></param> | |||||
<returns></returns> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.Owin.IdentityFactoryMiddleware`2.Options"> | |||||
<summary> | |||||
Configuration options | |||||
</summary> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.Owin.IdentityFactoryOptions`1"> | |||||
<summary> | |||||
Configuration options for a IdentityFactoryMiddleware | |||||
</summary> | |||||
<typeparam name="T"></typeparam> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.Owin.IdentityFactoryOptions`1.DataProtectionProvider"> | |||||
<summary> | |||||
Used to configure the data protection provider | |||||
</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.Owin.IdentityFactoryOptions`1.Provider"> | |||||
<summary> | |||||
Provider used to Create and Dispose objects | |||||
</summary> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.Owin.IIdentityFactoryProvider`1"> | |||||
<summary> | |||||
Interface used to create objects per request | |||||
</summary> | |||||
<typeparam name="T"></typeparam> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.IIdentityFactoryProvider`1.Create(Microsoft.AspNet.Identity.Owin.IdentityFactoryOptions{`0},Microsoft.Owin.IOwinContext)"> | |||||
<summary> | |||||
Called once per request to create an object | |||||
</summary> | |||||
<param name="options"></param> | |||||
<param name="context"></param> | |||||
<returns></returns> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.IIdentityFactoryProvider`1.Dispose(Microsoft.AspNet.Identity.Owin.IdentityFactoryOptions{`0},`0)"> | |||||
<summary> | |||||
Called at the end of the request to dispose the object created | |||||
</summary> | |||||
<param name="options"></param> | |||||
<param name="instance"></param> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.Owin.IdentityFactoryProvider`1"> | |||||
<summary> | |||||
Used to configure how the IdentityFactoryMiddleware will create an instance of the specified type for each OwinContext | |||||
</summary> | |||||
<typeparam name="T"></typeparam> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.IdentityFactoryProvider`1.#ctor"> | |||||
<summary> | |||||
Constructor | |||||
</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.IdentityFactoryProvider`1.Create(Microsoft.AspNet.Identity.Owin.IdentityFactoryOptions{`0},Microsoft.Owin.IOwinContext)"> | |||||
<summary> | |||||
Calls the OnCreate Delegate | |||||
</summary> | |||||
<param name="options"></param> | |||||
<param name="context"></param> | |||||
<returns></returns> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.IdentityFactoryProvider`1.Dispose(Microsoft.AspNet.Identity.Owin.IdentityFactoryOptions{`0},`0)"> | |||||
<summary> | |||||
Calls the OnDispose delegate | |||||
</summary> | |||||
<param name="options"></param> | |||||
<param name="instance"></param> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.Owin.IdentityFactoryProvider`1.OnCreate"> | |||||
<summary> | |||||
A delegate assigned to this property will be invoked when the related method is called | |||||
</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.Owin.IdentityFactoryProvider`1.OnDispose"> | |||||
<summary> | |||||
A delegate assigned to this property will be invoked when the related method is called | |||||
</summary> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.Owin.DataProtectorTokenProvider`1"> | |||||
<summary> | |||||
Token provider that uses an IDataProtector to generate encrypted tokens based off of the security stamp | |||||
</summary> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.Owin.DataProtectorTokenProvider`2"> | |||||
<summary> | |||||
Token provider that uses an IDataProtector to generate encrypted tokens based off of the security stamp | |||||
</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.DataProtectorTokenProvider`2.#ctor(Microsoft.Owin.Security.DataProtection.IDataProtector)"> | |||||
<summary> | |||||
Constructor | |||||
</summary> | |||||
<param name="protector"></param> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.DataProtectorTokenProvider`2.GenerateAsync(System.String,Microsoft.AspNet.Identity.UserManager{`0,`1},`0)"> | |||||
<summary> | |||||
Generate a protected string for a user | |||||
</summary> | |||||
<param name="purpose"></param> | |||||
<param name="manager"></param> | |||||
<param name="user"></param> | |||||
<returns></returns> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.DataProtectorTokenProvider`2.ValidateAsync(System.String,System.String,Microsoft.AspNet.Identity.UserManager{`0,`1},`0)"> | |||||
<summary> | |||||
Return false if the token is not valid | |||||
</summary> | |||||
<param name="purpose"></param> | |||||
<param name="token"></param> | |||||
<param name="manager"></param> | |||||
<param name="user"></param> | |||||
<returns></returns> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.DataProtectorTokenProvider`2.IsValidProviderForUserAsync(Microsoft.AspNet.Identity.UserManager{`0,`1},`0)"> | |||||
<summary> | |||||
Returns true if the provider can be used to generate tokens for this user | |||||
</summary> | |||||
<param name="manager"></param> | |||||
<param name="user"></param> | |||||
<returns></returns> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.DataProtectorTokenProvider`2.NotifyAsync(System.String,Microsoft.AspNet.Identity.UserManager{`0,`1},`0)"> | |||||
<summary> | |||||
This provider no-ops by default when asked to notify a user | |||||
</summary> | |||||
<param name="token"></param> | |||||
<param name="manager"></param> | |||||
<param name="user"></param> | |||||
<returns></returns> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.Owin.DataProtectorTokenProvider`2.Protector"> | |||||
<summary> | |||||
IDataProtector for the token | |||||
</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.Owin.DataProtectorTokenProvider`2.TokenLifespan"> | |||||
<summary> | |||||
Lifespan after which the token is considered expired | |||||
</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.DataProtectorTokenProvider`1.#ctor(Microsoft.Owin.Security.DataProtection.IDataProtector)"> | |||||
<summary> | |||||
Constructor | |||||
</summary> | |||||
<param name="protector"></param> | |||||
</member> | |||||
<member name="T:Owin.AppBuilderExtensions"> | |||||
<summary> | |||||
Extensions off of IAppBuilder to make it easier to configure the SignInCookies | |||||
</summary> | |||||
</member> | |||||
<member name="M:Owin.AppBuilderExtensions.CreatePerOwinContext``1(Owin.IAppBuilder,System.Func{``0})"> | |||||
<summary> | |||||
Registers a callback that will be invoked to create an instance of type T that will be stored in the OwinContext | |||||
which can fetched via context.Get | |||||
</summary> | |||||
<typeparam name="T"></typeparam> | |||||
<param name="app">The <see cref="T:Owin.IAppBuilder"/> passed to the configuration method</param> | |||||
<param name="createCallback">Invoked to create an instance of T</param> | |||||
<returns>The updated <see cref="T:Owin.IAppBuilder"/></returns> | |||||
</member> | |||||
<member name="M:Owin.AppBuilderExtensions.CreatePerOwinContext``1(Owin.IAppBuilder,System.Func{Microsoft.AspNet.Identity.Owin.IdentityFactoryOptions{``0},Microsoft.Owin.IOwinContext,``0})"> | |||||
<summary> | |||||
Registers a callback that will be invoked to create an instance of type T that will be stored in the OwinContext | |||||
which can fetched via context.Get | |||||
</summary> | |||||
<typeparam name="T"></typeparam> | |||||
<param name="app"></param> | |||||
<param name="createCallback"></param> | |||||
<returns></returns> | |||||
</member> | |||||
<member name="M:Owin.AppBuilderExtensions.UseExternalSignInCookie(Owin.IAppBuilder)"> | |||||
<summary> | |||||
Configure the app to use owin middleware based cookie authentication for external identities | |||||
</summary> | |||||
<param name="app"></param> | |||||
</member> | |||||
<member name="M:Owin.AppBuilderExtensions.UseExternalSignInCookie(Owin.IAppBuilder,System.String)"> | |||||
<summary> | |||||
Configure the app to use owin middleware based cookie authentication for external identities | |||||
</summary> | |||||
<param name="app"></param> | |||||
<param name="externalAuthenticationType"></param> | |||||
</member> | |||||
<member name="M:Owin.AppBuilderExtensions.UseTwoFactorSignInCookie(Owin.IAppBuilder,System.String,System.TimeSpan)"> | |||||
<summary> | |||||
Configures a cookie intended to be used to store the partial credentials for two factor authentication | |||||
</summary> | |||||
<param name="app"></param> | |||||
<param name="authenticationType"></param> | |||||
<param name="expires"></param> | |||||
</member> | |||||
<member name="M:Owin.AppBuilderExtensions.UseTwoFactorRememberBrowserCookie(Owin.IAppBuilder,System.String)"> | |||||
<summary> | |||||
Configures a cookie intended to be used to store whether two factor authentication has been done already | |||||
</summary> | |||||
<param name="app"></param> | |||||
<param name="authenticationType"></param> | |||||
</member> | |||||
<member name="M:Owin.AppBuilderExtensions.UseOAuthBearerTokens(Owin.IAppBuilder,Microsoft.Owin.Security.OAuth.OAuthAuthorizationServerOptions)"> | |||||
<summary> | |||||
Configure the app to use owin middleware based oauth bearer tokens | |||||
</summary> | |||||
<param name="app"></param> | |||||
<param name="options"></param> | |||||
</member> | |||||
<member name="T:Microsoft.Owin.Security.AuthenticationManagerExtensions"> | |||||
<summary> | |||||
Extensions methods on IAuthenticationManager that add methods for using the default Application and External | |||||
authentication type constants | |||||
</summary> | |||||
</member> | |||||
<member name="M:Microsoft.Owin.Security.AuthenticationManagerExtensions.GetExternalAuthenticationTypes(Microsoft.Owin.Security.IAuthenticationManager)"> | |||||
<summary> | |||||
Return the authentication types which are considered external because they have captions | |||||
</summary> | |||||
<param name="manager"></param> | |||||
<returns></returns> | |||||
</member> | |||||
<member name="M:Microsoft.Owin.Security.AuthenticationManagerExtensions.GetExternalIdentityAsync(Microsoft.Owin.Security.IAuthenticationManager,System.String)"> | |||||
<summary> | |||||
Return the identity associated with the default external authentication type | |||||
</summary> | |||||
<returns></returns> | |||||
</member> | |||||
<member name="M:Microsoft.Owin.Security.AuthenticationManagerExtensions.GetExternalLoginInfoAsync(Microsoft.Owin.Security.IAuthenticationManager)"> | |||||
<summary> | |||||
Extracts login info out of an external identity | |||||
</summary> | |||||
<param name="manager"></param> | |||||
<returns></returns> | |||||
</member> | |||||
<member name="M:Microsoft.Owin.Security.AuthenticationManagerExtensions.GetExternalLoginInfo(Microsoft.Owin.Security.IAuthenticationManager)"> | |||||
<summary> | |||||
Extracts login info out of an external identity | |||||
</summary> | |||||
<param name="manager"></param> | |||||
<returns></returns> | |||||
</member> | |||||
<member name="M:Microsoft.Owin.Security.AuthenticationManagerExtensions.GetExternalLoginInfo(Microsoft.Owin.Security.IAuthenticationManager,System.String,System.String)"> | |||||
<summary> | |||||
Extracts login info out of an external identity | |||||
</summary> | |||||
<param name="manager"></param> | |||||
<param name="xsrfKey">key that will be used to find the userId to verify</param> | |||||
<param name="expectedValue"> | |||||
the value expected to be found using the xsrfKey in the AuthenticationResult.Properties | |||||
dictionary | |||||
</param> | |||||
<returns></returns> | |||||
</member> | |||||
<member name="M:Microsoft.Owin.Security.AuthenticationManagerExtensions.GetExternalLoginInfoAsync(Microsoft.Owin.Security.IAuthenticationManager,System.String,System.String)"> | |||||
<summary> | |||||
Extracts login info out of an external identity | |||||
</summary> | |||||
<param name="manager"></param> | |||||
<param name="xsrfKey">key that will be used to find the userId to verify</param> | |||||
<param name="expectedValue"> | |||||
the value expected to be found using the xsrfKey in the AuthenticationResult.Properties | |||||
dictionary | |||||
</param> | |||||
<returns></returns> | |||||
</member> | |||||
<member name="M:Microsoft.Owin.Security.AuthenticationManagerExtensions.TwoFactorBrowserRememberedAsync(Microsoft.Owin.Security.IAuthenticationManager,System.String)"> | |||||
<summary> | |||||
Returns true if there is a TwoFactorRememberBrowser cookie for a user | |||||
</summary> | |||||
<param name="manager"></param> | |||||
<param name="userId"></param> | |||||
<returns></returns> | |||||
</member> | |||||
<member name="M:Microsoft.Owin.Security.AuthenticationManagerExtensions.CreateTwoFactorRememberBrowserIdentity(Microsoft.Owin.Security.IAuthenticationManager,System.String)"> | |||||
<summary> | |||||
Creates a TwoFactorRememberBrowser cookie for a user | |||||
</summary> | |||||
<param name="manager"></param> | |||||
<param name="userId"></param> | |||||
<returns></returns> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.Owin.OwinContextExtensions"> | |||||
<summary> | |||||
Extension methods for OwinContext/> | |||||
</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.OwinContextExtensions.Set``1(Microsoft.Owin.IOwinContext,``0)"> | |||||
<summary> | |||||
Stores an object in the OwinContext using a key based on the AssemblyQualified type name | |||||
</summary> | |||||
<typeparam name="T"></typeparam> | |||||
<param name="context"></param> | |||||
<param name="value"></param> | |||||
<returns></returns> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.OwinContextExtensions.Get``1(Microsoft.Owin.IOwinContext)"> | |||||
<summary> | |||||
Retrieves an object from the OwinContext using a key based on the AssemblyQualified type name | |||||
</summary> | |||||
<typeparam name="T"></typeparam> | |||||
<param name="context"></param> | |||||
<returns></returns> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.OwinContextExtensions.GetUserManager``1(Microsoft.Owin.IOwinContext)"> | |||||
<summary> | |||||
Get the user manager from the context | |||||
</summary> | |||||
<typeparam name="TManager"></typeparam> | |||||
<param name="context"></param> | |||||
<returns></returns> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.Owin.ExternalLoginInfo"> | |||||
<summary> | |||||
Used to return information needed to associate an external login | |||||
</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.Owin.ExternalLoginInfo.Login"> | |||||
<summary> | |||||
Associated login data | |||||
</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.Owin.ExternalLoginInfo.DefaultUserName"> | |||||
<summary> | |||||
Suggested user name for a user | |||||
</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.Owin.ExternalLoginInfo.Email"> | |||||
<summary> | |||||
Email claim from the external identity | |||||
</summary> | |||||
</member> | |||||
<member name="P:Microsoft.AspNet.Identity.Owin.ExternalLoginInfo.ExternalIdentity"> | |||||
<summary> | |||||
The external identity | |||||
</summary> | |||||
</member> | |||||
<member name="T:Microsoft.AspNet.Identity.Owin.SecurityStampValidator"> | |||||
<summary> | |||||
Static helper class used to configure a CookieAuthenticationProvider to validate a cookie against a user's security | |||||
stamp | |||||
</summary> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.SecurityStampValidator.OnValidateIdentity``2(System.TimeSpan,System.Func{``0,``1,System.Threading.Tasks.Task{System.Security.Claims.ClaimsIdentity}})"> | |||||
<summary> | |||||
Can be used as the ValidateIdentity method for a CookieAuthenticationProvider which will check a user's security | |||||
stamp after validateInterval | |||||
Rejects the identity if the stamp changes, and otherwise will call regenerateIdentity to sign in a new | |||||
ClaimsIdentity | |||||
</summary> | |||||
<typeparam name="TManager"></typeparam> | |||||
<typeparam name="TUser"></typeparam> | |||||
<param name="validateInterval"></param> | |||||
<param name="regenerateIdentity"></param> | |||||
<returns></returns> | |||||
</member> | |||||
<member name="M:Microsoft.AspNet.Identity.Owin.SecurityStampValidator.OnValidateIdentity``3(System.TimeSpan,System.Func{``0,``1,System.Threading.Tasks.Task{System.Security.Claims.ClaimsIdentity}},System.Func{System.Security.Claims.ClaimsIdentity,``2})"> | |||||
<summary> | |||||
Can be used as the ValidateIdentity method for a CookieAuthenticationProvider which will check a user's security | |||||
stamp after validateInterval | |||||
Rejects the identity if the stamp changes, and otherwise will call regenerateIdentity to sign in a new | |||||
ClaimsIdentity | |||||
</summary> | |||||
<typeparam name="TManager"></typeparam> | |||||
<typeparam name="TUser"></typeparam> | |||||
<typeparam name="TKey"></typeparam> | |||||
<param name="validateInterval"></param> | |||||
<param name="regenerateIdentityCallback"></param> | |||||
<param name="getUserIdCallback"></param> | |||||
<returns></returns> | |||||
</member> | |||||
</members> | |||||
</doc> |
@ -0,0 +1,34 @@ | |||||
<?xml version="1.0"?> | |||||
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> | |||||
<!-- If runtime tag is absent --> | |||||
<runtime xdt:Transform="InsertIfMissing"> | |||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> | |||||
</assemblyBinding> | |||||
</runtime> | |||||
<!-- If runtime tag is present, but assembly binding tag is absent --> | |||||
<runtime> | |||||
<assemblyBinding xdt:Transform="InsertIfMissing" xmlns="urn:schemas-microsoft-com:asm.v1"> | |||||
</assemblyBinding> | |||||
</runtime> | |||||
<!-- If the binding redirect is already present, the existing entry needs to be removed before inserting the new entry--> | |||||
<runtime> | |||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> | |||||
<dependentAssembly xdt:Transform="Remove" | |||||
xdt:Locator="Condition(./_defaultNamespace:assemblyIdentity/@name='System.Web.Mvc')" > | |||||
</dependentAssembly> | |||||
</assemblyBinding> | |||||
</runtime> | |||||
<!-- Inserting the new binding redirect --> | |||||
<runtime> | |||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> | |||||
<dependentAssembly xdt:Transform="Insert"> | |||||
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" /> | |||||
<bindingRedirect oldVersion="1.0.0.0-5.1.0.0" newVersion="5.1.0.0" /> | |||||
</dependentAssembly> | |||||
</assemblyBinding> | |||||
</runtime> | |||||
</configuration> |
@ -0,0 +1,10 @@ | |||||
<?xml version="1.0"?> | |||||
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> | |||||
<runtime> | |||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> | |||||
<dependentAssembly xdt:Transform="Remove" | |||||
xdt:Locator="Condition(./_defaultNamespace:assemblyIdentity/@name='System.Web.Mvc')" > | |||||
</dependentAssembly> | |||||
</assemblyBinding> | |||||
</runtime> | |||||
</configuration> |
@ -1,836 +0,0 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<doc> | |||||
<assembly> | |||||
<name>System.Web.Helpers</name> | |||||
</assembly> | |||||
<members> | |||||
<member name="T:System.Web.Helpers.Chart"> | |||||
<summary>Displays data in the form of a graphical chart.</summary> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.#ctor(System.Int32,System.Int32,System.String,System.String)"> | |||||
<summary>Initializes a new instance of the <see cref="T:System.Web.Helpers.Chart" /> class.</summary> | |||||
<param name="width">The width, in pixels, of the complete chart image.</param> | |||||
<param name="height">The height, in pixels, of the complete chart image.</param> | |||||
<param name="theme">(Optional) The template (theme) to apply to the chart.</param> | |||||
<param name="themePath">(Optional) The template (theme) path and file name to apply to the chart.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.AddLegend(System.String,System.String)"> | |||||
<summary>Adds a legend to the chart.</summary> | |||||
<returns>The chart.</returns> | |||||
<param name="title">The text of the legend title.</param> | |||||
<param name="name">The unique name of the legend.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.AddSeries(System.String,System.String,System.String,System.String,System.String,System.Int32,System.Collections.IEnumerable,System.String,System.Collections.IEnumerable,System.String)"> | |||||
<summary>Provides data points and series attributes for the chart.</summary> | |||||
<returns>The chart.</returns> | |||||
<param name="name">The unique name of the series.</param> | |||||
<param name="chartType">The chart type of a series.</param> | |||||
<param name="chartArea">The name of the chart area that is used to plot the data series.</param> | |||||
<param name="axisLabel">The axis label text for the series.</param> | |||||
<param name="legend">The name of the series that is associated with the legend.</param> | |||||
<param name="markerStep">The granularity of data point markers.</param> | |||||
<param name="xValue">The values to plot along the x-axis.</param> | |||||
<param name="xField">The name of the field for x-values.</param> | |||||
<param name="yValues">The values to plot along the y-axis.</param> | |||||
<param name="yFields">A comma-separated list of name or names of the field or fields for y-values.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.AddTitle(System.String,System.String)"> | |||||
<summary>Adds a title to the chart.</summary> | |||||
<returns>The chart.</returns> | |||||
<param name="text">The title text.</param> | |||||
<param name="name">The unique name of the title.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.DataBindCrossTable(System.Collections.IEnumerable,System.String,System.String,System.String,System.String,System.String)"> | |||||
<summary>Binds a chart to a data table, where one series is created for each unique value in a column.</summary> | |||||
<returns>The chart.</returns> | |||||
<param name="dataSource">The chart data source.</param> | |||||
<param name="groupByField">The name of the column that is used to group data into the series.</param> | |||||
<param name="xField">The name of the column for x-values.</param> | |||||
<param name="yFields">A comma-separated list of names of the columns for y-values.</param> | |||||
<param name="otherFields">Other data point properties that can be bound.</param> | |||||
<param name="pointSortOrder">The order in which the series will be sorted. The default is "Ascending".</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.DataBindTable(System.Collections.IEnumerable,System.String)"> | |||||
<summary>Creates and binds series data to the specified data table, and optionally populates multiple x-values.</summary> | |||||
<returns>The chart.</returns> | |||||
<param name="dataSource">The chart data source. This can be can be any <see cref="T:System.Collections.IEnumerable" /> object.</param> | |||||
<param name="xField">The name of the table column used for the series x-values.</param> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Chart.FileName"> | |||||
<summary>Gets or sets the name of the file that contains the chart image.</summary> | |||||
<returns>The name of the file.</returns> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.GetBytes(System.String)"> | |||||
<summary>Returns a chart image as a byte array.</summary> | |||||
<returns>The chart.</returns> | |||||
<param name="format">The image format. The default is "jpeg".</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.GetFromCache(System.String)"> | |||||
<summary>Retrieves the specified chart from the cache.</summary> | |||||
<returns>The chart.</returns> | |||||
<param name="key">The ID of the cache item that contains the chart to retrieve. The key is set when you call the <see cref="M:System.Web.Helpers.Chart.SaveToCache(System.String,System.Int32,System.Boolean)" /> method.</param> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Chart.Height"> | |||||
<summary>Gets or sets the height, in pixels, of the chart image.</summary> | |||||
<returns>The chart height.</returns> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.Save(System.String,System.String)"> | |||||
<summary>Saves a chart image to the specified file.</summary> | |||||
<returns>The chart.</returns> | |||||
<param name="path">The location and name of the image file.</param> | |||||
<param name="format">The image file format, such as "png" or "jpeg".</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.SaveToCache(System.String,System.Int32,System.Boolean)"> | |||||
<summary>Saves a chart in the system cache.</summary> | |||||
<returns>The ID of the cache item that contains the chart.</returns> | |||||
<param name="key">The ID of the chart in the cache.</param> | |||||
<param name="minutesToCache">The number of minutes to keep the chart image in the cache. The default is 20.</param> | |||||
<param name="slidingExpiration">true to indicate that the chart cache item's expiration is reset each time the item is accessed, or false to indicate that the expiration is based on an absolute interval since the time that the item was added to the cache. The default is true.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.SaveXml(System.String)"> | |||||
<summary>Saves a chart as an XML file.</summary> | |||||
<returns>The chart.</returns> | |||||
<param name="path">The path and name of the XML file.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.SetXAxis(System.String,System.Double,System.Double)"> | |||||
<summary>Sets values for the horizontal axis.</summary> | |||||
<returns>The chart.</returns> | |||||
<param name="title">The title of the x-axis.</param> | |||||
<param name="min">The minimum value for the x-axis.</param> | |||||
<param name="max">The maximum value for the x-axis.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.SetYAxis(System.String,System.Double,System.Double)"> | |||||
<summary>Sets values for the vertical axis.</summary> | |||||
<returns>The chart.</returns> | |||||
<param name="title">The title of the y-axis.</param> | |||||
<param name="min">The minimum value for the y-axis.</param> | |||||
<param name="max">The maximum value for the y-axis.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.ToWebImage(System.String)"> | |||||
<summary>Creates a <see cref="T:System.Web.Helpers.WebImage" /> object based on the current <see cref="T:System.Web.Helpers.Chart" /> object.</summary> | |||||
<returns>The chart.</returns> | |||||
<param name="format">The format of the image to save the <see cref="T:System.Web.Helpers.WebImage" /> object as. The default is "jpeg". The <paramref name="format" /> parameter is not case sensitive.</param> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Chart.Width"> | |||||
<summary>Gets or set the width, in pixels, of the chart image.</summary> | |||||
<returns>The chart width.</returns> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.Write(System.String)"> | |||||
<summary>Renders the output of the <see cref="T:System.Web.Helpers.Chart" /> object as an image.</summary> | |||||
<returns>The chart.</returns> | |||||
<param name="format">The format of the image. The default is "jpeg".</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.WriteFromCache(System.String,System.String)"> | |||||
<summary>Renders the output of a <see cref="T:System.Web.Helpers.Chart" /> object that has been cached as an image.</summary> | |||||
<returns>The chart.</returns> | |||||
<param name="key">The ID of the chart in the cache.</param> | |||||
<param name="format">The format of the image. The default is "jpeg".</param> | |||||
</member> | |||||
<member name="T:System.Web.Helpers.ChartTheme"> | |||||
<summary>Specifies visual themes for a <see cref="T:System.Web.Helpers.Chart" /> object.</summary> | |||||
</member> | |||||
<member name="F:System.Web.Helpers.ChartTheme.Blue"> | |||||
<summary>A theme for 2D charting that features a visual container with a blue gradient, rounded edges, drop-shadowing, and high-contrast gridlines.</summary> | |||||
</member> | |||||
<member name="F:System.Web.Helpers.ChartTheme.Green"> | |||||
<summary>A theme for 2D charting that features a visual container with a green gradient, rounded edges, drop-shadowing, and low-contrast gridlines.</summary> | |||||
</member> | |||||
<member name="F:System.Web.Helpers.ChartTheme.Vanilla"> | |||||
<summary>A theme for 2D charting that features no visual container and no gridlines.</summary> | |||||
</member> | |||||
<member name="F:System.Web.Helpers.ChartTheme.Vanilla3D"> | |||||
<summary>A theme for 3D charting that features no visual container, limited labeling and, sparse, high-contrast gridlines.</summary> | |||||
</member> | |||||
<member name="F:System.Web.Helpers.ChartTheme.Yellow"> | |||||
<summary>A theme for 2D charting that features a visual container that has a yellow gradient, rounded edges, drop-shadowing, and high-contrast gridlines.</summary> | |||||
</member> | |||||
<member name="T:System.Web.Helpers.Crypto"> | |||||
<summary>Provides methods to generate hash values and encrypt passwords or other sensitive data.</summary> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Crypto.GenerateSalt(System.Int32)"> | |||||
<summary>Generates a cryptographically strong sequence of random byte values.</summary> | |||||
<returns>The generated salt value as a base-64-encoded string.</returns> | |||||
<param name="byteLength">The number of cryptographically random bytes to generate.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Crypto.Hash(System.Byte[],System.String)"> | |||||
<summary>Returns a hash value for the specified byte array.</summary> | |||||
<returns>The hash value for <paramref name="input" /> as a string of hexadecimal characters.</returns> | |||||
<param name="input">The data to provide a hash value for.</param> | |||||
<param name="algorithm">The algorithm that is used to generate the hash value. The default is "sha256".</param> | |||||
<exception cref="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> |
@ -1,60 +0,0 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<doc> | |||||
<assembly> | |||||
<name>System.Web.WebPages.Deployment</name> | |||||
</assembly> | |||||
<members> | |||||
<member name="T:System.Web.WebPages.Deployment.PreApplicationStartCode"> | |||||
<summary>Provides a registration point for pre-application start code for Web Pages deployment.</summary> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Deployment.PreApplicationStartCode.Start"> | |||||
<summary>Registers pre-application start code for Web Pages deployment.</summary> | |||||
</member> | |||||
<member name="T:System.Web.WebPages.Deployment.WebPagesDeployment"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.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> |
@ -1,292 +0,0 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<doc> | |||||
<assembly> | |||||
<name>System.Web.WebPages.Razor</name> | |||||
</assembly> | |||||
<members> | |||||
<member name="T:System.Web.WebPages.Razor.CompilingPathEventArgs"> | |||||
<summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.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,41 @@ | |||||
<?xml version="1.0"?> | |||||
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> | |||||
<!-- If runtime tag is absent --> | |||||
<runtime xdt:Transform="InsertIfMissing"> | |||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> | |||||
</assemblyBinding> | |||||
</runtime> | |||||
<!-- If runtime tag is present, but assembly binding tag is absent --> | |||||
<runtime> | |||||
<assemblyBinding xdt:Transform="InsertIfMissing" xmlns="urn:schemas-microsoft-com:asm.v1"> | |||||
</assemblyBinding> | |||||
</runtime> | |||||
<!-- If the binding redirect is already present, the existing entry needs to be removed before inserting the new entry--> | |||||
<runtime> | |||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> | |||||
<dependentAssembly xdt:Transform="Remove" | |||||
xdt:Locator="Condition(./_defaultNamespace:assemblyIdentity/@name='System.Web.Helpers')" > | |||||
</dependentAssembly> | |||||
<dependentAssembly xdt:Transform="Remove" | |||||
xdt:Locator="Condition(./_defaultNamespace:assemblyIdentity/@name='System.Web.WebPages')" > | |||||
</dependentAssembly> | |||||
</assemblyBinding> | |||||
</runtime> | |||||
<!-- Inserting the new binding redirect --> | |||||
<runtime> | |||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> | |||||
<dependentAssembly xdt:Transform="Insert"> | |||||
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" /> | |||||
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" /> | |||||
</dependentAssembly> | |||||
<dependentAssembly xdt:Transform="Insert"> | |||||
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" /> | |||||
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" /> | |||||
</dependentAssembly> | |||||
</assemblyBinding> | |||||
</runtime> | |||||
</configuration> |
@ -0,0 +1,13 @@ | |||||
<?xml version="1.0"?> | |||||
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> | |||||
<runtime> | |||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> | |||||
<dependentAssembly xdt:Transform="Remove" | |||||
xdt:Locator="Condition(./_defaultNamespace:assemblyIdentity/@name='System.Web.Helpers')" > | |||||
</dependentAssembly> | |||||
<dependentAssembly xdt:Transform="Remove" | |||||
xdt:Locator="Condition(./_defaultNamespace:assemblyIdentity/@name='System.Web.WebPages')" > | |||||
</dependentAssembly> | |||||
</assemblyBinding> | |||||
</runtime> | |||||
</configuration> |
@ -0,0 +1,587 @@ | |||||
<?xml version="1.0"?> | |||||
<doc> | |||||
<assembly> | |||||
<name>System.Web.Helpers</name> | |||||
</assembly> | |||||
<members> | |||||
<member name="M:System.Web.Helpers.Chart.#ctor(System.Int32,System.Int32,System.String,System.String)"> | |||||
<param name="width">Chart width in pixels.</param> | |||||
<param name="height">Chart height in pixels.</param> | |||||
<param name="theme">String containing chart theme definition. Chart's theme defines properties like colors, positions, etc. | |||||
This parameter is primarily meant for one of the predefined Chart themes, however any valid chart theme is acceptable.</param> | |||||
<param name="themePath">Path to a file containing definition of chart theme, default is none.</param> | |||||
<remarks>Both the theme and themePath parameters can be specified. In this case, the Chart class applies the theme xml first | |||||
followed by the content of file at themePath. | |||||
</remarks> | |||||
<example> | |||||
Chart(100, 100, theme: ChartTheme.Blue) | |||||
Chart(100, 100, theme: ChartTheme.Vanilla, themePath: "my-theme.xml") | |||||
Chart(100, 100, theme: ".... definition inline ...." ) | |||||
Chart(100, 100, themePath: "my-theme.xml") | |||||
Any valid theme definition can be used as content of the file specified in themePath | |||||
</example> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.AddLegend(System.String,System.String)"> | |||||
<param name="title">Legend title.</param> | |||||
<param name="name">Legend name.</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)"> | |||||
<param name="name">Series name.</param> | |||||
<param name="chartType">Chart type (see: SeriesChartType).</param> | |||||
<param name="chartArea">Chart area where the series is displayed.</param> | |||||
<param name="axisLabel">Axis label for the series.</param> | |||||
<param name="legend">Legend for the series.</param> | |||||
<param name="markerStep">Axis marker step.</param> | |||||
<param name="xValue">X data source, if data-binding the series.</param> | |||||
<param name="xField">Column for the X data points, if data-binding the series.</param> | |||||
<param name="yValues">Y data source(s), if data-binding the series.</param> | |||||
<param name="yFields">Column(s) for the Y data points, if data-binding the series.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.AddTitle(System.String,System.String)"> | |||||
<param name="text">Title text.</param> | |||||
<param name="name">Title name.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.SetXAxis(System.String,System.Double,System.Double)"> | |||||
<param name="title">Title for X-axis</param> | |||||
<param name="min">The minimum value on X-axis. Default 0</param> | |||||
<param name="max">The maximum value on X-axis. Default NaN</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.SetYAxis(System.String,System.Double,System.Double)"> | |||||
<param name="title">Title for Y-axis</param> | |||||
<param name="min">The minimum value on Y-axis. Default 0</param> | |||||
<param name="max">The maximum value on Y-axis. Default NaN</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.DataBindCrossTable(System.Collections.IEnumerable,System.String,System.String,System.String,System.String,System.String)"> | |||||
<summary> | |||||
Data-binds the chart by grouping values in a series. The series will be created by the chart. | |||||
</summary> | |||||
<param name="dataSource">Chart data source.</param> | |||||
<param name="groupByField">Column which series should be grouped by.</param> | |||||
<param name="xField">Column for the X data points.</param> | |||||
<param name="yFields">Column(s) for the Y data points, separated by comma.</param> | |||||
<param name="otherFields"></param> | |||||
<param name="pointSortOrder">Sort order (see: PointSortOrder).</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.DataBindTable(System.Collections.IEnumerable,System.String)"> | |||||
<summary> | |||||
Data-binds the chart using a data source, with multiple y values supported. The series will be created by the chart. | |||||
</summary> | |||||
<param name="dataSource">Chart data source.</param> | |||||
<param name="xField">Column for the X data points.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.GetBytes(System.String)"> | |||||
<summary> | |||||
Get the bytes for the chart image. | |||||
</summary> | |||||
<param name="format">Image format (see: ChartImageFormat).</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.GetFromCache(System.String)"> | |||||
<summary> | |||||
Loads a chart from the cache. This can be used to render from an image handler. | |||||
</summary> | |||||
<param name="key">Cache key.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.Save(System.String,System.String)"> | |||||
<summary> | |||||
Saves the chart image to a file. | |||||
</summary> | |||||
<param name="path">File path.</param> | |||||
<param name="format">Chart image format (see: ChartImageFormat).</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.SaveToCache(System.String,System.Int32,System.Boolean)"> | |||||
<summary> | |||||
Saves the chart in cache. This can be used to render from an image handler. | |||||
</summary> | |||||
<param name="key">Cache key. Uses new GUID by default.</param> | |||||
<param name="minutesToCache">Number of minutes to save in cache.</param> | |||||
<param name="slidingExpiration">Whether a sliding expiration policy is used.</param> | |||||
<returns>Cache key.</returns> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.SaveXml(System.String)"> | |||||
<summary> | |||||
Saves the chart to the specified template file. | |||||
</summary> | |||||
<param name="path">XML template file path.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.SaveXml(System.Web.HttpContextBase,System.String)"> | |||||
<summary> | |||||
Saves the chart to the specified template file. | |||||
</summary> | |||||
<param name="httpContext">The <see cref="T:System.Web.HttpContextBase"/>.</param> | |||||
<param name="path">XML template file path.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.Write(System.String)"> | |||||
<summary> | |||||
Writes the chart image to the response stream. This can be used to render from an image handler. | |||||
</summary> | |||||
<param name="format">Image format (see: ChartImageFormat).</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.WriteFromCache(System.String,System.String)"> | |||||
<summary> | |||||
Writes a chart stored in cache to the response stream. This can be used to render from an image handler. | |||||
</summary> | |||||
<param name="key">Cache key.</param> | |||||
<param name="format">Image format (see: ChartImageFormat).</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.Chart.ConvertStringToChartImageFormat(System.String)"> | |||||
<summary> | |||||
Method to convert a string to a ChartImageFormat. | |||||
The chart image needs to be normalized to allow for alternate names such as 'jpg', 'xpng' etc | |||||
to be mapped to their appropriate ChartImageFormat. | |||||
</summary> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.VirtualPathUtil.MapPath(System.Web.HttpContextBase,System.String)"> | |||||
<summary> | |||||
Resolves and maps a path (physical or virtual) to a physical path on the server. | |||||
</summary> | |||||
<param name="httpContext">The <see cref="T:System.Web.HttpContextBase"/>.</param> | |||||
<param name="path">Either a physical rooted path or a virtual path to be mapped. | |||||
Physical paths are returned without modifications. Virtual paths are resolved relative to the current executing page. | |||||
</param> | |||||
<remarks>Result of this call should not be shown to the user (e.g. in an exception message) since | |||||
it could be security sensitive. But we need to pass this result to the file APIs like File.WriteAllBytes | |||||
which will show it if exceptions are raised from them. Unfortunately VirtualPathProvider doesn't have | |||||
APIs for writing so we can't use that.</remarks> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.VirtualPathUtil.ResolvePath(System.String)"> | |||||
<summary> | |||||
Resolves path relative to the current executing page | |||||
</summary> | |||||
</member> | |||||
<member name="T:Microsoft.Internal.Web.Utils.DynamicHelper"> | |||||
<summary> | |||||
Helper to evaluate different method on dynamic objects | |||||
</summary> | |||||
</member> | |||||
<member name="T:System.Web.Helpers.DynamicJavaScriptConverter"> | |||||
<summary> | |||||
Converter that knows how to get the member values from a dynamic object. | |||||
</summary> | |||||
</member> | |||||
<member name="T:System.Web.Helpers.ServerInfo"> | |||||
<summary> | |||||
Provides various info about ASP.NET server. | |||||
</summary> | |||||
</member> | |||||
<member name="F:System.Web.Helpers.ServerInfo.Style"> | |||||
<remarks> | |||||
todo: figure out right place for this | |||||
</remarks> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.ServerInfo.GetHtml"> | |||||
<summary> | |||||
Generates HTML required to display server information. | |||||
</summary> | |||||
<remarks> | |||||
HTML generated is XHTML 1.0 compliant but not XHTML 1.1 or HTML5 compliant. The reason is that we | |||||
generate <style> tag inside <body> tag, which is not allowed. This is by design for now since ServerInfo | |||||
is debugging aid and should not be used as a permanent part of any web page. | |||||
</remarks> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.ServerInfo.PrintInfoSection(System.Text.StringBuilder,System.String,System.Collections.Generic.IDictionary{System.String,System.String})"> | |||||
<summary> | |||||
Renders a table section printing out rows and columns. | |||||
</summary> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.ServerInfo.InsertWhiteSpace(System.String)"> | |||||
<summary> | |||||
Inserts spaces after ',' and ';' so table can be rendered properly. | |||||
</summary> | |||||
</member> | |||||
<member name="T:System.Web.Helpers.Resources.HelpersResources"> | |||||
<summary> | |||||
A strongly-typed resource class, for looking up localized strings, etc. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Resources.HelpersResources.ResourceManager"> | |||||
<summary> | |||||
Returns the cached ResourceManager instance used by this class. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Resources.HelpersResources.Culture"> | |||||
<summary> | |||||
Overrides the current thread's CurrentUICulture property for all | |||||
resource lookups using this strongly typed resource class. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Resources.HelpersResources.Chart_ArgumentConversionFailed"> | |||||
<summary> | |||||
Looks up a localized string similar to Argument conversion to type "{0}" failed.. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Resources.HelpersResources.Chart_ExceptionDataBindSeriesToString"> | |||||
<summary> | |||||
Looks up a localized string similar to A series cannot be data-bound to a string object.. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Resources.HelpersResources.Chart_ThemeFileNotFound"> | |||||
<summary> | |||||
Looks up a localized string similar to The theme file "{0}" could not be found.. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Resources.HelpersResources.Crypto_NotSupportedHashAlg"> | |||||
<summary> | |||||
Looks up a localized string similar to The hash algorithm '{0}' is not supported, valid values are: sha256, sha1, md5. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Resources.HelpersResources.Image_IncorrectImageFormat"> | |||||
<summary> | |||||
Looks up a localized string similar to "{0}" is invalid image format. Valid values are image format names like: "JPEG", "BMP", "GIF", "PNG", etc.. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Resources.HelpersResources.Json_UnableToConvertType"> | |||||
<summary> | |||||
Looks up a localized string similar to Unable to convert to "{0}". Use Json.Decode<T> instead.. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Resources.HelpersResources.ObjectInfo_PreviousDisplayed"> | |||||
<summary> | |||||
Looks up a localized string similar to Previously Displayed. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Resources.HelpersResources.ObjectInfo_PropertyThrewException"> | |||||
<summary> | |||||
Looks up a localized string similar to Accessing a property threw an exception: . | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Resources.HelpersResources.PathUtils_IncorrectPath"> | |||||
<summary> | |||||
Looks up a localized string similar to File path "{0}" is invalid.. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Resources.HelpersResources.ServerInfo_AdditionalInfo"> | |||||
<summary> | |||||
Looks up a localized string similar to Additional server information is available when the page is running with high trust.. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Resources.HelpersResources.ServerInfo_EnvVars"> | |||||
<summary> | |||||
Looks up a localized string similar to Environment Variables. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Resources.HelpersResources.ServerInfo_Header"> | |||||
<summary> | |||||
Looks up a localized string similar to ASP.NET Server Information. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Resources.HelpersResources.ServerInfo_HttpRuntime"> | |||||
<summary> | |||||
Looks up a localized string similar to HTTP Runtime Information. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Resources.HelpersResources.ServerInfo_LegacyCAS"> | |||||
<summary> | |||||
Looks up a localized string similar to Legacy Code Access Security. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Resources.HelpersResources.ServerInfo_LegacyCasHelpInfo"> | |||||
<summary> | |||||
Looks up a localized string similar to Legacy Code Access Security has been detected on your system. Microsoft WebPage features require the ASP.NET 4 Code Access Security model. For information about how to resolve this, contact your server administrator.. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Resources.HelpersResources.ServerInfo_NoValue"> | |||||
<summary> | |||||
Looks up a localized string similar to no value. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Resources.HelpersResources.ServerInfo_ServerConfigTable"> | |||||
<summary> | |||||
Looks up a localized string similar to Server Configuration. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Resources.HelpersResources.ServerInfo_ServerVars"> | |||||
<summary> | |||||
Looks up a localized string similar to ASP.NET Server Variables. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Resources.HelpersResources.WebGrid_ColumnNameOrFormatRequired"> | |||||
<summary> | |||||
Looks up a localized string similar to The column name cannot be null or an empty string unless a custom format is specified.. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Resources.HelpersResources.WebGrid_ColumnNotFound"> | |||||
<summary> | |||||
Looks up a localized string similar to Column "{0}" does not exist.. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Resources.HelpersResources.WebGrid_DataSourceBound"> | |||||
<summary> | |||||
Looks up a localized string similar to The WebGrid instance is already bound to a data source.. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Resources.HelpersResources.WebGrid_NoDataSourceBound"> | |||||
<summary> | |||||
Looks up a localized string similar to A data source must be bound before this operation can be performed.. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Resources.HelpersResources.WebGrid_NotSupportedIfPagingIsDisabled"> | |||||
<summary> | |||||
Looks up a localized string similar to This operation is not supported when paging is disabled for the "WebGrid" object.. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Resources.HelpersResources.WebGrid_NotSupportedIfSortingIsDisabled"> | |||||
<summary> | |||||
Looks up a localized string similar to This operation is not supported when sorting is disabled for the "WebGrid" object.. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Resources.HelpersResources.WebGrid_PagerModeMustBeEnabled"> | |||||
<summary> | |||||
Looks up a localized string similar to To use this argument, pager mode "{0}" must be enabled.. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Resources.HelpersResources.WebGrid_PropertySetterNotSupportedAfterDataBound"> | |||||
<summary> | |||||
Looks up a localized string similar to This property cannot be set after the "WebGrid" object has been sorted or paged. Make sure that this property is set prior to invoking the "Rows" property directly or indirectly through other methods such as "GetHtml", "Pager", "Table", etc.. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Resources.HelpersResources.WebGrid_RowCountNotSpecified"> | |||||
<summary> | |||||
Looks up a localized string similar to A value for "rowCount" must be specified when "autoSortAndPage" is set to true and paging is enabled.. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Resources.HelpersResources.WebGrid_SelectLinkText"> | |||||
<summary> | |||||
Looks up a localized string similar to Select. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Resources.HelpersResources.WebImage_IncorrectColorName"> | |||||
<summary> | |||||
Looks up a localized string similar to The "fontColor" value is invalid. Valid values are names like "White", "Black", or "DarkBlue", or hexadecimal values in the form "#RRGGBB" or "#RGB".. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Resources.HelpersResources.WebImage_IncorrectFontFamily"> | |||||
<summary> | |||||
Looks up a localized string similar to The "fontFamily" value is invalid. Valid values are font family names like: "Arial", "Times New Roman", etc. Make sure that the font family you are trying to use is installed on the server.. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Resources.HelpersResources.WebImage_IncorrectFontStyle"> | |||||
<summary> | |||||
Looks up a localized string similar to The "fontStyle" value is invalid. Valid values are: "Regular", "Bold", "Italic", "Underline", and "Strikeout".. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Resources.HelpersResources.WebImage_IncorrectHorizontalAlignment"> | |||||
<summary> | |||||
Looks up a localized string similar to The "horizontalAlign" value is invalid. Valid values are: "Right", "Left", and "Center".. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Resources.HelpersResources.WebImage_IncorrectVerticalAlignment"> | |||||
<summary> | |||||
Looks up a localized string similar to The "verticalAlign" value is invalid. Valid values are: "Top", "Bottom", and "Middle".. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Resources.HelpersResources.WebImage_IncorrectWidthAndHeight"> | |||||
<summary> | |||||
Looks up a localized string similar to Watermark width and height must both be positive or both be zero.. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Resources.HelpersResources.WebImage_InvalidImageContents"> | |||||
<summary> | |||||
Looks up a localized string similar to An image could not be constructed from the content provided.. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Resources.HelpersResources.WebMail_InvalidPriority"> | |||||
<summary> | |||||
Looks up a localized string similar to The "priority" value is invalid. Valid values are "Low", "Normal" and "High".. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Resources.HelpersResources.WebMail_ItemInCollectionIsNull"> | |||||
<summary> | |||||
Looks up a localized string similar to A string in the collection is null or empty.. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Resources.HelpersResources.WebMail_SmtpServerNotSpecified"> | |||||
<summary> | |||||
Looks up a localized string similar to "SmtpServer" was not specified.. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.Helpers.Resources.HelpersResources.WebMail_UnableToDetermineFrom"> | |||||
<summary> | |||||
Looks up a localized string similar to No "From" email address was specified and a default value could not be assigned.. | |||||
</summary> | |||||
</member> | |||||
<member name="T:System.Web.Helpers.PreComputedGridDataSource"> | |||||
<summary> | |||||
Source wrapper for data provided by the user that is already sorted and paged. The user provides the WebGrid the rows to bind and additionally the total number of rows that | |||||
are available. | |||||
</summary> | |||||
</member> | |||||
<member name="T:System.Web.Helpers.WebGridDataSource"> | |||||
<summary> | |||||
Default data source that sorts results if a sort column is specified. | |||||
</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)"> | |||||
<param name="source">Data source</param> | |||||
<param name="columnNames">Data source column names. Auto-populated by default.</param> | |||||
<param name="defaultSort">Default sort column.</param> | |||||
<param name="rowsPerPage">Number of rows per page.</param> | |||||
<param name="canPage"></param> | |||||
<param name="canSort"></param> | |||||
<param name="ajaxUpdateContainerId">ID for the grid's container element. This enables AJAX support.</param> | |||||
<param name="ajaxUpdateCallback">Callback function for the AJAX functionality once the update is complete</param> | |||||
<param name="fieldNamePrefix">Prefix for query string fields to support multiple grids.</param> | |||||
<param name="pageFieldName">Query string field name for page number.</param> | |||||
<param name="selectionFieldName">Query string field name for selected row number.</param> | |||||
<param name="sortFieldName">Query string field name for sort column.</param> | |||||
<param name="sortDirectionFieldName">Query string field name for sort direction.</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> | |||||
Gets the HTML for a table with a pager. | |||||
</summary> | |||||
<param name="tableStyle">Table class for styling.</param> | |||||
<param name="headerStyle">Header row class for styling.</param> | |||||
<param name="footerStyle">Footer row class for styling.</param> | |||||
<param name="rowStyle">Row class for styling (odd rows only).</param> | |||||
<param name="alternatingRowStyle">Row class for styling (even rows only).</param> | |||||
<param name="selectedRowStyle">Selected row class for styling.</param> | |||||
<param name="displayHeader">Whether the header row should be displayed.</param> | |||||
<param name="caption">The string displayed as the table caption</param> | |||||
<param name="fillEmptyRows">Whether the table can add empty rows to ensure the rowsPerPage row count.</param> | |||||
<param name="emptyRowCellValue">Value used to populate empty rows. This property is only used when <paramref name="fillEmptyRows"/> is set</param> | |||||
<param name="columns">Column model for customizing column rendering.</param> | |||||
<param name="exclusions">Columns to exclude when auto-populating columns.</param> | |||||
<param name="mode">Modes for pager rendering.</param> | |||||
<param name="firstText">Text for link to first page.</param> | |||||
<param name="previousText">Text for link to previous page.</param> | |||||
<param name="nextText">Text for link to next page.</param> | |||||
<param name="lastText">Text for link to last page.</param> | |||||
<param name="numericLinksCount">Number of numeric links that should display.</param> | |||||
<param name="htmlAttributes">An object that contains the HTML attributes to set for the element.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebGrid.Pager(System.Web.Helpers.WebGridPagerModes,System.String,System.String,System.String,System.String,System.Int32)"> | |||||
<summary> | |||||
Gets the HTML for a pager. | |||||
</summary> | |||||
<param name="mode">Modes for pager rendering.</param> | |||||
<param name="firstText">Text for link to first page.</param> | |||||
<param name="previousText">Text for link to previous page.</param> | |||||
<param name="nextText">Text for link to next page.</param> | |||||
<param name="lastText">Text for link to last page.</param> | |||||
<param name="numericLinksCount">Number of numeric links that should display.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebGrid.Pager(System.Web.Helpers.WebGridPagerModes,System.String,System.String,System.String,System.String,System.Int32,System.Boolean)"> | |||||
<param name="mode">Modes for pager rendering.</param> | |||||
<param name="firstText">Text for link to first page.</param> | |||||
<param name="previousText">Text for link to previous page.</param> | |||||
<param name="nextText">Text for link to next page.</param> | |||||
<param name="lastText">Text for link to last page.</param> | |||||
<param name="numericLinksCount">Number of numeric links that should display.</param> | |||||
<param name="explicitlyCalled">The Pager can be explicitly called by the public API or is called by the WebGrid when no footer is provided. | |||||
In the explicit scenario, we would need to render a container for the pager to allow identifying the pager links. | |||||
In the implicit scenario, the grid table would be the container. | |||||
</param> | |||||
</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> | |||||
Gets the HTML for a table with a pager. | |||||
</summary> | |||||
<param name="tableStyle">Table class for styling.</param> | |||||
<param name="headerStyle">Header row class for styling.</param> | |||||
<param name="footerStyle">Footer row class for styling.</param> | |||||
<param name="rowStyle">Row class for styling (odd rows only).</param> | |||||
<param name="alternatingRowStyle">Row class for styling (even rows only).</param> | |||||
<param name="selectedRowStyle">Selected row class for styling.</param> | |||||
<param name="caption">The table caption</param> | |||||
<param name="displayHeader">Whether the header row should be displayed.</param> | |||||
<param name="fillEmptyRows">Whether the table can add empty rows to ensure the rowsPerPage row count.</param> | |||||
<param name="emptyRowCellValue">Value used to populate empty rows. This property is only used when <paramref name="fillEmptyRows"/> is set</param> | |||||
<param name="columns">Column model for customizing column rendering.</param> | |||||
<param name="exclusions">Columns to exclude when auto-populating columns.</param> | |||||
<param name="footer">Table footer template.</param> | |||||
<param name="htmlAttributes">An object that contains the HTML attributes to set for the element.</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebGrid.AddSorter``2(System.String,System.Linq.Expressions.Expression{System.Func{``0,``1}})"> | |||||
<summary> | |||||
Adds a specific sort function for a given column. | |||||
</summary> | |||||
<typeparam name="TElement">The type of elements in the grid's source.</typeparam> | |||||
<typeparam name="TProperty">The column type, usually inferred from the keySelector function's return type.</typeparam> | |||||
<param name="columnName">The column name (as used for sorting)</param> | |||||
<param name="keySelector">The function used to select a key to sort by, for each element in the grid's source.</param> | |||||
<returns>The current grid, with the new custom sorter applied.</returns> | |||||
<example> | |||||
<code> | |||||
var grid = new WebGrid(items) | |||||
.AddSorter("Manager.Name", (Employee x) => (x == null || x.Manager == null) ? null : x.Manager.Name); | |||||
</code> | |||||
</example> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebGrid.EnsureColumnIsSortable(System.Collections.Generic.IEnumerable{System.Web.Helpers.WebGridColumn})"> | |||||
<param name="columns">The set of columns that are rendered to the client.</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 text watermark to a WebImage. | |||||
</summary> | |||||
<param name="text">Text to use as a watermark.</param> | |||||
<param name="fontColor">Watermark color. Can be specified as a string (e.g. "White") or as a hex value (e.g. "#00FF00").</param> | |||||
<param name="fontSize">Font size in points.</param> | |||||
<param name="fontStyle">Font style: bold, italics, etc.</param> | |||||
<param name="fontFamily">Font family name: e.g. Microsoft Sans Serif</param> | |||||
<param name="horizontalAlign">Horizontal alignment for watermark text. Can be "right", "left", or "center".</param> | |||||
<param name="verticalAlign">Vertical alignment for watermark text. Can be "top", "bottom", or "middle".</param> | |||||
<param name="opacity">Watermark text opacity. Should be between 0 and 100.</param> | |||||
<param name="padding">Size of padding around watermark text in pixels.</param> | |||||
<returns>Modified WebImage instance with added watermark.</returns> | |||||
</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 image watermark to an image. | |||||
</summary> | |||||
<param name="watermarkImage">Image to use as a watermark.</param> | |||||
<param name="width">Width of watermark.</param> | |||||
<param name="height">Height of watermark.</param> | |||||
<param name="horizontalAlign">Horizontal alignment for watermark image. Can be "right", "left", or "center".</param> | |||||
<param name="verticalAlign">Vertical alignment for watermark image. Can be "top", "bottom", or "middle".</param> | |||||
<param name="opacity">Watermark text opacity. Should be between 0 and 100.</param> | |||||
<param name="padding">Size of padding around watermark image in pixels.</param> | |||||
<returns>Modified WebImage instance with added watermark.</returns> | |||||
</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 image watermark to an image. | |||||
</summary> | |||||
<param name="watermarkImageFilePath">File to read watermark image from.</param> | |||||
<param name="width">Width of watermark.</param> | |||||
<param name="height">Height of watermark.</param> | |||||
<param name="horizontalAlign">Horizontal alignment for watermark image. Can be "right", "left", or "center".</param> | |||||
<param name="verticalAlign">Vertical alignment for watermark image. Can be "top", "bottom", or "middle".</param> | |||||
<param name="opacity">Watermark text opacity. Should be between 0 and 100.</param> | |||||
<param name="padding">Size of padding around watermark image in pixels.</param> | |||||
<returns>WebImage instance with added watermark.</returns> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebImage.Save(System.String,System.String,System.Boolean)"> | |||||
<param name="filePath">If no filePath is specified, the method falls back to the file name if the image was constructed from a file or | |||||
the file name on the client (the browser machine) if the image was built off GetImageFromRequest | |||||
</param> | |||||
<param name="imageFormat">The format the image is saved in</param> | |||||
<param name="forceCorrectExtension">Appends a well known extension to the filePath based on the imageFormat specified. | |||||
If the filePath uses a valid extension, no change is made. | |||||
e.g. format: "jpg", filePath: "foo.txt". Image saved at = "foo.txt.jpeg" | |||||
format: "png", filePath: "foo.png". Image saved at = "foo.txt.png" | |||||
</param> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebImage.ValidateImageContent(System.Byte[],System.String)"> | |||||
<summary> | |||||
Constructs a System.Drawing.Image instance from the content which validates the contents of the image. | |||||
</summary> | |||||
<exception cref="T:System.ArgumentException">When an Image construction fails.</exception> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebImage.GetBitmapFromImage(System.Drawing.Image,System.Int32,System.Int32,System.Boolean)"> | |||||
<remarks>Caller has to dispose of returned Bitmap object.</remarks> | |||||
</member> | |||||
<member name="F:System.Web.Helpers.WebMail._actionableHeaders"> | |||||
<summary> | |||||
MailMessage dictates that headers values that have equivalent properties would be discarded or overwritten. The list of values is available at | |||||
http://msdn.microsoft.com/en-us/library/system.net.mail.mailmessage.aspx | |||||
</summary> | |||||
</member> | |||||
<member name="M:System.Web.Helpers.WebMail.TryParseHeader(System.String,System.String@,System.String@)"> | |||||
<summary> | |||||
Parses a SMTP Mail header of the format "name: value" | |||||
</summary> | |||||
<returns>True if the header was parsed.</returns> | |||||
</member> | |||||
</members> | |||||
</doc> |
@ -0,0 +1,231 @@ | |||||
<?xml version="1.0"?> | |||||
<doc> | |||||
<assembly> | |||||
<name>System.Web.WebPages.Deployment</name> | |||||
</assembly> | |||||
<members> | |||||
<member name="T:Microsoft.Internal.Web.Utils.CommonResources"> | |||||
<summary> | |||||
A strongly-typed resource class, for looking up localized strings, etc. | |||||
</summary> | |||||
</member> | |||||
<member name="P:Microsoft.Internal.Web.Utils.CommonResources.ResourceManager"> | |||||
<summary> | |||||
Returns the cached ResourceManager instance used by this class. | |||||
</summary> | |||||
</member> | |||||
<member name="P:Microsoft.Internal.Web.Utils.CommonResources.Culture"> | |||||
<summary> | |||||
Overrides the current thread's CurrentUICulture property for all | |||||
resource lookups using this strongly typed resource class. | |||||
</summary> | |||||
</member> | |||||
<member name="P:Microsoft.Internal.Web.Utils.CommonResources.Argument_Cannot_Be_Null_Or_Empty"> | |||||
<summary> | |||||
Looks up a localized string similar to Value cannot be null or an empty string.. | |||||
</summary> | |||||
</member> | |||||
<member name="P:Microsoft.Internal.Web.Utils.CommonResources.Argument_Must_Be_Between"> | |||||
<summary> | |||||
Looks up a localized string similar to Value must be between {0} and {1}.. | |||||
</summary> | |||||
</member> | |||||
<member name="P:Microsoft.Internal.Web.Utils.CommonResources.Argument_Must_Be_Enum_Member"> | |||||
<summary> | |||||
Looks up a localized string similar to Value must be a value from the "{0}" enumeration.. | |||||
</summary> | |||||
</member> | |||||
<member name="P:Microsoft.Internal.Web.Utils.CommonResources.Argument_Must_Be_GreaterThan"> | |||||
<summary> | |||||
Looks up a localized string similar to Value must be greater than {0}.. | |||||
</summary> | |||||
</member> | |||||
<member name="P:Microsoft.Internal.Web.Utils.CommonResources.Argument_Must_Be_GreaterThanOrEqualTo"> | |||||
<summary> | |||||
Looks up a localized string similar to Value must be greater than or equal to {0}.. | |||||
</summary> | |||||
</member> | |||||
<member name="P:Microsoft.Internal.Web.Utils.CommonResources.Argument_Must_Be_LessThan"> | |||||
<summary> | |||||
Looks up a localized string similar to Value must be less than {0}.. | |||||
</summary> | |||||
</member> | |||||
<member name="P:Microsoft.Internal.Web.Utils.CommonResources.Argument_Must_Be_LessThanOrEqualTo"> | |||||
<summary> | |||||
Looks up a localized string similar to Value must be less than or equal to {0}.. | |||||
</summary> | |||||
</member> | |||||
<member name="P:Microsoft.Internal.Web.Utils.CommonResources.Argument_Must_Be_Null_Or_Non_Empty"> | |||||
<summary> | |||||
Looks up a localized string similar to Value cannot be an empty string. It must either be null or a non-empty string.. | |||||
</summary> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Deployment.AssemblyUtils.GetVersionFromBin(System.String,Microsoft.Internal.Web.Utils.IFileSystem,System.Func{System.String,System.Reflection.AssemblyName})"> | |||||
<summary> | |||||
Returns the version of a System.Web.WebPages.Deployment.dll if it is present in the bin and matches the name and | |||||
public key token of the current assembly. | |||||
</summary> | |||||
<returns>Version from bin if present, null otherwise.</returns> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Deployment.BuildManagerWrapper.ReadCachedFile(System.String)"> | |||||
<summary> | |||||
Reads a special cached file from %WindDir%\Microsoft.NET\Framework\vx.x\ASP.NET Temporary Files\<x>\<y>\UserCache that is | |||||
available across AppDomain recycles. | |||||
</summary> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Deployment.BuildManagerWrapper.CreateCachedFile(System.String)"> | |||||
<summary> | |||||
Creates or opens a special cached file that is created under %WindDir%\Microsoft.NET\Framework\vx.x\ASP.NET Temporary Files\<x>\<y>\UserCache that is | |||||
available across AppDomain recycles. | |||||
</summary> | |||||
</member> | |||||
<member name="T:System.Web.WebPages.Deployment.Resources.ConfigurationResources"> | |||||
<summary> | |||||
A strongly-typed resource class, for looking up localized strings, etc. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.WebPages.Deployment.Resources.ConfigurationResources.ResourceManager"> | |||||
<summary> | |||||
Returns the cached ResourceManager instance used by this class. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.WebPages.Deployment.Resources.ConfigurationResources.Culture"> | |||||
<summary> | |||||
Overrides the current thread's CurrentUICulture property for all | |||||
resource lookups using this strongly typed resource class. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.WebPages.Deployment.Resources.ConfigurationResources.InstallPathNotFound"> | |||||
<summary> | |||||
Looks up a localized string similar to The "InstallPath" name was not found in the Web Pages registry key "{0}".. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.WebPages.Deployment.Resources.ConfigurationResources.WebPagesImplicitVersionFailure"> | |||||
<summary> | |||||
Looks up a localized string similar to Could not determine which version of ASP.NET Web Pages to use. | |||||
In order to use this site, specify a version in the site’s web.config file. For more information, see the following article on the Microsoft support site: http://go.microsoft.com/fwlink/?LinkId=254126. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.WebPages.Deployment.Resources.ConfigurationResources.WebPagesRegistryKeyDoesNotExist"> | |||||
<summary> | |||||
Looks up a localized string similar to The Web Pages registry key "{0}" does not exist.. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.WebPages.Deployment.Resources.ConfigurationResources.WebPagesVersionChanges"> | |||||
<summary> | |||||
Looks up a localized string similar to Changes were detected in the Web Pages runtime version that require your application to be recompiled. Refresh your browser window to continue.. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.WebPages.Deployment.Resources.ConfigurationResources.WebPagesVersionConflict"> | |||||
<summary> | |||||
Looks up a localized string similar to Conflicting versions of ASP.NET Web Pages detected: specified version is "{0}", but the version in bin is "{1}". To continue, remove files from the application's bin directory or remove the version specification in web.config.. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.WebPages.Deployment.Resources.ConfigurationResources.WebPagesVersionNotFound"> | |||||
<summary> | |||||
Looks up a localized string similar to Specified Web Pages version "{0}" could not be found. Update your web.config to specify a different version. Current version: "{1}".. | |||||
</summary> | |||||
</member> | |||||
<member name="F:System.Web.WebPages.Deployment.WebPagesDeployment.ForceRecompilationFile"> | |||||
<summary> | |||||
File name for a temporary file that we drop in bin to force recompilation. | |||||
</summary> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Deployment.WebPagesDeployment.GetVersionWithoutEnabledCheck(System.String)"> | |||||
<param name="path">Physical or virtual path to a directory where we need to determine the version of WebPages to be used.</param> | |||||
<remarks> | |||||
In a non-hosted scenario, this method would only look at a web.config that is present at the current path. Any config settings at an | |||||
ancestor directory would not be considered. | |||||
If we are unable to determine a version, we would assume that this is a v1 app. | |||||
</remarks> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Deployment.WebPagesDeployment.GetObsoleteVersionInternal(System.String,System.Collections.Specialized.NameValueCollection,Microsoft.Internal.Web.Utils.IFileSystem)"> | |||||
<remarks> | |||||
This is meant to test an obsolete method. Don't use this! | |||||
</remarks> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Deployment.WebPagesDeployment.IsEnabled(System.String)"> | |||||
<summary> | |||||
Determines if Asp.Net Web Pages is enabled. | |||||
Web Pages is enabled if there's a webPages:Enabled key in AppSettings is set to "true" or if there's a cshtml file in the current path | |||||
and the key is not present. | |||||
</summary> | |||||
<param name="path">The path at which to determine if web pages is enabled.</param> | |||||
<remarks> | |||||
In a non-hosted scenario, this method would only look at a web.config that is present at the current path. Any config settings at an | |||||
ancestor directory would not be considered. | |||||
</remarks> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Deployment.WebPagesDeployment.IsExplicitlyDisabled(System.String)"> | |||||
<remarks> | |||||
In a non-hosted scenario, this method would only look at a web.config that is present at the current path. Any config settings at an | |||||
ancestor directory would not be considered. | |||||
</remarks> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Deployment.WebPagesDeployment.GetEnabled(System.Collections.Specialized.NameValueCollection)"> | |||||
<summary> | |||||
Returns the value for webPages:Enabled AppSetting value in web.config. | |||||
</summary> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Deployment.WebPagesDeployment.GetVersionInternal(System.Collections.Specialized.NameValueCollection,System.Version,System.Version)"> | |||||
<summary> | |||||
Returns the version of WebPages to be used for a specified path. | |||||
</summary> | |||||
<remarks> | |||||
This method would always returns a value regardless of web pages is explicitly disabled (via config) or implicitly disabled (by virtue of not having a cshtml file) at | |||||
the specified path. | |||||
</remarks> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Deployment.WebPagesDeployment.GetAssemblyPath(System.Version)"> | |||||
<summary> | |||||
Gets full path to a folder that contains ASP.NET WebPages assemblies for a given version. Used by | |||||
WebMatrix and Visual Studio so they know what to copy to an app's Bin folder or deploy to a hoster. | |||||
</summary> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Deployment.WebPagesDeployment.GetBinDirectory(System.String)"> | |||||
<summary> | |||||
HttpRuntime.BinDirectory is unavailable in design time and throws if we try to access it. To workaround this, if we aren't hosted, | |||||
we will assume that the path that was passed to us is the application root. | |||||
</summary> | |||||
<param name="path"></param> | |||||
<returns></returns> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Deployment.WebPagesDeployment.GetPreviousRuntimeVersion(System.Web.WebPages.Deployment.IBuildManager)"> | |||||
<summary> | |||||
Reads a previously persisted version number from build manager's cached directory. | |||||
</summary> | |||||
<returns>Null if a previous version number does not exist or is not a valid version number, read version number otherwise.</returns> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Deployment.WebPagesDeployment.PersistRuntimeVersion(System.Web.WebPages.Deployment.IBuildManager,System.Version)"> | |||||
<summary> | |||||
Persists the version number in a file under the build manager's cached directory. | |||||
</summary> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Deployment.WebPagesDeployment.ForceRecompile(Microsoft.Internal.Web.Utils.IFileSystem,System.String)"> | |||||
<summary> | |||||
Forces recompilation of the application by dropping a file under bin. | |||||
</summary> | |||||
<param name="fileSystem">File system instance used to write a file to bin directory.</param> | |||||
<param name="binDirectory">Path to bin directory of the application</param> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Deployment.WebPagesDeployment.GetCachedFileName"> | |||||
<summary> | |||||
Name of the the temporary file used by BuildManager.CreateCachedFile / BuildManager.ReadCachedFile where we cache WebPages's version number. | |||||
</summary> | |||||
<returns></returns> | |||||
</member> | |||||
<member name="F:System.Web.WebPages.Deployment.PreApplicationStartCode.ToolingIndicatorKey"> | |||||
<summary> | |||||
Key used to indicate to tooling that the compile exception we throw to refresh the app domain originated from us so that they can deal with it correctly. | |||||
</summary> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Deployment.PreApplicationStartCode.InvalidateCompilationResultsIfVersionChanged(System.Web.WebPages.Deployment.IBuildManager,Microsoft.Internal.Web.Utils.IFileSystem,System.String,System.Version)"> | |||||
<summary> | |||||
WebPages stores the version to be compiled against in AppSettings as >add key="webpages:version" value="1.0" /<. | |||||
Changing values AppSettings does not cause recompilation therefore we could run into a state where we have files compiled against v1 but the application is | |||||
currently v2. | |||||
</summary> | |||||
</member> | |||||
</members> | |||||
</doc> |
@ -0,0 +1,111 @@ | |||||
<?xml version="1.0"?> | |||||
<doc> | |||||
<assembly> | |||||
<name>System.Web.WebPages.Razor</name> | |||||
</assembly> | |||||
<members> | |||||
<member name="T:Microsoft.Internal.Web.Utils.CommonResources"> | |||||
<summary> | |||||
A strongly-typed resource class, for looking up localized strings, etc. | |||||
</summary> | |||||
</member> | |||||
<member name="P:Microsoft.Internal.Web.Utils.CommonResources.ResourceManager"> | |||||
<summary> | |||||
Returns the cached ResourceManager instance used by this class. | |||||
</summary> | |||||
</member> | |||||
<member name="P:Microsoft.Internal.Web.Utils.CommonResources.Culture"> | |||||
<summary> | |||||
Overrides the current thread's CurrentUICulture property for all | |||||
resource lookups using this strongly typed resource class. | |||||
</summary> | |||||
</member> | |||||
<member name="P:Microsoft.Internal.Web.Utils.CommonResources.Argument_Cannot_Be_Null_Or_Empty"> | |||||
<summary> | |||||
Looks up a localized string similar to Value cannot be null or an empty string.. | |||||
</summary> | |||||
</member> | |||||
<member name="P:Microsoft.Internal.Web.Utils.CommonResources.Argument_Must_Be_Between"> | |||||
<summary> | |||||
Looks up a localized string similar to Value must be between {0} and {1}.. | |||||
</summary> | |||||
</member> | |||||
<member name="P:Microsoft.Internal.Web.Utils.CommonResources.Argument_Must_Be_Enum_Member"> | |||||
<summary> | |||||
Looks up a localized string similar to Value must be a value from the "{0}" enumeration.. | |||||
</summary> | |||||
</member> | |||||
<member name="P:Microsoft.Internal.Web.Utils.CommonResources.Argument_Must_Be_GreaterThan"> | |||||
<summary> | |||||
Looks up a localized string similar to Value must be greater than {0}.. | |||||
</summary> | |||||
</member> | |||||
<member name="P:Microsoft.Internal.Web.Utils.CommonResources.Argument_Must_Be_GreaterThanOrEqualTo"> | |||||
<summary> | |||||
Looks up a localized string similar to Value must be greater than or equal to {0}.. | |||||
</summary> | |||||
</member> | |||||
<member name="P:Microsoft.Internal.Web.Utils.CommonResources.Argument_Must_Be_LessThan"> | |||||
<summary> | |||||
Looks up a localized string similar to Value must be less than {0}.. | |||||
</summary> | |||||
</member> | |||||
<member name="P:Microsoft.Internal.Web.Utils.CommonResources.Argument_Must_Be_LessThanOrEqualTo"> | |||||
<summary> | |||||
Looks up a localized string similar to Value must be less than or equal to {0}.. | |||||
</summary> | |||||
</member> | |||||
<member name="P:Microsoft.Internal.Web.Utils.CommonResources.Argument_Must_Be_Null_Or_Non_Empty"> | |||||
<summary> | |||||
Looks up a localized string similar to Value cannot be an empty string. It must either be null or a non-empty string.. | |||||
</summary> | |||||
</member> | |||||
<member name="E:System.Web.WebPages.Razor.RazorBuildProvider.CodeGenerationStartedInternal"> | |||||
<summary> | |||||
For unit testing. | |||||
</summary> | |||||
</member> | |||||
<member name="E:System.Web.WebPages.Razor.RazorBuildProvider._codeGenerationCompletedInternal"> | |||||
<summary> | |||||
For unit testing | |||||
</summary> | |||||
</member> | |||||
<member name="M:System.Web.WebPages.Razor.WebPageRazorHost.AddGlobalImport(System.String)"> | |||||
<summary> | |||||
Adds a namespace to the global imports list for this AppDomain | |||||
</summary> | |||||
<remarks> | |||||
IMPORTANT: ALL uses of WebPageRazorHost (and derived classes) within the same AppDomain will share this list. | |||||
Therefore this method should only be used in runtime scenarios, not in design-time scenarios where the Razor | |||||
data structures for multiple files and projects may be shared within a single AppDomain. | |||||
</remarks> | |||||
<param name="ns">The namespace to add to the global imports list.</param> | |||||
</member> | |||||
<member name="T:System.Web.WebPages.Razor.Resources.RazorWebResources"> | |||||
<summary> | |||||
A strongly-typed resource class, for looking up localized strings, etc. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.WebPages.Razor.Resources.RazorWebResources.ResourceManager"> | |||||
<summary> | |||||
Returns the cached ResourceManager instance used by this class. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.WebPages.Razor.Resources.RazorWebResources.Culture"> | |||||
<summary> | |||||
Overrides the current thread's CurrentUICulture property for all | |||||
resource lookups using this strongly typed resource class. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.WebPages.Razor.Resources.RazorWebResources.BuildProvider_No_CodeLanguageService_For_Path"> | |||||
<summary> | |||||
Looks up a localized string similar to Could not determine the code language for "{0}".. | |||||
</summary> | |||||
</member> | |||||
<member name="P:System.Web.WebPages.Razor.Resources.RazorWebResources.Could_Not_Locate_FactoryType"> | |||||
<summary> | |||||
Looks up a localized string similar to Could not locate Razor Host Factory type: {0}. | |||||
</summary> | |||||
</member> | |||||
</members> | |||||
</doc> |