Skip to content

Commit

Permalink
Moved all frames to a separate namespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
JeevanJames committed Jan 23, 2019
1 parent f7b342f commit 299a702
Show file tree
Hide file tree
Showing 63 changed files with 64 additions and 55 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ limitations under the License.

using System;
using System.IO;

using Id3.Frames;
using Id3.InfoFx;

namespace Id3.Files
Expand Down
2 changes: 1 addition & 1 deletion src/Id3.Net.Files/FileNamer/FileNamer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ limitations under the License.
using System.Text.RegularExpressions;

using Id3.Files.Resources;

using Id3.Frames;
using JetBrains.Annotations;

namespace Id3.Files
Expand Down
1 change: 1 addition & 0 deletions src/Id3.Net.Files/FileNamer/ResolveMissingDataEventArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ limitations under the License.
#endregion

using System;
using Id3.Frames;

namespace Id3.Files
{
Expand Down
2 changes: 1 addition & 1 deletion src/Id3.Net.Serialization/SerializationExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ limitations under the License.

using System;
using System.Runtime.Serialization;

using Id3.Frames;
using Id3.Serialization.Surrogates;

namespace Id3.Serialization
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ limitations under the License.
#endregion

using System.Runtime.Serialization;
using Id3.Frames;

namespace Id3.Serialization.Surrogates
{
Expand Down
1 change: 1 addition & 0 deletions src/Id3.Net.Serialization/Surrogates/Id3FrameSurrogate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ limitations under the License.
#endregion

using System.Runtime.Serialization;
using Id3.Frames;

namespace Id3.Serialization.Surrogates
{
Expand Down
1 change: 1 addition & 0 deletions src/Id3.Net.Serialization/Surrogates/Id3TagSurrogate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ limitations under the License.

using System;
using System.Runtime.Serialization;
using Id3.Frames;

namespace Id3.Serialization.Surrogates
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ limitations under the License.
#endregion

using System.Runtime.Serialization;
using Id3.Frames;

namespace Id3.Serialization.Surrogates
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ limitations under the License.

using System;
using System.Runtime.Serialization;
using Id3.Frames;

namespace Id3.Serialization.Surrogates
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ limitations under the License.

using System;
using System.Runtime.Serialization;
using Id3.Frames;

namespace Id3.Serialization.Surrogates
{
Expand Down
1 change: 1 addition & 0 deletions src/Id3.Net.Serialization/Surrogates/TextFrameSurrogate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ limitations under the License.
#endregion

using System.Runtime.Serialization;
using Id3.Frames;

namespace Id3.Serialization.Surrogates
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ limitations under the License.

using System;
using System.Runtime.Serialization;
using Id3.Frames;

namespace Id3.Serialization.Surrogates
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ limitations under the License.
#endregion

using System.Runtime.Serialization;
using Id3.Frames;

namespace Id3.Serialization.Surrogates
{
Expand Down
2 changes: 1 addition & 1 deletion src/Id3.Net/Frames/DateTime/RecordingDateFrame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ limitations under the License.

using System;

namespace Id3
namespace Id3.Frames
{
public sealed class RecordingDateFrame : DateTimeFrame
{
Expand Down
2 changes: 1 addition & 1 deletion src/Id3.Net/Frames/DateTimeFrame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ limitations under the License.
using System;
using System.Globalization;

namespace Id3
namespace Id3.Frames
{
public abstract class DateTimeFrame : TextFrameBase<DateTime?>
{
Expand Down
2 changes: 1 addition & 1 deletion src/Id3.Net/Frames/Id3Frame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ limitations under the License.
using System;
using System.Diagnostics;

namespace Id3
namespace Id3.Frames
{
/// <summary>
/// Represents an ID3 frame. This is an abstract class.
Expand Down
2 changes: 1 addition & 1 deletion src/Id3.Net/Frames/ListText/ArtistsFrame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ limitations under the License.
*/
#endregion

namespace Id3
namespace Id3.Frames
{
public sealed class ArtistsFrame : ListTextFrame
{
Expand Down
2 changes: 1 addition & 1 deletion src/Id3.Net/Frames/ListText/ComposersFrame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ limitations under the License.
*/
#endregion

namespace Id3
namespace Id3.Frames
{
public sealed class ComposersFrame : ListTextFrame
{
Expand Down
2 changes: 1 addition & 1 deletion src/Id3.Net/Frames/ListText/LyricistsFrame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ limitations under the License.
*/
#endregion

namespace Id3
namespace Id3.Frames
{
public sealed class LyricistsFrame : ListTextFrame
{
Expand Down
2 changes: 1 addition & 1 deletion src/Id3.Net/Frames/ListTextFrame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ limitations under the License.
using System.Linq;
using System.Runtime.Serialization;

namespace Id3
namespace Id3.Frames
{
public abstract class ListTextFrame : TextFrameBase<IList<string>>
{
Expand Down
2 changes: 1 addition & 1 deletion src/Id3.Net/Frames/Numeric/BeatsPerMinuteFrame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ limitations under the License.
*/
#endregion

namespace Id3
namespace Id3.Frames
{
public sealed class BeatsPerMinuteFrame : NumericFrame
{
Expand Down
2 changes: 1 addition & 1 deletion src/Id3.Net/Frames/Numeric/YearFrame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ limitations under the License.
*/
#endregion

namespace Id3
namespace Id3.Frames
{
public sealed class YearFrame : NumericFrame
{
Expand Down
2 changes: 1 addition & 1 deletion src/Id3.Net/Frames/NumericFrame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ limitations under the License.
*/
#endregion

namespace Id3
namespace Id3.Frames
{
public abstract class NumericFrame : TextFrameBase<int?>
{
Expand Down
3 changes: 1 addition & 2 deletions src/Id3.Net/Frames/Others/CommentFrame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@ limitations under the License.
using System;
using System.Collections.ObjectModel;
using System.Linq;

using JetBrains.Annotations;

namespace Id3
namespace Id3.Frames
{
public sealed class CommentFrame : Id3Frame
{
Expand Down
3 changes: 1 addition & 2 deletions src/Id3.Net/Frames/Others/LyricsFrame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ limitations under the License.

using System;
using System.Collections.ObjectModel;

using JetBrains.Annotations;

namespace Id3
namespace Id3.Frames
{
public sealed class LyricsFrame : Id3Frame
{
Expand Down
2 changes: 1 addition & 1 deletion src/Id3.Net/Frames/Others/PictureFrame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ limitations under the License.
using System.Collections.ObjectModel;
using System.IO;

namespace Id3
namespace Id3.Frames
{
public sealed class PictureFrame : Id3Frame
{
Expand Down
2 changes: 1 addition & 1 deletion src/Id3.Net/Frames/Others/PrivateFrame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ limitations under the License.
using System.Collections.ObjectModel;
using System.Linq;

namespace Id3
namespace Id3.Frames
{
public sealed class PrivateFrame : Id3Frame
{
Expand Down
2 changes: 1 addition & 1 deletion src/Id3.Net/Frames/Others/UnknownFrame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ limitations under the License.
*/
#endregion

namespace Id3
namespace Id3.Frames
{
public sealed class UnknownFrame : Id3Frame
{
Expand Down
2 changes: 1 addition & 1 deletion src/Id3.Net/Frames/String/AlbumFrame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ limitations under the License.
*/
#endregion

namespace Id3
namespace Id3.Frames
{
public sealed class AlbumFrame : TextFrame
{
Expand Down
2 changes: 1 addition & 1 deletion src/Id3.Net/Frames/String/BandFrame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ limitations under the License.
*/
#endregion

namespace Id3
namespace Id3.Frames
{
public sealed class BandFrame : TextFrame
{
Expand Down
2 changes: 1 addition & 1 deletion src/Id3.Net/Frames/String/ConductorFrame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ limitations under the License.
*/
#endregion

namespace Id3
namespace Id3.Frames
{
public sealed class ConductorFrame : TextFrame
{
Expand Down
2 changes: 1 addition & 1 deletion src/Id3.Net/Frames/String/ContentGroupDescriptionFrame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ limitations under the License.
*/
#endregion

namespace Id3
namespace Id3.Frames
{
public sealed class ContentGroupDescriptionFrame : TextFrame
{
Expand Down
3 changes: 1 addition & 2 deletions src/Id3.Net/Frames/String/CopyrightFrame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ limitations under the License.

using System;
using System.Text.RegularExpressions;

using Id3.Resources;

namespace Id3
namespace Id3.Frames
{
public sealed class CopyrightFrame : TextFrame
{
Expand Down
2 changes: 1 addition & 1 deletion src/Id3.Net/Frames/String/CustomTextFrame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ limitations under the License.

using System.Collections.ObjectModel;

namespace Id3
namespace Id3.Frames
{
public sealed class CustomTextFrame : TextFrame
{
Expand Down
2 changes: 1 addition & 1 deletion src/Id3.Net/Frames/String/EncoderFrame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ limitations under the License.
*/
#endregion

namespace Id3
namespace Id3.Frames
{
public sealed class EncoderFrame : TextFrame
{
Expand Down
2 changes: 1 addition & 1 deletion src/Id3.Net/Frames/String/EncodingSettingsFrame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ limitations under the License.
*/
#endregion

namespace Id3
namespace Id3.Frames
{
public sealed class EncodingSettingsFrame : TextFrame
{
Expand Down
2 changes: 1 addition & 1 deletion src/Id3.Net/Frames/String/FileOwnerFrame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ limitations under the License.
*/
#endregion

namespace Id3
namespace Id3.Frames
{
public sealed class FileOwnerFrame : TextFrame
{
Expand Down
2 changes: 1 addition & 1 deletion src/Id3.Net/Frames/String/GenreFrame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ limitations under the License.
*/
#endregion

namespace Id3
namespace Id3.Frames
{
public sealed class GenreFrame : TextFrame
{
Expand Down
2 changes: 1 addition & 1 deletion src/Id3.Net/Frames/String/PublisherFrame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ limitations under the License.
*/
#endregion

namespace Id3
namespace Id3.Frames
{
public sealed class PublisherFrame : TextFrame
{
Expand Down
2 changes: 1 addition & 1 deletion src/Id3.Net/Frames/String/SubtitleFrame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ limitations under the License.
*/
#endregion

namespace Id3
namespace Id3.Frames
{
public sealed class SubtitleFrame : TextFrame
{
Expand Down
2 changes: 1 addition & 1 deletion src/Id3.Net/Frames/String/TitleFrame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ limitations under the License.
*/
#endregion

namespace Id3
namespace Id3.Frames
{
public sealed class TitleFrame : TextFrame
{
Expand Down
2 changes: 1 addition & 1 deletion src/Id3.Net/Frames/TextFrame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ limitations under the License.
*/
#endregion

namespace Id3
namespace Id3.Frames
{
public abstract class TextFrame : TextFrameBase<string>
{
Expand Down
2 changes: 1 addition & 1 deletion src/Id3.Net/Frames/TextFrameBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ limitations under the License.

using System.Diagnostics;

namespace Id3
namespace Id3.Frames
{
/// <summary>
/// Represents an ID3 frame that contains textual data
Expand Down
2 changes: 1 addition & 1 deletion src/Id3.Net/Frames/Textual/FileTypeFrame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ limitations under the License.
using System.Collections.Generic;
using System.Linq;

namespace Id3
namespace Id3.Frames
{
public class FileTypeFrame : TextFrameBase<FileAudioType>
{
Expand Down
Loading

0 comments on commit 299a702

Please sign in to comment.