Sha256: b2e124ba204f80209013480f84040268de9c26cee216e6c99bd6a9cbcd1915a7

Contents?: true

Size: 519 Bytes

Versions: 114

Compression:

Stored size: 519 Bytes

Contents

using System;
using Generators.Input;

namespace Generators.Exercises
{
    public class PhoneNumber : GeneratorExercise
    {
        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

114 entries across 114 versions & 1 rubygems

Version Path
trackler-2.2.1.98 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.97 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.96 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.95 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.94 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.93 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.92 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.91 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.90 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.89 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.88 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.87 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.86 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.85 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.84 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.83 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.82 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.81 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.80 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.79 tracks/csharp/generators/Exercises/PhoneNumber.cs