文章 Notification 类

  • 命名空间: Limyee.Extensibility.Api.Entities.Version1
  • 程序集: Limyee.Api.dll

定义

class Notification
{
	IEnumerable<NotificationActor> Actors { get;  }
	Content Content { get;  }
	Guid? ContentId { get; set;  }
	Guid? ContentTypeId { get; set;  }
	string ContentUrl { get; set;  }
	DateTime CreatedDate { get; set;  }
	IList<IExtendedAttribute> ExtendedAttributes { get; set;  }
	bool IsRead { get; set;  }
	DateTime LastUpdatedDate { get; set;  }
	Guid NotificationId { get; set;  }
	Guid NotificationTypeId { get; set;  }
	string TargetUrl { get;  }
	int UserId { get; set;  }
	string Message(string notificationTarget);
}

属性

名称

类型

描述

默认值

选项

Actors

IEnumerable<NotificationActor>

Content

Content

ContentId

Guid?

ContentTypeId

Guid?

ContentUrl

string

CreatedDate

DateTime

ExtendedAttributes

IList<IExtendedAttribute>

IsRead

bool

LastUpdatedDate

DateTime

NotificationId

Guid

NotificationTypeId

Guid

TargetUrl

string

UserId

int

方法

string Message(string notificationTarget);

参数

名称

类型

描述

必需

默认值

选项

notificationTarget

string

Notification Target

返回类型

string