Exemple #1
0
        private ArubaBug[] InitializeBugs()
        {
            var bugs = new ArubaBug[EntitiesCount];

            for (var i = 0; i < EntitiesCount; i++)
            {
                var bug = new ArubaBug
                {
                    Comment    = "Bug Comment " + i,
                    Number     = i,
                    Resolution = (ArubaBugResolution)(i % 5),
                };
                bugs[i] = bug;
            }

            return(bugs);
        }
Exemple #2
0
        private ArubaBug[] InitializeBugs()
        {
            var bugs = new ArubaBug[EntitiesCount];
            for (var i = 0; i < EntitiesCount; i++)
            {
                var bug = new ArubaBug
                {
                    Comment = "Bug Comment " + i,
                    Number = i,
                    Resolution = (ArubaBugResolution)(i % 5),
                };
                bugs[i] = bug;
            }

            return bugs;
        }