Microsoft.Bot.Builder.Calling/Models/Misc/Utils.cs
1 using System;
2 using System.Globalization;
3 
4 namespace Microsoft.Bot.Builder.Calling.ObjectModel.Misc
5 {
9  public class Utils
10  {
17  public static void AssertArgument(bool condition, string format, params object[] args)
18  {
19  if (!condition)
20  {
21  var text = string.Format(CultureInfo.InvariantCulture, format, args);
22 
23  throw new ArgumentException(text);
24  }
25  }
26  }
27 }
static void AssertArgument(bool condition, string format, params object[] args)
Argument checker