I noticed that the castle windsor fluent component registration interface has the rather confusing ActAs() method.
Googling around for it the only reference I found was at their wiki here.
TODO (Stuff that could be documented)
- what does ActAs() do?
Not too helpful.
The source doesn't seem to have any unit tests for the method that would give a clue to its usage and I'm too unfamiliar with their source to be able to tell for myself what is going on.
Does anyone know any more about this?
Best Answer
It adds custom dependencies (tags) to the component being registered. The WcfFacility, for example, uses these attached dependencies to set up endpoints and other stuff.