comparison Agendas/trunk/src/Agendas.Configurations/BlogWriterConfigurationElement.cs @ 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 using System.Configuration;
2
3 namespace AltNetHispano.Agendas.Configurations
4 {
5 public class BlogWriterConfigurationElement : ConfigurationElement
6 {
7 [ConfigurationProperty("postWriterServiceUrl")]
8 public string PostWriterServiceUrl
9 {
10 get { return base["postWriterServiceUrl"] as string; }
11
12 }
13
14 [ConfigurationProperty("blogName")]
15 public string BlogName
16 {
17 get { return base["blogName"] as string; }
18
19 }
20
21 [ConfigurationProperty("blogWriterMasterKey")]
22 public string BlogWriterMasterKey
23 {
24 get { return base["blogWriterMasterKey"] as string; }
25
26 }
27 }
28 }