-
- Notifications
You must be signed in to change notification settings - Fork 105
Closed
Description
I am using SmartFormat in Net Core AspNet project.
I have own extension that I register it on startup globally:
Smart.Default.AddExtension
But ThreadStaticAttribute on Smart.Default prevents from reliably registering extensions globally as for each new thread my extension is not available because Smart.Default is newly created.
Is there some workaround, where I can set extension globally and it is picked up whenever CreateDefaultSmartFormat is called?
Maybe like SmartSettings.AddDefaultExtensions and those extension will be added on each new thread...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels