Ejemplo n.º 1
0
        public static void Overwrite(Tool tool, [CanBeNull] Overwrite overwrite)
        {
            if (overwrite == null)
            {
                return;
            }
            var overwriter = new SpecificationModifier(tool, overwrite);

            overwriter.OverwriteTasks();
            overwriter.OverwriteProperties();
            overwriter.AddAdditionalProperties();
            overwriter.AddAdditionalEnumerations();
        }
Ejemplo n.º 2
0
 private SpecificationModifier(Tool tool, Overwrite overwrite)
 {
     _overwrite = overwrite;
     _tool      = tool;
 }