ArcMapAddinVisibility.ViewModels.LLOSViewModel.UpdateTargetObserverCount C# (CSharp) 메소드

UpdateTargetObserverCount() 개인적인 메소드

private UpdateTargetObserverCount ( int>.Dictionary dict, IPoint targetPoint ) : void
dict int>.Dictionary
targetPoint IPoint
리턴 void
        private void UpdateTargetObserverCount(Dictionary<IPoint, int> dict, IPoint targetPoint)
        {
            if (dict.ContainsKey(targetPoint))
            {
                dict[targetPoint] += 1;
            }
            else
            {
                dict.Add(targetPoint, 1);
            }
        }