Hi folks,
i've got some custom config entries in my .config files. All loads/works fine. I was wondering if there's a proper way to check the data that has been provided -- adding some business logic. For example...
<logFileSettings>
<logFile fileName="foo.log" uniqueName="log1">
<alerts>
-= snip =-
</alerts>
</logFile>
<logFile fileName="bar.log" uniqueName="log2">
<alerts>
-= snip =-
</alerts>
</logFile>
</logFileSettings>
Now, i want to make sure the uniqueName for each custom sections are unique. Do i need to do this manually outside of my custom class which impliments ConfigurationSection or can i do it in there? (eg. sorta like a delegate to after it's read the config file or something?)
cheers.