Comments (5)
From [email protected] on February 09, 2008 19:21:28
Created an initial implementation in Autofac.Extras.TaggedScopes.
So far supports only delegate registrations. To support reflective ones, a custom
registrar is necessary. Before exposing the base registrar types they need to be
reviewed.
Cannot support anonymous containers within the hierarchy without exposing Parent from
IContainer (not particularly desirable.) Otherwise works pretty well. Key methods are:
ContainerBuilder.EnableTaggedContexts() [Extension]
ContainerBuilder.RegisterInContext() [Extension]
Container.CreateTaggedInnerContainer() [Extension]
Status: Started
from autofac.
From [email protected] on February 21, 2008 01:30:29
Reimplementing - will require only ContainerBuilder.RegisterInContext() and
IContainer.Tag()
from autofac.
From [email protected] on February 24, 2008 23:55:50
Implemented under the Autofac.Tags namespace.
Status: Verified
from autofac.
From [email protected] on February 25, 2008 02:40:24
Disposal semantics not correct. See ignored unit test.
Status: Started
from autofac.
From [email protected] on February 25, 2008 12:56:08
Done, does the trick.
Status: Verified
from autofac.
Related Issues (20)
- Instantiated services not disposed on exception during IStartable HOT 1
- Service is not register in Eureka because of Autofac HOT 4
- Trouble with Autofac Container Disposal when Resolving Dependencies in Another Method/Class HOT 7
- ```Scope.TryResolve(FactoryTypes, out var Instance)``` throws HOT 1
- [Xamarin.iOS] Application crashes during apple review process HOT 1
- AttributedMetadataModule slows down service resolution considerably HOT 1
- Type equivalence for the embedded interop types not working HOT 1
- Decorators does not follow ExternallyOwned - problem with lifetime scope on decorator with `IDisposable` implementation
- Are the container and the root lifetime scope different objects after the first child lifetime scope begins? HOT 2
- Add option to fail on ambiguous service resolution HOT 3
- Required properties not working with WebAPI controllers HOT 6
- Configure Autofac so that it's ExternallyOwned for default, and "InternallyOwned" for separate services HOT 1
- Collection Expressions-y Injections HOT 7
- Startable Singleton instantiated twice HOT 1
- AutoFac WebForms object[] problem HOT 5
- Resolutions with many TypedParameter of the same type HOT 2
- ComponentNotRegisteredException thrown when using NUnit Console Runner HOT 1
- Can Autofac Dispose queue cause buffer overflow or heap corruption? HOT 1
- Register service with Interceptor, then register multiple decorator, auto apply Interceptor to the outermost decorator HOT 13
- Attempt by security transparent method 'Autofac.Integration.Mvc.RegistrationExtensions.RegisterControllers(Autofac.ContainerBuilder, System.Reflection.Assembly[])' to access security critical type 'Autofac.Builder.IRegistrationBuilder`3<System.Object,Autofac.Features.Scanning.ScanningActivatorData,Autofac.Builder.DynamicRegistrationStyle>' failed. Assembly 'Autofac.Integration.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=17863af14b0044da' is marked with the AllowPartiallyTrustedCallersAttribute, and uses the level 2 security transparency model. Level 2 transparency causes all methods in AllowPartiallyTrustedCallers assemblies to become security transparent by default, which may be the cause of this exception. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autofac.