コード例 #1
0
        internal static BroadcastQueryResult ToSoapBroadcastQueryResult(CfBroadcastQueryResult source)
        {
            if (source == null)
            {
                return null;
            }

            var broadcast = source.Broadcast == null ? null
                            : source.Broadcast.Select(BroadcastMapper.ToSoapBroadcast).ToArray();
            return new BroadcastQueryResult(source.TotalResults, broadcast);
        }
コード例 #2
0
        internal static BroadcastQueryResult ToSoapBroadcastQueryResult(CfBroadcastQueryResult source)
        {
            if (source == null)
            {
                return(null);
            }

            var broadcast = source.Broadcast == null ? null
                            : source.Broadcast.Select(BroadcastMapper.ToSoapBroadcast).ToArray();

            return(new BroadcastQueryResult(source.TotalResults, broadcast));
        }