Sha256: 012d3fafb6cb823516b84cd670be5f1316b5a3d00342cf780ec92b97ed23acf8

Contents?: true

Size: 490 Bytes

Versions: 12

Compression:

Stored size: 490 Bytes

Contents

using Generators.Input;

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
trackler-2.2.1.27 tracks/csharp/generators/Exercises/BracketPush.cs
trackler-2.2.1.26 tracks/csharp/generators/Exercises/BracketPush.cs
trackler-2.2.1.25 tracks/csharp/generators/Exercises/BracketPush.cs
trackler-2.2.1.24 tracks/csharp/generators/Exercises/BracketPush.cs
trackler-2.2.1.23 tracks/csharp/generators/Exercises/BracketPush.cs
trackler-2.2.1.22 tracks/csharp/generators/Exercises/BracketPush.cs
trackler-2.2.1.21 tracks/csharp/generators/Exercises/BracketPush.cs
trackler-2.2.1.20 tracks/csharp/generators/Exercises/BracketPush.cs
trackler-2.2.1.19 tracks/csharp/generators/Exercises/BracketPush.cs
trackler-2.2.1.18 tracks/csharp/generators/Exercises/BracketPush.cs
trackler-2.2.1.17 tracks/csharp/generators/Exercises/BracketPush.cs
trackler-2.2.1.16 tracks/csharp/generators/Exercises/BracketPush.cs