760 lines
39 KiB
XML
760 lines
39 KiB
XML
<?xml version="1.0"?>
|
|
<doc>
|
|
<assembly>
|
|
<name>Portoa.Web</name>
|
|
</assembly>
|
|
<members>
|
|
<member name="T:Portoa.Web.Filters.OverrideStatusCodeFilter">
|
|
<summary>
|
|
If the result implements <see cref="T:Portoa.Web.Filters.IStatusOverridable"/>, then the HTTP status
|
|
code on the <c>Response</c> will be set according to the value of
|
|
<see cref="P:Portoa.Web.Filters.IStatusOverridable.StatusCode"/>
|
|
</summary>
|
|
</member>
|
|
<member name="T:Portoa.Web.Controllers.IErrorController">
|
|
<summary>
|
|
Signifies that this controller can handle errors that aren't handled by
|
|
application code
|
|
</summary>
|
|
</member>
|
|
<member name="M:Portoa.Web.Controllers.IErrorController.Unknown">
|
|
<summary>
|
|
Executed when an unknown error occurs
|
|
</summary>
|
|
</member>
|
|
<member name="M:Portoa.Web.Controllers.IErrorController.NotFound">
|
|
<summary>
|
|
Executed when a page is not found
|
|
</summary>
|
|
</member>
|
|
<member name="M:Portoa.Web.Controllers.IErrorController.Forbidden">
|
|
<summary>
|
|
Executed when the user is forbidden from seeing the requested page
|
|
</summary>
|
|
</member>
|
|
<member name="T:Portoa.Web.Models.ResolveWithContainerModelBinder`1">
|
|
<summary>
|
|
Model binder that uses an <c>IUnityContainer</c> to resolve the model binder designated by
|
|
<typeparamref name="T"/> which will do the actual model binding
|
|
</summary>
|
|
<typeparam name="T">The model binder to resolve</typeparam>
|
|
<seealso cref="T:Portoa.Web.Models.ResolveWithServiceProviderModelBinder`1"/>
|
|
</member>
|
|
<member name="M:Portoa.Web.Models.ResolveWithContainerModelBinder`1.#ctor(Microsoft.Practices.Unity.IUnityContainer)">
|
|
<param name="container">The container to use to resolve the model binder</param>
|
|
</member>
|
|
<member name="T:Portoa.Web.Models.ResolveWithServiceProviderModelBinder`1">
|
|
<summary>
|
|
Model binder that uses a service provider to resolve the model binder designated by
|
|
<typeparamref name="T"/> which will do the actual model binding
|
|
</summary>
|
|
<typeparam name="T">The model binder to resolve</typeparam>
|
|
<seealso cref="T:Portoa.Web.Models.ResolveWithContainerModelBinder`1"/>
|
|
</member>
|
|
<member name="M:Portoa.Web.Models.ResolveWithServiceProviderModelBinder`1.#ctor(System.IServiceProvider)">
|
|
<param name="serviceProvider">The service provider to use to resolve the model binder</param>
|
|
</member>
|
|
<member name="M:Portoa.Web.Util.TagBuilderExtensions.ToMvcHtmlString(System.Web.Mvc.TagBuilder,System.Web.Mvc.TagRenderMode)">
|
|
<summary>
|
|
Gets the HTML-safe string representation of the tag. Thanks, Microsoft, for making
|
|
this method internal; it was really helpful.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Portoa.Web.Util.HtmlHelperExtensions.Submit(System.Web.Mvc.HtmlHelper,System.String,System.String,System.Object)">
|
|
<summary>
|
|
Creates a submit button with the specified button text, input name and HTML attributes
|
|
</summary>
|
|
<param name="buttonText">The text to display on the submit button</param>
|
|
<param name="name">The name of the input</param>
|
|
<param name="htmlAttributes">Anonymous object with HTML attribute values</param>
|
|
</member>
|
|
<member name="M:Portoa.Web.Util.HtmlHelperExtensions.Label(System.Web.Mvc.HtmlHelper,System.String,System.String,System.Object)">
|
|
<summary>
|
|
Creates a label with the specified text for the specified reference tag
|
|
</summary>
|
|
<param name="labelText">The text/HTML to display inside the label</param>
|
|
<param name="htmlFor">The reference ID of the labeled node (e.g. the value of the "for" attribute)</param>
|
|
<param name="htmlAttributes">The HTML attributes</param>
|
|
</member>
|
|
<member name="M:Portoa.Web.Util.HtmlHelperExtensions.LabelFor``2(System.Web.Mvc.HtmlHelper{``0},System.Linq.Expressions.Expression{System.Func{``0,``1}},System.Object)">
|
|
<summary>
|
|
Creates a label for the model property identified by <paramref name="expression"/>, applying
|
|
the given <paramref name="htmlAttributes">HTML attributes</paramref>
|
|
</summary>
|
|
<param name="expression">A lambda expression identifying the model property to create a label for</param>
|
|
<param name="htmlAttributes">Any extra HTML attributes that should be applied to the <c><label></c> tag</param>
|
|
</member>
|
|
<member name="M:Portoa.Web.Util.HtmlHelperExtensions.Button(System.Web.Mvc.HtmlHelper,System.String,System.Object)">
|
|
<summary>
|
|
Creates a button with the specified display text and the specified custom HTML attributes
|
|
</summary>
|
|
<param name="displayText">The text that the button will display</param>
|
|
<param name="htmlAttributes">Any additional HTML attributes for the input tag</param>
|
|
</member>
|
|
<member name="T:Portoa.Web.Security.IAuthenticationService">
|
|
<summary>
|
|
Service for authenticating users
|
|
</summary>
|
|
</member>
|
|
<member name="M:Portoa.Web.Security.IAuthenticationService.Login(System.String)">
|
|
<summary>
|
|
Logs in the specified user with the specified username
|
|
</summary>
|
|
</member>
|
|
<member name="M:Portoa.Web.Security.IAuthenticationService.Logout">
|
|
<summary>
|
|
Logs out the currently logged in user
|
|
</summary>
|
|
</member>
|
|
<member name="M:Portoa.Web.Security.IAuthenticationService.IsValid(System.String,System.String)">
|
|
<summary>
|
|
Determines if a user identified by the given username and password
|
|
is a valid user in the system
|
|
</summary>
|
|
</member>
|
|
<member name="T:Portoa.Web.Models.EnumBinder`1">
|
|
<remarks>
|
|
Adapted from http://eliasbland.wordpress.com/2009/08/08/enumeration-model-binder-for-asp-net-mvc/
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Portoa.Web.ErrorHandling.ErrorViewResult">
|
|
<summary>
|
|
Represents a view for when an error occurs
|
|
</summary>
|
|
</member>
|
|
<member name="T:Portoa.Web.Filters.IStatusOverridable">
|
|
<summary>
|
|
Enables action results to override the HTTP status code
|
|
</summary>
|
|
</member>
|
|
<member name="P:Portoa.Web.Filters.IStatusOverridable.StatusCode">
|
|
<summary>
|
|
Gets or sets the new HTTP status code for the result
|
|
</summary>
|
|
</member>
|
|
<member name="P:Portoa.Web.ErrorHandling.ErrorViewResult.Message">
|
|
<summary>
|
|
Gets or sets the error message
|
|
</summary>
|
|
</member>
|
|
<member name="P:Portoa.Web.ErrorHandling.ErrorViewResult.Error">
|
|
<summary>
|
|
Gets or sets the error that occurred
|
|
</summary>
|
|
</member>
|
|
<member name="P:Portoa.Web.ErrorHandling.ErrorViewResult.ModelCreator">
|
|
<summary>
|
|
Gets or sets the delegate to create the error model. By default it creates
|
|
an instance of <see cref="T:Portoa.Web.ErrorHandling.ErrorModel">ErrorModel</see>. The first argument
|
|
(the exception) can be null.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Portoa.Web.ErrorHandling.ApplicationErrorHandler">
|
|
<summary>
|
|
Handles global application-wide errors that don't get caught by
|
|
normal means
|
|
</summary>
|
|
</member>
|
|
<member name="M:Portoa.Web.ErrorHandling.ApplicationErrorHandler.#ctor(Portoa.Logging.ILogger,System.Web.HttpContextBase)">
|
|
<param name="logger">The system's logger</param>
|
|
<param name="context">The current <c>HttpContext</c></param>
|
|
</member>
|
|
<member name="M:Portoa.Web.ErrorHandling.ApplicationErrorHandler.HandleError(System.Exception,Portoa.Web.Controllers.IErrorController)">
|
|
<summary>
|
|
Handles global application errors by invoking the specified error controller
|
|
</summary>
|
|
<param name="exception">The exception that caused the error</param>
|
|
<param name="errorController">The controller to use handle errors</param>
|
|
</member>
|
|
<member name="T:Portoa.Web.Models.FlagEnumModelBinder`1">
|
|
<summary>
|
|
Binds an enumeration annotated with the <c>FlagsAttribute</c>
|
|
</summary>
|
|
<remarks>
|
|
Adapted from http://blog.nathan-taylor.net/2010/06/aspnet-mvc-flags-enumeration-model.html
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Portoa.Web.ErrorHandling.IErrorResultFactory">
|
|
<summary>
|
|
Represents an object that can create error results
|
|
</summary>
|
|
<seealso cref="T:Portoa.Web.Controllers.DefaultErrorController"/>
|
|
</member>
|
|
<member name="M:Portoa.Web.ErrorHandling.IErrorResultFactory.CreateResult(System.Net.HttpStatusCode)">
|
|
<summary>
|
|
Creates an <c>ActionResult</c> for error actions
|
|
</summary>
|
|
<param name="statusCode">The status code for the result</param>
|
|
</member>
|
|
<member name="T:Portoa.Web.Models.JsonResponse">
|
|
<summary>
|
|
Represents a simple, consistent object to use for AJAX responses
|
|
</summary>
|
|
</member>
|
|
<member name="P:Portoa.Web.Models.JsonResponse.Error">
|
|
<summary>
|
|
Gets or sets the error message that occurred. If <c>null</c>, it's assumed
|
|
that no error occurred.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Portoa.Web.Models.JsonResponse.Data">
|
|
<summary>
|
|
Gets or sets any extra data the client may be expecting. This value should
|
|
not be null.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Portoa.Web.Util.NoTempDataProvider">
|
|
<summary> This class exists to get rid of the SessionState and TempData error. Just google it. </summary>
|
|
</member>
|
|
<member name="M:Portoa.Web.Util.NoTempDataProvider.SaveTempData(System.Web.Mvc.ControllerContext,System.Collections.Generic.IDictionary{System.String,System.Object})">
|
|
<summary> Don't use this method, it's only here to prevent you from using it. </summary>
|
|
</member>
|
|
<member name="M:Portoa.Web.Models.ModelBinderDictionaryExtensions.Add``2(System.Web.Mvc.ModelBinderDictionary)">
|
|
<summary>
|
|
Maps the type <typeparamref name="T"/> to the binder type <typeparamref name="TBinder"/>.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Portoa.Web.Models.ModelBinderDictionaryExtensions.Add``2(System.Web.Mvc.ModelBinderDictionary,System.IServiceProvider)">
|
|
<summary>
|
|
Maps the type <typeparamref name="T"/> to the binder type <typeparamref name="TBinder"/>
|
|
using the <paramref name="serviceProvider"/> to resolve the binder
|
|
</summary>
|
|
<see cref="T:Portoa.Web.Models.ResolveWithServiceProviderModelBinder`1"/>
|
|
</member>
|
|
<member name="M:Portoa.Web.Models.ModelBinderDictionaryExtensions.Add``2(System.Web.Mvc.ModelBinderDictionary,Microsoft.Practices.Unity.IUnityContainer)">
|
|
<summary>
|
|
Maps the type <typeparamref name="T"/> to the binder type <typeparamref name="TBinder"/>
|
|
using the <paramref name="container"/> to resolve the binder
|
|
</summary>
|
|
<see cref="T:Portoa.Web.Models.ResolveWithContainerModelBinder`1"/>
|
|
</member>
|
|
<member name="T:Portoa.Web.Unity.LogAllMethodCalls">
|
|
<summary>
|
|
Logs all interceptable method calls via the <see cref="T:Portoa.Web.Unity.LoggerCallHandler"/>
|
|
</summary>
|
|
</member>
|
|
<member name="T:Portoa.Web.Unity.Matching.PropertyGetOrSet">
|
|
<summary>
|
|
Matching rule that matches compiler-generated methods for property
|
|
getters and setters
|
|
</summary>
|
|
</member>
|
|
<member name="T:Portoa.Web.Unity.ILog4NetConfigurator">
|
|
<summary>
|
|
Exposes an interface to configure log4net
|
|
</summary>
|
|
</member>
|
|
<member name="M:Portoa.Web.Unity.ILog4NetConfigurator.SetName(System.String)">
|
|
<summary>
|
|
Sets the name of the logger to retrieve
|
|
</summary>
|
|
<param name="loggerName">Name of the logger to use</param>
|
|
</member>
|
|
<member name="M:Portoa.Web.Unity.ILog4NetConfigurator.UseXml(System.String)">
|
|
<summary>
|
|
Uses the <c>XmlConfigurator</c> to configure log4net
|
|
</summary>
|
|
<param name="filename">Optional filename to watch, otherwise it uses the default</param>
|
|
</member>
|
|
<member name="T:Portoa.Web.Unity.ConfigureLog4Net">
|
|
<summary>
|
|
Configures the application to use log4net
|
|
</summary>
|
|
</member>
|
|
<member name="T:Portoa.Web.Session.ISessionStore">
|
|
<summary>
|
|
Provides an interface for interacting with session data
|
|
</summary>
|
|
</member>
|
|
<member name="P:Portoa.Web.Session.ISessionStore.Item(System.String)">
|
|
<summary>
|
|
Gets or sets an item from the backing store
|
|
</summary>
|
|
<param name="key">The key of the item to retrieve</param>
|
|
<returns>The value stored in the specified key, or null if no such key exists</returns>
|
|
</member>
|
|
<member name="M:Portoa.Web.Unity.UnityContainerExtensions.AddExtensionOnce``1(Microsoft.Practices.Unity.IUnityContainer)">
|
|
<summary>
|
|
Adds an extension if it hasn't already been registered with the container
|
|
</summary>
|
|
</member>
|
|
<member name="M:Portoa.Web.Unity.UnityContainerExtensions.AnyAreRegistered(Microsoft.Practices.Unity.IUnityContainer,System.Type[])">
|
|
<summary>
|
|
Determines whether any of the given types are registered in the container
|
|
</summary>
|
|
</member>
|
|
<member name="M:Portoa.Web.Unity.UnityContainerExtensions.AllAreRegistered(Microsoft.Practices.Unity.IUnityContainer,System.Type[])">
|
|
<summary>
|
|
Determines if all of the given types are registered in the container
|
|
</summary>
|
|
<param name="container"></param>
|
|
<param name="types"></param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:Portoa.Web.Unity.UnityContainerExtensions.RegisterInterfaceAndIntercept``2(Microsoft.Practices.Unity.IUnityContainer,Microsoft.Practices.Unity.LifetimeManager,Microsoft.Practices.Unity.InjectionMember[])">
|
|
<summary>
|
|
Registers the type and configures an <see cref="T:Microsoft.Practices.Unity.InterceptionExtension.InterfaceInterceptor"/> for
|
|
<typeparamref name="TFrom"/>
|
|
</summary>
|
|
<typeparam name="TFrom">This must be an interface type</typeparam>
|
|
<typeparam name="TTo">The type to resolve the interface to</typeparam>
|
|
</member>
|
|
<member name="M:Portoa.Web.Unity.UnityContainerExtensions.RegisterInterfaceAndIntercept``1(Microsoft.Practices.Unity.IUnityContainer,Microsoft.Practices.Unity.LifetimeManager,Microsoft.Practices.Unity.InjectionMember[])">
|
|
<summary>
|
|
Registers the interface type and configures interception for it
|
|
</summary>
|
|
</member>
|
|
<member name="M:Portoa.Web.Unity.UnityContainerExtensions.RegisterAndIntercept``2(Microsoft.Practices.Unity.IUnityContainer,Microsoft.Practices.Unity.LifetimeManager,Microsoft.Practices.Unity.InjectionMember[])">
|
|
<summary>
|
|
Registers the type and configures interception for it
|
|
</summary>
|
|
</member>
|
|
<member name="M:Portoa.Web.Unity.UnityContainerExtensions.RegisterAndIntercept``1(Microsoft.Practices.Unity.IUnityContainer,Microsoft.Practices.Unity.LifetimeManager,Microsoft.Practices.Unity.InjectionMember[])">
|
|
<summary>
|
|
Registers the type and configures interception for it
|
|
</summary>
|
|
</member>
|
|
<member name="M:Portoa.Web.Unity.UnityContainerExtensions.RegisterAndIntercept``1(Microsoft.Practices.Unity.IUnityContainer,``0,Microsoft.Practices.Unity.LifetimeManager)">
|
|
<summary>
|
|
Registers the instance and configures interception for it
|
|
</summary>
|
|
</member>
|
|
<member name="M:Portoa.Web.Unity.UnityContainerExtensions.RegisterInterfaceAndIntercept(Microsoft.Practices.Unity.IUnityContainer,System.Type,System.Type,Microsoft.Practices.Unity.LifetimeManager,Microsoft.Practices.Unity.InjectionMember[])">
|
|
<summary>
|
|
Registers the type and configures interception for it
|
|
</summary>
|
|
<param name="typeFrom">This must be an interface type</param>
|
|
</member>
|
|
<member name="M:Portoa.Web.Unity.UnityContainerExtensions.RegisterAndIntercept(Microsoft.Practices.Unity.IUnityContainer,System.Type,System.Type,Microsoft.Practices.Unity.LifetimeManager,Microsoft.Practices.Unity.InjectionMember[])">
|
|
<summary>
|
|
Registers the type and configures interception for it
|
|
</summary>
|
|
</member>
|
|
<member name="T:Portoa.Web.Unity.Matching.InstanceOf`1">
|
|
<summary>
|
|
Matching rule where a member is match if it is assignable from <typeparamref name="T"/>
|
|
</summary>
|
|
<typeparam name="T">The base class/interface to match against</typeparam>
|
|
</member>
|
|
<member name="T:Portoa.Web.ErrorHandling.ErrorWithUserResultFactory`1">
|
|
<summary>
|
|
<c cref="T:Portoa.Web.ErrorHandling.IErrorResultFactory">Error result factory</c> that returns a result suitable
|
|
for HTML views strongly typed to <c cref="T:Portoa.Web.ErrorHandling.ErrorModel`1">ErrorModel<T></c>
|
|
</summary>
|
|
<see cref="T:Portoa.Web.ErrorHandling.ErrorViewResult"/>
|
|
<typeparam name="T">The user type</typeparam>
|
|
</member>
|
|
<member name="M:Portoa.Web.ErrorHandling.ErrorWithUserResultFactory`1.#ctor(`0)">
|
|
<param name="user">The currently logged in user</param>
|
|
</member>
|
|
<member name="T:Portoa.Web.ErrorHandling.ErrorViewResultFactory">
|
|
<summary>
|
|
<c cref="T:Portoa.Web.ErrorHandling.IErrorResultFactory">Error result factory</c> that returns a result suitable
|
|
for HTML views strongly typed to <c cref="T:Portoa.Web.ErrorHandling.ErrorModel">ErrorModel</c>
|
|
</summary>
|
|
<see cref="T:Portoa.Web.ErrorHandling.ErrorViewResult"/>
|
|
</member>
|
|
<member name="T:Portoa.Web.Session.HttpSessionStore">
|
|
<summary>
|
|
Session store that uses the current <c>HttpContext</c>
|
|
</summary>
|
|
</member>
|
|
<member name="T:Portoa.Web.Controllers.DefaultErrorController">
|
|
<summary>
|
|
Controller for handling and displaying errors that aren't handled by application code
|
|
</summary>
|
|
</member>
|
|
<member name="M:Portoa.Web.Controllers.DefaultErrorController.#ctor(Portoa.Web.ErrorHandling.IErrorResultFactory)">
|
|
<param name="errorResultFactory">The factory to use to create the action results</param>
|
|
</member>
|
|
<member name="T:Portoa.Web.Unity.UnitOfWorkCallHandler">
|
|
<summary>
|
|
Call handler that wraps a method call in a unit of work
|
|
</summary>
|
|
<seealso cref="T:Portoa.Persistence.UnitOfWorkAttribute"/>
|
|
<seealso cref="T:Portoa.Persistence.IUnitOfWork"/>
|
|
</member>
|
|
<member name="T:Portoa.Web.Unity.LoggerCallHandler">
|
|
<summary>
|
|
Performs automatic logging of method calls and returns while respecting <see cref="T:Portoa.Logging.DoNotLogAttribute"/>
|
|
</summary>
|
|
</member>
|
|
<member name="M:Portoa.Web.Unity.LoggerCallHandler.FormatString(System.String)">
|
|
<summary>
|
|
Truncates a string to 150 characters in a pretty way, if necessary
|
|
</summary>
|
|
</member>
|
|
<member name="T:Portoa.Web.ErrorHandling.ErrorModel`1">
|
|
<summary>
|
|
Generic model for displaying errors where the currently logged in user is needed
|
|
</summary>
|
|
<typeparam name="T">The user type</typeparam>
|
|
</member>
|
|
<member name="T:Portoa.Web.ErrorHandling.ErrorModel">
|
|
<summary>
|
|
Generic model for displaying errors
|
|
</summary>
|
|
</member>
|
|
<member name="P:Portoa.Web.ErrorHandling.ErrorModel.Exception">
|
|
<summary>
|
|
Gets or sets the exception that occurred
|
|
</summary>
|
|
</member>
|
|
<member name="P:Portoa.Web.ErrorHandling.ErrorModel`1.User">
|
|
<summary>
|
|
Gets or sets the currently logged in user, or <c>null</c> if no one is logged in
|
|
</summary>
|
|
</member>
|
|
<member name="M:Portoa.Web.Controllers.ControllerExtensions.ValidationErrorsToString(System.Web.Mvc.Controller)">
|
|
<summary>
|
|
Gets all model state errors as a line feed-delimited string
|
|
</summary>
|
|
</member>
|
|
<member name="M:Portoa.Web.Controllers.ControllerExtensions.CreateJsonErrorResponse(System.Web.Mvc.Controller,System.String)">
|
|
<summary>
|
|
Creates a JSON response if an error occurred, appending all <see cref="P:System.Web.Mvc.Controller.ModelState"/> errors
|
|
to the response object
|
|
</summary>
|
|
<param name="errorMessage">The error message to display to the user, this value cannot be null</param>
|
|
<see cref="M:Portoa.Web.Controllers.ControllerExtensions.CreateJsonResponse(System.Web.Mvc.Controller,System.String,System.Object)"/>
|
|
</member>
|
|
<member name="M:Portoa.Web.Controllers.ControllerExtensions.CreateJsonErrorResponse(System.Web.Mvc.Controller,System.Exception)">
|
|
<summary>
|
|
Creates a JSON response from an <c>Exception</c>
|
|
</summary>
|
|
<see cref="M:Portoa.Web.Controllers.ControllerExtensions.CreateJsonResponse(System.Web.Mvc.Controller,System.String,System.Object)"/>
|
|
<seealso cref="M:Portoa.Web.Controllers.ControllerExtensions.CreateJsonErrorResponse(System.Web.Mvc.Controller,System.String)"/>
|
|
</member>
|
|
<member name="M:Portoa.Web.Controllers.ControllerExtensions.CreateJsonResponse(System.Web.Mvc.Controller,System.String,System.Object)">
|
|
<summary>
|
|
Creates a JSON response object
|
|
</summary>
|
|
<param name="errorMessage">The error message to display to the user (<c>null</c> if no error occurred)</param>
|
|
<param name="data">Any extra data that needs to be passed to the client</param>
|
|
<see cref="T:Portoa.Web.Models.JsonResponse"/>
|
|
</member>
|
|
<member name="M:Portoa.Web.Controllers.ControllerExtensions.DoNotUseTempData(System.Web.Mvc.Controller)">
|
|
<summary>
|
|
Sets up the temporary data provider so that it won't barf with Session errors
|
|
</summary>
|
|
<seealso cref="T:Portoa.Web.Util.NoTempDataProvider"/>
|
|
</member>
|
|
<member name="T:Portoa.Web.MvcApplicationBase`1">
|
|
<summary>
|
|
Base for an MVC application using Unity/NHibernate
|
|
</summary>
|
|
<typeparam name="T">The user type</typeparam>
|
|
</member>
|
|
<member name="F:Portoa.Web.MvcApplicationBase`1.Container">
|
|
<summary>
|
|
The container associated with this application
|
|
</summary>
|
|
</member>
|
|
<member name="M:Portoa.Web.MvcApplicationBase`1.HandleApplicationError(System.Exception)">
|
|
<summary>
|
|
Handles uncaught application exceptions; default implementation uses
|
|
<see cref="T:Portoa.Web.ErrorHandling.ApplicationErrorHandler"/> and <see cref="T:Portoa.Web.Controllers.DefaultErrorController"/> to
|
|
display errors
|
|
</summary>
|
|
<param name="exception">The uncaught exception</param>
|
|
</member>
|
|
<member name="M:Portoa.Web.MvcApplicationBase`1.AfterStartUp">
|
|
<summary>
|
|
Override to perform any extra startup tasks; default implementation does nothing
|
|
</summary>
|
|
</member>
|
|
<member name="M:Portoa.Web.MvcApplicationBase`1.ConfigureModelBinders(System.Web.Mvc.ModelBinderDictionary)">
|
|
<summary>
|
|
Override to configure the model binders for the application; default implementation
|
|
does nothing
|
|
</summary>
|
|
</member>
|
|
<member name="M:Portoa.Web.MvcApplicationBase`1.CreateNHibernateConfiguration(Microsoft.Practices.Unity.IUnityContainer)">
|
|
<summary>
|
|
Creates the configuration used for NHibernate; default implementation uses the default
|
|
NHibernate configuration, and sets a custom interceptor. The configuration can be retrieved
|
|
outside of this method (if needed) via the container. Do not call this method directly.
|
|
</summary>
|
|
<seealso cref="T:Portoa.NHibernate.BuildWithProviderInterceptor"/>
|
|
</member>
|
|
<member name="M:Portoa.Web.MvcApplicationBase`1.RegisterRoutes(System.Web.Routing.RouteCollection)">
|
|
<summary>
|
|
Registers any routes for the application; default implementation registers nothing
|
|
</summary>
|
|
</member>
|
|
<member name="M:Portoa.Web.MvcApplicationBase`1.RegisterAreas">
|
|
<summary>
|
|
Registers any applicable areas; default implementations calls
|
|
<c>AreaRegistration.RegisterAllAreas()</c>
|
|
</summary>
|
|
</member>
|
|
<member name="M:Portoa.Web.MvcApplicationBase`1.ConfigureControllerFactory">
|
|
<summary>
|
|
Configures the controller factory; default implementation uses Unity to
|
|
resolve each controller with a custom action invoker
|
|
</summary>
|
|
<see cref="T:Portoa.Web.Controllers.InjectableFilterActionInvoker"/>
|
|
</member>
|
|
<member name="M:Portoa.Web.MvcApplicationBase`1.ConfigureUnity">
|
|
<summary>
|
|
Performs any application-specific configuration for Unity; default implementation
|
|
does nothing
|
|
</summary>
|
|
</member>
|
|
<member name="M:Portoa.Web.MvcApplicationBase`1.ConfigureUnityExtensions">
|
|
<summary>
|
|
Adds extensions to the container; default implementation does nothing
|
|
</summary>
|
|
</member>
|
|
<member name="M:Portoa.Web.MvcApplicationBase`1.OnApplicationEnd">
|
|
<summary>
|
|
Performs any needed cleanup when the application ends; default implementation
|
|
does nothing. Be aware that the <c cref="F:Portoa.Web.MvcApplicationBase`1.Container">container</c> gets disposed of
|
|
later.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Portoa.Web.Controllers.ContainerControllerFactory">
|
|
<summary>
|
|
Uses an <c>IUnityContainer</c> to create controllers
|
|
</summary>
|
|
</member>
|
|
<member name="T:Portoa.Web.Controllers.IInjectableControllerFactory">
|
|
<summary>
|
|
<c cref="T:System.Web.Mvc.IControllerFactory">IControllerFactory</c> that provides a mechanism to perform injection
|
|
on the controller after it is instantiated
|
|
</summary>
|
|
</member>
|
|
<member name="E:Portoa.Web.Controllers.IInjectableControllerFactory.OnControllerInstantiated">
|
|
<summary>
|
|
Event that fires after a controller is instantiated
|
|
</summary>
|
|
</member>
|
|
<member name="T:Portoa.Web.Unity.Matching.Not`1">
|
|
<summary>
|
|
Negates a matching rule
|
|
</summary>
|
|
<typeparam name="T">The type of matching rule to negate</typeparam>
|
|
</member>
|
|
<member name="T:Portoa.Web.Unity.Matching.Not">
|
|
<summary>
|
|
Negates a matching rule
|
|
</summary>
|
|
</member>
|
|
<member name="M:Portoa.Web.Unity.Matching.Not.#ctor(Microsoft.Practices.Unity.InterceptionExtension.IMatchingRule)">
|
|
<param name="ruleToNegate">The matching rule to negate</param>
|
|
</member>
|
|
<member name="T:Portoa.Web.Unity.ContainerResolvingServiceProvider">
|
|
<summary>
|
|
Service provider that uses an <c>IUnityContainer</c> to instantiate and locate services
|
|
</summary>
|
|
</member>
|
|
<member name="M:Portoa.Web.Unity.CallHandlerExtensions.GetInstanceMethodInfo(Microsoft.Practices.Unity.InterceptionExtension.IMethodInvocation)">
|
|
<summary>
|
|
Gets the MethodInfo associated with the actual object instance
|
|
in a CallHandler's method invocation
|
|
</summary>
|
|
</member>
|
|
<member name="M:Portoa.Web.Unity.CallHandlerExtensions.GetParameters(Microsoft.Practices.Unity.InterceptionExtension.IParameterCollection)">
|
|
<summary>
|
|
LINQifies an annoying IParameterCollection
|
|
</summary>
|
|
</member>
|
|
<member name="T:Portoa.Web.Unity.ApplyUnityConfigurationSection">
|
|
<summary>
|
|
Reads the app config and applies the Unity configuration, if applicable
|
|
</summary>
|
|
</member>
|
|
<member name="T:Portoa.Web.Models.PagingMenuModel">
|
|
<summary>
|
|
Model for displaying a paging menu
|
|
</summary>
|
|
</member>
|
|
<member name="M:Portoa.Web.Models.PagingMenuModel.#ctor(Portoa.Web.Models.PagedModel)">
|
|
<param name="pagedModel">The model used for displaying the paged data</param>
|
|
</member>
|
|
<member name="T:Portoa.Web.Models.PagedModel">
|
|
<summary>
|
|
Model for displaying data that should be paged
|
|
</summary>
|
|
</member>
|
|
<member name="P:Portoa.Web.Models.PagedModel.CurrentPage">
|
|
<summary>
|
|
Gets or sets the current page number (starting from 1)
|
|
</summary>
|
|
</member>
|
|
<member name="P:Portoa.Web.Models.PagedModel.Start">
|
|
<summary>
|
|
Gets the starting point of the current page
|
|
</summary>
|
|
</member>
|
|
<member name="P:Portoa.Web.Models.PagedModel.ActualEnd">
|
|
<summary>
|
|
Gets the actual ending point of the current page
|
|
</summary>
|
|
</member>
|
|
<member name="P:Portoa.Web.Models.PagedModel.End">
|
|
<summary>
|
|
Gets the theoretical ending point of the current page
|
|
</summary>
|
|
</member>
|
|
<member name="P:Portoa.Web.Models.PagedModel.TotalPages">
|
|
<summary>
|
|
Gets the total number of pages in the set
|
|
</summary>
|
|
</member>
|
|
<member name="P:Portoa.Web.Models.PagedModel.TotalCount">
|
|
<summary>
|
|
Gets or sets the total number of records
|
|
</summary>
|
|
</member>
|
|
<member name="P:Portoa.Web.Models.PagedModel.PageSize">
|
|
<summary>
|
|
Gets the page size
|
|
</summary>
|
|
</member>
|
|
<member name="P:Portoa.Web.Models.PagedModel.HasPrevious">
|
|
<summary>
|
|
Gets whether or not a previous page is possible
|
|
</summary>
|
|
</member>
|
|
<member name="P:Portoa.Web.Models.PagedModel.HasNext">
|
|
<summary>
|
|
Gets whether or not a next page is possible
|
|
</summary>
|
|
</member>
|
|
<member name="P:Portoa.Web.Models.PagedModel.Records">
|
|
<summary>
|
|
Gets or sets filtered record set; <c>Count()</c> should be less than or equal to the <see cref="P:Portoa.Web.Models.PagedModel.PageSize">page size</see>
|
|
</summary>
|
|
</member>
|
|
<member name="T:Portoa.Web.Models.PagedModel`1">
|
|
<summary>
|
|
Strongly-typed model for displaying data that is paged
|
|
</summary>
|
|
<typeparam name="T">The type of data to be paged</typeparam>
|
|
</member>
|
|
<member name="T:Portoa.Web.Validation.FileTypeAttribute">
|
|
<summary>
|
|
Verifies that an uploaded file has a certain mimetype
|
|
</summary>
|
|
</member>
|
|
<member name="P:Portoa.Web.Validation.FileTypeAttribute.MimeType">
|
|
<summary>
|
|
Gets or sets the expected mimetype (i.e. text/plain, image/png, etc.)
|
|
</summary>
|
|
</member>
|
|
<member name="T:Portoa.Web.Validation.FileLengthAttribute">
|
|
<summary>
|
|
Verifies that an uploaded file's length lies within a range
|
|
</summary>
|
|
</member>
|
|
<member name="M:Portoa.Web.Validation.FileLengthAttribute.#ctor(System.Int32)">
|
|
<param name="maxLength">The (inclusive) maximum length of the uploaded file</param>
|
|
</member>
|
|
<member name="P:Portoa.Web.Validation.FileLengthAttribute.MaxLength">
|
|
<summary>
|
|
Gets or sets the (inclusive) maximum length of the uploaded file
|
|
</summary>
|
|
</member>
|
|
<member name="P:Portoa.Web.Validation.FileLengthAttribute.MinLength">
|
|
<summary>
|
|
Gets or sets the (inclusive) minimum length of the uploaded file
|
|
</summary>
|
|
</member>
|
|
<member name="T:Portoa.Web.Results.StatusOverrideResult">
|
|
<summary>
|
|
<c>ActionResult</c> decorator that enables you to override the HTTP status code
|
|
</summary>
|
|
<see cref="T:Portoa.Web.Filters.OverrideStatusCodeFilter"/>
|
|
</member>
|
|
<member name="T:Portoa.Web.Unity.Matching.HasAttribute`1">
|
|
<summary>
|
|
Matching rule that matches when a method is annotated with an attribute
|
|
</summary>
|
|
<typeparam name="T">The attribute to match against</typeparam>
|
|
</member>
|
|
<member name="T:Portoa.Web.Unity.Lifetime.PerRequestLifetimeManager">
|
|
<summary>
|
|
<see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> whose lifetime lasts as long as the HTTP request.
|
|
The object is stored in <c>HttpContext.Current.Items</c>, keyed by a <see cref="T:System.Guid"/>.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Portoa.Web.Unity.Lifetime.ExplicitlyDisposableLifetimeManager`1">
|
|
<summary>
|
|
<see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> decorator that allows you to explicitly control
|
|
how the object disposes (useful for 3rd-party objects that do not implement
|
|
<see cref="T:System.IDisposable"/>)
|
|
</summary>
|
|
</member>
|
|
<member name="M:Portoa.Web.Unity.Lifetime.ExplicitlyDisposableLifetimeManager`1.#ctor(Microsoft.Practices.Unity.LifetimeManager,System.Action{`0})">
|
|
<param name="lifetimeManager">The <c>LifetimeManager</c> to decorate</param>
|
|
<param name="dispose">Action to call when the value is removed to dispose of the object</param>
|
|
</member>
|
|
<member name="M:Portoa.Web.Util.HttpRequestBaseExtensions.Get``1(System.Web.HttpRequestBase,System.String)">
|
|
<summary>
|
|
Gets an object from the request variables, or its default value if
|
|
the key does not exist
|
|
</summary>
|
|
<typeparam name="T">The type to convert the value to</typeparam>
|
|
<param name="key">The request key of the object to retrieve</param>
|
|
</member>
|
|
<member name="M:Portoa.Web.Util.ControllerContextExtensions.GetFromRequest``1(System.Web.Mvc.ControllerContext,System.String)">
|
|
<summary>
|
|
Gets a value from the request and casts it to the specified type
|
|
</summary>
|
|
</member>
|
|
<member name="M:Portoa.Web.Util.ControllerContextExtensions.GetFromRequest(System.Web.Mvc.ControllerContext,System.String)">
|
|
<summary>
|
|
Gets a value from the request
|
|
</summary>
|
|
</member>
|
|
<member name="M:Portoa.Web.Util.ControllerContextExtensions.AddModelError(System.Web.Mvc.ControllerContext,System.String,System.String)">
|
|
<summary>
|
|
Adds an error to the model state
|
|
</summary>
|
|
</member>
|
|
<member name="T:Portoa.Web.Unity.NeedsBuildUpAttribute">
|
|
<summary>
|
|
Indicates that an object needs to be built up by the container
|
|
</summary>
|
|
<see cref="T:Portoa.Web.Controllers.InjectableFilterActionInvoker"/>
|
|
</member>
|
|
<member name="M:Portoa.Web.Util.FilterInfoExtensions.Flatten(System.Web.Mvc.FilterInfo)">
|
|
<summary>
|
|
Flattens a <c>FilterInfo</c> object into a single <c>IEnumerable</c> containing
|
|
the <c>ActionFilter</c>, <c>ExceptionFilter</c>, <c>ResultFilter</c> and
|
|
<c>AuthorizationFilter</c> collections
|
|
</summary>
|
|
</member>
|
|
<member name="T:Portoa.Web.Controllers.InjectableFilterActionInvoker">
|
|
<summary>
|
|
Enables you to dynamically add filters to a ControllerActionInvoker. This class will also
|
|
perform injection on all filters that are annotated with NeedsBuildUpAttribute.
|
|
</summary>
|
|
<remarks> Adapted from http://blog.ploeh.dk/2009/12/01/GlobalErrorHandlingInASPNETMVC.aspx </remarks>
|
|
</member>
|
|
<member name="M:Portoa.Web.Controllers.InjectableFilterActionInvoker.GetFilters(System.Web.Mvc.ControllerContext,System.Web.Mvc.ActionDescriptor)">
|
|
<summary>
|
|
Overridden to add the new filters to the default filters
|
|
</summary>
|
|
</member>
|
|
<member name="T:Portoa.Web.Controllers.ServiceProviderControllerFactory">
|
|
<summary>
|
|
Controller factory that uses a service provider to resolve controllers
|
|
</summary>
|
|
</member>
|
|
<member name="T:Portoa.Web.Security.ICurrentUserProvider`1">
|
|
<summary>
|
|
Provides an interface for identifying the current user
|
|
</summary>
|
|
<typeparam name="T">The user type</typeparam>
|
|
</member>
|
|
<member name="P:Portoa.Web.Security.ICurrentUserProvider`1.CurrentUser">
|
|
<summary>
|
|
Returns the user currently performing actions on the site, or <c>null</c>
|
|
if the user cannot be identified
|
|
</summary>
|
|
</member>
|
|
</members>
|
|
</doc>
|