From 63e83637bf73c30e5147d63ed92c929c26324038 Mon Sep 17 00:00:00 2001 From: Savorboard Date: Tue, 12 Jun 2018 16:59:10 +0800 Subject: [PATCH] remove unused constructor. --- src/DotNetCore.CAP/Models/CapPublishedMessage.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/DotNetCore.CAP/Models/CapPublishedMessage.cs b/src/DotNetCore.CAP/Models/CapPublishedMessage.cs index 41c554d..d95e72f 100644 --- a/src/DotNetCore.CAP/Models/CapPublishedMessage.cs +++ b/src/DotNetCore.CAP/Models/CapPublishedMessage.cs @@ -15,12 +15,6 @@ namespace DotNetCore.CAP.Models Added = DateTime.Now; } - public CapPublishedMessage(MessageContext message) - { - Name = message.Name; - Content = message.Content; - } - public int Id { get; set; } public string Name { get; set; }