public ThreadWorks(RegisterThread p_register_thread, IsThereUnauthWorkerThread p_is_there_unauth_worker_thread
                    , RemoveThread p_remove_thread, RemoveAThreadDialogs p_remove_a_thread_dialogs)
 {
     register_thread = p_register_thread;
     is_there_unauth_worker_thread = p_is_there_unauth_worker_thread;
     remove_thread           = p_remove_thread;
     remove_a_thread_dialogs = p_remove_a_thread_dialogs;
 }
        public SendData(SendToDistributerConstruct p_send_to_distributer_construct, IsLoggedIn p_is_logged_in, GetOnlineUserThreadID p_get_online_user_thread_id
                        , GetAThreadUserName p_get_thread_user_name, IsThereUnauthWorkerThread p_is_there_unauth_worker_thread, object p_distributer_pulse_object)
        {
            send_to_distributer_construct = p_send_to_distributer_construct;
            distributer_pulse_object      = p_distributer_pulse_object;

            is_logged_in = p_is_logged_in;
            get_online_user_thread_id     = p_get_online_user_thread_id;
            get_thread_user_name          = p_get_thread_user_name;
            is_there_unauth_worker_thread = p_is_there_unauth_worker_thread;
        }
 public AuthenticateAndDistribute(GetAThreadUserName p_get_a_thread_user_name, IsThereUnauthWorkerThread p_is_there_unauth_worker_thread, DialogReceiveMessage p_dialog_receive_message
                                  , ChatReceiveMessage p_chat_receive_message, MakeMessagesOffline p_make_messages_offline, UserOfflineRequest p_offline_user, ThreadisLoggedIn p_thread_is_logged_in
                                  , RegisterAThreadRequest p_register_a_thread_request, ThreadRemoveWorks p_thread_remove_works)
 {
     get_a_thread_user_name        = p_get_a_thread_user_name;
     is_there_unauth_worker_thread = p_is_there_unauth_worker_thread;
     dialog_receive_message        = p_dialog_receive_message;
     chat_receive_message          = p_chat_receive_message;
     make_messages_offline         = p_make_messages_offline;
     offline_user              = p_offline_user;
     thread_is_logged_in       = p_thread_is_logged_in;
     register_a_thread_request = p_register_a_thread_request;
     thread_remove_works       = p_thread_remove_works;
 }