Ejemplo n.º 1
0
        /// <summary>
        /// Notifies for assigned contracts.
        /// </summary>
        private void NotifyAssignedContracts()
        {
            if (Contracts.Any(contract => contract.State == ContractState.Assigned))
            {
                int assignedContracts = Contracts.Count(contracts => contracts.State == ContractState.Assigned);
                EveMonClient.Notifications.NotifyCharacterContractsAssigned(this, assignedContracts);
                return;
            }

            EveMonClient.Notifications.InvalidateCharacterContractsAssigned(this);
        }