コード例 #1
0
        private IEnumerable <DataRunModel> GetRunModels()
        {
            List <string> Runs = AttackSurfaceAnalyzerClient.GetRuns("collect");

            List <DataRunModel> runModels = new List <DataRunModel>();

            for (int i = 0; i < Runs.Count; i++)
            {
                runModels.Add(new DataRunModel {
                    Key = Runs[i], Text = Runs[i]
                });
            }

            return(runModels);
        }