Пример #1
0
		static DialMethod()
		{
			manual = new DialMethod() { Name = "MANUAL", FriendlyName = "Manual" };
			ratio = new DialMethod() { Name = "RATIO", FriendlyName = "Ratio" };
			adapt_hard_limit = new DialMethod() { Name = "ADAPT_HARD_LIMIT", FriendlyName = "Adapt Hard Limit" };
			adapt_tapered = new DialMethod() { Name = "ADAPT_TAPERED", FriendlyName = "Adapt Tapered" };
			adapt_average = new DialMethod() { Name = "ADAPT_AVERAGE", FriendlyName = "Adapt Average" };
			inbound_man = new DialMethod() { Name = "INBOUND_MAN", FriendlyName = "Inbound Manual" };
		}
Пример #2
0
 /// <summary>
 /// Create a new DialMethod object.
 /// </summary>
 /// <param name="friendlyName">Initial value of the FriendlyName property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static DialMethod CreateDialMethod(global::System.String friendlyName, global::System.String name)
 {
     DialMethod dialMethod = new DialMethod();
     dialMethod.FriendlyName = friendlyName;
     dialMethod.Name = name;
     return dialMethod;
 }