view Agendas/trunk/src/Agendas.Blog/Impl/NullObjectPostWriter.cs @ 104:c5034884c7d7

refactor para que los estados sean singletons
author jorge.rowies
date Sun, 05 Jun 2011 13:22:36 -0300
parents 3027c64344bd
children 1d820f17fc75
line wrap: on
line source

using AltNetHispano.Agendas.Domain;

namespace Agendas.Blog.Impl
{
  public class NullObjectPostWriter : PostWriter
  {
    public NullObjectPostWriter(IPostWriterWebService postWriterWebService) : base(postWriterWebService)
    {
    }

    public override void WritePost(Evento evento)
    {
      //no-op
    }

    protected override string GetBody(Evento evento)
    {
      throw new System.NotImplementedException();
    }

    protected override string GetTitle(Evento evento)
    {
      throw new System.NotImplementedException();
    }
  }
}