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

vnext
Paul Schneider 8 years ago
parent fe222f87e3
commit 34edbdd27f
4 changed files with 22 additions and 3 deletions

@ -30,6 +30,13 @@ namespace Yavsc.Models.Calendar
/// Provided event.
/// </summary>
public class ProvidedEvent : YaEvent {
public ProvidedEvent(string topic) : base(topic)
{
}
/// <summary>
/// The privacy.
/// </summary>

@ -27,6 +27,10 @@ namespace Yavsc.Models.Messaging
public class BookQueryEvent: YaEvent
{
public BookQueryEvent() : base("BookQuery")
{
}
/// <summary>
/// The location.
/// </summary>

@ -29,6 +29,11 @@ namespace Yavsc.Models.Messaging
/// </summary>
public class CircleEvent: YaEvent
{
public CircleEvent(string topic) : base(topic)
{
}
/// <summary>
/// Gets or sets the circles.
/// </summary>

@ -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>

Loading…