Пример #1
0
        public void ConvertVersion(ID3.Version version)
        {
            Debug.Assert(CheckInvariant());

            Tag oldTag = ToTag();

            Clear();

            Tag newTag = oldTag.Clone();

            new TagVersionProcessor(version).Process(newTag);

            DocUtils.PerformAction(this, new TagConversionAction(this, oldTag, newTag));

            FromTag(tag);

            Debug.Assert(CheckInvariant());
        }