modify sample
This commit is contained in:
@@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 14
|
||||
VisualStudioVersion = 14.0.25420.1
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutofacWihtAOP", "AutofacWihtAOP\AutofacWihtAOP.csproj", "{7E255C44-A965-4B58-8249-74426F6B72D7}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutofacWithAOP", "AutofacWihtAOP\AutofacWithAOP.csproj", "{7E255C44-A965-4B58-8249-74426F6B72D7}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
|
||||
<s:Int64 x:Key="/Default/CodeStyle/Naming/CSharpAutoNaming/AutoNamingCompletedVersion/@EntryValue">2</s:Int64>
|
||||
<s:Boolean x:Key="/Default/CodeStyle/Naming/CSharpAutoNaming/IsNamingAutoDetectionCompleted/@EntryValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/CodeStyle/Naming/CSharpAutoNaming/IsNotificationDisabled/@EntryValue">True</s:Boolean></wpf:ResourceDictionary>
|
||||
<s:Boolean x:Key="/Default/CodeStyle/Naming/CSharpAutoNaming/IsNotificationDisabled/@EntryValue">True</s:Boolean>
|
||||
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/AutoDetectedNamingRules/=Locals/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /></s:String>
|
||||
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/AutoDetectedNamingRules/=Method/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" /></s:String>
|
||||
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/AutoDetectedNamingRules/=Parameters/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /></s:String>
|
||||
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/AutoDetectedNamingRules/=TypesAndNamespaces/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" /></s:String></wpf:ResourceDictionary>
|
||||
@@ -1,6 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" />
|
||||
</startup>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.5.0.0" newVersion="4.5.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Autofac" publicKeyToken="17863af14b0044da" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
</configuration>
|
||||
@@ -7,11 +7,12 @@
|
||||
<ProjectGuid>{7E255C44-A965-4B58-8249-74426F6B72D7}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>AutofacWihtAOP</RootNamespace>
|
||||
<AssemblyName>AutofacWihtAOP</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
||||
<RootNamespace>AutofacWithAOP</RootNamespace>
|
||||
<AssemblyName>AutofacWithAOP</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
@@ -41,19 +42,59 @@
|
||||
<HintPath>..\packages\Autofac.Extras.DynamicProxy.4.5.0\lib\net45\Autofac.Extras.DynamicProxy.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Autofac.Integration.WebApi, Version=4.2.0.0, Culture=neutral, PublicKeyToken=17863af14b0044da, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Autofac.WebApi2.4.2.0\lib\net45\Autofac.Integration.WebApi.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Castle.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Castle.Core.4.3.1\lib\net45\Castle.Core.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="FluentValidation, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7de548da2fbae0f0, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\FluentValidation.8.1.3\lib\net45\FluentValidation.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="MongoDB.Bson, Version=2.7.3.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MongoDB.Bson.2.7.3\lib\net45\MongoDB.Bson.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Newtonsoft.Json.4.5.11\lib\net40\Newtonsoft.Json.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.ComponentModel.Annotations, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.ComponentModel.Annotations.4.4.1\lib\net461\System.ComponentModel.Annotations.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.ComponentModel.DataAnnotations" />
|
||||
<Reference Include="System.ComponentModel.Primitives, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.ComponentModel.Primitives.4.3.0\lib\net45\System.ComponentModel.Primitives.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.Configuration" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Net.Http.Formatting, Version=5.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.AspNet.WebApi.Client.5.2.0\lib\net45\System.Net.Http.Formatting.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.ValueTuple.4.5.0\lib\net461\System.ValueTuple.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.Http, Version=5.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.AspNet.WebApi.Core.5.2.0\lib\net45\System.Web.Http.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="Xuenn.Lib.CommonUtility">
|
||||
<HintPath>libs\Xuenn.Lib.CommonUtility.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="FieldAttribute.cs" />
|
||||
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace AutofacWihtAOP
|
||||
namespace AutofacWithAOP
|
||||
{
|
||||
public class FieldAttribute : Attribute
|
||||
{
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
using System;
|
||||
|
||||
namespace AutofacWihtAOP
|
||||
namespace AutofacWithAOP
|
||||
{
|
||||
public class FunctionAttribute : Attribute
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public string FunctionName { get; set; }
|
||||
public string FunctionType { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,8 +1,10 @@
|
||||
namespace AutofacWihtAOP
|
||||
using AutofacWihtAOP;
|
||||
|
||||
namespace AutofacWithAOP
|
||||
{
|
||||
public interface ILogService
|
||||
{
|
||||
LogModel GetLastLog(LogFilter filter);
|
||||
void AddLog(LogModel model);
|
||||
AuditLogModel GetLastLog(LogFilter filter);
|
||||
void AddLog(AuditLogModel model);
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace AutofacWihtAOP
|
||||
namespace AutofacWithAOP
|
||||
{
|
||||
public interface IUserService
|
||||
{
|
||||
|
||||
@@ -1,9 +1,18 @@
|
||||
namespace AutofacWihtAOP
|
||||
using AutofacWihtAOP;
|
||||
|
||||
namespace AutofacWithAOP
|
||||
{
|
||||
public class LogFilter
|
||||
{
|
||||
public string FunctionName { get; set; }
|
||||
public string FieldName { get; set; }
|
||||
public string UserCode { get; set; }
|
||||
|
||||
public bool LogCondition(AuditLogModel x)
|
||||
{
|
||||
return x.FieldName == FieldName &&
|
||||
x.FunctionName == FunctionName &&
|
||||
x.UserCode == UserCode;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3,11 +3,14 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
using AutofacWihtAOP;
|
||||
using Castle.DynamicProxy;
|
||||
using Xuenn.Lib.CommonUtility.Interceptors;
|
||||
|
||||
namespace AutofacWihtAOP
|
||||
namespace AutofacWithAOP
|
||||
{
|
||||
public class LogInterceptor : IInterceptor
|
||||
|
||||
public class LogInterceptor : InterceptorBase
|
||||
{
|
||||
private ILogService _logService;
|
||||
|
||||
@@ -16,42 +19,42 @@ namespace AutofacWihtAOP
|
||||
_logService = logservice;
|
||||
}
|
||||
|
||||
public void Intercept(IInvocation invocation)
|
||||
protected override void OnExcuted(IInvocation invocation)
|
||||
{
|
||||
var models = invocation.Arguments.Where(Ext.IsAttributeType<FunctionAttribute>);
|
||||
|
||||
var selectMany = models.SelectMany(x=> x.GetType().GetPropertiesBy<FieldAttribute>(),
|
||||
(model,prop)=> new
|
||||
var props = models.SelectMany(x => x.GetType().GetPropertiesBy<FieldAttribute>(),
|
||||
(model, prop) => new
|
||||
{
|
||||
CurrentValue = prop.GetValue(model),
|
||||
FieldName = prop.GetAttributeValue((FieldAttribute z) => z.Name),
|
||||
FieldName = prop
|
||||
.GetAttributeValue((FieldAttribute attr) => attr.Name),
|
||||
functionName = model.GetType()
|
||||
.GetAttributeValue((FunctionAttribute attr) => attr.Name)
|
||||
.GetAttributeValue((FunctionAttribute attr) => attr.FunctionName)
|
||||
});
|
||||
|
||||
foreach (var prop in selectMany)
|
||||
foreach (var prop in props)
|
||||
{
|
||||
|
||||
var lastLog = _logService.GetLastLog(new LogFilter()
|
||||
AuditLogModel lastLog = _logService.GetLastLog(new LogFilter()
|
||||
{
|
||||
FieldName = prop.FieldName,
|
||||
FunctionName = prop.functionName
|
||||
FunctionName = prop.functionName,
|
||||
UserCode = "Dnaiel"
|
||||
});
|
||||
|
||||
var logModel = new LogModel()
|
||||
AuditLogModel logModel = new AuditLogModel()
|
||||
{
|
||||
UserCode = "Dnaiel",
|
||||
FunctionName = prop.functionName,
|
||||
FieldName = prop.FieldName,
|
||||
NewValue = prop.CurrentValue?.ToString()
|
||||
NewValue = prop.CurrentValue?.ToString(),
|
||||
OldValue = lastLog != null ? lastLog.NewValue :string.Empty
|
||||
};
|
||||
|
||||
if (lastLog != null)
|
||||
logModel.OldValue = lastLog.NewValue;
|
||||
else
|
||||
logModel.OldValue = string.Empty;
|
||||
|
||||
if (logModel?.NewValue != logModel.OldValue)
|
||||
_logService.AddLog(logModel);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,19 +1,22 @@
|
||||
using System;
|
||||
using MongoDB.Bson;
|
||||
using MongoDB.Bson.Serialization.Attributes;
|
||||
|
||||
namespace AutofacWihtAOP
|
||||
{
|
||||
public class LogModel
|
||||
public class AuditLogModel
|
||||
{
|
||||
public DateTime CreateDate { get; set; } = DateTime.Now;
|
||||
|
||||
public string OldValue { get; set; }
|
||||
|
||||
public string NewValue { get; set; }
|
||||
|
||||
[BsonId]
|
||||
public ObjectId ID { get; set; }
|
||||
public int UserID { get; set; }
|
||||
public string UserCode { get; set; }
|
||||
|
||||
public string FunctionName { get; set; }
|
||||
|
||||
public string FieldName { get; set; }
|
||||
public string FunctionName { get; set; }
|
||||
public string Action { get; set; }
|
||||
public string OldValue { get; set; }
|
||||
public string NewValue { get; set; }
|
||||
public string Remark { get; set; }
|
||||
public string IP { get; set; }
|
||||
public DateTime CreateDate { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,21 +1,20 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using AutofacWihtAOP;
|
||||
|
||||
namespace AutofacWihtAOP
|
||||
namespace AutofacWithAOP
|
||||
{
|
||||
public class LogService : ILogService
|
||||
{
|
||||
List<LogModel> _list = new List<LogModel>();
|
||||
List<AuditLogModel> _list = new List<AuditLogModel>();
|
||||
|
||||
public LogModel GetLastLog(LogFilter filter)
|
||||
public AuditLogModel GetLastLog(LogFilter filter)
|
||||
{
|
||||
return _list.OrderBy(x => x.CreateDate)
|
||||
.FirstOrDefault(x=>
|
||||
x.FieldName == filter.FieldName &&
|
||||
x.FunctionName == filter.FunctionName );
|
||||
.FirstOrDefault(filter.LogCondition);
|
||||
}
|
||||
|
||||
public void AddLog(LogModel model)
|
||||
public void AddLog(AuditLogModel model)
|
||||
{
|
||||
_list.Add(model);
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@ using Autofac.Extras.DynamicProxy;
|
||||
using Castle.DynamicProxy;
|
||||
using static System.Convert;
|
||||
|
||||
namespace AutofacWihtAOP
|
||||
namespace AutofacWithAOP
|
||||
{
|
||||
public interface ITimeService
|
||||
{
|
||||
@@ -85,6 +85,13 @@ namespace AutofacWihtAOP
|
||||
|
||||
IUserService personService = container.Resolve<IUserService>();
|
||||
|
||||
personService.ModifyUserInfo(new UserModel()
|
||||
{
|
||||
Birthday = DateTime.Now,
|
||||
Phone = "0911181212"
|
||||
});
|
||||
|
||||
|
||||
personService.ModifyUserInfo(new UserModel()
|
||||
{
|
||||
Birthday = DateTime.Now,
|
||||
@@ -101,13 +108,14 @@ namespace AutofacWihtAOP
|
||||
builder.RegisterType<TimeInterceptor>(); //註冊攔截器
|
||||
builder.RegisterType<LogInterceptor>(); //註冊攔截器
|
||||
|
||||
builder.RegisterType<LogService>()
|
||||
.As<ILogService>();
|
||||
|
||||
builder.RegisterType<Person>()
|
||||
.As<IPerson>()
|
||||
.EnableInterfaceInterceptors();
|
||||
|
||||
builder.RegisterType<LogService>()
|
||||
.As<ILogService>().SingleInstance()
|
||||
.EnableInterfaceInterceptors();
|
||||
|
||||
builder.RegisterType<UserService>()
|
||||
.As<IUserService>()
|
||||
.EnableInterfaceInterceptors();
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
using System;
|
||||
|
||||
namespace AutofacWihtAOP
|
||||
namespace AutofacWithAOP
|
||||
{
|
||||
[Function(Name = "Login")]
|
||||
[Function(FunctionName = "Login")]
|
||||
public class UserModel
|
||||
{
|
||||
[Field(Name = "Phone")]
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
using Autofac.Extras.DynamicProxy;
|
||||
using System;
|
||||
using Autofac.Extras.DynamicProxy;
|
||||
|
||||
namespace AutofacWihtAOP
|
||||
namespace AutofacWithAOP
|
||||
{
|
||||
[Intercept(typeof(LogInterceptor))]
|
||||
public class UserService:IUserService
|
||||
{
|
||||
public void ModifyUserInfo(UserModel model)
|
||||
{
|
||||
|
||||
Console.WriteLine("User was modified");
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -2,5 +2,15 @@
|
||||
<packages>
|
||||
<package id="Autofac" version="4.0.1" targetFramework="net452" />
|
||||
<package id="Autofac.Extras.DynamicProxy" version="4.5.0" targetFramework="net452" />
|
||||
<package id="Autofac.WebApi2" version="4.2.0" targetFramework="net462" />
|
||||
<package id="Castle.Core" version="4.3.1" targetFramework="net452" />
|
||||
<package id="FluentValidation" version="8.1.3" targetFramework="net462" />
|
||||
<package id="Microsoft.AspNet.WebApi.Client" version="5.2.0" targetFramework="net462" />
|
||||
<package id="Microsoft.AspNet.WebApi.Core" version="5.2.0" targetFramework="net462" />
|
||||
<package id="MongoDB.Bson" version="2.7.3" targetFramework="net462" />
|
||||
<package id="Newtonsoft.Json" version="4.5.11" targetFramework="net462" />
|
||||
<package id="System.Collections.Concurrent" version="4.3.0" targetFramework="net462" />
|
||||
<package id="System.ComponentModel.Annotations" version="4.4.1" targetFramework="net462" />
|
||||
<package id="System.ComponentModel.Primitives" version="4.3.0" targetFramework="net462" />
|
||||
<package id="System.ValueTuple" version="4.5.0" targetFramework="net462" />
|
||||
</packages>
|
||||
BIN
src/AutofacWihtAOP/packages/Autofac.WebApi2.4.2.0/Autofac.WebApi2.4.2.0.nupkg
vendored
Normal file
BIN
src/AutofacWihtAOP/packages/Autofac.WebApi2.4.2.0/Autofac.WebApi2.4.2.0.nupkg
vendored
Normal file
Binary file not shown.
BIN
src/AutofacWihtAOP/packages/Autofac.WebApi2.4.2.0/lib/net45/Autofac.Integration.WebApi.dll
vendored
Normal file
BIN
src/AutofacWihtAOP/packages/Autofac.WebApi2.4.2.0/lib/net45/Autofac.Integration.WebApi.dll
vendored
Normal file
Binary file not shown.
BIN
src/AutofacWihtAOP/packages/Autofac.WebApi2.4.2.0/lib/net45/Autofac.Integration.WebApi.pdb
vendored
Normal file
BIN
src/AutofacWihtAOP/packages/Autofac.WebApi2.4.2.0/lib/net45/Autofac.Integration.WebApi.pdb
vendored
Normal file
Binary file not shown.
924
src/AutofacWihtAOP/packages/Autofac.WebApi2.4.2.0/lib/net45/Autofac.Integration.WebApi.xml
vendored
Normal file
924
src/AutofacWihtAOP/packages/Autofac.WebApi2.4.2.0/lib/net45/Autofac.Integration.WebApi.xml
vendored
Normal file
@@ -0,0 +1,924 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Autofac.Integration.WebApi</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:Autofac.Integration.WebApi.ActionFilterWrapper">
|
||||
<summary>
|
||||
Resolves a filter for the specified metadata for each controller request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.ActionFilterWrapper.#ctor(Autofac.Integration.WebApi.FilterMetadata)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Autofac.Integration.WebApi.ActionFilterWrapper"/> class.
|
||||
</summary>
|
||||
<param name="filterMetadata">The filter metadata.</param>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.WebApi.ActionFilterWrapper.MetadataKey">
|
||||
<summary>
|
||||
Gets the metadata key used to retrieve the filter metadata.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.ActionFilterWrapper.OnActionExecutedAsync(System.Web.Http.Filters.HttpActionExecutedContext,System.Threading.CancellationToken)">
|
||||
<summary>
|
||||
Occurs after the action method is invoked.
|
||||
</summary>
|
||||
<param name="actionExecutedContext">The context for the action.</param>
|
||||
<param name="cancellationToken">A cancellation token for signaling task ending.</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Thrown if <paramref name="actionExecutedContext" /> is <see langword="null" />.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.ActionFilterWrapper.OnActionExecutingAsync(System.Web.Http.Controllers.HttpActionContext,System.Threading.CancellationToken)">
|
||||
<summary>
|
||||
Occurs before the action method is invoked.
|
||||
</summary>
|
||||
<param name="actionContext">The context for the action.</param>
|
||||
<param name="cancellationToken">A cancellation token for signaling task ending.</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Thrown if <paramref name="actionContext" /> is <see langword="null" />.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.AuthorizationFilterWrapper">
|
||||
<summary>
|
||||
Resolves a filter for the specified metadata for each controller request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.AuthorizationFilterWrapper.#ctor(Autofac.Integration.WebApi.FilterMetadata)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Autofac.Integration.WebApi.AuthorizationFilterWrapper"/> class.
|
||||
</summary>
|
||||
<param name="filterMetadata">The filter metadata.</param>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.WebApi.AuthorizationFilterWrapper.MetadataKey">
|
||||
<summary>
|
||||
Gets the metadata key used to retrieve the filter metadata.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.AuthorizationFilterWrapper.OnAuthorizationAsync(System.Web.Http.Controllers.HttpActionContext,System.Threading.CancellationToken)">
|
||||
<summary>
|
||||
Called when a process requests authorization.
|
||||
</summary>
|
||||
<param name="actionContext">The context for the action.</param>
|
||||
<param name="cancellationToken">A cancellation token for signaling task ending.</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Thrown if <paramref name="actionContext" /> is <see langword="null" />.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.ActionFilterOverrideWrapper">
|
||||
<summary>
|
||||
Resolves a filter override for the specified metadata for each controller request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.ActionFilterOverrideWrapper.#ctor(Autofac.Integration.WebApi.FilterMetadata)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Autofac.Integration.WebApi.ActionFilterOverrideWrapper"/> class.
|
||||
</summary>
|
||||
<param name="filterMetadata">The filter metadata.</param>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.WebApi.ActionFilterOverrideWrapper.MetadataKey">
|
||||
<summary>
|
||||
Gets the metadata key used to retrieve the filter metadata.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.WebApi.ActionFilterOverrideWrapper.FiltersToOverride">
|
||||
<summary>
|
||||
Gets the filters to override.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.AutofacOverrideFilter">
|
||||
<summary>
|
||||
Allows other filters to be overriden at the control and action level.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.AutofacWebApiDependencyResolver">
|
||||
<summary>
|
||||
Autofac implementation of the <see cref="T:System.Web.Http.Dependencies.IDependencyResolver"/> interface.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.AutofacWebApiDependencyResolver.#ctor(Autofac.ILifetimeScope,System.Action{Autofac.ContainerBuilder})">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Autofac.Integration.WebApi.AutofacWebApiDependencyResolver"/> class.
|
||||
</summary>
|
||||
<param name="container">The container that nested lifetime scopes will be create from.</param>
|
||||
<param name="configurationAction">A configuration action that will execute during lifetime scope creation.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.AutofacWebApiDependencyResolver.#ctor(Autofac.ILifetimeScope)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Autofac.Integration.WebApi.AutofacWebApiDependencyResolver"/> class.
|
||||
</summary>
|
||||
<param name="container">The container that nested lifetime scopes will be create from.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.AutofacWebApiDependencyResolver.Finalize">
|
||||
<summary>
|
||||
Finalizes an instance of the <see cref="T:Autofac.Integration.WebApi.AutofacWebApiDependencyResolver"/> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.WebApi.AutofacWebApiDependencyResolver.Container">
|
||||
<summary>
|
||||
Gets the root container provided to the dependency resolver.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.AutofacWebApiDependencyResolver.GetService(System.Type)">
|
||||
<summary>
|
||||
Try to get a service of the given type.
|
||||
</summary>
|
||||
<param name="serviceType">Type of service to request.</param>
|
||||
<returns>An instance of the service, or null if the service is not found.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.AutofacWebApiDependencyResolver.GetServices(System.Type)">
|
||||
<summary>
|
||||
Try to get a list of services of the given type.
|
||||
</summary>
|
||||
<param name="serviceType">ControllerType of services to request.</param>
|
||||
<returns>An enumeration (possibly empty) of the service.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.AutofacWebApiDependencyResolver.BeginScope">
|
||||
<summary>
|
||||
Starts a resolution scope. Objects which are resolved in the given scope will belong to
|
||||
that scope, and when the scope is disposed, those objects are returned to the container.
|
||||
</summary>
|
||||
<returns>
|
||||
The dependency scope.
|
||||
</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.AutofacWebApiDependencyResolver.Dispose">
|
||||
<summary>
|
||||
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.AutofacWebApiDependencyResolver.Dispose(System.Boolean)">
|
||||
<summary>
|
||||
Releases unmanaged and - optionally - managed resources.
|
||||
</summary>
|
||||
<param name="disposing">
|
||||
<see langword="true" /> to release both managed and unmanaged resources;
|
||||
<see langword="false" /> to release only unmanaged resources.
|
||||
</param>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.AutofacWebApiDependencyScope">
|
||||
<summary>
|
||||
Autofac implementation of the <see cref="T:System.Web.Http.Dependencies.IDependencyScope"/> interface.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.AutofacWebApiDependencyScope.#ctor(Autofac.ILifetimeScope)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Autofac.Integration.WebApi.AutofacWebApiDependencyScope"/> class.
|
||||
</summary>
|
||||
<param name="lifetimeScope">The lifetime scope to resolve services from.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.AutofacWebApiDependencyScope.Finalize">
|
||||
<summary>
|
||||
Finalizes an instance of the <see cref="T:Autofac.Integration.WebApi.AutofacWebApiDependencyScope"/> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.WebApi.AutofacWebApiDependencyScope.LifetimeScope">
|
||||
<summary>
|
||||
Gets the lifetime scope for the current dependency scope.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.AutofacWebApiDependencyScope.GetService(System.Type)">
|
||||
<summary>
|
||||
Try to get a service of the given type.
|
||||
</summary>
|
||||
<param name="serviceType">ControllerType of service to request.</param>
|
||||
<returns>An instance of the service, or null if the service is not found.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.AutofacWebApiDependencyScope.GetServices(System.Type)">
|
||||
<summary>
|
||||
Try to get a list of services of the given type.
|
||||
</summary>
|
||||
<param name="serviceType">ControllerType of services to request.</param>
|
||||
<returns>An enumeration (possibly empty) of the service.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.AutofacWebApiDependencyScope.Dispose">
|
||||
<summary>
|
||||
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.AutofacWebApiDependencyScope.Dispose(System.Boolean)">
|
||||
<summary>
|
||||
Releases unmanaged and - optionally - managed resources.
|
||||
</summary>
|
||||
<param name="disposing">
|
||||
<see langword="true" /> to release both managed and unmanaged resources;
|
||||
<see langword="false" /> to release only unmanaged resources.
|
||||
</param>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.AutofacWebApiFilterProvider">
|
||||
<summary>
|
||||
A filter provider for performing property injection on filter attributes.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.AutofacWebApiFilterProvider.#ctor(Autofac.ILifetimeScope)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Autofac.Integration.WebApi.AutofacWebApiFilterProvider"/> class.
|
||||
</summary>
|
||||
<param name="lifetimeScope">
|
||||
The lifetime scope from which dependencies should be resolved. Generally
|
||||
this is the application-level container/root scope.
|
||||
</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.AutofacWebApiFilterProvider.GetFilters(System.Web.Http.HttpConfiguration,System.Web.Http.Controllers.HttpActionDescriptor)">
|
||||
<summary>
|
||||
Returns the collection of filters associated with <paramref name="actionDescriptor"/>.
|
||||
</summary>
|
||||
<param name="configuration">The configuration.</param>
|
||||
<param name="actionDescriptor">The action descriptor.</param>
|
||||
<returns>A collection of filters with instances property injected.</returns>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Thrown if <paramref name="configuration" /> is <see langword="null" />.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.AutofacWebApiModelBinderProvider">
|
||||
<summary>
|
||||
Autofac implementation of the <see cref="T:System.Web.Http.ModelBinding.ModelBinderProvider"/> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Autofac.Integration.WebApi.AutofacWebApiModelBinderProvider.MetadataKey">
|
||||
<summary>
|
||||
Metadata key for the supported model types.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.AutofacWebApiModelBinderProvider.GetBinder(System.Web.Http.HttpConfiguration,System.Type)">
|
||||
<summary>
|
||||
Find a binder for the given type.
|
||||
</summary>
|
||||
<param name="configuration">A configuration object.</param>
|
||||
<param name="modelType">The type of the model to bind against.</param>
|
||||
<returns>A binder, which can attempt to bind this type. Or null if the binder knows statically that it will never be able to bind the type.</returns>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Thrown if <paramref name="configuration" /> is <see langword="null" />.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.ControllerTypeKey">
|
||||
<summary>
|
||||
A service key used to register services per controller type.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.WebApi.ControllerTypeKey.ControllerType">
|
||||
<summary>
|
||||
Gets the type of the controller.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.ControllerTypeKey.#ctor(System.Type)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Autofac.Integration.WebApi.ControllerTypeKey"/> class.
|
||||
</summary>
|
||||
<param name="controllerType">Type of the controller.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.ControllerTypeKey.Equals(Autofac.Integration.WebApi.ControllerTypeKey)">
|
||||
<summary>
|
||||
Determines whether the specified <see cref="T:System.Object" /> is equal to the current <see cref="T:System.Object" />.
|
||||
</summary>
|
||||
<param name="other">The key to which the current key is being compared.</param>
|
||||
<returns>
|
||||
true if the specified <see cref="T:System.Object" /> is equal to the current <see cref="T:System.Object" />; otherwise, false.
|
||||
</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.ControllerTypeKey.Equals(System.Object)">
|
||||
<summary>
|
||||
Determines whether the specified <see cref="T:System.Object"/> is equal to the current <see cref="T:System.Object"/>.
|
||||
</summary>
|
||||
<param name="obj">The <see cref="T:System.Object"/> to compare with the current <see cref="T:System.Object"/>.</param>
|
||||
<returns>
|
||||
true if the specified <see cref="T:System.Object"/> is equal to the current <see cref="T:System.Object"/>; otherwise, false.
|
||||
</returns>
|
||||
<exception cref="T:System.NullReferenceException">The <paramref name="obj"/> parameter is null.</exception>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.ControllerTypeKey.GetHashCode">
|
||||
<summary>
|
||||
Serves as a hash function for a particular type.
|
||||
</summary>
|
||||
<returns>
|
||||
A hash code for the current <see cref="T:System.Object"/>.
|
||||
</returns>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.AuthenticationFilterWrapper">
|
||||
<summary>
|
||||
Resolves a filter for the specified metadata for each controller request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.AuthenticationFilterWrapper.#ctor(Autofac.Integration.WebApi.FilterMetadata)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Autofac.Integration.WebApi.AuthenticationFilterWrapper"/> class.
|
||||
</summary>
|
||||
<param name="filterMetadata">The filter metadata.</param>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.WebApi.AuthenticationFilterWrapper.MetadataKey">
|
||||
<summary>
|
||||
Gets the metadata key used to retrieve the filter metadata.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.AuthenticationFilterOverrideWrapper">
|
||||
<summary>
|
||||
Resolves a filter override for the specified metadata for each controller request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.AuthenticationFilterOverrideWrapper.#ctor(Autofac.Integration.WebApi.FilterMetadata)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Autofac.Integration.WebApi.AuthenticationFilterOverrideWrapper"/> class.
|
||||
</summary>
|
||||
<param name="filterMetadata">The filter metadata.</param>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.WebApi.AuthenticationFilterOverrideWrapper.MetadataKey">
|
||||
<summary>
|
||||
Gets the metadata key used to retrieve the filter metadata.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.WebApi.AuthenticationFilterOverrideWrapper.FiltersToOverride">
|
||||
<summary>
|
||||
Gets the filters to override.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.AuthorizationFilterOverrideWrapper">
|
||||
<summary>
|
||||
Resolves a filter override for the specified metadata for each controller request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.AuthorizationFilterOverrideWrapper.#ctor(Autofac.Integration.WebApi.FilterMetadata)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Autofac.Integration.WebApi.AuthorizationFilterOverrideWrapper"/> class.
|
||||
</summary>
|
||||
<param name="filterMetadata">The filter metadata.</param>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.WebApi.AuthorizationFilterOverrideWrapper.MetadataKey">
|
||||
<summary>
|
||||
Gets the metadata key used to retrieve the filter metadata.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.WebApi.AuthorizationFilterOverrideWrapper.FiltersToOverride">
|
||||
<summary>
|
||||
Gets the filters to override.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.ExceptionFilterOverrideWrapper">
|
||||
<summary>
|
||||
Resolves a filter override for the specified metadata for each controller request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.ExceptionFilterOverrideWrapper.#ctor(Autofac.Integration.WebApi.FilterMetadata)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Autofac.Integration.WebApi.ExceptionFilterOverrideWrapper"/> class.
|
||||
</summary>
|
||||
<param name="filterMetadata">The filter metadata.</param>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.WebApi.ExceptionFilterOverrideWrapper.MetadataKey">
|
||||
<summary>
|
||||
Gets the metadata key used to retrieve the filter metadata.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.WebApi.ExceptionFilterOverrideWrapper.FiltersToOverride">
|
||||
<summary>
|
||||
Gets the filters to override.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.HttpConfigurationExtensions">
|
||||
<summary>
|
||||
Extension methods for <see cref="T:System.Web.Http.HttpConfiguration"/> to enable Web API and Autofac integration.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.HttpConfigurationExtensions.RegisterHttpRequestMessage(System.Web.Http.HttpConfiguration)">
|
||||
<summary>
|
||||
Makes the current <see cref="T:System.Net.Http.HttpRequestMessage"/> resolvable through the dependency scope.
|
||||
</summary>
|
||||
<param name="config">The HTTP server configuration.</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Thrown if <paramref name="config" /> is <see langword="null" />.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.IAutofacAuthenticationFilter">
|
||||
<summary>
|
||||
An authentication filter that will be created for each controller request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.IAutofacAuthenticationFilter.AuthenticateAsync(System.Web.Http.Filters.HttpAuthenticationContext,System.Threading.CancellationToken)">
|
||||
<summary>
|
||||
Called when a request requires authentication.
|
||||
</summary>
|
||||
<param name="context">The context for the authentication.</param>
|
||||
<param name="cancellationToken">A cancellation token for signaling task ending.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.IAutofacAuthenticationFilter.ChallengeAsync(System.Web.Http.Filters.HttpAuthenticationChallengeContext,System.Threading.CancellationToken)">
|
||||
<summary>
|
||||
Called when an authentication challenge is required.
|
||||
</summary>
|
||||
<param name="context">The context for the authentication challenge.</param>
|
||||
<param name="cancellationToken">A cancellation token for signaling task ending.</param>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.CurrentRequestHandler">
|
||||
<summary>
|
||||
A delegating handler that updates the current dependency scope
|
||||
with the current <see cref="T:System.Net.Http.HttpRequestMessage"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.CurrentRequestHandler.SendAsync(System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)">
|
||||
<summary>
|
||||
Sends an HTTP request to the inner handler to send to the server as an asynchronous operation.
|
||||
</summary>
|
||||
<param name="request">The HTTP request message to send to the server.</param>
|
||||
<param name="cancellationToken">A cancellation token to cancel operation.</param>
|
||||
<returns>
|
||||
Returns <see cref="T:System.Threading.Tasks.Task`1" />. The task object representing the asynchronous operation.
|
||||
</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.CurrentRequestHandler.UpdateScopeWithHttpRequestMessage(System.Net.Http.HttpRequestMessage)">
|
||||
<summary>
|
||||
Updates the current dependency scope with current HTTP request message.
|
||||
</summary>
|
||||
<param name="request">The HTTP request message.</param>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.DependencyResolverExtensions">
|
||||
<summary>
|
||||
Extension methods to the <see cref="T:System.Web.Http.Dependencies.IDependencyResolver"/> interface.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.DependencyResolverExtensions.GetRootLifetimeScope(System.Web.Http.Dependencies.IDependencyResolver)">
|
||||
<summary>
|
||||
Gets the root lifetime scope from the Autofac dependency resolver.
|
||||
</summary>
|
||||
<param name="dependencyResolver">
|
||||
The dependency resolver from which the root lifetime scope should be retrieved.
|
||||
</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.DependencyResolverExtensions.GetRequestLifetimeScope(System.Web.Http.Dependencies.IDependencyScope)">
|
||||
<summary>
|
||||
Gets the request lifetime scope from the Autofac dependency scope.
|
||||
</summary>
|
||||
<param name="dependencyScope">
|
||||
The dependency scope from which the request lifetime scope should be retrieved.
|
||||
</param>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.ExceptionFilterWrapper">
|
||||
<summary>
|
||||
Resolves a filter for the specified metadata for each controller request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.ExceptionFilterWrapper.#ctor(Autofac.Integration.WebApi.FilterMetadata)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Autofac.Integration.WebApi.ExceptionFilterWrapper"/> class.
|
||||
</summary>
|
||||
<param name="filterMetadata">The filter metadata.</param>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.WebApi.ExceptionFilterWrapper.MetadataKey">
|
||||
<summary>
|
||||
Gets the metadata key used to retrieve the filter metadata.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.ExceptionFilterWrapper.OnExceptionAsync(System.Web.Http.Filters.HttpActionExecutedContext,System.Threading.CancellationToken)">
|
||||
<summary>
|
||||
Called when an exception is thrown.
|
||||
</summary>
|
||||
<param name="actionExecutedContext">The context for the action.</param>
|
||||
<param name="cancellationToken">A cancellation token for signaling task ending.</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Thrown if <paramref name="actionExecutedContext" /> is <see langword="null" />.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.IAutofacActionFilter">
|
||||
<summary>
|
||||
An action filter that will be created for each controller request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.IAutofacActionFilter.OnActionExecutedAsync(System.Web.Http.Filters.HttpActionExecutedContext,System.Threading.CancellationToken)">
|
||||
<summary>
|
||||
Occurs after the action method is invoked.
|
||||
</summary>
|
||||
<param name="actionExecutedContext">The context for the action.</param>
|
||||
<param name="cancellationToken">A cancellation token for signaling task ending.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.IAutofacActionFilter.OnActionExecutingAsync(System.Web.Http.Controllers.HttpActionContext,System.Threading.CancellationToken)">
|
||||
<summary>
|
||||
Occurs before the action method is invoked.
|
||||
</summary>
|
||||
<param name="actionContext">The context for the action.</param>
|
||||
<param name="cancellationToken">A cancellation token for signaling task ending.</param>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.IAutofacAuthorizationFilter">
|
||||
<summary>
|
||||
An authorization filter that will be created for each controller request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.IAutofacAuthorizationFilter.OnAuthorizationAsync(System.Web.Http.Controllers.HttpActionContext,System.Threading.CancellationToken)">
|
||||
<summary>
|
||||
Called when a process requests authorization.
|
||||
</summary>
|
||||
<param name="actionContext">The context for the action.</param>
|
||||
<param name="cancellationToken">A cancellation token for signaling task ending.</param>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.IAutofacExceptionFilter">
|
||||
<summary>
|
||||
An exception filter that will be created for each controller request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.IAutofacExceptionFilter.OnExceptionAsync(System.Web.Http.Filters.HttpActionExecutedContext,System.Threading.CancellationToken)">
|
||||
<summary>
|
||||
Called when an exception is thrown.
|
||||
</summary>
|
||||
<param name="actionExecutedContext">The context for the action.</param>
|
||||
<param name="cancellationToken">A cancellation token for signaling task ending.</param>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.FilterMetadata">
|
||||
<summary>
|
||||
Metadata interface for filter registrations.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.WebApi.FilterMetadata.ControllerType">
|
||||
<summary>
|
||||
Gets or sets the type of the controller.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.WebApi.FilterMetadata.FilterScope">
|
||||
<summary>
|
||||
Gets or sets the filter scope.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.WebApi.FilterMetadata.MethodInfo">
|
||||
<summary>
|
||||
Gets or sets the method info.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.AutofacControllerConfigurationAttribute">
|
||||
<summary>
|
||||
Configures the controller descriptor with per-controller services from the container.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.AutofacControllerConfigurationAttribute.Initialize(System.Web.Http.Controllers.HttpControllerSettings,System.Web.Http.Controllers.HttpControllerDescriptor)">
|
||||
<summary>
|
||||
Callback invoked to set per-controller overrides for this controllerDescriptor.
|
||||
</summary>
|
||||
<param name="controllerSettings">The controller settings to initialize.</param>
|
||||
<param name="controllerDescriptor">The controller descriptor. Note that the
|
||||
<see cref="T:System.Web.Http.Controllers.HttpControllerDescriptor"/> can be
|
||||
associated with the derived controller type given that <see cref="T:System.Web.Http.Controllers.IControllerConfiguration"/>
|
||||
is inherited.</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Thrown if <paramref name="controllerSettings" /> or <paramref name="controllerDescriptor" /> is <see langword="null" />.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.AutofacControllerConfigurationAttributeResources">
|
||||
<summary>
|
||||
A strongly-typed resource class, for looking up localized strings, etc.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.WebApi.AutofacControllerConfigurationAttributeResources.ResourceManager">
|
||||
<summary>
|
||||
Returns the cached ResourceManager instance used by this class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.WebApi.AutofacControllerConfigurationAttributeResources.Culture">
|
||||
<summary>
|
||||
Overrides the current thread's CurrentUICulture property for all
|
||||
resource lookups using this strongly typed resource class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.WebApi.AutofacControllerConfigurationAttributeResources.DependencyResolverMissing">
|
||||
<summary>
|
||||
Looks up a localized string similar to The '{0}' must be configured as the dependency resolver for Web API before the '{1}' can resolve services from the container for a controller type..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.IFilterWrapper">
|
||||
<summary>
|
||||
Common behaviour required for filter wrappers.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.WebApi.IFilterWrapper.MetadataKey">
|
||||
<summary>
|
||||
Gets the metadata key used to retrieve the filter metadata.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.RegistrationExtensions">
|
||||
<summary>
|
||||
Adds registration syntax to the <see cref="T:Autofac.ContainerBuilder"/> type.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.RegisterApiControllers(Autofac.ContainerBuilder,System.Reflection.Assembly[])">
|
||||
<summary>
|
||||
Register types in the provided assemblies that implement <see cref="T:System.Web.Http.Controllers.IHttpController"/> and
|
||||
match the default type name suffix of "Controller".
|
||||
</summary>
|
||||
<param name="builder">The container builder.</param>
|
||||
<param name="controllerAssemblies">Assemblies to scan for controllers.</param>
|
||||
<returns>Registration builder allowing the controller components to be customised.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.RegisterApiControllers(Autofac.ContainerBuilder,System.String,System.Reflection.Assembly[])">
|
||||
<summary>
|
||||
Register types in the provided assemblies that implement <see cref="T:System.Web.Http.Controllers.IHttpController"/> and
|
||||
match the provided type name suffix.
|
||||
</summary>
|
||||
<param name="builder">The container builder.</param>
|
||||
<param name="controllerSuffix">The type name suffix of the controllers.</param>
|
||||
<param name="controllerAssemblies">Assemblies to scan for controllers.</param>
|
||||
<returns>Registration builder allowing the controller components to be customised.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.InstancePerApiRequest``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2},System.Object[])">
|
||||
<summary>
|
||||
Share one instance of the component within the context of a
|
||||
single <see cref="T:System.Web.Http.ApiController"/> request.
|
||||
</summary>
|
||||
<typeparam name="TLimit">Registration limit type.</typeparam>
|
||||
<typeparam name="TActivatorData">Activator data type.</typeparam>
|
||||
<typeparam name="TStyle">Registration style.</typeparam>
|
||||
<param name="registration">The registration to configure.</param>
|
||||
<param name="lifetimeScopeTags">Additional tags applied for matching lifetime scopes.</param>
|
||||
<returns>A registration builder allowing further configuration of the component.</returns>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Thrown if <paramref name="registration" /> is <see langword="null" />.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.InstancePerApiControllerType``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2},System.Type)">
|
||||
<summary>
|
||||
Share one instance of the component within the context of a controller type.
|
||||
</summary>
|
||||
<typeparam name="TLimit">Registration limit type.</typeparam>
|
||||
<typeparam name="TActivatorData">Activator data type.</typeparam>
|
||||
<typeparam name="TStyle">Registration style.</typeparam>
|
||||
<param name="registration">The registration to configure.</param>
|
||||
<param name="controllerType">The controller type.</param>
|
||||
<returns>A registration builder allowing further configuration of the component.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.InstancePerApiControllerType``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2},System.Type,System.Boolean)">
|
||||
<summary>
|
||||
Share one instance of the component within the context of a controller type.
|
||||
</summary>
|
||||
<typeparam name="TLimit">Registration limit type.</typeparam>
|
||||
<typeparam name="TActivatorData">Activator data type.</typeparam>
|
||||
<typeparam name="TStyle">Registration style.</typeparam>
|
||||
<param name="registration">The registration to configure.</param>
|
||||
<param name="controllerType">The controller type.</param>
|
||||
<param name="clearExistingServices">Clear the existing list of controller level services before adding.</param>
|
||||
<returns>A registration builder allowing further configuration of the component.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.RegisterHttpRequestMessage(Autofac.ContainerBuilder,System.Web.Http.HttpConfiguration)">
|
||||
<summary>
|
||||
Makes the current <see cref="T:System.Net.Http.HttpRequestMessage"/> resolvable through the dependency scope.
|
||||
</summary>
|
||||
<param name="builder">The container builder.</param>
|
||||
<param name="config">The HTTP server configuration.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.RegisterWebApiModelBinderProvider(Autofac.ContainerBuilder)">
|
||||
<summary>
|
||||
Registers the <see cref="T:Autofac.Integration.WebApi.AutofacWebApiModelBinderProvider"/>.
|
||||
</summary>
|
||||
<param name="builder">The container builder.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.RegisterWebApiModelBinders(Autofac.ContainerBuilder,System.Reflection.Assembly[])">
|
||||
<summary>
|
||||
Register types that implement <see cref="T:System.Web.Http.ModelBinding.IModelBinder"/> in the provided assemblies.
|
||||
</summary>
|
||||
<param name="builder">The container builder.</param>
|
||||
<param name="modelBinderAssemblies">Assemblies to scan for model binders.</param>
|
||||
<returns>A registration builder allowing further configuration of the component.</returns>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Thrown if <paramref name="builder" /> or <paramref name="modelBinderAssemblies" /> is <see langword="null" />.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.AsModelBinderForTypes``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2},System.Type[])">
|
||||
<summary>
|
||||
Sets a provided registration to act as an <see cref="T:System.Web.Http.ModelBinding.IModelBinder"/> for the specified list of types.
|
||||
</summary>
|
||||
<param name="registration">The registration for the type or object instance that will act as the model binder.</param>
|
||||
<param name="types">The list of model <see cref="T:System.Type"/> for which the <paramref name="registration" /> should be a model binder.</param>
|
||||
<typeparam name="TLimit">Registration limit type.</typeparam>
|
||||
<typeparam name="TActivatorData">Activator data type.</typeparam>
|
||||
<typeparam name="TRegistrationStyle">Registration style.</typeparam>
|
||||
<returns>An Autofac registration that can be modified as needed.</returns>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Thrown if <paramref name="registration" /> or <paramref name="types" /> is <see langword="null" />.
|
||||
</exception>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
Thrown if <paramref name="types" /> is empty or contains all <see langword="null" /> values.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.RegisterWebApiFilterProvider(Autofac.ContainerBuilder,System.Web.Http.HttpConfiguration)">
|
||||
<summary>
|
||||
Registers the <see cref="T:Autofac.Integration.WebApi.AutofacWebApiFilterProvider"/>.
|
||||
</summary>
|
||||
<param name="configuration">Configuration of HttpServer instances.</param>
|
||||
<param name="builder">The container builder.</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Thrown if <paramref name="builder" /> or <paramref name="configuration" /> is <see langword="null" />.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.AsWebApiActionFilterFor``1(Autofac.Builder.IRegistrationBuilder{System.Object,Autofac.Builder.IConcreteActivatorData,Autofac.Builder.SingleRegistrationStyle},System.Linq.Expressions.Expression{System.Action{``0}})">
|
||||
<summary>
|
||||
Sets the provided registration to act as an <see cref="T:Autofac.Integration.WebApi.IAutofacActionFilter"/> for the specified controller action.
|
||||
</summary>
|
||||
<typeparam name="TController">The type of the controller.</typeparam>
|
||||
<param name="registration">The registration.</param>
|
||||
<param name="actionSelector">The action selector.</param>
|
||||
<returns>A registration builder allowing further configuration of the component.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.AsWebApiActionFilterFor``1(Autofac.Builder.IRegistrationBuilder{System.Object,Autofac.Builder.IConcreteActivatorData,Autofac.Builder.SingleRegistrationStyle})">
|
||||
<summary>
|
||||
Sets the provided registration to act as an <see cref="T:Autofac.Integration.WebApi.IAutofacActionFilter"/> for the specified controller.
|
||||
</summary>
|
||||
<typeparam name="TController">The type of the controller.</typeparam>
|
||||
<param name="registration">The registration.</param>
|
||||
<returns>A registration builder allowing further configuration of the component.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.AsWebApiActionFilterOverrideFor``1(Autofac.Builder.IRegistrationBuilder{System.Object,Autofac.Builder.IConcreteActivatorData,Autofac.Builder.SingleRegistrationStyle},System.Linq.Expressions.Expression{System.Action{``0}})">
|
||||
<summary>
|
||||
Sets the provided registration to act as an <see cref="T:Autofac.Integration.WebApi.IAutofacActionFilter"/> override for the specified controller action.
|
||||
</summary>
|
||||
<typeparam name="TController">The type of the controller.</typeparam>
|
||||
<param name="registration">The registration.</param>
|
||||
<param name="actionSelector">The action selector.</param>
|
||||
<returns>A registration builder allowing further configuration of the component.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.AsWebApiActionFilterOverrideFor``1(Autofac.Builder.IRegistrationBuilder{System.Object,Autofac.Builder.IConcreteActivatorData,Autofac.Builder.SingleRegistrationStyle})">
|
||||
<summary>
|
||||
Sets the provided registration to act as an <see cref="T:Autofac.Integration.WebApi.IAutofacActionFilter"/> override for the specified controller.
|
||||
</summary>
|
||||
<typeparam name="TController">The type of the controller.</typeparam>
|
||||
<param name="registration">The registration.</param>
|
||||
<returns>A registration builder allowing further configuration of the component.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.AsWebApiAuthorizationFilterFor``1(Autofac.Builder.IRegistrationBuilder{System.Object,Autofac.Builder.IConcreteActivatorData,Autofac.Builder.SingleRegistrationStyle},System.Linq.Expressions.Expression{System.Action{``0}})">
|
||||
<summary>
|
||||
Sets the provided registration to act as an <see cref="T:Autofac.Integration.WebApi.IAutofacAuthorizationFilter"/> for the specified controller action.
|
||||
</summary>
|
||||
<typeparam name="TController">The type of the controller.</typeparam>
|
||||
<param name="registration">The registration.</param>
|
||||
<param name="actionSelector">The action selector.</param>
|
||||
<returns>A registration builder allowing further configuration of the component.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.AsWebApiAuthorizationFilterFor``1(Autofac.Builder.IRegistrationBuilder{System.Object,Autofac.Builder.IConcreteActivatorData,Autofac.Builder.SingleRegistrationStyle})">
|
||||
<summary>
|
||||
Sets the provided registration to act as an <see cref="T:Autofac.Integration.WebApi.IAutofacAuthorizationFilter"/> for the specified controller.
|
||||
</summary>
|
||||
<typeparam name="TController">The type of the controller.</typeparam>
|
||||
<param name="registration">The registration.</param>
|
||||
<returns>A registration builder allowing further configuration of the component.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.AsWebApiAuthorizationFilterOverrideFor``1(Autofac.Builder.IRegistrationBuilder{System.Object,Autofac.Builder.IConcreteActivatorData,Autofac.Builder.SingleRegistrationStyle},System.Linq.Expressions.Expression{System.Action{``0}})">
|
||||
<summary>
|
||||
Sets the provided registration to act as an <see cref="T:Autofac.Integration.WebApi.IAutofacAuthorizationFilter"/> override for the specified controller action.
|
||||
</summary>
|
||||
<typeparam name="TController">The type of the controller.</typeparam>
|
||||
<param name="registration">The registration.</param>
|
||||
<param name="actionSelector">The action selector.</param>
|
||||
<returns>A registration builder allowing further configuration of the component.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.AsWebApiAuthorizationFilterOverrideFor``1(Autofac.Builder.IRegistrationBuilder{System.Object,Autofac.Builder.IConcreteActivatorData,Autofac.Builder.SingleRegistrationStyle})">
|
||||
<summary>
|
||||
Sets the provided registration to act as an <see cref="T:Autofac.Integration.WebApi.IAutofacAuthorizationFilter"/> override for the specified controller.
|
||||
</summary>
|
||||
<typeparam name="TController">The type of the controller.</typeparam>
|
||||
<param name="registration">The registration.</param>
|
||||
<returns>A registration builder allowing further configuration of the component.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.AsWebApiExceptionFilterFor``1(Autofac.Builder.IRegistrationBuilder{System.Object,Autofac.Builder.IConcreteActivatorData,Autofac.Builder.SingleRegistrationStyle},System.Linq.Expressions.Expression{System.Action{``0}})">
|
||||
<summary>
|
||||
Sets the provided registration to act as an <see cref="T:Autofac.Integration.WebApi.IAutofacExceptionFilter"/> for the specified controller action.
|
||||
</summary>
|
||||
<typeparam name="TController">The type of the controller.</typeparam>
|
||||
<param name="registration">The registration.</param>
|
||||
<param name="actionSelector">The action selector.</param>
|
||||
<returns>A registration builder allowing further configuration of the component.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.AsWebApiExceptionFilterFor``1(Autofac.Builder.IRegistrationBuilder{System.Object,Autofac.Builder.IConcreteActivatorData,Autofac.Builder.SingleRegistrationStyle})">
|
||||
<summary>
|
||||
Sets the provided registration to act as an <see cref="T:Autofac.Integration.WebApi.IAutofacExceptionFilter"/> for the specified controller.
|
||||
</summary>
|
||||
<typeparam name="TController">The type of the controller.</typeparam>
|
||||
<param name="registration">The registration.</param>
|
||||
<returns>A registration builder allowing further configuration of the component.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.AsWebApiExceptionFilterOverrideFor``1(Autofac.Builder.IRegistrationBuilder{System.Object,Autofac.Builder.IConcreteActivatorData,Autofac.Builder.SingleRegistrationStyle},System.Linq.Expressions.Expression{System.Action{``0}})">
|
||||
<summary>
|
||||
Sets the provided registration to act as an <see cref="T:Autofac.Integration.WebApi.IAutofacExceptionFilter"/> override for the specified controller action.
|
||||
</summary>
|
||||
<typeparam name="TController">The type of the controller.</typeparam>
|
||||
<param name="registration">The registration.</param>
|
||||
<param name="actionSelector">The action selector.</param>
|
||||
<returns>A registration builder allowing further configuration of the component.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.AsWebApiExceptionFilterOverrideFor``1(Autofac.Builder.IRegistrationBuilder{System.Object,Autofac.Builder.IConcreteActivatorData,Autofac.Builder.SingleRegistrationStyle})">
|
||||
<summary>
|
||||
Sets the provided registration to act as an <see cref="T:Autofac.Integration.WebApi.IAutofacExceptionFilter"/> override for the specified controller.
|
||||
</summary>
|
||||
<typeparam name="TController">The type of the controller.</typeparam>
|
||||
<param name="registration">The registration.</param>
|
||||
<returns>A registration builder allowing further configuration of the component.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.AsWebApiAuthenticationFilterFor``1(Autofac.Builder.IRegistrationBuilder{System.Object,Autofac.Builder.IConcreteActivatorData,Autofac.Builder.SingleRegistrationStyle},System.Linq.Expressions.Expression{System.Action{``0}})">
|
||||
<summary>
|
||||
Sets the provided registration to act as an <see cref="T:Autofac.Integration.WebApi.IAutofacAuthenticationFilter"/> for the specified controller action.
|
||||
</summary>
|
||||
<typeparam name="TController">The type of the controller.</typeparam>
|
||||
<param name="registration">The registration.</param>
|
||||
<param name="actionSelector">The action selector.</param>
|
||||
<returns>A registration builder allowing further configuration of the component.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.AsWebApiAuthenticationFilterFor``1(Autofac.Builder.IRegistrationBuilder{System.Object,Autofac.Builder.IConcreteActivatorData,Autofac.Builder.SingleRegistrationStyle})">
|
||||
<summary>
|
||||
Sets the provided registration to act as an <see cref="T:Autofac.Integration.WebApi.IAutofacAuthenticationFilter"/> for the specified controller.
|
||||
</summary>
|
||||
<typeparam name="TController">The type of the controller.</typeparam>
|
||||
<param name="registration">The registration.</param>
|
||||
<returns>A registration builder allowing further configuration of the component.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.AsWebApiAuthenticationFilterOverrideFor``1(Autofac.Builder.IRegistrationBuilder{System.Object,Autofac.Builder.IConcreteActivatorData,Autofac.Builder.SingleRegistrationStyle},System.Linq.Expressions.Expression{System.Action{``0}})">
|
||||
<summary>
|
||||
Sets the provided registration to act as an <see cref="T:Autofac.Integration.WebApi.IAutofacAuthenticationFilter"/> override for the specified controller action.
|
||||
</summary>
|
||||
<typeparam name="TController">The type of the controller.</typeparam>
|
||||
<param name="registration">The registration.</param>
|
||||
<param name="actionSelector">The action selector.</param>
|
||||
<returns>A registration builder allowing further configuration of the component.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.AsWebApiAuthenticationFilterOverrideFor``1(Autofac.Builder.IRegistrationBuilder{System.Object,Autofac.Builder.IConcreteActivatorData,Autofac.Builder.SingleRegistrationStyle})">
|
||||
<summary>
|
||||
Sets the provided registration to act as an <see cref="T:Autofac.Integration.WebApi.IAutofacAuthenticationFilter"/> override for the specified controller.
|
||||
</summary>
|
||||
<typeparam name="TController">The type of the controller.</typeparam>
|
||||
<param name="registration">The registration.</param>
|
||||
<returns>A registration builder allowing further configuration of the component.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.OverrideWebApiActionFilterFor``1(Autofac.ContainerBuilder,System.Linq.Expressions.Expression{System.Action{``0}})">
|
||||
<summary>
|
||||
Sets the provided registration to act as an <see cref="T:System.Web.Http.Filters.IOverrideFilter"/> for the specified controller action.
|
||||
</summary>
|
||||
<param name="builder">The container builder.</param>
|
||||
<param name="actionSelector">The action selector.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.OverrideWebApiActionFilterFor``1(Autofac.ContainerBuilder)">
|
||||
<summary>
|
||||
Sets the provided registration to act as an <see cref="T:System.Web.Http.Filters.IOverrideFilter"/> for the specified controller.
|
||||
</summary>
|
||||
<param name="builder">The container builder.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.OverrideWebApiAuthorizationFilterFor``1(Autofac.ContainerBuilder,System.Linq.Expressions.Expression{System.Action{``0}})">
|
||||
<summary>
|
||||
Sets the provided registration to act as an <see cref="T:System.Web.Http.Filters.IOverrideFilter"/> for the specified controller action.
|
||||
</summary>
|
||||
<param name="builder">The container builder.</param>
|
||||
<param name="actionSelector">The action selector.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.OverrideWebApiAuthorizationFilterFor``1(Autofac.ContainerBuilder)">
|
||||
<summary>
|
||||
Sets the provided registration to act as an <see cref="T:System.Web.Http.Filters.IOverrideFilter"/> for the specified controller.
|
||||
</summary>
|
||||
<param name="builder">The container builder.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.OverrideWebApiExceptionFilterFor``1(Autofac.ContainerBuilder,System.Linq.Expressions.Expression{System.Action{``0}})">
|
||||
<summary>
|
||||
Sets the provided registration to act as an <see cref="T:System.Web.Http.Filters.IOverrideFilter"/> for the specified controller action.
|
||||
</summary>
|
||||
<param name="builder">The container builder.</param>
|
||||
<param name="actionSelector">The action selector.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.OverrideWebApiExceptionFilterFor``1(Autofac.ContainerBuilder)">
|
||||
<summary>
|
||||
Sets the provided registration to act as an <see cref="T:System.Web.Http.Filters.IOverrideFilter"/> for the specified controller.
|
||||
</summary>
|
||||
<param name="builder">The container builder.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.OverrideWebApiAuthenticationFilterFor``1(Autofac.ContainerBuilder,System.Linq.Expressions.Expression{System.Action{``0}})">
|
||||
<summary>
|
||||
Sets the provided registration to act as an <see cref="T:System.Web.Http.Filters.IOverrideFilter"/> for the specified controller action.
|
||||
</summary>
|
||||
<param name="builder">The container builder.</param>
|
||||
<param name="actionSelector">The action selector.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.OverrideWebApiAuthenticationFilterFor``1(Autofac.ContainerBuilder)">
|
||||
<summary>
|
||||
Sets the provided registration to act as an <see cref="T:System.Web.Http.Filters.IOverrideFilter"/> for the specified controller.
|
||||
</summary>
|
||||
<param name="builder">The container builder.</param>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.RegistrationExtensionsResources">
|
||||
<summary>
|
||||
A strongly-typed resource class, for looking up localized strings, etc.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.WebApi.RegistrationExtensionsResources.ResourceManager">
|
||||
<summary>
|
||||
Returns the cached ResourceManager instance used by this class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.WebApi.RegistrationExtensionsResources.Culture">
|
||||
<summary>
|
||||
Overrides the current thread's CurrentUICulture property for all
|
||||
resource lookups using this strongly typed resource class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.WebApi.RegistrationExtensionsResources.InvalidActionExpress">
|
||||
<summary>
|
||||
Looks up a localized string similar to The action method Expression is invalid. It should consist only of a Method call to a controller action method..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.WebApi.RegistrationExtensionsResources.ListMustNotBeEmptyOrContainNulls">
|
||||
<summary>
|
||||
Looks up a localized string similar to Type list may not be empty or contain all null values..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.WebApi.RegistrationExtensionsResources.MustBeAssignableToFilterType">
|
||||
<summary>
|
||||
Looks up a localized string similar to The type '{0}' must be assignable to '{1}'..
|
||||
</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
BIN
src/AutofacWihtAOP/packages/FluentValidation.8.1.3/.signature.p7s
vendored
Normal file
BIN
src/AutofacWihtAOP/packages/FluentValidation.8.1.3/.signature.p7s
vendored
Normal file
Binary file not shown.
BIN
src/AutofacWihtAOP/packages/FluentValidation.8.1.3/FluentValidation.8.1.3.nupkg
vendored
Normal file
BIN
src/AutofacWihtAOP/packages/FluentValidation.8.1.3/FluentValidation.8.1.3.nupkg
vendored
Normal file
Binary file not shown.
BIN
src/AutofacWihtAOP/packages/FluentValidation.8.1.3/lib/net45/FluentValidation.dll
vendored
Normal file
BIN
src/AutofacWihtAOP/packages/FluentValidation.8.1.3/lib/net45/FluentValidation.dll
vendored
Normal file
Binary file not shown.
3167
src/AutofacWihtAOP/packages/FluentValidation.8.1.3/lib/net45/FluentValidation.xml
vendored
Normal file
3167
src/AutofacWihtAOP/packages/FluentValidation.8.1.3/lib/net45/FluentValidation.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
src/AutofacWihtAOP/packages/FluentValidation.8.1.3/lib/netstandard1.1/FluentValidation.dll
vendored
Normal file
BIN
src/AutofacWihtAOP/packages/FluentValidation.8.1.3/lib/netstandard1.1/FluentValidation.dll
vendored
Normal file
Binary file not shown.
3167
src/AutofacWihtAOP/packages/FluentValidation.8.1.3/lib/netstandard1.1/FluentValidation.xml
vendored
Normal file
3167
src/AutofacWihtAOP/packages/FluentValidation.8.1.3/lib/netstandard1.1/FluentValidation.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
src/AutofacWihtAOP/packages/FluentValidation.8.1.3/lib/netstandard1.6/FluentValidation.dll
vendored
Normal file
BIN
src/AutofacWihtAOP/packages/FluentValidation.8.1.3/lib/netstandard1.6/FluentValidation.dll
vendored
Normal file
Binary file not shown.
3167
src/AutofacWihtAOP/packages/FluentValidation.8.1.3/lib/netstandard1.6/FluentValidation.xml
vendored
Normal file
3167
src/AutofacWihtAOP/packages/FluentValidation.8.1.3/lib/netstandard1.6/FluentValidation.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
src/AutofacWihtAOP/packages/FluentValidation.8.1.3/lib/netstandard2.0/FluentValidation.dll
vendored
Normal file
BIN
src/AutofacWihtAOP/packages/FluentValidation.8.1.3/lib/netstandard2.0/FluentValidation.dll
vendored
Normal file
Binary file not shown.
3167
src/AutofacWihtAOP/packages/FluentValidation.8.1.3/lib/netstandard2.0/FluentValidation.xml
vendored
Normal file
3167
src/AutofacWihtAOP/packages/FluentValidation.8.1.3/lib/netstandard2.0/FluentValidation.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
src/AutofacWihtAOP/packages/Microsoft.AspNet.WebApi.Client.5.2.0/.signature.p7s
vendored
Normal file
BIN
src/AutofacWihtAOP/packages/Microsoft.AspNet.WebApi.Client.5.2.0/.signature.p7s
vendored
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
BIN
src/AutofacWihtAOP/packages/Microsoft.AspNet.WebApi.Core.5.2.0/.signature.p7s
vendored
Normal file
BIN
src/AutofacWihtAOP/packages/Microsoft.AspNet.WebApi.Core.5.2.0/.signature.p7s
vendored
Normal file
Binary file not shown.
11
src/AutofacWihtAOP/packages/Microsoft.AspNet.WebApi.Core.5.2.0/Content/web.config.transform
vendored
Normal file
11
src/AutofacWihtAOP/packages/Microsoft.AspNet.WebApi.Core.5.2.0/Content/web.config.transform
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<system.webServer>
|
||||
<handlers>
|
||||
<remove name="ExtensionlessUrlHandler-Integrated-4.0" />
|
||||
<remove name="OPTIONSVerbHandler" />
|
||||
<remove name="TRACEVerbHandler" />
|
||||
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
|
||||
</handlers>
|
||||
</system.webServer>
|
||||
</configuration>
|
||||
Binary file not shown.
BIN
src/AutofacWihtAOP/packages/Microsoft.AspNet.WebApi.Core.5.2.0/lib/net45/System.Web.Http.dll
vendored
Normal file
BIN
src/AutofacWihtAOP/packages/Microsoft.AspNet.WebApi.Core.5.2.0/lib/net45/System.Web.Http.dll
vendored
Normal file
Binary file not shown.
6664
src/AutofacWihtAOP/packages/Microsoft.AspNet.WebApi.Core.5.2.0/lib/net45/System.Web.Http.xml
vendored
Normal file
6664
src/AutofacWihtAOP/packages/Microsoft.AspNet.WebApi.Core.5.2.0/lib/net45/System.Web.Http.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
src/AutofacWihtAOP/packages/MongoDB.Bson.2.7.3/.signature.p7s
vendored
Normal file
BIN
src/AutofacWihtAOP/packages/MongoDB.Bson.2.7.3/.signature.p7s
vendored
Normal file
Binary file not shown.
BIN
src/AutofacWihtAOP/packages/MongoDB.Bson.2.7.3/License.rtf
vendored
Normal file
BIN
src/AutofacWihtAOP/packages/MongoDB.Bson.2.7.3/License.rtf
vendored
Normal file
Binary file not shown.
BIN
src/AutofacWihtAOP/packages/MongoDB.Bson.2.7.3/MongoDB.Bson.2.7.3.nupkg
vendored
Normal file
BIN
src/AutofacWihtAOP/packages/MongoDB.Bson.2.7.3/MongoDB.Bson.2.7.3.nupkg
vendored
Normal file
Binary file not shown.
BIN
src/AutofacWihtAOP/packages/MongoDB.Bson.2.7.3/lib/net45/MongoDB.Bson.dll
vendored
Normal file
BIN
src/AutofacWihtAOP/packages/MongoDB.Bson.2.7.3/lib/net45/MongoDB.Bson.dll
vendored
Normal file
Binary file not shown.
21995
src/AutofacWihtAOP/packages/MongoDB.Bson.2.7.3/lib/net45/MongoDB.Bson.xml
vendored
Normal file
21995
src/AutofacWihtAOP/packages/MongoDB.Bson.2.7.3/lib/net45/MongoDB.Bson.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
src/AutofacWihtAOP/packages/MongoDB.Bson.2.7.3/lib/netstandard1.5/MongoDB.Bson.dll
vendored
Normal file
BIN
src/AutofacWihtAOP/packages/MongoDB.Bson.2.7.3/lib/netstandard1.5/MongoDB.Bson.dll
vendored
Normal file
Binary file not shown.
21945
src/AutofacWihtAOP/packages/MongoDB.Bson.2.7.3/lib/netstandard1.5/MongoDB.Bson.xml
vendored
Normal file
21945
src/AutofacWihtAOP/packages/MongoDB.Bson.2.7.3/lib/netstandard1.5/MongoDB.Bson.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
src/AutofacWihtAOP/packages/Newtonsoft.Json.4.5.11/.signature.p7s
vendored
Normal file
BIN
src/AutofacWihtAOP/packages/Newtonsoft.Json.4.5.11/.signature.p7s
vendored
Normal file
Binary file not shown.
BIN
src/AutofacWihtAOP/packages/Newtonsoft.Json.4.5.11/Newtonsoft.Json.4.5.11.nupkg
vendored
Normal file
BIN
src/AutofacWihtAOP/packages/Newtonsoft.Json.4.5.11/Newtonsoft.Json.4.5.11.nupkg
vendored
Normal file
Binary file not shown.
BIN
src/AutofacWihtAOP/packages/Newtonsoft.Json.4.5.11/lib/net20/Newtonsoft.Json.dll
vendored
Normal file
BIN
src/AutofacWihtAOP/packages/Newtonsoft.Json.4.5.11/lib/net20/Newtonsoft.Json.dll
vendored
Normal file
Binary file not shown.
8526
src/AutofacWihtAOP/packages/Newtonsoft.Json.4.5.11/lib/net20/Newtonsoft.Json.xml
vendored
Normal file
8526
src/AutofacWihtAOP/packages/Newtonsoft.Json.4.5.11/lib/net20/Newtonsoft.Json.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
src/AutofacWihtAOP/packages/Newtonsoft.Json.4.5.11/lib/net35/Newtonsoft.Json.dll
vendored
Normal file
BIN
src/AutofacWihtAOP/packages/Newtonsoft.Json.4.5.11/lib/net35/Newtonsoft.Json.dll
vendored
Normal file
Binary file not shown.
7662
src/AutofacWihtAOP/packages/Newtonsoft.Json.4.5.11/lib/net35/Newtonsoft.Json.xml
vendored
Normal file
7662
src/AutofacWihtAOP/packages/Newtonsoft.Json.4.5.11/lib/net35/Newtonsoft.Json.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
src/AutofacWihtAOP/packages/Newtonsoft.Json.4.5.11/lib/net40/Newtonsoft.Json.dll
vendored
Normal file
BIN
src/AutofacWihtAOP/packages/Newtonsoft.Json.4.5.11/lib/net40/Newtonsoft.Json.dll
vendored
Normal file
Binary file not shown.
7905
src/AutofacWihtAOP/packages/Newtonsoft.Json.4.5.11/lib/net40/Newtonsoft.Json.xml
vendored
Normal file
7905
src/AutofacWihtAOP/packages/Newtonsoft.Json.4.5.11/lib/net40/Newtonsoft.Json.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
7091
src/AutofacWihtAOP/packages/Newtonsoft.Json.4.5.11/lib/portable-net40+sl4+wp7+win8/Newtonsoft.Json.xml
vendored
Normal file
7091
src/AutofacWihtAOP/packages/Newtonsoft.Json.4.5.11/lib/portable-net40+sl4+wp7+win8/Newtonsoft.Json.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
src/AutofacWihtAOP/packages/Newtonsoft.Json.4.5.11/lib/sl3-wp/Newtonsoft.Json.dll
vendored
Normal file
BIN
src/AutofacWihtAOP/packages/Newtonsoft.Json.4.5.11/lib/sl3-wp/Newtonsoft.Json.dll
vendored
Normal file
Binary file not shown.
7212
src/AutofacWihtAOP/packages/Newtonsoft.Json.4.5.11/lib/sl3-wp/Newtonsoft.Json.xml
vendored
Normal file
7212
src/AutofacWihtAOP/packages/Newtonsoft.Json.4.5.11/lib/sl3-wp/Newtonsoft.Json.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
src/AutofacWihtAOP/packages/Newtonsoft.Json.4.5.11/lib/sl4-windowsphone71/Newtonsoft.Json.dll
vendored
Normal file
BIN
src/AutofacWihtAOP/packages/Newtonsoft.Json.4.5.11/lib/sl4-windowsphone71/Newtonsoft.Json.dll
vendored
Normal file
Binary file not shown.
7212
src/AutofacWihtAOP/packages/Newtonsoft.Json.4.5.11/lib/sl4-windowsphone71/Newtonsoft.Json.xml
vendored
Normal file
7212
src/AutofacWihtAOP/packages/Newtonsoft.Json.4.5.11/lib/sl4-windowsphone71/Newtonsoft.Json.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
src/AutofacWihtAOP/packages/Newtonsoft.Json.4.5.11/lib/sl4/Newtonsoft.Json.dll
vendored
Normal file
BIN
src/AutofacWihtAOP/packages/Newtonsoft.Json.4.5.11/lib/sl4/Newtonsoft.Json.dll
vendored
Normal file
Binary file not shown.
7234
src/AutofacWihtAOP/packages/Newtonsoft.Json.4.5.11/lib/sl4/Newtonsoft.Json.xml
vendored
Normal file
7234
src/AutofacWihtAOP/packages/Newtonsoft.Json.4.5.11/lib/sl4/Newtonsoft.Json.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
src/AutofacWihtAOP/packages/Newtonsoft.Json.4.5.11/lib/winrt45/Newtonsoft.Json.dll
vendored
Normal file
BIN
src/AutofacWihtAOP/packages/Newtonsoft.Json.4.5.11/lib/winrt45/Newtonsoft.Json.dll
vendored
Normal file
Binary file not shown.
7430
src/AutofacWihtAOP/packages/Newtonsoft.Json.4.5.11/lib/winrt45/Newtonsoft.Json.xml
vendored
Normal file
7430
src/AutofacWihtAOP/packages/Newtonsoft.Json.4.5.11/lib/winrt45/Newtonsoft.Json.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
src/AutofacWihtAOP/packages/System.Collections.Concurrent.4.3.0/.signature.p7s
vendored
Normal file
BIN
src/AutofacWihtAOP/packages/System.Collections.Concurrent.4.3.0/.signature.p7s
vendored
Normal file
Binary file not shown.
Binary file not shown.
31
src/AutofacWihtAOP/packages/System.Collections.Concurrent.4.3.0/ThirdPartyNotices.txt
vendored
Normal file
31
src/AutofacWihtAOP/packages/System.Collections.Concurrent.4.3.0/ThirdPartyNotices.txt
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
This Microsoft .NET Library may incorporate components from the projects listed
|
||||
below. Microsoft licenses these components under the Microsoft .NET Library
|
||||
software license terms. The original copyright notices and the licenses under
|
||||
which Microsoft received such components are set forth below for informational
|
||||
purposes only. Microsoft reserves all rights not expressly granted herein,
|
||||
whether by implication, estoppel or otherwise.
|
||||
|
||||
1. .NET Core (https://github.com/dotnet/core/)
|
||||
|
||||
.NET Core
|
||||
Copyright (c) .NET Foundation and Contributors
|
||||
|
||||
The MIT License (MIT)
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
128
src/AutofacWihtAOP/packages/System.Collections.Concurrent.4.3.0/dotnet_library_license.txt
vendored
Normal file
128
src/AutofacWihtAOP/packages/System.Collections.Concurrent.4.3.0/dotnet_library_license.txt
vendored
Normal file
@@ -0,0 +1,128 @@
|
||||
|
||||
MICROSOFT SOFTWARE LICENSE TERMS
|
||||
|
||||
|
||||
MICROSOFT .NET LIBRARY
|
||||
|
||||
These license terms are an agreement between Microsoft Corporation (or based on where you live, one of its affiliates) and you. Please read them. They apply to the software named above, which includes the media on which you received it, if any. The terms also apply to any Microsoft
|
||||
|
||||
· updates,
|
||||
|
||||
· supplements,
|
||||
|
||||
· Internet-based services, and
|
||||
|
||||
· support services
|
||||
|
||||
for this software, unless other terms accompany those items. If so, those terms apply.
|
||||
|
||||
BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS. IF YOU DO NOT ACCEPT THEM, DO NOT USE THE SOFTWARE.
|
||||
|
||||
|
||||
IF YOU COMPLY WITH THESE LICENSE TERMS, YOU HAVE THE PERPETUAL RIGHTS BELOW.
|
||||
|
||||
1. INSTALLATION AND USE RIGHTS.
|
||||
|
||||
a. Installation and Use. You may install and use any number of copies of the software to design, develop and test your programs.
|
||||
|
||||
b. Third Party Programs. The software may include third party programs that Microsoft, not the third party, licenses to you under this agreement. Notices, if any, for the third party program are included for your information only.
|
||||
|
||||
2. ADDITIONAL LICENSING REQUIREMENTS AND/OR USE RIGHTS.
|
||||
|
||||
a. DISTRIBUTABLE CODE. The software is comprised of Distributable Code. “Distributable Code” is code that you are permitted to distribute in programs you develop if you comply with the terms below.
|
||||
|
||||
i. Right to Use and Distribute.
|
||||
|
||||
· You may copy and distribute the object code form of the software.
|
||||
|
||||
· Third Party Distribution. You may permit distributors of your programs to copy and distribute the Distributable Code as part of those programs.
|
||||
|
||||
ii. Distribution Requirements. For any Distributable Code you distribute, you must
|
||||
|
||||
· add significant primary functionality to it in your programs;
|
||||
|
||||
· require distributors and external end users to agree to terms that protect it at least as much as this agreement;
|
||||
|
||||
· display your valid copyright notice on your programs; and
|
||||
|
||||
· indemnify, defend, and hold harmless Microsoft from any claims, including attorneys’ fees, related to the distribution or use of your programs.
|
||||
|
||||
iii. Distribution Restrictions. You may not
|
||||
|
||||
· alter any copyright, trademark or patent notice in the Distributable Code;
|
||||
|
||||
· use Microsoft’s trademarks in your programs’ names or in a way that suggests your programs come from or are endorsed by Microsoft;
|
||||
|
||||
· include Distributable Code in malicious, deceptive or unlawful programs; or
|
||||
|
||||
· modify or distribute the source code of any Distributable Code so that any part of it becomes subject to an Excluded License. An Excluded License is one that requires, as a condition of use, modification or distribution, that
|
||||
|
||||
· the code be disclosed or distributed in source code form; or
|
||||
|
||||
· others have the right to modify it.
|
||||
|
||||
3. SCOPE OF LICENSE. The software is licensed, not sold. This agreement only gives you some rights to use the software. Microsoft reserves all other rights. Unless applicable law gives you more rights despite this limitation, you may use the software only as expressly permitted in this agreement. In doing so, you must comply with any technical limitations in the software that only allow you to use it in certain ways. You may not
|
||||
|
||||
· work around any technical limitations in the software;
|
||||
|
||||
· reverse engineer, decompile or disassemble the software, except and only to the extent that applicable law expressly permits, despite this limitation;
|
||||
|
||||
· publish the software for others to copy;
|
||||
|
||||
· rent, lease or lend the software;
|
||||
|
||||
· transfer the software or this agreement to any third party; or
|
||||
|
||||
· use the software for commercial software hosting services.
|
||||
|
||||
4. BACKUP COPY. You may make one backup copy of the software. You may use it only to reinstall the software.
|
||||
|
||||
5. DOCUMENTATION. Any person that has valid access to your computer or internal network may copy and use the documentation for your internal, reference purposes.
|
||||
|
||||
6. EXPORT RESTRICTIONS. The software is subject to United States export laws and regulations. You must comply with all domestic and international export laws and regulations that apply to the software. These laws include restrictions on destinations, end users and end use. For additional information, see www.microsoft.com/exporting.
|
||||
|
||||
7. SUPPORT SERVICES. Because this software is “as is,” we may not provide support services for it.
|
||||
|
||||
8. ENTIRE AGREEMENT. This agreement, and the terms for supplements, updates, Internet-based services and support services that you use, are the entire agreement for the software and support services.
|
||||
|
||||
9. APPLICABLE LAW.
|
||||
|
||||
a. United States. If you acquired the software in the United States, Washington state law governs the interpretation of this agreement and applies to claims for breach of it, regardless of conflict of laws principles. The laws of the state where you live govern all other claims, including claims under state consumer protection laws, unfair competition laws, and in tort.
|
||||
|
||||
b. Outside the United States. If you acquired the software in any other country, the laws of that country apply.
|
||||
|
||||
10. LEGAL EFFECT. This agreement describes certain legal rights. You may have other rights under the laws of your country. You may also have rights with respect to the party from whom you acquired the software. This agreement does not change your rights under the laws of your country if the laws of your country do not permit it to do so.
|
||||
|
||||
11. DISCLAIMER OF WARRANTY. THE SOFTWARE IS LICENSED “AS-IS.” YOU BEAR THE RISK OF USING IT. MICROSOFT GIVES NO EXPRESS WARRANTIES, GUARANTEES OR CONDITIONS. YOU MAY HAVE ADDITIONAL CONSUMER RIGHTS OR STATUTORY GUARANTEES UNDER YOUR LOCAL LAWS WHICH THIS AGREEMENT CANNOT CHANGE. TO THE EXTENT PERMITTED UNDER YOUR LOCAL LAWS, MICROSOFT EXCLUDES THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
|
||||
|
||||
FOR AUSTRALIA – YOU HAVE STATUTORY GUARANTEES UNDER THE AUSTRALIAN CONSUMER LAW AND NOTHING IN THESE TERMS IS INTENDED TO AFFECT THOSE RIGHTS.
|
||||
|
||||
12. LIMITATION ON AND EXCLUSION OF REMEDIES AND DAMAGES. YOU CAN RECOVER FROM MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. $5.00. YOU CANNOT RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST PROFITS, SPECIAL, INDIRECT OR INCIDENTAL DAMAGES.
|
||||
|
||||
This limitation applies to
|
||||
|
||||
· anything related to the software, services, content (including code) on third party Internet sites, or third party programs; and
|
||||
|
||||
· claims for breach of contract, breach of warranty, guarantee or condition, strict liability, negligence, or other tort to the extent permitted by applicable law.
|
||||
|
||||
It also applies even if Microsoft knew or should have known about the possibility of the damages. The above limitation or exclusion may not apply to you because your country may not allow the exclusion or limitation of incidental, consequential or other damages.
|
||||
|
||||
Please note: As this software is distributed in Quebec, Canada, some of the clauses in this agreement are provided below in French.
|
||||
|
||||
Remarque : Ce logiciel étant distribué au Québec, Canada, certaines des clauses dans ce contrat sont fournies ci-dessous en français.
|
||||
|
||||
EXONÉRATION DE GARANTIE. Le logiciel visé par une licence est offert « tel quel ». Toute utilisation de ce logiciel est à votre seule risque et péril. Microsoft n’accorde aucune autre garantie expresse. Vous pouvez bénéficier de droits additionnels en vertu du droit local sur la protection des consommateurs, que ce contrat ne peut modifier. La ou elles sont permises par le droit locale, les garanties implicites de qualité marchande, d’adéquation à un usage particulier et d’absence de contrefaçon sont exclues.
|
||||
|
||||
LIMITATION DES DOMMAGES-INTÉRÊTS ET EXCLUSION DE RESPONSABILITÉ POUR LES DOMMAGES. Vous pouvez obtenir de Microsoft et de ses fournisseurs une indemnisation en cas de dommages directs uniquement à hauteur de 5,00 $ US. Vous ne pouvez prétendre à aucune indemnisation pour les autres dommages, y compris les dommages spéciaux, indirects ou accessoires et pertes de bénéfices.
|
||||
|
||||
Cette limitation concerne :
|
||||
|
||||
· tout ce qui est relié au logiciel, aux services ou au contenu (y compris le code) figurant sur des sites Internet tiers ou dans des programmes tiers ; et
|
||||
|
||||
· les réclamations au titre de violation de contrat ou de garantie, ou au titre de responsabilité stricte, de négligence ou d’une autre faute dans la limite autorisée par la loi en vigueur.
|
||||
|
||||
Elle s’applique également, même si Microsoft connaissait ou devrait connaître l’éventualité d’un tel dommage. Si votre pays n’autorise pas l’exclusion ou la limitation de responsabilité pour les dommages indirects, accessoires ou de quelque nature que ce soit, il se peut que la limitation ou l’exclusion ci-dessus ne s’appliquera pas à votre égard.
|
||||
|
||||
EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous pourriez avoir d’autres droits prévus par les lois de votre pays. Le présent contrat ne modifie pas les droits que vous confèrent les lois de votre pays si celles-ci ne le permettent pas.
|
||||
|
||||
|
||||
0
src/AutofacWihtAOP/packages/System.Collections.Concurrent.4.3.0/lib/MonoAndroid10/_._
vendored
Normal file
0
src/AutofacWihtAOP/packages/System.Collections.Concurrent.4.3.0/lib/MonoAndroid10/_._
vendored
Normal file
0
src/AutofacWihtAOP/packages/System.Collections.Concurrent.4.3.0/lib/MonoTouch10/_._
vendored
Normal file
0
src/AutofacWihtAOP/packages/System.Collections.Concurrent.4.3.0/lib/MonoTouch10/_._
vendored
Normal file
0
src/AutofacWihtAOP/packages/System.Collections.Concurrent.4.3.0/lib/net45/_._
vendored
Normal file
0
src/AutofacWihtAOP/packages/System.Collections.Concurrent.4.3.0/lib/net45/_._
vendored
Normal file
Binary file not shown.
Binary file not shown.
0
src/AutofacWihtAOP/packages/System.Collections.Concurrent.4.3.0/lib/win8/_._
vendored
Normal file
0
src/AutofacWihtAOP/packages/System.Collections.Concurrent.4.3.0/lib/win8/_._
vendored
Normal file
0
src/AutofacWihtAOP/packages/System.Collections.Concurrent.4.3.0/lib/wpa81/_._
vendored
Normal file
0
src/AutofacWihtAOP/packages/System.Collections.Concurrent.4.3.0/lib/wpa81/_._
vendored
Normal file
0
src/AutofacWihtAOP/packages/System.Collections.Concurrent.4.3.0/lib/xamarinios10/_._
vendored
Normal file
0
src/AutofacWihtAOP/packages/System.Collections.Concurrent.4.3.0/lib/xamarinios10/_._
vendored
Normal file
0
src/AutofacWihtAOP/packages/System.Collections.Concurrent.4.3.0/lib/xamarinmac20/_._
vendored
Normal file
0
src/AutofacWihtAOP/packages/System.Collections.Concurrent.4.3.0/lib/xamarinmac20/_._
vendored
Normal file
0
src/AutofacWihtAOP/packages/System.Collections.Concurrent.4.3.0/lib/xamarintvos10/_._
vendored
Normal file
0
src/AutofacWihtAOP/packages/System.Collections.Concurrent.4.3.0/lib/xamarintvos10/_._
vendored
Normal file
0
src/AutofacWihtAOP/packages/System.Collections.Concurrent.4.3.0/lib/xamarinwatchos10/_._
vendored
Normal file
0
src/AutofacWihtAOP/packages/System.Collections.Concurrent.4.3.0/lib/xamarinwatchos10/_._
vendored
Normal file
0
src/AutofacWihtAOP/packages/System.Collections.Concurrent.4.3.0/ref/MonoAndroid10/_._
vendored
Normal file
0
src/AutofacWihtAOP/packages/System.Collections.Concurrent.4.3.0/ref/MonoAndroid10/_._
vendored
Normal file
0
src/AutofacWihtAOP/packages/System.Collections.Concurrent.4.3.0/ref/MonoTouch10/_._
vendored
Normal file
0
src/AutofacWihtAOP/packages/System.Collections.Concurrent.4.3.0/ref/MonoTouch10/_._
vendored
Normal file
0
src/AutofacWihtAOP/packages/System.Collections.Concurrent.4.3.0/ref/net45/_._
vendored
Normal file
0
src/AutofacWihtAOP/packages/System.Collections.Concurrent.4.3.0/ref/net45/_._
vendored
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user