Mercurial > altnet-hispano
view 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 |
line wrap: on
line source
using System.Configuration; namespace AltNetHispano.Agendas.Configurations { public class BlogWriterConfigurationElement : ConfigurationElement { [ConfigurationProperty("postWriterServiceUrl")] public string PostWriterServiceUrl { get { return base["postWriterServiceUrl"] as string; } } [ConfigurationProperty("blogName")] public string BlogName { get { return base["blogName"] as string; } } [ConfigurationProperty("blogWriterMasterKey")] public string BlogWriterMasterKey { get { return base["blogWriterMasterKey"] as string; } } } }