les evennement on tous une propriété "Topic"
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user