public RequestHandler(Socket requestSocket) { this.RequestSocket = requestSocket; this.SocketStream = new NetworkStream(this.RequestSocket); this.Reader = new BinaryReader(this.SocketStream); this.Writer = new BinaryWriter(this.SocketStream); this.Formatter = new BinaryFormatter(); this.UsersService = new UsersService(); this.TokenizationService = new TokenizationService(); }
private void MainWindow_Loaded(object sender, RoutedEventArgs e) { this.tokenizationService = new TokenizationService(); }