comparison 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
comparison
equal deleted inserted replaced
157:f17252543cbf 158:734d3f0853bf
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <configuration>
4 <configSections>
5 <section name="publicadores" type="AltNetHispano.Agendas.Configurations.PublicadoresConfigurationSection, AltNetHispano.Agendas.Configurations, Version=1.0.0.0, Culture=neutral" />
6 </configSections>
7
8 <publicadores>
9 <twitter enabled="true">
10 <signIn consumerKey="consumerKey1" consumerSecret="consumerSecret1" />
11 <sendTwitter consumerKey="consumerKey2" consumerSecret="consumerSecret2" accessToken="accessToken2" accessTokenSecret="accessTokenSecret2" />
12 </twitter>
13 <google enabled="true">
14 <calendar userName="altnethispano.desa@gmail.com" password="password" calendarId="altnethispano.desa@gmail.com" />
15 </google>
16 <blog enabled="true">
17 <writer postWriterServiceUrl="postWriterServiceUrl" blogName="blogName" blogWriterMasterKey="blogWriterMasterKey" />
18 </blog>
19 </publicadores>
20 </configuration>