Exemplo n.º 1
0
        private static string StyleFor(TargetDependency dependency)
        {
            switch(dependency.Type)
            {
                case "+": return "[style=dotted]";
                case ">": return "[style=dashed]";
            }

            return string.Empty;
        }
Exemplo n.º 2
0
 public void Visit(TargetDependency targetDependency)
 {
     var currentTarget = targetChain.Peek();
     output.WriteLine("{0}->{1} {2};", Normalize(currentTarget.Name), Normalize(targetDependency.Target.Name), StyleFor(targetDependency));
 }