Mercurial > altnet-hispano
diff Agendas/trunk/src/Agendas.Web/PublicadoresConfig.cs @ 128:1e47bf408073
Asignacion de los publicadores configurados en web.config al factory de agenda
(mediante CompositePublicador)
author | jorge.rowies |
---|---|
date | Mon, 04 Jul 2011 20:00:51 -0300 |
parents | 3700b77ed455 |
children |
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Web/PublicadoresConfig.cs Sat Jul 02 21:50:05 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Web/PublicadoresConfig.cs Mon Jul 04 20:00:51 2011 -0300 @@ -15,20 +15,15 @@ get { return (string)this["name"]; } } - [ConfigurationProperty("type", IsRequired = true)] - public string Type + [ConfigurationProperty("componentKey", IsRequired = true)] + public string ComponentKey { get { - return (string)this["type"]; + return (string)this["componentKey"]; } } - public Type GetPublicadorType() - { - return System.Type.GetType((string) this["type"]); - } - [ConfigurationProperty("enabled", IsRequired = true)] public bool Enabled {