Skip to content

Instantly share code, notes, and snippets.

@mgjam
Last active October 27, 2019 16:28
Show Gist options
  • Save mgjam/d04a160bc99a8c02706e25f22ab3aa1c to your computer and use it in GitHub Desktop.
Save mgjam/d04a160bc99a8c02706e25f22ab3aa1c to your computer and use it in GitHub Desktop.
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