Exemplo n.º 1
0
        void ProcessCurrent(
            IDirectoryConcrete directory)
        {
            var alldirectories = directory.RetrieveAllDirectories();

            foreach (var item in alldirectories)
            {
                this.ProcessBet(item);
            }
        }
Exemplo n.º 2
0
        void ProcessZero(
            IDirectoryConcrete directory)
        {
            var alldirectories = directory.RetrieveAllDirectories();

            foreach (var item in alldirectories)
            {
                this.ProcessGroup(item);
            }
        }
Exemplo n.º 3
0
        void ProcessGroup(
            IDirectoryConcrete directory)
        {
            var alldirectories = directory.RetrieveAllDirectories();

            var q = alldirectories.OrderByDescending(
                item => item.Name);

            var first = q.First();

            this.ProcessCurrent(first);
        }