Mercurial > altnet-hispano
diff Agendas/trunk/src/Agendas.Google.Test/App.config @ 158:734d3f0853bf
Manejando configuración de los publicadores con una sección propia en los .config
Agregando la opción de habilitar / deshabilitar un publicador
author | nelopauselli |
---|---|
date | Fri, 05 Aug 2011 16:55:18 -0300 |
parents | 0ea32a748453 |
children | 71737419a839 |
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Google.Test/App.config Thu Aug 04 18:45:18 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Google.Test/App.config Fri Aug 05 16:55:18 2011 -0300 @@ -1,8 +1,13 @@ -<?xml version="1.0" encoding="utf-8" ?> +<?xml version="1.0" encoding="utf-8"?> + <configuration> - <appSettings> - <add key="userNameGoogleCalendar" value="altnethispano.desa@gmail.com" /> - <add key="passwordGoogleCalendar" value="fA&Ec3wU3est" /> - <add key="calendarIdGoogleCalendar" value="altnethispano.desa@gmail.com" /> - </appSettings> + <configSections> + <section name="publicadores" type="AltNetHispano.Agendas.Configurations.PublicadoresConfigurationSection, AltNetHispano.Agendas.Configurations, Version=1.0.0.0, Culture=neutral" /> + </configSections> + + <publicadores> + <google enabled="true"> + <calendar userName="altnethispano.desa@gmail.com" password="fA&Ec3wU3est" calendarId="altnethispano.desa@gmail.com" /> + </google> + </publicadores> </configuration> \ No newline at end of file