Move streams to Streams namespace

This commit is contained in:
Alex Barney 2018-08-23 11:28:45 -05:00
parent 02464eaa60
commit 35475ac5a8
6 changed files with 7 additions and 5 deletions

View file

@ -183,7 +183,7 @@ namespace hactoolnet
return; return;
} }
var section = title.MainNca.Sections.FirstOrDefault(x => x.IsExefs == true); var section = title.MainNca.Sections.FirstOrDefault(x => x.IsExefs);
if (section == null) if (section == null)
{ {
@ -313,7 +313,7 @@ namespace hactoolnet
return; return;
} }
var exefsSection = mainNca.Sections.FirstOrDefault(x => x.IsExefs == true); var exefsSection = mainNca.Sections.FirstOrDefault(x => x.IsExefs);
if (exefsSection == null) if (exefsSection == null)
{ {

View file

@ -1,8 +1,8 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.IO; using System.IO;
using System.Linq;
using System.Text; using System.Text;
using libhac.Streams;
namespace libhac.Savefile namespace libhac.Savefile
{ {

View file

@ -4,6 +4,7 @@ using System.Diagnostics;
using System.IO; using System.IO;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using libhac.Streams;
namespace libhac namespace libhac
{ {

View file

@ -27,7 +27,7 @@ using System.Collections.Generic;
using System.IO; using System.IO;
using System.Threading; using System.Threading;
namespace libhac namespace libhac.Streams
{ {
internal class CombinationStream : Stream internal class CombinationStream : Stream
{ {

View file

@ -1,7 +1,7 @@
using System; using System;
using System.IO; using System.IO;
namespace libhac namespace libhac.Streams
{ {
public class SubStream : Stream public class SubStream : Stream
{ {

View file

@ -1,4 +1,5 @@
using System.IO; using System.IO;
using libhac.Streams;
namespace libhac namespace libhac
{ {