Sha256: 9db62a8156c02c2e4b549f26b4a3d7a2f8d76e4f9201b553bda9a2dbd2ad79c4

Contents?: true

Size: 536 Bytes

Versions: 114

Compression:

Stored size: 536 Bytes

Contents

using Generators.Input;

namespace Generators.Exercises
{
    public class SpaceAge : GeneratorExercise
    {
        protected override void UpdateCanonicalData(CanonicalData canonicalData)
        {
            foreach (var canonicalDataCase in canonicalData.Cases)
            {
                canonicalDataCase.Property = $"On_{canonicalDataCase.Input["planet"]}";
                canonicalDataCase.SetInputParameters();
                canonicalDataCase.SetConstructorInputParameters("seconds");
            }
        }
    }
}

Version data entries

114 entries across 114 versions & 1 rubygems

Version Path
trackler-2.2.1.159 tracks/csharp/generators/Exercises/SpaceAge.cs
trackler-2.2.1.158 tracks/csharp/generators/Exercises/SpaceAge.cs
trackler-2.2.1.157 tracks/csharp/generators/Exercises/SpaceAge.cs
trackler-2.2.1.156 tracks/csharp/generators/Exercises/SpaceAge.cs
trackler-2.2.1.155 tracks/csharp/generators/Exercises/SpaceAge.cs
trackler-2.2.1.154 tracks/csharp/generators/Exercises/SpaceAge.cs
trackler-2.2.1.153 tracks/csharp/generators/Exercises/SpaceAge.cs
trackler-2.2.1.152 tracks/csharp/generators/Exercises/SpaceAge.cs
trackler-2.2.1.151 tracks/csharp/generators/Exercises/SpaceAge.cs
trackler-2.2.1.150 tracks/csharp/generators/Exercises/SpaceAge.cs
trackler-2.2.1.149 tracks/csharp/generators/Exercises/SpaceAge.cs
trackler-2.2.1.148 tracks/csharp/generators/Exercises/SpaceAge.cs
trackler-2.2.1.147 tracks/csharp/generators/Exercises/SpaceAge.cs
trackler-2.2.1.146 tracks/csharp/generators/Exercises/SpaceAge.cs
trackler-2.2.1.145 tracks/csharp/generators/Exercises/SpaceAge.cs
trackler-2.2.1.144 tracks/csharp/generators/Exercises/SpaceAge.cs
trackler-2.2.1.143 tracks/csharp/generators/Exercises/SpaceAge.cs
trackler-2.2.1.142 tracks/csharp/generators/Exercises/SpaceAge.cs
trackler-2.2.1.141 tracks/csharp/generators/Exercises/SpaceAge.cs
trackler-2.2.1.140 tracks/csharp/generators/Exercises/SpaceAge.cs