Skip to content
This repository has been archived by the owner on Dec 17, 2018. It is now read-only.

Minimum Refectoring #2

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

Conversation

toliner
Copy link

@toliner toliner commented Dec 21, 2017

  • 変数名とクラス名が同じであることとusing staticの使用に起因する曖昧な参照の解決
  • usingの最適化

<ItemGroup>
<PackageReference Include="System.Net.Ping" Version="4.3.0" />
<PackageReference Include="Discord.Net" Version="1.0.2" />
<PackageReference Include="LiteDB" Version="4.1.0" />
</ItemGroup>

</Project>
</Project>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All of the ends of files have to be finished with a new line.

using System.Threading.Tasks;
using AcidChicken.Samurai.Models;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All of the local namespace reference instructions have to be included in the local namespace block.

@@ -4,16 +4,14 @@
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using AcidChicken.Samurai.Assets;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All of the local namespace reference instructions have to be included in the local namespace block.

@@ -4,16 +4,14 @@
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using AcidChicken.Samurai.Assets;
using AcidChicken.Samurai.Components;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All of the local namespace reference instructions have to be included in the local namespace block.

using System.Linq;
using System.Threading.Tasks;
using AcidChicken.Samurai.Assets;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All of the local namespace reference instructions have to be included in the local namespace block.

@@ -1,13 +1,10 @@
using System;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The "System" reference instruction must be defined at the top of the code file.

@@ -1,6 +1,4 @@
using System;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The "System" reference instruction must be defined at the top of the code file.

@@ -1,10 +1,7 @@
using System;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The "System" reference instruction must be defined at the top of the code file.

@@ -1,15 +1,12 @@
using System;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The "System" reference instruction must be defined at the top of the code file.

@@ -1,17 +1,16 @@
using System;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The "System" reference instruction must be defined at the top of the code file.

acid-chicken added a commit that referenced this pull request Dec 22, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants