Sha256: d48b150f507b990c958d7e10267055a2f0ebaf21e80c6799a0d6ba25011a0317

Contents?: true

Size: 510 Bytes

Versions: 49

Compression:

Stored size: 510 Bytes

Contents

using System;
using Generators.Input;

namespace Generators.Exercises
{
    public class PhoneNumber : Exercise
    {
        protected override void UpdateCanonicalData(CanonicalData canonicalData)
        {
            foreach (var canonicalDataCase in canonicalData.Cases)
            {
                canonicalDataCase.UseVariablesForInput = true;
                canonicalDataCase.ExceptionThrown = canonicalDataCase.Expected is null ? typeof(ArgumentException) : null;
            }
        }
    }
}

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
trackler-2.2.1.44 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.43 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.42 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.41 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.40 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.39 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.38 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.37 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.36 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.35 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.34 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.33 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.32 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.31 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.30 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.29 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.28 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.27 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.26 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.25 tracks/csharp/generators/Exercises/PhoneNumber.cs