Sha256: e85e10911a887489c387820a6ca80f5d05de2bdb5f97f538d66347d6995e56d5

Contents?: true

Size: 507 Bytes

Versions: 49

Compression:

Stored size: 507 Bytes

Contents

using System;
using Generators.Input;

namespace Generators.Exercises
{
    public class Say : Exercise
    {
        protected override void UpdateCanonicalData(CanonicalData canonicalData)
        {
            foreach (var canonicalDataCase in canonicalData.Cases)
            {
                canonicalDataCase.Property = "InEnglish";
                canonicalDataCase.ExceptionThrown = canonicalDataCase.Expected is long ? typeof(ArgumentOutOfRangeException) : null;
            }
        }
    }
}

Version data entries

49 entries across 49 versions & 1 rubygems

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