Comments (2)
A quick look at the code and I'd have thought it would work. The InterceptorInspector
which converts InterceptorAttribute
attributes uses IContributeComponentModelConstruction
.
Does it work if you change the InterceptorReference
to use the component type? i.e.:
model.Interceptors.Add(new InterceptorReference(typeof(TestInterceptor)));
I assume you're aware there is another extensibility point: IModelInterceptorsSelector
.
from windsor.
Hi @jonorossi ,
Thank you for your quick reply. First of all, sorry for the quality of the sample project, I've just now noticed that it doesn't even build, some refactoring has failed and also it was cut out from a solution where central package management was used.
Using the concrete type in the interceptor reference solves the issue, thank you.
from windsor.
Related Issues (20)
- Can't use <install directory=""> from XML file to register a class. HOT 1
- OWIN Self-hosted mode "perwebrequest" lifecycle
- WindsorScopedServiceProvider remains in scope captured at resolve-time (Scope cache was already disposed)
- windsor 5.1.2 Lifestyle Prewebrequest HOT 4
- .NET 6 - Get ServiceProvider Service from MS DI Extension before build() HOT 4
- NET 6.0 ForcedScope Failed with "No Available Scope" on GET request HOT 38
- Using xml-config file for dynamic loading of plugin dll doesn't work in Net6 HOT 1
- how to get a System.Runtime.Remoting.Proxies._TransparentProxy by WindsorContainer HOT 1
- Can't create a logger due to out of date example code and documentation. HOT 1
- Duplicate named registrations fails silently when using BasedOnDescriptor.Configure HOT 1
- NET 6.0 The ISupportInitialize interface methods are not called HOT 1
- Property injection for type registered with DynamicParameters
- Missing package Castle.Windsor.Extensions.Hosting HOT 1
- NuGet.org automatic publishing missing `Castle.Windsor.Extensions.Hosting`
- NuGet packages still using deprecated `licenseUrl` element HOT 2
- Support for IAsyncDisposable
- Async version of IStartable interface for Castle Startable facility
- Occasional InvalidOperationException - "Can't find information about factory method..." HOT 1
- Azure Service Bus implementation issue using castle Windsor in net core 6.
- Blazor Support
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 windsor.