Sha256: a8351bcdc74a8b8fa4a4823108a5815b74cec77d955a767990ff8c9b7582d649

Contents?: true

Size: 499 Bytes

Versions: 86

Compression:

Stored size: 499 Bytes

Contents

using Generators.Input;

namespace Generators.Exercises
{
    public class BracketPush : GeneratorExercise
    {
        protected override void UpdateCanonicalData(CanonicalData canonicalData)
        {
            foreach (var canonicalDataCase in canonicalData.Cases)
            {
                canonicalDataCase.Properties["input"] = canonicalDataCase.Properties["input"].Replace("\\", "\\\\");
                canonicalDataCase.UseVariablesForInput = true;
            }
        }
    }
}

Version data entries

86 entries across 86 versions & 1 rubygems

Version Path
trackler-2.2.1.70 tracks/csharp/generators/Exercises/BracketPush.cs
trackler-2.2.1.69 tracks/csharp/generators/Exercises/BracketPush.cs
trackler-2.2.1.68 tracks/csharp/generators/Exercises/BracketPush.cs
trackler-2.2.1.67 tracks/csharp/generators/Exercises/BracketPush.cs
trackler-2.2.1.66 tracks/csharp/generators/Exercises/BracketPush.cs
trackler-2.2.1.65 tracks/csharp/generators/Exercises/BracketPush.cs