﻿// Decompiled with JetBrains decompiler
// Type: InvokedServer.Helper.WindowHelper
// Assembly: HQ, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: C53BC0E5-A85B-41E9-8105-FC74ED122A9A
// Assembly location: C:\Users\ian\Downloads\Telegram Desktop\fein\HQ.exe

using InvokedServer.Networking;


namespace InvokedServer.Helper
{
	public static class WindowHelper
	{
		public static string GetWindowTitle(string title, Client c)
		{
			return string.Format("{0} - {1}@{2} [{3}:{4}]", (object)title, (object)c.Value.Username, (object)c.Value.PcName, (object)c.EndPoint.Address.ToString(), (object)c.EndPoint.Port.ToString());
		}

		public static string GetWindowTitle(string title, int count)
		{
			return string.Format("{0} [Selected: {1}]", (object)title, (object)count);
		}
	}
}