ansaurus

tags:

  • .net
  • castle-windsor
  • inversion-of-control
  • property-injection

views:

174

answers:

1
+1  Q: 

How to prevent Castle Windsor from injecting property dependencies?

Is there a way to prevent Castle Windsor from automatically injecting dependencies into properties (besides the [DoNotWire] attribute)?

+2  A: 

Duplicate: http://stackoverflow.com/questions/178611/windsor-container-how-to-specify-a-public-property-should-not-be-filled-by-the-c

See also:

  • http://groups.google.com/group/castle-project-users/browse%5Fthread/thread/f1ec737ff243c19d
  • http://jfromaniello.blogspot.com/2009/07/noninjectable-service.html
  • http://using.castleproject.org/display/Contrib/Castle.Facilities.OptionalPropertyInjection
Mauricio Scheffer  2009-08-31 20:51:22

related questions

Subsonic Vs NHibernate
How to check For File Lock in C# ?
Is nAnt still supported and suitable for .net 3.5/VS2008?
Limit size of Queue<T> in .NET?
Viewstate invalid when using Safari
Free OCR library
Unhandled Exception Handler in .NET 1.1
Localising date format descriptors
Get a new object instance from a Type in C#
VFP .NET OLEdb provider does not work in Win 64-Bits. Help
.NET Testing Framework Advice
Embedded Database for .net that can run off a network
Automatically update version number
Homegrown consumption of web services
How do you migrate a large app from VB6 to VB .net ?
.NET Migrations Engine
Adding Scripting functionality to .NET applications
SQLite and XSD
Floating Point Number parsing: Is there a Catch All algorithm?
How do I programmatically create a PDF in my .NET application?
How do I sync the SVN revision number with my ASP.NET web site?
XSD DataSets and ignoring foreign keys
Anatomy of a "Memory Leak"
Reliable Timer in a Console Application
How do I calculate relative time?
The questions, topics and answers come from serverfault.com, stackoverflow.com and superuser.com, and are licensed under the cc-wiki license.
© 2010 Chad Scira / icodeforlove