Browse Source

Visual Studio Reformat: DvdLib

Erwin de Haan 6 years ago
parent
commit
17703c8bd2

+ 0 - 3
DvdLib/BigEndianBinaryReader.cs

@@ -1,7 +1,4 @@
 using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
 using System.IO;
 
 namespace DvdLib

+ 1 - 6
DvdLib/Ifo/AudioAttributes.cs

@@ -1,9 +1,4 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
-namespace DvdLib.Ifo
+namespace DvdLib.Ifo
 {
     public enum AudioCodec
     {

+ 1 - 5
DvdLib/Ifo/Cell.cs

@@ -1,8 +1,4 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.IO;
+using System.IO;
 
 namespace DvdLib.Ifo
 {

+ 1 - 5
DvdLib/Ifo/CellPlaybackInfo.cs

@@ -1,8 +1,4 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.IO;
+using System.IO;
 
 namespace DvdLib.Ifo
 {

+ 1 - 5
DvdLib/Ifo/CellPositionInfo.cs

@@ -1,8 +1,4 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.IO;
+using System.IO;
 
 namespace DvdLib.Ifo
 {

+ 0 - 5
DvdLib/Ifo/Chapter.cs

@@ -1,8 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
 namespace DvdLib.Ifo
 {
     public class Chapter

+ 1 - 3
DvdLib/Ifo/Dvd.cs

@@ -1,9 +1,7 @@
 using System;
 using System.Collections.Generic;
-using System.Linq;
-using System.Text;
 using System.IO;
-using System.Diagnostics;
+using System.Linq;
 using MediaBrowser.Model.IO;
 
 namespace DvdLib.Ifo

+ 0 - 3
DvdLib/Ifo/DvdTime.cs

@@ -1,7 +1,4 @@
 using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
 
 namespace DvdLib.Ifo
 {

+ 1 - 4
DvdLib/Ifo/PgcCommandTable.cs

@@ -1,7 +1,4 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
+using System.Collections.Generic;
 
 namespace DvdLib.Ifo
 {

+ 1 - 4
DvdLib/Ifo/Program.cs

@@ -1,7 +1,4 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
+using System.Collections.Generic;
 
 namespace DvdLib.Ifo
 {

+ 3 - 5
DvdLib/Ifo/ProgramChain.cs

@@ -1,8 +1,6 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
+using System.Collections.Generic;
 using System.IO;
+using System.Linq;
 
 namespace DvdLib.Ifo
 {
@@ -106,7 +104,7 @@ namespace DvdLib.Ifo
 
             for (int i = 0; i < cellNumbers.Count; i++)
             {
-                int max = (i + 1 == cellNumbers.Count) ? _cellCount : cellNumbers[i+1];
+                int max = (i + 1 == cellNumbers.Count) ? _cellCount : cellNumbers[i + 1];
                 Programs.Add(new Program(Cells.Where((c, idx) => idx >= cellNumbers[i] && idx < max).ToList()));
             }
         }

+ 1 - 4
DvdLib/Ifo/Title.cs

@@ -1,7 +1,4 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
+using System.Collections.Generic;
 using System.IO;
 
 namespace DvdLib.Ifo

+ 0 - 3
DvdLib/Ifo/UserOperation.cs

@@ -1,7 +1,4 @@
 using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
 
 namespace DvdLib.Ifo
 {

+ 1 - 6
DvdLib/Ifo/VideoAttributes.cs

@@ -1,9 +1,4 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
-namespace DvdLib.Ifo
+namespace DvdLib.Ifo
 {
     public enum VideoCodec
     {