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.64 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.63 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.62 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.61 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.60 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.59 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.58 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.57 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.56 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.55 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.54 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.53 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.52 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.51 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.50 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.49 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.48 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.47 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.46 tracks/csharp/generators/Exercises/PhoneNumber.cs
trackler-2.2.1.45 tracks/csharp/generators/Exercises/PhoneNumber.cs