コード例 #1
0
        internal static SoundMetaQueryResult ToSoundMetaQueryResult(CfSoundMetaQueryResult source)
        {
            if (source == null)
            {
                return null;
            }

            var soundMeta = source.SoundMeta == null ? null
                            : source.SoundMeta.Select(SoundMetaMapper.ToSoundMeta).ToArray();
            return new SoundMetaQueryResult(source.TotalResults, soundMeta);
        }
コード例 #2
0
        internal static SoundMetaQueryResult ToSoundMetaQueryResult(CfSoundMetaQueryResult source)
        {
            if (source == null)
            {
                return(null);
            }

            var soundMeta = source.SoundMeta == null ? null
                            : source.SoundMeta.Select(SoundMetaMapper.ToSoundMeta).ToArray();

            return(new SoundMetaQueryResult(source.TotalResults, soundMeta));
        }