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.180 tracks/csharp/generators/Exercises/SpaceAge.cs
trackler-2.2.1.179 tracks/csharp/generators/Exercises/SpaceAge.cs
trackler-2.2.1.178 tracks/csharp/generators/Exercises/SpaceAge.cs
trackler-2.2.1.177 tracks/csharp/generators/Exercises/SpaceAge.cs
trackler-2.2.1.176 tracks/csharp/generators/Exercises/SpaceAge.cs
trackler-2.2.1.175 tracks/csharp/generators/Exercises/SpaceAge.cs
trackler-2.2.1.174 tracks/csharp/generators/Exercises/SpaceAge.cs
trackler-2.2.1.173 tracks/csharp/generators/Exercises/SpaceAge.cs
trackler-2.2.1.172 tracks/csharp/generators/Exercises/SpaceAge.cs
trackler-2.2.1.171 tracks/csharp/generators/Exercises/SpaceAge.cs
trackler-2.2.1.170 tracks/csharp/generators/Exercises/SpaceAge.cs
trackler-2.2.1.169 tracks/csharp/generators/Exercises/SpaceAge.cs
trackler-2.2.1.167 tracks/csharp/generators/Exercises/SpaceAge.cs
trackler-2.2.1.166 tracks/csharp/generators/Exercises/SpaceAge.cs
trackler-2.2.1.165 tracks/csharp/generators/Exercises/SpaceAge.cs
trackler-2.2.1.164 tracks/csharp/generators/Exercises/SpaceAge.cs
trackler-2.2.1.163 tracks/csharp/generators/Exercises/SpaceAge.cs
trackler-2.2.1.162 tracks/csharp/generators/Exercises/SpaceAge.cs
trackler-2.2.1.161 tracks/csharp/generators/Exercises/SpaceAge.cs
trackler-2.2.1.160 tracks/csharp/generators/Exercises/SpaceAge.cs