Last active
October 27, 2019 16:28
-
-
Save mgjam/d04a160bc99a8c02706e25f22ab3aa1c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Function | |
{ | |
public Output FunctionHandler(Input input, ILambdaContext context) | |
{ | |
return new Output | |
{ | |
Numbers = Enumerable.Repeat(input.Number, input.Count).ToArray() | |
}; | |
} | |
} | |
public class Input | |
{ | |
public int Number { get; set; } | |
public int Count { get; set; } | |
} | |
public class Output | |
{ | |
public int[] Numbers { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment