Mercurial > altnet-hispano
comparison Agendas/trunk/src/Agendas.Blog/Impl/BlogPublicadorConfig.cs @ 105:1d820f17fc75
ajustes y correcciones en el publicador de blogs
agregado de numeroOrden y urlWiki en metodo Publicar de Agenda y Evento (con test)
author | jorge.rowies |
---|---|
date | Mon, 06 Jun 2011 09:12:52 -0300 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
104:c5034884c7d7 | 105:1d820f17fc75 |
---|---|
1 using System; | |
2 | |
3 namespace Agendas.Blog.Impl | |
4 { | |
5 public class BlogPublicadorConfig | |
6 { | |
7 public BlogPublicadorConfig(string postWriterServiceUrl, string blogName, string blogWriterMasterKey) | |
8 { | |
9 if (string.IsNullOrEmpty(postWriterServiceUrl)) throw new ArgumentNullException("postWriterServiceUrl"); | |
10 if (string.IsNullOrEmpty(blogName)) throw new ArgumentNullException("blogName"); | |
11 if (string.IsNullOrEmpty(blogWriterMasterKey)) throw new ArgumentNullException("blogWriterMasterKey"); | |
12 | |
13 _postWriterServiceUrl = postWriterServiceUrl; | |
14 _blogName = blogName; | |
15 _blogWriterMasterKey = blogWriterMasterKey; | |
16 } | |
17 | |
18 private readonly string _postWriterServiceUrl; | |
19 private readonly string _blogName; | |
20 private readonly string _blogWriterMasterKey; | |
21 | |
22 public string BlogWriterMasterKey | |
23 { | |
24 get { return _blogWriterMasterKey; } | |
25 } | |
26 | |
27 public string BlogName | |
28 { | |
29 get { return _blogName; } | |
30 } | |
31 | |
32 public string PostWriterServiceUrl | |
33 { | |
34 get { return _postWriterServiceUrl; } | |
35 } | |
36 } | |
37 } |