RightControl.WebApp/bin/Autofac.xml
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?xml version="1.0"?>
<doc>
<assembly>
<name>Autofac</name>
</assembly>
<members>
<member name="T:Autofac.ContainerBuilder">
<summary>
Used to build an <see cref="T:Autofac.IContainer"/> from component registrations.
</summary>
<example>
<code>
var builder = new ContainerBuilder();
builder.RegisterType<Logger>()
.As<ILogger>()
.SingleInstance();
builder.Register(c => new MessageHandler(c.Resolve<ILogger>()));
var container = builder.Build();
// resolve components from container...
</code>
</example>
<remarks>Most <see cref="T:Autofac.ContainerBuilder"/> functionality is accessed
via extension methods in <see cref="T:Autofac.RegistrationExtensions"/>.</remarks>
<seealso cref="T:Autofac.IContainer"/>
<see cref="T:Autofac.RegistrationExtensions"/>
</member>
<member name="M:Autofac.ContainerBuilder.RegisterCallback(System.Action{Autofac.Core.IComponentRegistry})">
<summary>
Register a callback that will be invoked when the container is configured.
</summary>
<remarks>This is primarily for extending the builder syntax.</remarks>
<param name="configurationCallback">Callback to execute.</param>
</member>
<member name="M:Autofac.ContainerBuilder.Build(Autofac.Builder.ContainerBuildOptions)">
<summary>
Create a new container with the component registrations that have been made.
</summary>
<param name="options">Options that influence the way the container is initialised.</param>
<remarks>
Build can only be called once per <see cref="T:Autofac.ContainerBuilder"/>
- this prevents ownership issues for provided instances.
Build enables support for the relationship types that come with Autofac (e.g.
Func, Owned, Meta, Lazy, IEnumerable.) To exclude support for these types,
first create the container, then call Update() on the builder.
</remarks>
<returns>A new container with the configured component registrations.</returns>
</member>
<member name="M:Autofac.ContainerBuilder.Update(Autofac.IContainer)">
<summary>
Configure an existing container with the component registrations
that have been made.
</summary>
<remarks>
Update can only be called once per <see cref="T:Autofac.ContainerBuilder"/>
- this prevents ownership issues for provided instances.
</remarks>
<param name="container">An existing container to make the registrations in.</param>
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
