Exemplo n.º 1
0
        public static void MainEx2()
        {
            var countCode = new CountCode();

            countCode.AddCondition(new CsFileTarget());
            var dir = "E:/hpl_projects/unity_projects/voxel3dcolor/Assets";

            countCode.Add(Path.Combine(dir, "_Common"));
            countCode.Add(Path.Combine(dir, "_PiexlColorNumber"));
            int sum = countCode.Count();

            System.Console.WriteLine("sum: " + sum);
        }
Exemplo n.º 2
0
        public static void MainEx()
        {
            var countCode = new CountCode();

            countCode.AddCondition(new CsFileTarget());
            countCode.Add(Path.Combine("E:/projects/unity/slots.crazyletter/Assets", "_Common"));
            countCode.Add(Path.Combine("E:/projects/unity/slots.crazyletter/Assets", "_Dev"));
            countCode.Add(Path.Combine("E:/projects/unity/slots.crazyletter/Assets", "_GameBundles"));
            countCode.Add(Path.Combine("E:/projects/unity/slots.crazyletter/Assets", "_LuckyVegas"));
            countCode.Add(Path.Combine("E:/projects/unity/slots.crazyletter/Assets", "_SlotGameTookit"));
            countCode.Add(Path.Combine("E:/projects/unity/slots.crazyletter/Assets", "_Slots"));
            int sum = countCode.Count();
        }