TheAirline.GUIModel.PagesModel.RoutesPageModel.HumanRouteMVVM.getFeedbackText C# (CSharp) 메소드

getFeedbackText() 개인적인 메소드

private getFeedbackText ( string type, double score ) : string
type string
score double
리턴 string
        private string getFeedbackText(string type, double score)
        {
            int index = 0;

            if (score < 4)
                index = 0;
            if (score >= 4 && score < 7)
                index = 1;
            if (score >= 7)
                index = 2;

            string uid = FeedbackTypes[type][index];

            return Translator.GetInstance().GetString("RouteFeedback", uid);
        }