/// <summary> /// Initializes a new instance of the <see cref="CommunicationLogic"/> class. /// </summary> public CommunicationLogic() { windowsMap = new Dictionary<IntPtr, HashSet<ContactHandler>>(); sendImagesCount = new Dictionary<Service.ImageType, int>(); foreach (Service.ImageType imageType in Enum.GetValues(typeof(Service.ImageType))) sendImagesCount[imageType] = 0; serviceCommunicator = new ServiceCommunicator(this); }
/// <summary> /// Initializes a new instance of the <see cref="CommunicationLogic"/> class. /// </summary> public CommunicationLogic() { windowsMap = new Dictionary <IntPtr, HashSet <ContactHandler> >(); sendImagesCount = new Dictionary <Service.ImageType, int>(); foreach (Service.ImageType imageType in Enum.GetValues(typeof(Service.ImageType))) { sendImagesCount[imageType] = 0; } serviceCommunicator = new ServiceCommunicator(this); }