Mercurial > altnet-hispano
diff Agendas/trunk/src/Agendas.Configurations.Tests/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 | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Agendas/trunk/src/Agendas.Configurations.Tests/App.config Fri Aug 05 16:55:18 2011 -0300 @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> + +<configuration> + <configSections> + <section name="publicadores" type="AltNetHispano.Agendas.Configurations.PublicadoresConfigurationSection, AltNetHispano.Agendas.Configurations, Version=1.0.0.0, Culture=neutral" /> + </configSections> + + <publicadores> + <twitter enabled="true"> + <signIn consumerKey="consumerKey1" consumerSecret="consumerSecret1" /> + <sendTwitter consumerKey="consumerKey2" consumerSecret="consumerSecret2" accessToken="accessToken2" accessTokenSecret="accessTokenSecret2" /> + </twitter> + <google enabled="true"> + <calendar userName="altnethispano.desa@gmail.com" password="password" calendarId="altnethispano.desa@gmail.com" /> + </google> + <blog enabled="true"> + <writer postWriterServiceUrl="postWriterServiceUrl" blogName="blogName" blogWriterMasterKey="blogWriterMasterKey" /> + </blog> + </publicadores> +</configuration> \ No newline at end of file