les evennement on tous une propriété "Topic"

This commit is contained in:
Paul Schneider 2016-08-02 11:05:29 +02:00
commit ce8ced16bb
4 changed files with 22 additions and 3 deletions

View file

@ -28,11 +28,14 @@ namespace Yavsc.Models.Messaging
/// </summary>
public class YaEvent : BaseEvent
{
public YaEvent(string topic)
{
Topic = topic;
}
/// <summary>
/// The name of the NF provider.
/// The topic.
/// </summary>
[Display(Name="ProviderName")]
public string ProviderName { get; set; }
public string Topic { get; set; }
/// <summary>
/// The NF provider identifier.
/// </summary>