Skip to content

Commit 7c823c3

Browse files
committed
Adjusted Namespaces
1 parent 92c7e40 commit 7c823c3

38 files changed

+62
-71
lines changed

PapyrusAlgorithms/Data/KeyAndCrc.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace PapyrusCs
1+
namespace PapyrusAlgorithms.Data
22
{
33
public struct KeyAndCrc
44
{

PapyrusAlgorithms/Database/Checksum.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System;
22
using System.ComponentModel.DataAnnotations;
33

4-
namespace PapyrusCs.Database
4+
namespace PapyrusAlgorithms.Database
55
{
66
public class Checksum
77
{

PapyrusAlgorithms/Database/DbContextExtensions.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
using FastMember;
88
using Microsoft.EntityFrameworkCore;
99

10-
namespace PapyrusCs.Database
10+
namespace PapyrusAlgorithms.Database
1111
{
1212
public static class DbContextExtensions
1313
{

PapyrusAlgorithms/Database/DbCreator.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using Microsoft.EntityFrameworkCore;
22
using Microsoft.EntityFrameworkCore.Design;
33

4-
namespace PapyrusCs.Database
4+
namespace PapyrusAlgorithms.Database
55
{
66
public class DbCreator : IDesignTimeDbContextFactory<PapyrusContext>
77
{

PapyrusAlgorithms/Database/PapyrusContext.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Microsoft.EntityFrameworkCore;
22

3-
namespace PapyrusCs.Database
3+
namespace PapyrusAlgorithms.Database
44
{
55
public class PapyrusContext : DbContext
66
{

PapyrusAlgorithms/Database/Settings.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.ComponentModel.DataAnnotations;
22

3-
namespace PapyrusCs.Database
3+
namespace PapyrusAlgorithms.Database
44
{
55
public class Settings
66
{

PapyrusAlgorithms/Migrations/20190522130109_Initial.Designer.cs

+3-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

PapyrusAlgorithms/Migrations/20190522130109_Initial.cs

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
using System;
2-
using Microsoft.EntityFrameworkCore.Migrations;
1+
using Microsoft.EntityFrameworkCore.Migrations;
32

4-
namespace PapyrusCs.Migrations
3+
namespace PapyrusAlgorithms.Migrations
54
{
65
public partial class Initial : Migration
76
{

PapyrusAlgorithms/Migrations/20190610115634_Settings.Designer.cs

+3-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

PapyrusAlgorithms/Migrations/20190610115634_Settings.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Microsoft.EntityFrameworkCore.Migrations;
22

3-
namespace PapyrusCs.Migrations
3+
namespace PapyrusAlgorithms.Migrations
44
{
55
public partial class Settings : Migration
66
{

PapyrusAlgorithms/Migrations/20190610122949_Settings2.Designer.cs

+3-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

PapyrusAlgorithms/Migrations/20190610122949_Settings2.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Microsoft.EntityFrameworkCore.Migrations;
22

3-
namespace PapyrusCs.Migrations
3+
namespace PapyrusAlgorithms.Migrations
44
{
55
public partial class Settings2 : Migration
66
{

PapyrusAlgorithms/Migrations/20190610125337_Settings3.Designer.cs

+3-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

PapyrusAlgorithms/Migrations/20190610125337_Settings3.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Microsoft.EntityFrameworkCore.Migrations;
22

3-
namespace PapyrusCs.Migrations
3+
namespace PapyrusAlgorithms.Migrations
44
{
55
public partial class Settings3 : Migration
66
{

PapyrusAlgorithms/Migrations/20190610131213_Settings4.Designer.cs

+3-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

PapyrusAlgorithms/Migrations/20190610131213_Settings4.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Microsoft.EntityFrameworkCore.Migrations;
22

3-
namespace PapyrusCs.Migrations
3+
namespace PapyrusAlgorithms.Migrations
44
{
55
public partial class Settings4 : Migration
66
{

PapyrusAlgorithms/Migrations/20190620000000_Profile.Designer.cs

+3-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

PapyrusAlgorithms/Migrations/20190620000000_Profile.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Microsoft.EntityFrameworkCore.Migrations;
22

3-
namespace PapyrusCs.Migrations
3+
namespace PapyrusAlgorithms.Migrations
44
{
55
public partial class Profile : Migration
66
{

PapyrusAlgorithms/Migrations/20190801161220_chunksperdimension.Designer.cs

+3-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

PapyrusAlgorithms/Migrations/20190801161220_chunksperdimension.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Microsoft.EntityFrameworkCore.Migrations;
22

3-
namespace PapyrusCs.Migrations
3+
namespace PapyrusAlgorithms.Migrations
44
{
55
public partial class chunksperdimension : Migration
66
{

PapyrusAlgorithms/Migrations/PapyrusContextModelSnapshot.cs

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
// <auto-generated />
2-
using System;
2+
33
using Microsoft.EntityFrameworkCore;
44
using Microsoft.EntityFrameworkCore.Infrastructure;
5-
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
6-
using PapyrusCs.Database;
5+
using PapyrusAlgorithms.Database;
76

8-
namespace PapyrusCs.Migrations
7+
namespace PapyrusAlgorithms.Migrations
98
{
109
[DbContext(typeof(PapyrusContext))]
1110
partial class PapyrusContextModelSnapshot : ModelSnapshot

PapyrusAlgorithms/Strategies/ChunksRenderedEventArgs.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System;
22

3-
namespace PapyrusCs.Strategies
3+
namespace PapyrusAlgorithms.Strategies
44
{
55
public class ChunksRenderedEventArgs : EventArgs
66
{

PapyrusAlgorithms/Strategies/Dataflow/ChunkAndData.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System.Collections.Generic;
22
using Maploader.World;
33

4-
namespace PapyrusCs.Strategies.Dataflow
4+
namespace PapyrusAlgorithms.Strategies.Dataflow
55
{
66
public class ChunkAndData
77
{

PapyrusAlgorithms/Strategies/Dataflow/CreateChunkAndRenderBlock.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using System;
22
using System.Collections.Generic;
33
using System.Linq;
4-
using System.Text;
54
using System.Threading;
65
using System.Threading.Tasks.Dataflow;
76
using Maploader.Core;
@@ -10,7 +9,7 @@
109
using Maploader.Renderer.Texture;
1110
using Maploader.World;
1211

13-
namespace PapyrusCs.Strategies.Dataflow
12+
namespace PapyrusAlgorithms.Strategies.Dataflow
1413
{
1514
class CreateChunkAndRenderBlock<TImage> : ITplBlock where TImage : class
1615
{

PapyrusAlgorithms/Strategies/Dataflow/DataFlowStrategy.cs

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using System.Collections.Concurrent;
33
using System.Collections.Generic;
44
using System.Collections.Immutable;
5-
using System.Drawing;
65
using System.IO;
76
using System.Linq;
87
using System.Threading;
@@ -15,9 +14,11 @@
1514
using Maploader.Renderer.Texture;
1615
using Maploader.World;
1716
using Microsoft.EntityFrameworkCore;
17+
using PapyrusAlgorithms.Data;
18+
using PapyrusAlgorithms.Database;
1819
using PapyrusCs.Database;
1920

20-
namespace PapyrusCs.Strategies.Dataflow
21+
namespace PapyrusAlgorithms.Strategies.Dataflow
2122
{
2223
public class DataFlowStrategy<TImage> : IRenderStrategy where TImage : class
2324
{

PapyrusAlgorithms/Strategies/Dataflow/GetDataBlock.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
using System;
2-
using System.Collections.Generic;
1+
using System.Collections.Generic;
32
using System.Collections.Immutable;
43
using System.Threading.Tasks.Dataflow;
54
using Maploader.World;
5+
using PapyrusAlgorithms.Data;
66
using PapyrusCs.Database;
77

8-
namespace PapyrusCs.Strategies.Dataflow
8+
namespace PapyrusAlgorithms.Strategies.Dataflow
99
{
1010
public class GetDataBlock : ITplBlock
1111
{

PapyrusAlgorithms/Strategies/Dataflow/ITplBlock.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace PapyrusCs.Strategies.Dataflow
1+
namespace PapyrusAlgorithms.Strategies.Dataflow
22
{
33
public interface ITplBlock
44
{

PapyrusAlgorithms/Strategies/Dataflow/SaveBitmapBlock.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
using System;
22
using System.Collections.Generic;
33
using System.IO;
4-
using System.Runtime.CompilerServices;
54
using System.Threading.Tasks.Dataflow;
65
using Maploader.Renderer.Imaging;
76
using Maploader.World;
87

9-
namespace PapyrusCs.Strategies.Dataflow
8+
namespace PapyrusAlgorithms.Strategies.Dataflow
109
{
1110
public class SaveBitmapBlock<TImage> : ITplBlock where TImage : class
1211
{

PapyrusAlgorithms/Strategies/Dataflow/obsolete/BitmapRenderBlock.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
using Maploader.Renderer.Texture;
1010
using Maploader.World;
1111

12-
namespace PapyrusCs.Strategies.Dataflow
12+
namespace PapyrusAlgorithms.Strategies.Dataflow.obsolete
1313
{
1414
public class BitmapRenderBlock<TImage> : ITplBlock where TImage : class
1515
{

PapyrusAlgorithms/Strategies/Dataflow/obsolete/CreateDataBlock.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
using System.Collections.Generic;
22
using System.Threading.Tasks.Dataflow;
33
using Maploader.World;
4-
using PapyrusCs.Database;
54

6-
namespace PapyrusCs.Strategies.Dataflow
5+
namespace PapyrusAlgorithms.Strategies.Dataflow.obsolete
76
{
87
public class CreateDataBlock : ITplBlock
98
{

PapyrusAlgorithms/Strategies/IRenderStrategy.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
using Maploader.Renderer;
55
using Maploader.Renderer.Texture;
66
using Maploader.World;
7+
using PapyrusAlgorithms.Database;
78
using PapyrusCs.Database;
89

9-
namespace PapyrusCs.Strategies
10+
namespace PapyrusAlgorithms.Strategies
1011
{
1112
public interface IRenderStrategy
1213
{

PapyrusAlgorithms/Strategies/ImageInfo.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using System.Collections.Generic;
33
using Maploader.World;
44

5-
namespace PapyrusCs.Strategies
5+
namespace PapyrusAlgorithms.Strategies
66
{
77
public class ImageInfo<TImage> where TImage : class
88
{

PapyrusAlgorithms/Strategies/RendererCombi.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using Maploader.Renderer.Imaging;
44
using Maploader.Renderer.Texture;
55

6-
namespace PapyrusCs.Strategies
6+
namespace PapyrusAlgorithms.Strategies
77
{
88
class RendererCombi<TImage> where TImage : class
99
{

PapyrusAlgorithms/Strategies/Strategy.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace PapyrusCs
1+
namespace PapyrusAlgorithms.Strategies
22
{
33
public enum Strategy
44
{

PapyrusAlgorithms/Strategies/ZoomRenderedEventArgs.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System;
22

3-
namespace PapyrusCs.Strategies
3+
namespace PapyrusAlgorithms.Strategies
44
{
55
public class ZoomRenderedEventArgs : EventArgs
66
{

PapyrusCs.Tests.Core/UnitTest1.cs

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
using Microsoft.Data.Sqlite;
66
using Microsoft.EntityFrameworkCore;
77
using NUnit.Framework;
8+
using PapyrusAlgorithms.Database;
89
using PapyrusCs.Database;
910

1011
namespace Tests

0 commit comments

Comments
 (0)