コード例 #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="DescriptiveLameTagReader"/> class.
        /// </summary>
        /// <param name="path">The path.</param>
        public DescriptiveLameTagReader(string path)
        {
            if (string.IsNullOrEmpty(path))
                throw new ArgumentNullException("path");

            _mpeg = new MpegAudio(path);

            _basicReader = new BasicLameTagReader(path);
            DeterminePresetRelatedValues();
        }
コード例 #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="DescriptiveLameTagReader"/> class.
        /// </summary>
        /// <param name="path">The path.</param>
        public DescriptiveLameTagReader(string path)
        {
            if (string.IsNullOrEmpty(path))
            {
                throw new ArgumentNullException("path");
            }

            _mpeg = new MpegAudio(path);

            _basicReader = new BasicLameTagReader(path);
            DeterminePresetRelatedValues();
        }