settings - What is the preferred way to configure a mono application -
when using vs, preferred way store user- , application settings seems to access vs "settings" tab given assembly , type settings need. monodevelop not have feature (or @ least did not find it...)
what preferred way under mono using monodevelop?
if answer "well, same - hand-type code needed" i'd love pointers nice tutorial.
on mono list, john ludlow had answer needed:
...first, configurationmanager ( http://msdn.microsoft.com/en-us/library/system.configuration.configurationmanager.aspx ) expose 2 section handlers default...
if want more complex configuration option can define own handlers inheriting configurationsection , configurationelement.
see http://msdn.microsoft.com/en-us/library/system.configuration.configurationsection.aspx , http://msdn.microsoft.com/en-us/library/system.configuration.configurationelement.aspx.
you may need provide class inheriting configurationelementcollection well, if want able configure collection of values.
thanks john , people of mono-list.
Comments
Post a Comment