/// <summary> /// Main method, to run this code example as a standalone application. /// </summary> /// <param name="args">The command line arguments.</param> public static void Main(string[] args) { SampleBase codeExample = new GetProductsForProductTemplate(); Console.WriteLine(codeExample.Description); codeExample.Run(new DfpUser()); }
/// <summary> /// Main method, to run this code example as a standalone application. /// </summary> /// <param name="args">The command line arguments.</param> public static void Main() { GetProductsForProductTemplate codeExample = new GetProductsForProductTemplate(); Console.WriteLine(codeExample.Description); long productTemplateId = long.Parse(_T("INSERT_PRODUCT_TEMPLATE_ID_HERE")); codeExample.Run(new DfpUser(), productTemplateId); }