internal static BroadcastConfig ToBroadcastConfig(CfBroadcastConfig source, CfBroadcastType type)
        {
            if (source == null || !DictionaryToConfig.ContainsKey(type))
            {
                return(null);
            }

            return(DictionaryToConfig[type].Invoke(source));
        }
예제 #2
0
 public CfSendCall(string requestId, CfBroadcastType type, string broadcastName, CfToNumber[] toNumber,
                   bool scrubBroadcastDuplicates, CfBroadcastConfig item)
 {
     RequestId                = requestId;
     Type                     = type;
     BroadcastName            = broadcastName;
     ToNumber                 = toNumber;
     ScrubBroadcastDuplicates = scrubBroadcastDuplicates;
     Item                     = item;
 }