public CreateOrEditUsersNodeNotice(NodeNoticeCode noticeCode, ShortUser user, BlockSegmentVm blockSegment)
 {
     NoticeCode = noticeCode;
     Users      = new List <ShortUser> {
         user
     };
     BlockSegments = new List <BlockSegmentVm> {
         blockSegment
     };
 }
Пример #2
0
 public CreateOrEditChatsNodeNotice(NodeNoticeCode noticeCode, IEnumerable <ChatVm> chats)
 {
     NoticeCode = noticeCode;
     Chats      = chats.ToList();
 }
Пример #3
0
 public BlocksNodeNotice(NodeNoticeCode noticeCode, BlockVm block)
 {
     Block      = block;
     NoticeCode = noticeCode;
 }
Пример #4
0
 public NewOrEditNodesNodeNotice(NodeNoticeCode noticeCode, IEnumerable <NodeVm> nodes)
 {
     NoticeCode = noticeCode;
     Nodes      = nodes.ToList();
 }
 public CreateOrEditUsersNodeNotice(NodeNoticeCode noticeCode, IEnumerable <ShortUser> users, IEnumerable <BlockSegmentVm> blockSegments)
 {
     NoticeCode    = noticeCode;
     BlockSegments = blockSegments?.ToList();
     Users         = users?.ToList();
 }
Пример #6
0
 public ConnectionNodesNodeNotice(NodeNoticeCode noticeCode, IEnumerable <long> nodesIds)
 {
     NoticeCode = noticeCode;
     NodesIds   = nodesIds.ToList();
 }