public void ReloadTableView(NSTableView tableView, List<HttpTransportViewData> datasource, HttpTransportCollection collection)
		{
//			tableView.Delegate = new TableDelegate (this);
//			var listView = new HttpTransportDataSource { Entries = datasource };
//			tableView.DataSource = listView;
//			tableView.ReloadData ();

			foreach(NSTableColumn column in tableView.TableColumns())
			{
				tableView.RemoveColumn (column);
			}
			tableView.Delegate = new TableDelegate (this);
			var listView = new HttpTransportDataSource { Entries = datasource, HttpTransportCollection = collection };
			var columnNames = new List<ColumnOptions> {
				new ColumnOptions{ Id = "Method", DisplayName = "", DisplayOrder = 1, Width = 60, Type = ColumnType.Text },
				new ColumnOptions{ Id = "Name", DisplayName = "Name", DisplayOrder = 2, Width = 400, Type = ColumnType.Text }
			};
			var columns = ListViewHelper.ToNSTableColumns (columnNames);
			foreach (var column in columns) {
				tableView.AddColumn (column);
			}
			tableView.DataSource = listView;
			tableView.ReloadData ();
		}
 public HttpTransportService()
 {
     cachedCollection = new HttpTransportCollection(5000);
 }
 public void SetAll(HttpTransportCollection httpData)
 {
     if (httpData != null)
         cachedCollection = httpData;
 }