SmartFormat icon indicating copy to clipboard operation
SmartFormat copied to clipboard

Static cache for ReflectionSource and DictionarySource?

Open axunonb opened this issue 8 months ago • 4 comments

@karljj1 Are these variables not static by mistake? Can't remember a reason to make them instance variables 😉. Can you help me out?

https://github.com/axuno/SmartFormat/blob/421c7155b47d8e819a0a75a392f2b19f2c56e7bd/src/SmartFormat/Extensions/ReflectionSource.cs#L32

https://github.com/axuno/SmartFormat/blob/421c7155b47d8e819a0a75a392f2b19f2c56e7bd/src/SmartFormat/Extensions/DictionarySource.cs#L82

axunonb avatar Jun 28 '24 14:06 axunonb