I have a class of type ISimpleCache<IBrokeredDataObject> that I want to add as a type alias (then a type) in the App.Config file
the line
<typeAlias alias='ISimpleCacheOfIBrokeredDataObject' type='MyApplication.ISimpleCache<IBrokeredDataObject>, MyApplication' />
is obviously wrong due to the <>, however I’m not convinced escaping them;
<typeAlias alias='ISimpleCacheOfIBrokeredDataObject' type='MyApplication.ISimpleCache<IBrokeredDataObject>, MyApplication' />
is correct either.
I am currently ripping my code apart to use Unity, so am too far from a compilable code base to test this quickly, and was hoping to get some confirmation here.
Check out this blog post:
And a comment in the same page said:
So I guess your configuration file should contain something like this:
Note the use of the ‘grave accent’ or ‘backquote’ character (
`), not the normal single quote (').