Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Know Your Cloud Resource Costs on Azure
public class Program
public static void Main(string[] args)
// Defines all dependencies to be injected.
// Aggregates all usage data.
var aggregator = new CostAggregationService(...);
var result1 = aggregator.ProcessAsync(dateStart, dateEnd).Result;
// Sends alerts/warnings to applied users.
var reminder = new CostReminderService(...);
var result2 = reminder.ProcessAsync(dateStart, dateEnd, ...).Result;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment