Exemplo n.º 1
0
 public static IChatRoomLogic CreateChatRoomLogic()
 {
     return(chatRoomLogic ?? (chatRoomLogic = new ChatRoomLogic()
     {
         GetChatRoomsFunc = () => ChatRoomsList
     }));
 }
Exemplo n.º 2
0
 public ChatRoomController()
 {
     chatRoomLogic = ChatFactory.CreateChatRoomLogic();
 }