TopicControlViewModel - конструктор |
Пространство имён:
Tessa.UI.Controls.Forums
Сборка:
Tessa.UI (в Tessa.UI.dll) Версия: 3.5.0.19
Синтаксис public TopicControlViewModel(
ForumViewModel forumViewModel,
TopicModel topicModel,
Guid? messageID = null,
DateTime? openMessageTime = null,
Func<MessageModel, ParticipantModel, bool> isVisibleEditAction = null
)
Public Sub New (
forumViewModel As ForumViewModel,
topicModel As TopicModel,
Optional messageID As Guid? = Nothing,
Optional openMessageTime As DateTime? = Nothing,
Optional isVisibleEditAction As Func(Of MessageModel, ParticipantModel, Boolean) = Nothing
)
public:
TopicControlViewModel(
ForumViewModel^ forumViewModel,
TopicModel^ topicModel,
Nullable<Guid> messageID = nullptr,
Nullable<DateTime> openMessageTime = nullptr,
Func<MessageModel^, ParticipantModel^, bool>^ isVisibleEditAction = nullptr
)
new :
forumViewModel : ForumViewModel *
topicModel : TopicModel *
?messageID : Nullable<Guid> *
?openMessageTime : Nullable<DateTime> *
?isVisibleEditAction : Func<MessageModel, ParticipantModel, bool>
(* Defaults:
let _messageID = defaultArg messageID null
let _openMessageTime = defaultArg openMessageTime null
let _isVisibleEditAction = defaultArg isVisibleEditAction null
*)
-> TopicControlViewModel
Параметры
- forumViewModel
- Тип: Tessa.UI.Controls.ForumsForumViewModel
- topicModel
- Тип: Tessa.Forums.ModelsTopicModel
- messageID (Optional)
- Тип: SystemNullableGuid
- openMessageTime (Optional)
- Тип: SystemNullableDateTime
- isVisibleEditAction (Optional)
- Тип: SystemFuncMessageModel, ParticipantModel, Boolean
См. также