static CallDistributionStrategy() { random = new CallDistributionStrategy() { Name = "random", FriendlyName = "Random" }; oldest_call_start = new CallDistributionStrategy() { Name = "oldest_call_start", FriendlyName = "Oldest Call Start" }; oldest_call_finish = new CallDistributionStrategy() { Name = "oldest_call_finish", FriendlyName = "Oldest Call Finish" }; overall_user_level = new CallDistributionStrategy() { Name = "overall_user_level", FriendlyName = "Overall User Level" }; campaign_rank = new CallDistributionStrategy() { Name = "campaign_rank", FriendlyName = "Campaign Rank" }; fewest_calls = new CallDistributionStrategy() { Name = "fewest_calls", FriendlyName = "Fewest Call Volume" }; longest_wait_time = new CallDistributionStrategy() { Name = "longest_wait_time", FriendlyName = "Longest Wait Time" }; }
/// <summary> /// Create a new CallDistributionStrategy object. /// </summary> /// <param name="friendlyName">Initial value of the FriendlyName property.</param> /// <param name="name">Initial value of the Name property.</param> public static CallDistributionStrategy CreateCallDistributionStrategy(global::System.String friendlyName, global::System.String name) { CallDistributionStrategy callDistributionStrategy = new CallDistributionStrategy(); callDistributionStrategy.FriendlyName = friendlyName; callDistributionStrategy.Name = name; return callDistributionStrategy; }