CQRSMicroservices.Articles.ArticleQueryModelBuilder.ArticleQueryModelBuilder C# (CSharp) 메소드

ArticleQueryModelBuilder() 공개 메소드

public ArticleQueryModelBuilder ( ) : System.Threading.Tasks
리턴 System.Threading.Tasks
    public ArticleQueryModelBuilder()
    {
      RegisterHandler<CustomerCreatedEvent>(Handle);
      RegisterHandler<ArticleCreatedEvent>(Handle);
      RegisterHandler<ArticleUnavailableEvent>(Handle);
      RegisterHandler<ArticleAvailableEvent>(Handle);
      RegisterHandler<ArticleSoldEvent>(Handle);
    }
ArticleQueryModelBuilder