Skip to content

Commit

Permalink
Factory -> FactoryMethod
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasCancio committed Jan 13, 2021
1 parent cde175b commit 60ed3a6
Show file tree
Hide file tree
Showing 10 changed files with 33 additions and 7 deletions.
File renamed without changes.
12 changes: 12 additions & 0 deletions PatternsCriacao/AbstractFactory/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
using System;

namespace AbstractFactory
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Collections.Generic;
using System.Text;

namespace Factory
namespace FactoryMethod
{
public class FactoryMethod
{
Expand Down
8 changes: 8 additions & 0 deletions PatternsCriacao/FactoryMethod/FactoryMethod.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace Factory
namespace FactoryMethod
{
public interface IPersonagem
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace Factory
namespace FactoryMethod
{
public class LiuKang : IPersonagem
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace Factory
namespace FactoryMethod
{
class Program
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace Factory
namespace FactoryMethod
{
public class Scorpion : IPersonagem
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace Factory
namespace FactoryMethod
{
public class SubZero : IPersonagem
{
Expand Down
8 changes: 7 additions & 1 deletion PatternsCriacao/PatternsCriacao.sln
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ VisualStudioVersion = 16.0.30804.86
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Singleton", "Singleton\Singleton.csproj", "{0966E9CC-D967-44E6-B950-20DE58379278}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Factory", "Factory\Factory.csproj", "{BE1783A6-9D3A-4ABE-A001-526E07A599CF}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FactoryMethod", "Factory\FactoryMethod.csproj", "{BE1783A6-9D3A-4ABE-A001-526E07A599CF}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AbstractFactory", "AbstractFactory\AbstractFactory.csproj", "{5AB4FAA5-466E-4A89-864C-4EA395402008}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand All @@ -21,6 +23,10 @@ Global
{BE1783A6-9D3A-4ABE-A001-526E07A599CF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BE1783A6-9D3A-4ABE-A001-526E07A599CF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BE1783A6-9D3A-4ABE-A001-526E07A599CF}.Release|Any CPU.Build.0 = Release|Any CPU
{5AB4FAA5-466E-4A89-864C-4EA395402008}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5AB4FAA5-466E-4A89-864C-4EA395402008}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5AB4FAA5-466E-4A89-864C-4EA395402008}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5AB4FAA5-466E-4A89-864C-4EA395402008}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down

0 comments on commit 60ed3a6

Please sign in to comment.