└── CleanCode
├── ExtractMethod
├── ExtractMethod.sln
└── ExtractMethod
│ ├── ExtractMethod.csproj
│ ├── Program.cs
│ ├── bin
│ └── Debug
│ │ └── netcoreapp3.1
│ │ ├── ExtractMethod.deps.json
│ │ ├── ExtractMethod.dll
│ │ ├── ExtractMethod.pdb
│ │ ├── ExtractMethod.runtimeconfig.dev.json
│ │ └── ExtractMethod.runtimeconfig.json
│ └── obj
│ ├── Debug
│ └── netcoreapp3.1
│ │ ├── ExtractMethod.AssemblyInfo.cs
│ │ ├── ExtractMethod.AssemblyInfoInputs.cache
│ │ ├── ExtractMethod.assets.cache
│ │ ├── ExtractMethod.csproj.CoreCompileInputs.cache
│ │ ├── ExtractMethod.csproj.FileListAbsolute.txt
│ │ ├── ExtractMethod.csprojAssemblyReference.cache
│ │ ├── ExtractMethod.dll
│ │ ├── ExtractMethod.genruntimeconfig.cache
│ │ └── ExtractMethod.pdb
│ ├── ExtractMethod.csproj.nuget.cache
│ ├── ExtractMethod.csproj.nuget.dgspec.json
│ ├── ExtractMethod.csproj.nuget.g.props
│ ├── ExtractMethod.csproj.nuget.g.targets
│ └── project.assets.json
├── Interpreter
├── Interpreter.sln
└── Interpreter
│ ├── Class1.cs
│ ├── Interpreter.csproj
│ ├── Program.cs
│ ├── Properties
│ └── AssemblyInfo.cs
│ ├── bin
│ └── Debug
│ │ ├── Interpreter.exe
│ │ └── Interpreter.pdb
│ └── obj
│ └── Debug
│ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ ├── Interpreter.csproj.CoreCompileInputs.cache
│ ├── Interpreter.csproj.FileListAbsolute.txt
│ ├── Interpreter.csprojAssemblyReference.cache
│ ├── Interpreter.exe
│ ├── Interpreter.pdb
│ └── project.razor.json
└── SolidStrategy
├── SolidStrategy.sln
└── SolidStrategy
├── Crm.cs
├── Finnace.cs
├── IBussinesLogic.cs
├── Process.cs
├── Program.cs
├── Service.cs
├── SolidStrategy.csproj
├── bin
└── Debug
│ └── netcoreapp3.1
│ ├── SolidStrategy.deps.json
│ ├── SolidStrategy.dll
│ ├── SolidStrategy.pdb
│ ├── SolidStrategy.runtimeconfig.dev.json
│ └── SolidStrategy.runtimeconfig.json
└── obj
├── Debug
└── netcoreapp3.1
│ ├── SolidStrategy.AssemblyInfo.cs
│ ├── SolidStrategy.AssemblyInfoInputs.cache
│ ├── SolidStrategy.assets.cache
│ ├── SolidStrategy.csproj.CoreCompileInputs.cache
│ ├── SolidStrategy.csproj.FileListAbsolute.txt
│ ├── SolidStrategy.csprojAssemblyReference.cache
│ ├── SolidStrategy.dll
│ ├── SolidStrategy.genruntimeconfig.cache
│ └── SolidStrategy.pdb
├── SolidStrategy.csproj.nuget.cache
├── SolidStrategy.csproj.nuget.dgspec.json
├── SolidStrategy.csproj.nuget.g.props
├── SolidStrategy.csproj.nuget.g.targets
└── project.assets.json
/CleanCode/ExtractMethod/ExtractMethod.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 15
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ExtractMethod", "ExtractMethod\ExtractMethod.csproj", "{AB3AAA82-CFC3-424D-8D67-4445453CAC20}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|Any CPU = Debug|Any CPU
9 | Release|Any CPU = Release|Any CPU
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {AB3AAA82-CFC3-424D-8D67-4445453CAC20}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
13 | {AB3AAA82-CFC3-424D-8D67-4445453CAC20}.Debug|Any CPU.Build.0 = Debug|Any CPU
14 | {AB3AAA82-CFC3-424D-8D67-4445453CAC20}.Release|Any CPU.ActiveCfg = Release|Any CPU
15 | {AB3AAA82-CFC3-424D-8D67-4445453CAC20}.Release|Any CPU.Build.0 = Release|Any CPU
16 | EndGlobalSection
17 | EndGlobal
18 |
--------------------------------------------------------------------------------
/CleanCode/ExtractMethod/ExtractMethod/ExtractMethod.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | netcoreapp3.1
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/CleanCode/ExtractMethod/ExtractMethod/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 |
4 | namespace ExtractMethod
5 | {
6 | enum Department
7 | {
8 | IT = 1,
9 | HumanResource = 2,
10 | System = 3,
11 | Officer = 4
12 | }
13 | enum Gender
14 | {
15 | Male,
16 | Female
17 | }
18 | class Person
19 | {
20 | public int Identity;
21 | public String Name;
22 | public double Salary;
23 | public int Department;
24 | public Gender Gender;
25 | public Person(int _identity, string name, float _salary, Department _department, Gender _gender)
26 | {
27 | this.Identity = _identity;
28 | this.Name = name;
29 | this.Salary = _salary;
30 | this.Department = (int)_department;
31 | this.Gender = _gender;
32 | }
33 | }
34 | class Program2
35 | {
36 | static void Main2(string[] args)
37 | {
38 | List listPerson = new List();
39 | listPerson.AddRange(new List() {
40 | new Person(1, "Test User1", 5500, Department.HumanResource,Gender.Male),
41 | new Person(2, "Test User2", 6500, Department.Officer,Gender.Female),
42 | new Person(3, "Test User3", 7500, Department.IT,Gender.Female)
43 | });
44 | CalculateSalaryIncrease(ref listPerson);
45 |
46 | foreach (Person person in listPerson)
47 | {
48 | Console.WriteLine($"User Name:{person.Name} Sallary:{person.Salary} Departmant:{(Department)person.Department}");
49 | }
50 | }
51 |
52 | public static void CalculateSalaryIncrease(ref List personList)
53 | {
54 | foreach (Person person in personList)
55 | {
56 | switch ((Department)person.Department)
57 | {
58 | case Department.IT:
59 | {
60 | person.Salary = person.Salary * 1.1;
61 | break;
62 | }
63 | case Department.HumanResource:
64 | {
65 | person.Salary = person.Salary * 1.2;
66 | break;
67 | }
68 | case Department.System:
69 | {
70 | person.Salary = person.Salary * 1;
71 | break;
72 | }
73 | case Department.Officer:
74 | {
75 | person.Salary = person.Salary * 1.3;
76 | break;
77 | }
78 | }
79 | person.Name = person.Gender == Gender.Male ? $"Mr.{person.Name}" : $"Ms.{person.Name}";
80 | }
81 | }
82 | }
83 |
84 | class Program
85 | {
86 | static void Main(string[] args)
87 | {
88 | List listPerson = new List();
89 | listPerson.AddRange(new List() {
90 | new Person(1, "Test User1", 5500, Department.HumanResource,Gender.Male),
91 | new Person(2, "Test User2", 6500, Department.Officer,Gender.Female),
92 | new Person(3, "Test User3", 7500, Department.IT,Gender.Female)
93 | });
94 |
95 | CalculateSalaryIncrease(ref listPerson);
96 |
97 | foreach (Person person in listPerson)
98 | {
99 | Console.WriteLine($"User Name:{person.Name} Sallary:{person.Salary} Departmant:{(Department)person.Department}");
100 | }
101 | }
102 | public static void CalculateSalaryIncrease(ref List personList)
103 | {
104 | foreach (Person person in personList)
105 | {
106 | double sallaryRate = GetSalaryRatebyDepartment((Department)person.Department);
107 | person.Salary = CalculateNewSallaryWithRate(person.Salary, sallaryRate);
108 | person.Name = AppendTagToNameByGender(person.Name, person.Gender);
109 | }
110 | }
111 |
112 | public static string AppendTagToNameByGender(string name, Gender gender)
113 | {
114 | return gender == Gender.Male ? $"Mr.{name}" : $"Ms.{name}";
115 | }
116 |
117 | public static double CalculateNewSallaryWithRate(double salary, double rate)
118 | {
119 | return salary * rate;
120 | }
121 |
122 | public static double GetSalaryRatebyDepartment(Department department)
123 | {
124 | switch (department)
125 | {
126 | case Department.IT:
127 | {
128 | return 1.1;
129 | }
130 | case Department.HumanResource:
131 | {
132 | return 1.2;
133 | }
134 | case Department.System:
135 | {
136 | return 1;
137 | }
138 | case Department.Officer:
139 | {
140 | return 1.3;
141 | }
142 | }
143 | return 1;
144 | }
145 | }
146 | }
147 |
--------------------------------------------------------------------------------
/CleanCode/ExtractMethod/ExtractMethod/bin/Debug/netcoreapp3.1/ExtractMethod.deps.json:
--------------------------------------------------------------------------------
1 | {
2 | "runtimeTarget": {
3 | "name": ".NETCoreApp,Version=v3.1",
4 | "signature": ""
5 | },
6 | "compilationOptions": {},
7 | "targets": {
8 | ".NETCoreApp,Version=v3.1": {
9 | "ExtractMethod/1.0.0": {
10 | "runtime": {
11 | "ExtractMethod.dll": {}
12 | }
13 | }
14 | }
15 | },
16 | "libraries": {
17 | "ExtractMethod/1.0.0": {
18 | "type": "project",
19 | "serviceable": false,
20 | "sha512": ""
21 | }
22 | }
23 | }
--------------------------------------------------------------------------------
/CleanCode/ExtractMethod/ExtractMethod/bin/Debug/netcoreapp3.1/ExtractMethod.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/CleanCode/16528a7c6efddb6456c9751ccd89abfff7a9bc06/CleanCode/ExtractMethod/ExtractMethod/bin/Debug/netcoreapp3.1/ExtractMethod.dll
--------------------------------------------------------------------------------
/CleanCode/ExtractMethod/ExtractMethod/bin/Debug/netcoreapp3.1/ExtractMethod.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/CleanCode/16528a7c6efddb6456c9751ccd89abfff7a9bc06/CleanCode/ExtractMethod/ExtractMethod/bin/Debug/netcoreapp3.1/ExtractMethod.pdb
--------------------------------------------------------------------------------
/CleanCode/ExtractMethod/ExtractMethod/bin/Debug/netcoreapp3.1/ExtractMethod.runtimeconfig.dev.json:
--------------------------------------------------------------------------------
1 | {
2 | "runtimeOptions": {
3 | "additionalProbingPaths": [
4 | "/Users/borakasmer/.dotnet/store/|arch|/|tfm|",
5 | "/Users/borakasmer/.nuget/packages",
6 | "/usr/local/share/dotnet/sdk/NuGetFallbackFolder"
7 | ]
8 | }
9 | }
--------------------------------------------------------------------------------
/CleanCode/ExtractMethod/ExtractMethod/bin/Debug/netcoreapp3.1/ExtractMethod.runtimeconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "runtimeOptions": {
3 | "tfm": "netcoreapp3.1",
4 | "framework": {
5 | "name": "Microsoft.NETCore.App",
6 | "version": "3.1.0"
7 | }
8 | }
9 | }
--------------------------------------------------------------------------------
/CleanCode/ExtractMethod/ExtractMethod/obj/Debug/netcoreapp3.1/ExtractMethod.AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | using System;
12 | using System.Reflection;
13 |
14 | [assembly: System.Reflection.AssemblyCompanyAttribute("ExtractMethod")]
15 | [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
16 | [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
17 | [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
18 | [assembly: System.Reflection.AssemblyProductAttribute("ExtractMethod")]
19 | [assembly: System.Reflection.AssemblyTitleAttribute("ExtractMethod")]
20 | [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
21 |
22 | // Generated by the MSBuild WriteCodeFragment class.
23 |
24 |
--------------------------------------------------------------------------------
/CleanCode/ExtractMethod/ExtractMethod/obj/Debug/netcoreapp3.1/ExtractMethod.AssemblyInfoInputs.cache:
--------------------------------------------------------------------------------
1 | aa33936bba5c4a79ab0976cd439a629b445446f0
2 |
--------------------------------------------------------------------------------
/CleanCode/ExtractMethod/ExtractMethod/obj/Debug/netcoreapp3.1/ExtractMethod.assets.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/CleanCode/16528a7c6efddb6456c9751ccd89abfff7a9bc06/CleanCode/ExtractMethod/ExtractMethod/obj/Debug/netcoreapp3.1/ExtractMethod.assets.cache
--------------------------------------------------------------------------------
/CleanCode/ExtractMethod/ExtractMethod/obj/Debug/netcoreapp3.1/ExtractMethod.csproj.CoreCompileInputs.cache:
--------------------------------------------------------------------------------
1 | 2d2da72d0e56c3aeb1029a73c1a52c3efe7d8302
2 |
--------------------------------------------------------------------------------
/CleanCode/ExtractMethod/ExtractMethod/obj/Debug/netcoreapp3.1/ExtractMethod.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | /Users/borakasmer/Projects/ExtractMethod/ExtractMethod/bin/Debug/netcoreapp3.1/ExtractMethod.deps.json
2 | /Users/borakasmer/Projects/ExtractMethod/ExtractMethod/bin/Debug/netcoreapp3.1/ExtractMethod.runtimeconfig.json
3 | /Users/borakasmer/Projects/ExtractMethod/ExtractMethod/bin/Debug/netcoreapp3.1/ExtractMethod.runtimeconfig.dev.json
4 | /Users/borakasmer/Projects/ExtractMethod/ExtractMethod/bin/Debug/netcoreapp3.1/ExtractMethod.dll
5 | /Users/borakasmer/Projects/ExtractMethod/ExtractMethod/bin/Debug/netcoreapp3.1/ExtractMethod.pdb
6 | /Users/borakasmer/Projects/ExtractMethod/ExtractMethod/obj/Debug/netcoreapp3.1/ExtractMethod.csprojAssemblyReference.cache
7 | /Users/borakasmer/Projects/ExtractMethod/ExtractMethod/obj/Debug/netcoreapp3.1/ExtractMethod.csproj.CoreCompileInputs.cache
8 | /Users/borakasmer/Projects/ExtractMethod/ExtractMethod/obj/Debug/netcoreapp3.1/ExtractMethod.AssemblyInfoInputs.cache
9 | /Users/borakasmer/Projects/ExtractMethod/ExtractMethod/obj/Debug/netcoreapp3.1/ExtractMethod.AssemblyInfo.cs
10 | /Users/borakasmer/Projects/ExtractMethod/ExtractMethod/obj/Debug/netcoreapp3.1/ExtractMethod.dll
11 | /Users/borakasmer/Projects/ExtractMethod/ExtractMethod/obj/Debug/netcoreapp3.1/ExtractMethod.pdb
12 | /Users/borakasmer/Projects/ExtractMethod/ExtractMethod/obj/Debug/netcoreapp3.1/ExtractMethod.genruntimeconfig.cache
13 | /Users/borakasmer/Desktop/CleanCode/ExtractMethod/ExtractMethod/bin/Debug/netcoreapp3.1/ExtractMethod.deps.json
14 | /Users/borakasmer/Desktop/CleanCode/ExtractMethod/ExtractMethod/bin/Debug/netcoreapp3.1/ExtractMethod.runtimeconfig.json
15 | /Users/borakasmer/Desktop/CleanCode/ExtractMethod/ExtractMethod/bin/Debug/netcoreapp3.1/ExtractMethod.runtimeconfig.dev.json
16 | /Users/borakasmer/Desktop/CleanCode/ExtractMethod/ExtractMethod/bin/Debug/netcoreapp3.1/ExtractMethod.dll
17 | /Users/borakasmer/Desktop/CleanCode/ExtractMethod/ExtractMethod/bin/Debug/netcoreapp3.1/ExtractMethod.pdb
18 | /Users/borakasmer/Desktop/CleanCode/ExtractMethod/ExtractMethod/obj/Debug/netcoreapp3.1/ExtractMethod.csprojAssemblyReference.cache
19 | /Users/borakasmer/Desktop/CleanCode/ExtractMethod/ExtractMethod/obj/Debug/netcoreapp3.1/ExtractMethod.csproj.CoreCompileInputs.cache
20 | /Users/borakasmer/Desktop/CleanCode/ExtractMethod/ExtractMethod/obj/Debug/netcoreapp3.1/ExtractMethod.AssemblyInfoInputs.cache
21 | /Users/borakasmer/Desktop/CleanCode/ExtractMethod/ExtractMethod/obj/Debug/netcoreapp3.1/ExtractMethod.AssemblyInfo.cs
22 | /Users/borakasmer/Desktop/CleanCode/ExtractMethod/ExtractMethod/obj/Debug/netcoreapp3.1/ExtractMethod.dll
23 | /Users/borakasmer/Desktop/CleanCode/ExtractMethod/ExtractMethod/obj/Debug/netcoreapp3.1/ExtractMethod.pdb
24 | /Users/borakasmer/Desktop/CleanCode/ExtractMethod/ExtractMethod/obj/Debug/netcoreapp3.1/ExtractMethod.genruntimeconfig.cache
25 |
--------------------------------------------------------------------------------
/CleanCode/ExtractMethod/ExtractMethod/obj/Debug/netcoreapp3.1/ExtractMethod.csprojAssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/CleanCode/16528a7c6efddb6456c9751ccd89abfff7a9bc06/CleanCode/ExtractMethod/ExtractMethod/obj/Debug/netcoreapp3.1/ExtractMethod.csprojAssemblyReference.cache
--------------------------------------------------------------------------------
/CleanCode/ExtractMethod/ExtractMethod/obj/Debug/netcoreapp3.1/ExtractMethod.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/CleanCode/16528a7c6efddb6456c9751ccd89abfff7a9bc06/CleanCode/ExtractMethod/ExtractMethod/obj/Debug/netcoreapp3.1/ExtractMethod.dll
--------------------------------------------------------------------------------
/CleanCode/ExtractMethod/ExtractMethod/obj/Debug/netcoreapp3.1/ExtractMethod.genruntimeconfig.cache:
--------------------------------------------------------------------------------
1 | 86c8e15dd33445635927cfaf398408205fd11473
2 |
--------------------------------------------------------------------------------
/CleanCode/ExtractMethod/ExtractMethod/obj/Debug/netcoreapp3.1/ExtractMethod.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/CleanCode/16528a7c6efddb6456c9751ccd89abfff7a9bc06/CleanCode/ExtractMethod/ExtractMethod/obj/Debug/netcoreapp3.1/ExtractMethod.pdb
--------------------------------------------------------------------------------
/CleanCode/ExtractMethod/ExtractMethod/obj/ExtractMethod.csproj.nuget.cache:
--------------------------------------------------------------------------------
1 | {
2 | "version": 1,
3 | "dgSpecHash": "2EOnolN6pI3f3ugcEu/k2lba3Me/AU5aD51vO77b5vfGO3H8AObLWXUBb0pgVnnoVj05JX8BpkxEjAm6PZlVnA==",
4 | "success": true
5 | }
--------------------------------------------------------------------------------
/CleanCode/ExtractMethod/ExtractMethod/obj/ExtractMethod.csproj.nuget.dgspec.json:
--------------------------------------------------------------------------------
1 | {
2 | "format": 1,
3 | "restore": {
4 | "/Users/borakasmer/Desktop/CleanCode/ExtractMethod/ExtractMethod/ExtractMethod.csproj": {}
5 | },
6 | "projects": {
7 | "/Users/borakasmer/Desktop/CleanCode/ExtractMethod/ExtractMethod/ExtractMethod.csproj": {
8 | "version": "1.0.0",
9 | "restore": {
10 | "projectUniqueName": "/Users/borakasmer/Desktop/CleanCode/ExtractMethod/ExtractMethod/ExtractMethod.csproj",
11 | "projectName": "ExtractMethod",
12 | "projectPath": "/Users/borakasmer/Desktop/CleanCode/ExtractMethod/ExtractMethod/ExtractMethod.csproj",
13 | "packagesPath": "/Users/borakasmer/.nuget/packages/",
14 | "outputPath": "/Users/borakasmer/Desktop/CleanCode/ExtractMethod/ExtractMethod/obj/",
15 | "projectStyle": "PackageReference",
16 | "fallbackFolders": [
17 | "/usr/local/share/dotnet/sdk/NuGetFallbackFolder"
18 | ],
19 | "configFilePaths": [
20 | "/Users/borakasmer/.config/NuGet/NuGet.Config"
21 | ],
22 | "originalTargetFrameworks": [
23 | "netcoreapp3.1"
24 | ],
25 | "sources": {
26 | "https://api.nuget.org/v3/index.json": {}
27 | },
28 | "frameworks": {
29 | "netcoreapp3.1": {
30 | "projectReferences": {}
31 | }
32 | },
33 | "warningProperties": {
34 | "warnAsError": [
35 | "NU1605"
36 | ]
37 | }
38 | },
39 | "frameworks": {
40 | "netcoreapp3.1": {
41 | "imports": [
42 | "net461",
43 | "net462",
44 | "net47",
45 | "net471",
46 | "net472",
47 | "net48"
48 | ],
49 | "assetTargetFallback": true,
50 | "warn": true,
51 | "frameworkReferences": {
52 | "Microsoft.NETCore.App": {
53 | "privateAssets": "all"
54 | }
55 | },
56 | "runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/3.1.200/RuntimeIdentifierGraph.json"
57 | }
58 | }
59 | }
60 | }
61 | }
--------------------------------------------------------------------------------
/CleanCode/ExtractMethod/ExtractMethod/obj/ExtractMethod.csproj.nuget.g.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | True
5 | NuGet
6 | $(MSBuildThisFileDirectory)project.assets.json
7 | /Users/borakasmer/.nuget/packages/
8 | /Users/borakasmer/.nuget/packages/;/usr/local/share/dotnet/sdk/NuGetFallbackFolder
9 | PackageReference
10 | 5.4.0
11 |
12 |
13 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
14 |
15 |
--------------------------------------------------------------------------------
/CleanCode/ExtractMethod/ExtractMethod/obj/ExtractMethod.csproj.nuget.g.targets:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
5 |
6 |
--------------------------------------------------------------------------------
/CleanCode/ExtractMethod/ExtractMethod/obj/project.assets.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": 3,
3 | "targets": {
4 | ".NETCoreApp,Version=v3.1": {}
5 | },
6 | "libraries": {},
7 | "projectFileDependencyGroups": {
8 | ".NETCoreApp,Version=v3.1": []
9 | },
10 | "packageFolders": {
11 | "/Users/borakasmer/.nuget/packages/": {},
12 | "/usr/local/share/dotnet/sdk/NuGetFallbackFolder": {}
13 | },
14 | "project": {
15 | "version": "1.0.0",
16 | "restore": {
17 | "projectUniqueName": "/Users/borakasmer/Desktop/CleanCode/ExtractMethod/ExtractMethod/ExtractMethod.csproj",
18 | "projectName": "ExtractMethod",
19 | "projectPath": "/Users/borakasmer/Desktop/CleanCode/ExtractMethod/ExtractMethod/ExtractMethod.csproj",
20 | "packagesPath": "/Users/borakasmer/.nuget/packages/",
21 | "outputPath": "/Users/borakasmer/Desktop/CleanCode/ExtractMethod/ExtractMethod/obj/",
22 | "projectStyle": "PackageReference",
23 | "fallbackFolders": [
24 | "/usr/local/share/dotnet/sdk/NuGetFallbackFolder"
25 | ],
26 | "configFilePaths": [
27 | "/Users/borakasmer/.config/NuGet/NuGet.Config"
28 | ],
29 | "originalTargetFrameworks": [
30 | "netcoreapp3.1"
31 | ],
32 | "sources": {
33 | "https://api.nuget.org/v3/index.json": {}
34 | },
35 | "frameworks": {
36 | "netcoreapp3.1": {
37 | "projectReferences": {}
38 | }
39 | },
40 | "warningProperties": {
41 | "warnAsError": [
42 | "NU1605"
43 | ]
44 | }
45 | },
46 | "frameworks": {
47 | "netcoreapp3.1": {
48 | "imports": [
49 | "net461",
50 | "net462",
51 | "net47",
52 | "net471",
53 | "net472",
54 | "net48"
55 | ],
56 | "assetTargetFallback": true,
57 | "warn": true,
58 | "frameworkReferences": {
59 | "Microsoft.NETCore.App": {
60 | "privateAssets": "all"
61 | }
62 | },
63 | "runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/3.1.200/RuntimeIdentifierGraph.json"
64 | }
65 | }
66 | }
67 | }
--------------------------------------------------------------------------------
/CleanCode/Interpreter/Interpreter.sln:
--------------------------------------------------------------------------------
1 | Microsoft Visual Studio Solution File, Format Version 12.00
2 | # Visual Studio Version 16
3 | VisualStudioVersion = 16.0.29215.179
4 | MinimumVisualStudioVersion = 10.0.40219.1
5 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Interpreter", "Interpreter\Interpreter.csproj", "{C70369E1-4334-4C18-B53B-489C7A11571D}"
6 | EndProject
7 | Global
8 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
9 | Debug|anycpu = Debug|anycpu
10 | Release|anycpu = Release|anycpu
11 | EndGlobalSection
12 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
13 | {C70369E1-4334-4C18-B53B-489C7A11571D}.Debug|anycpu.ActiveCfg = Debug|Any CPU
14 | {C70369E1-4334-4C18-B53B-489C7A11571D}.Debug|anycpu.Build.0 = Debug|Any CPU
15 | {C70369E1-4334-4C18-B53B-489C7A11571D}.Release|anycpu.ActiveCfg = Release|Any CPU
16 | {C70369E1-4334-4C18-B53B-489C7A11571D}.Release|anycpu.Build.0 = Release|Any CPU
17 | EndGlobalSection
18 | GlobalSection(SolutionProperties) = preSolution
19 | HideSolutionNode = FALSE
20 | EndGlobalSection
21 | GlobalSection(ExtensibilityGlobals) = postSolution
22 | SolutionGuid = {9849D81C-C030-457B-86D7-168AAC88881C}
23 | EndGlobalSection
24 | EndGlobal
25 |
--------------------------------------------------------------------------------
/CleanCode/Interpreter/Interpreter/Class1.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 |
4 | namespace Interpreter
5 | {
6 | public interface Expression
7 | {
8 | bool Interpret(string content);
9 | }
10 |
11 | public class CheckExpression : Expression
12 | {
13 | private string word;
14 |
15 | public CheckExpression(string _word)
16 | {
17 | this.word = _word;
18 | }
19 |
20 | public bool Interpret(string content)
21 | {
22 | return content.ToLower().Contains(word.ToLower());
23 | }
24 | }
25 |
26 | public class OrExpression : Expression
27 | {
28 | private Expression exp1;
29 | private Expression exp2;
30 |
31 | public OrExpression(Expression _exp1, Expression _exp2)
32 | {
33 | this.exp1 = _exp1;
34 | this.exp2 = _exp2;
35 | }
36 | public bool Interpret(string content)
37 | {
38 | return (exp1.Interpret(content) || exp2.Interpret(content));
39 | }
40 | }
41 |
42 | public class AndExpression : Expression
43 | {
44 | private Expression exp1;
45 | private Expression exp2;
46 |
47 | public AndExpression(Expression _exp1, Expression _exp2)
48 | {
49 | this.exp1 = _exp1;
50 | this.exp2 = _exp2;
51 | }
52 | public bool Interpret(string content)
53 | {
54 | return (exp1.Interpret(content) && exp2.Interpret(content));
55 | }
56 | }
57 |
58 | //public class And3Expression : Expression
59 | //{
60 | // //çanta,ayakkabı,kuaför
61 | // private Expression exp1;
62 | // private Expression exp2;
63 | // private Expression exp3;
64 | // public And3Expression(Expression _exp1, Expression _exp2, Expression _exp3)
65 | // {
66 | // this.exp1 = _exp1;
67 | // this.exp2 = _exp2;
68 | // this.exp3 = _exp3;
69 | // }
70 | // public bool Interpret(string content)
71 | // {
72 | // return (exp1.Interpret(content) && exp2.Interpret(content) && exp3.Interpret(content));
73 | // }
74 | //}
75 |
76 | public class InterpretPattern
77 | {
78 | public static Expression getMaleExpression()
79 | {
80 | Expression futbol = new CheckExpression("football");
81 | Expression araba = new CheckExpression("car");
82 |
83 | return new OrExpression(futbol, araba);
84 | }
85 | public static List getFemailExpressions()
86 | {
87 | List ListExpression = new List();
88 |
89 | Expression mother = new CheckExpression("mother");
90 | Expression baby = new CheckExpression("baby");
91 | Expression rub = new CheckExpression("rub");
92 | Expression draw = new CheckExpression("draw");
93 | Expression car = new CheckExpression("car");
94 |
95 | ListExpression.Add(new OrExpression(mother, baby));
96 | ListExpression.Add(new AndExpression(rub, car));
97 | ListExpression.Add(new AndExpression(draw, car));
98 | return ListExpression;
99 | }
100 | }
101 | }
102 |
--------------------------------------------------------------------------------
/CleanCode/Interpreter/Interpreter/Interpreter.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Debug
5 | anycpu
6 | {C70369E1-4334-4C18-B53B-489C7A11571D}
7 | Exe
8 | Interpreter
9 | Interpreter
10 | v4.7.2
11 |
12 |
13 | true
14 | full
15 | false
16 | bin\Debug
17 | DEBUG;
18 | prompt
19 | 4
20 | true
21 |
22 |
23 | true
24 | bin\Release
25 | prompt
26 | 4
27 | true
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/CleanCode/Interpreter/Interpreter/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace Interpreter
4 | {
5 | class MainClass
6 | {
7 | //public static void Main(string[] args)
8 | //{
9 | // string Description1 = "Although I like football matches very much, I don't usually watch.";
10 | // string Description2 = "I attach great importance to breast milk for my baby's health.";
11 | // string Description3 = "I hit the car on my way to the gym.";
12 |
13 | // bool expResult = false;
14 | // string word = "football";
15 | // string word2 = "car";
16 |
17 | // string word3 = "mother";
18 | // string word4 = "baby";
19 | // string word5 = "draw";
20 | // string word6 = "rub";
21 |
22 |
23 | // Console.Write(Description1 + " (Man):");
24 | // //football || car
25 | // expResult = Description1.ToLower().Contains(word.ToLower()) || Description1.ToLower().Contains(word2.ToLower());
26 | // Console.WriteLine(expResult);
27 |
28 | // //mother || baby , draw && car , rub && car
29 | // Console.Write(Description2 + "(Woman):");
30 | // expResult = ((Description2.ToLower().Contains(word3.ToLower()) || Description2.ToLower().Contains(word4.ToLower()))
31 | // || (Description2.ToLower().Contains(word5.ToLower()) && Description2.ToLower().Contains(word2.ToLower()))
32 | // || (Description2.ToLower().Contains(word6.ToLower()) && Description2.ToLower().Contains(word2.ToLower())));
33 | // Console.WriteLine(expResult);
34 |
35 | // //mother || baby , draw && car , rub && car
36 | // Console.Write(Description3 + "(Woman):");
37 | // expResult = ((Description3.ToLower().Contains(word3.ToLower()) || Description3.ToLower().Contains(word4.ToLower()))
38 | // || (Description3.ToLower().Contains(word5.ToLower()) && Description3.ToLower().Contains(word2.ToLower()))
39 | // || (Description3.ToLower().Contains(word6.ToLower()) && Description3.ToLower().Contains(word2.ToLower())));
40 | // Console.WriteLine(expResult);
41 |
42 | // Console.ReadLine();
43 | //}
44 |
45 | public static void Main(string[] args)
46 | {
47 | string Description1 = "Although I like football matches very much, I don't usually watch.";
48 | string Description2 = "I attach great importance to breast milk for my baby's health.";
49 | string Description3 = "I hit the car on my way to the gym.";
50 |
51 | Console.Write(Description1 + " (Man):");
52 | Console.WriteLine(InterpretPattern.getMaleExpression().Interpret(Description1));
53 |
54 | bool expResult = false;
55 | Console.Write(Description2 + "(Woman):");
56 | foreach (Expression exp in InterpretPattern.getFemailExpressions())
57 | {
58 | if (exp.Interpret(Description2)) { expResult = true; break; }
59 | }
60 | Console.WriteLine(expResult);
61 |
62 | bool expResult2 = false;
63 | Console.Write(Description3 + "(Woman):");
64 | foreach (Expression exp in InterpretPattern.getFemailExpressions())
65 | {
66 | if (exp.Interpret(Description3)) { expResult2 = true; break; }
67 | }
68 | Console.WriteLine(expResult2);
69 | Console.ReadLine();
70 | }
71 | }
72 | }
73 |
--------------------------------------------------------------------------------
/CleanCode/Interpreter/Interpreter/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 |
4 | // Information about this assembly is defined by the following attributes.
5 | // Change them to the values specific to your project.
6 |
7 | [assembly: AssemblyTitle("Interpreter")]
8 | [assembly: AssemblyDescription("")]
9 | [assembly: AssemblyConfiguration("")]
10 | [assembly: AssemblyCompany("")]
11 | [assembly: AssemblyProduct("")]
12 | [assembly: AssemblyCopyright("${AuthorCopyright}")]
13 | [assembly: AssemblyTrademark("")]
14 | [assembly: AssemblyCulture("")]
15 |
16 | // The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
17 | // The form "{Major}.{Minor}.*" will automatically update the build and revision,
18 | // and "{Major}.{Minor}.{Build}.*" will update just the revision.
19 |
20 | [assembly: AssemblyVersion("1.0.*")]
21 |
22 | // The following attributes are used to specify the signing key for the assembly,
23 | // if desired. See the Mono documentation for more information about signing.
24 |
25 | //[assembly: AssemblyDelaySign(false)]
26 | //[assembly: AssemblyKeyFile("")]
27 |
--------------------------------------------------------------------------------
/CleanCode/Interpreter/Interpreter/bin/Debug/Interpreter.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/CleanCode/16528a7c6efddb6456c9751ccd89abfff7a9bc06/CleanCode/Interpreter/Interpreter/bin/Debug/Interpreter.exe
--------------------------------------------------------------------------------
/CleanCode/Interpreter/Interpreter/bin/Debug/Interpreter.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/CleanCode/16528a7c6efddb6456c9751ccd89abfff7a9bc06/CleanCode/Interpreter/Interpreter/bin/Debug/Interpreter.pdb
--------------------------------------------------------------------------------
/CleanCode/Interpreter/Interpreter/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/CleanCode/16528a7c6efddb6456c9751ccd89abfff7a9bc06/CleanCode/Interpreter/Interpreter/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
--------------------------------------------------------------------------------
/CleanCode/Interpreter/Interpreter/obj/Debug/Interpreter.csproj.CoreCompileInputs.cache:
--------------------------------------------------------------------------------
1 | 953c1725819a9c74e580d7e91e267a8af29a0ef7
2 |
--------------------------------------------------------------------------------
/CleanCode/Interpreter/Interpreter/obj/Debug/Interpreter.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | /Users/borakasmer/Projects/Interpreter/Interpreter/obj/Debug/Interpreter.csprojAssemblyReference.cache
2 | /Users/borakasmer/Projects/Interpreter/Interpreter/bin/Debug/Interpreter.exe
3 | /Users/borakasmer/Projects/Interpreter/Interpreter/bin/Debug/Interpreter.pdb
4 | /Users/borakasmer/Projects/Interpreter/Interpreter/obj/Debug/Interpreter.exe
5 | /Users/borakasmer/Projects/Interpreter/Interpreter/obj/Debug/Interpreter.pdb
6 | C:/Users/bora.kasmer/Desktop/Interpreter/Interpreter/bin/Debug/Interpreter.exe
7 | C:/Users/bora.kasmer/Desktop/Interpreter/Interpreter/bin/Debug/Interpreter.pdb
8 | C:/Users/bora.kasmer/Desktop/Interpreter/Interpreter/obj/Debug/Interpreter.csprojAssemblyReference.cache
9 | C:/Users/bora.kasmer/Desktop/Interpreter/Interpreter/obj/Debug/Interpreter.csproj.CoreCompileInputs.cache
10 | C:/Users/bora.kasmer/Desktop/Interpreter/Interpreter/obj/Debug/Interpreter.exe
11 | C:/Users/bora.kasmer/Desktop/Interpreter/Interpreter/obj/Debug/Interpreter.pdb
12 | //Mac/Home/Desktop/DevNot2-2019/Interpreter/Interpreter/bin/Debug/Interpreter.exe
13 | //Mac/Home/Desktop/DevNot2-2019/Interpreter/Interpreter/bin/Debug/Interpreter.pdb
14 | //Mac/Home/Desktop/DevNot2-2019/Interpreter/Interpreter/obj/Debug/Interpreter.csprojAssemblyReference.cache
15 | //Mac/Home/Desktop/DevNot2-2019/Interpreter/Interpreter/obj/Debug/Interpreter.exe
16 | //Mac/Home/Desktop/DevNot2-2019/Interpreter/Interpreter/obj/Debug/Interpreter.pdb
17 | \\Mac\Home\Desktop\InterpretorMethod\Interpreter\Interpreter\bin\Debug\Interpreter.exe
18 | \\Mac\Home\Desktop\InterpretorMethod\Interpreter\Interpreter\bin\Debug\Interpreter.pdb
19 | \\Mac\Home\Desktop\InterpretorMethod\Interpreter\Interpreter\obj\Debug\Interpreter.csprojAssemblyReference.cache
20 | \\Mac\Home\Desktop\InterpretorMethod\Interpreter\Interpreter\obj\Debug\Interpreter.csproj.CoreCompileInputs.cache
21 | \\Mac\Home\Desktop\InterpretorMethod\Interpreter\Interpreter\obj\Debug\Interpreter.exe
22 | \\Mac\Home\Desktop\InterpretorMethod\Interpreter\Interpreter\obj\Debug\Interpreter.pdb
23 |
--------------------------------------------------------------------------------
/CleanCode/Interpreter/Interpreter/obj/Debug/Interpreter.csprojAssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/CleanCode/16528a7c6efddb6456c9751ccd89abfff7a9bc06/CleanCode/Interpreter/Interpreter/obj/Debug/Interpreter.csprojAssemblyReference.cache
--------------------------------------------------------------------------------
/CleanCode/Interpreter/Interpreter/obj/Debug/Interpreter.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/CleanCode/16528a7c6efddb6456c9751ccd89abfff7a9bc06/CleanCode/Interpreter/Interpreter/obj/Debug/Interpreter.exe
--------------------------------------------------------------------------------
/CleanCode/Interpreter/Interpreter/obj/Debug/Interpreter.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/CleanCode/16528a7c6efddb6456c9751ccd89abfff7a9bc06/CleanCode/Interpreter/Interpreter/obj/Debug/Interpreter.pdb
--------------------------------------------------------------------------------
/CleanCode/Interpreter/Interpreter/obj/Debug/project.razor.json:
--------------------------------------------------------------------------------
1 | {
2 | "ProjectFilePath": "/Users/borakasmer/Desktop/DevNot2-2019/Interpreter/Interpreter/Interpreter.csproj",
3 | "TargetFramework": "v4.7.2",
4 | "TagHelpers": [],
5 | "Configuration": {
6 | "ConfigurationName": "UnsupportedRazor",
7 | "LanguageVersion": "1.0",
8 | "Extensions": [
9 | {
10 | "ExtensionName": "UnsupportedRazorExtension"
11 | }
12 | ]
13 | }
14 | }
--------------------------------------------------------------------------------
/CleanCode/SolidStrategy/SolidStrategy.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 15
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SolidStrategy", "SolidStrategy\SolidStrategy.csproj", "{B8C62B24-45D0-44F9-B2E5-F5F17484AE32}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|Any CPU = Debug|Any CPU
9 | Release|Any CPU = Release|Any CPU
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {B8C62B24-45D0-44F9-B2E5-F5F17484AE32}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
13 | {B8C62B24-45D0-44F9-B2E5-F5F17484AE32}.Debug|Any CPU.Build.0 = Debug|Any CPU
14 | {B8C62B24-45D0-44F9-B2E5-F5F17484AE32}.Release|Any CPU.ActiveCfg = Release|Any CPU
15 | {B8C62B24-45D0-44F9-B2E5-F5F17484AE32}.Release|Any CPU.Build.0 = Release|Any CPU
16 | EndGlobalSection
17 | EndGlobal
18 |
--------------------------------------------------------------------------------
/CleanCode/SolidStrategy/SolidStrategy/Crm.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | namespace SolidStrategy
3 | {
4 | public class Crm : IBussinesLogic
5 | {
6 | public void WorkProcess(string message)
7 | {
8 | Console.WriteLine($"Process Crm! :{message}");
9 | }
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/CleanCode/SolidStrategy/SolidStrategy/Finnace.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | namespace SolidStrategy
3 | {
4 | public class Finance : IBussinesLogic
5 | {
6 | public void WorkProcess(string message)
7 | {
8 | Console.WriteLine($"Process Finance! :{message}");
9 | }
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/CleanCode/SolidStrategy/SolidStrategy/IBussinesLogic.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | namespace SolidStrategy
3 | {
4 | public interface IBussinesLogic
5 | {
6 | void WorkProcess(string message);
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/CleanCode/SolidStrategy/SolidStrategy/Process.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | namespace SolidStrategy
3 | {
4 | public class Process
5 | {
6 | IBussinesLogic _bussines = null;
7 | public Process(IBussinesLogic bussines) => _bussines = bussines;
8 | public void WorkProcess(string message)
9 | {
10 | _bussines.WorkProcess(message);
11 | }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/CleanCode/SolidStrategy/SolidStrategy/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace SolidStrategy
4 | {
5 | public enum ProcessType
6 | {
7 | Finance,
8 | Service,
9 | Crm
10 | }
11 |
12 | class Program
13 | {
14 | static void Main(string[] args)
15 | {
16 | //ProcessCalculation(ProcessType.Crm);
17 |
18 | Process process = new Process(new Crm());
19 | process.WorkProcess("Update Crm DB");
20 | }
21 |
22 | //public static void ProcessCalculation(ProcessType type)
23 | //{
24 | // try
25 | // {
26 | // if (type == ProcessType.Crm)
27 | // {
28 | // CallCrm("Update Crm DB");
29 | // }
30 | // else if (type == ProcessType.Finance)
31 | // {
32 | // CallFinance("Send Mail to Customers");
33 | // }
34 | // else if (type == ProcessType.Service)
35 | // {
36 | // CallService("Backup all Data");
37 | // }
38 | // }
39 | // catch
40 | // {
41 |
42 | // }
43 | //}
44 |
45 | //public static void CallCrm(string message) { Console.WriteLine($"Process Crm! :{message}"); }
46 | //public static void CallFinance(string message) { Console.WriteLine($"Process Finance! :{message}"); }
47 | //public static void CallService(string message) { Console.WriteLine($"Process Service! :{message}"); }
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/CleanCode/SolidStrategy/SolidStrategy/Service.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | namespace SolidStrategy
3 | {
4 | public class Service : IBussinesLogic
5 | {
6 | public void WorkProcess(string message)
7 | {
8 | Console.WriteLine($"Process Service! :{message}");
9 | }
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/CleanCode/SolidStrategy/SolidStrategy/SolidStrategy.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | netcoreapp3.1
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/CleanCode/SolidStrategy/SolidStrategy/bin/Debug/netcoreapp3.1/SolidStrategy.deps.json:
--------------------------------------------------------------------------------
1 | {
2 | "runtimeTarget": {
3 | "name": ".NETCoreApp,Version=v3.1",
4 | "signature": ""
5 | },
6 | "compilationOptions": {},
7 | "targets": {
8 | ".NETCoreApp,Version=v3.1": {
9 | "SolidStrategy/1.0.0": {
10 | "runtime": {
11 | "SolidStrategy.dll": {}
12 | }
13 | }
14 | }
15 | },
16 | "libraries": {
17 | "SolidStrategy/1.0.0": {
18 | "type": "project",
19 | "serviceable": false,
20 | "sha512": ""
21 | }
22 | }
23 | }
--------------------------------------------------------------------------------
/CleanCode/SolidStrategy/SolidStrategy/bin/Debug/netcoreapp3.1/SolidStrategy.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/CleanCode/16528a7c6efddb6456c9751ccd89abfff7a9bc06/CleanCode/SolidStrategy/SolidStrategy/bin/Debug/netcoreapp3.1/SolidStrategy.dll
--------------------------------------------------------------------------------
/CleanCode/SolidStrategy/SolidStrategy/bin/Debug/netcoreapp3.1/SolidStrategy.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/CleanCode/16528a7c6efddb6456c9751ccd89abfff7a9bc06/CleanCode/SolidStrategy/SolidStrategy/bin/Debug/netcoreapp3.1/SolidStrategy.pdb
--------------------------------------------------------------------------------
/CleanCode/SolidStrategy/SolidStrategy/bin/Debug/netcoreapp3.1/SolidStrategy.runtimeconfig.dev.json:
--------------------------------------------------------------------------------
1 | {
2 | "runtimeOptions": {
3 | "additionalProbingPaths": [
4 | "/Users/borakasmer/.dotnet/store/|arch|/|tfm|",
5 | "/Users/borakasmer/.nuget/packages",
6 | "/usr/local/share/dotnet/sdk/NuGetFallbackFolder"
7 | ]
8 | }
9 | }
--------------------------------------------------------------------------------
/CleanCode/SolidStrategy/SolidStrategy/bin/Debug/netcoreapp3.1/SolidStrategy.runtimeconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "runtimeOptions": {
3 | "tfm": "netcoreapp3.1",
4 | "framework": {
5 | "name": "Microsoft.NETCore.App",
6 | "version": "3.1.0"
7 | }
8 | }
9 | }
--------------------------------------------------------------------------------
/CleanCode/SolidStrategy/SolidStrategy/obj/Debug/netcoreapp3.1/SolidStrategy.AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | using System;
12 | using System.Reflection;
13 |
14 | [assembly: System.Reflection.AssemblyCompanyAttribute("SolidStrategy")]
15 | [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
16 | [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
17 | [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
18 | [assembly: System.Reflection.AssemblyProductAttribute("SolidStrategy")]
19 | [assembly: System.Reflection.AssemblyTitleAttribute("SolidStrategy")]
20 | [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
21 |
22 | // Generated by the MSBuild WriteCodeFragment class.
23 |
24 |
--------------------------------------------------------------------------------
/CleanCode/SolidStrategy/SolidStrategy/obj/Debug/netcoreapp3.1/SolidStrategy.AssemblyInfoInputs.cache:
--------------------------------------------------------------------------------
1 | 901789768a560f15195a8738426bb21b86f4a9ea
2 |
--------------------------------------------------------------------------------
/CleanCode/SolidStrategy/SolidStrategy/obj/Debug/netcoreapp3.1/SolidStrategy.assets.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/CleanCode/16528a7c6efddb6456c9751ccd89abfff7a9bc06/CleanCode/SolidStrategy/SolidStrategy/obj/Debug/netcoreapp3.1/SolidStrategy.assets.cache
--------------------------------------------------------------------------------
/CleanCode/SolidStrategy/SolidStrategy/obj/Debug/netcoreapp3.1/SolidStrategy.csproj.CoreCompileInputs.cache:
--------------------------------------------------------------------------------
1 | 9309034a092a2ddd8e84b9eee95c10782c036fd5
2 |
--------------------------------------------------------------------------------
/CleanCode/SolidStrategy/SolidStrategy/obj/Debug/netcoreapp3.1/SolidStrategy.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | /Users/borakasmer/Projects/SolidStrategy/SolidStrategy/bin/Debug/netcoreapp3.1/SolidStrategy.deps.json
2 | /Users/borakasmer/Projects/SolidStrategy/SolidStrategy/bin/Debug/netcoreapp3.1/SolidStrategy.runtimeconfig.json
3 | /Users/borakasmer/Projects/SolidStrategy/SolidStrategy/bin/Debug/netcoreapp3.1/SolidStrategy.runtimeconfig.dev.json
4 | /Users/borakasmer/Projects/SolidStrategy/SolidStrategy/bin/Debug/netcoreapp3.1/SolidStrategy.dll
5 | /Users/borakasmer/Projects/SolidStrategy/SolidStrategy/bin/Debug/netcoreapp3.1/SolidStrategy.pdb
6 | /Users/borakasmer/Projects/SolidStrategy/SolidStrategy/obj/Debug/netcoreapp3.1/SolidStrategy.csprojAssemblyReference.cache
7 | /Users/borakasmer/Projects/SolidStrategy/SolidStrategy/obj/Debug/netcoreapp3.1/SolidStrategy.csproj.CoreCompileInputs.cache
8 | /Users/borakasmer/Projects/SolidStrategy/SolidStrategy/obj/Debug/netcoreapp3.1/SolidStrategy.AssemblyInfoInputs.cache
9 | /Users/borakasmer/Projects/SolidStrategy/SolidStrategy/obj/Debug/netcoreapp3.1/SolidStrategy.AssemblyInfo.cs
10 | /Users/borakasmer/Projects/SolidStrategy/SolidStrategy/obj/Debug/netcoreapp3.1/SolidStrategy.dll
11 | /Users/borakasmer/Projects/SolidStrategy/SolidStrategy/obj/Debug/netcoreapp3.1/SolidStrategy.pdb
12 | /Users/borakasmer/Projects/SolidStrategy/SolidStrategy/obj/Debug/netcoreapp3.1/SolidStrategy.genruntimeconfig.cache
13 | /Users/borakasmer/Desktop/CleanCode/SolidStrategy/SolidStrategy/bin/Debug/netcoreapp3.1/SolidStrategy.deps.json
14 | /Users/borakasmer/Desktop/CleanCode/SolidStrategy/SolidStrategy/bin/Debug/netcoreapp3.1/SolidStrategy.runtimeconfig.json
15 | /Users/borakasmer/Desktop/CleanCode/SolidStrategy/SolidStrategy/bin/Debug/netcoreapp3.1/SolidStrategy.runtimeconfig.dev.json
16 | /Users/borakasmer/Desktop/CleanCode/SolidStrategy/SolidStrategy/bin/Debug/netcoreapp3.1/SolidStrategy.dll
17 | /Users/borakasmer/Desktop/CleanCode/SolidStrategy/SolidStrategy/bin/Debug/netcoreapp3.1/SolidStrategy.pdb
18 | /Users/borakasmer/Desktop/CleanCode/SolidStrategy/SolidStrategy/obj/Debug/netcoreapp3.1/SolidStrategy.csprojAssemblyReference.cache
19 | /Users/borakasmer/Desktop/CleanCode/SolidStrategy/SolidStrategy/obj/Debug/netcoreapp3.1/SolidStrategy.csproj.CoreCompileInputs.cache
20 | /Users/borakasmer/Desktop/CleanCode/SolidStrategy/SolidStrategy/obj/Debug/netcoreapp3.1/SolidStrategy.AssemblyInfoInputs.cache
21 | /Users/borakasmer/Desktop/CleanCode/SolidStrategy/SolidStrategy/obj/Debug/netcoreapp3.1/SolidStrategy.AssemblyInfo.cs
22 | /Users/borakasmer/Desktop/CleanCode/SolidStrategy/SolidStrategy/obj/Debug/netcoreapp3.1/SolidStrategy.dll
23 | /Users/borakasmer/Desktop/CleanCode/SolidStrategy/SolidStrategy/obj/Debug/netcoreapp3.1/SolidStrategy.pdb
24 | /Users/borakasmer/Desktop/CleanCode/SolidStrategy/SolidStrategy/obj/Debug/netcoreapp3.1/SolidStrategy.genruntimeconfig.cache
25 |
--------------------------------------------------------------------------------
/CleanCode/SolidStrategy/SolidStrategy/obj/Debug/netcoreapp3.1/SolidStrategy.csprojAssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/CleanCode/16528a7c6efddb6456c9751ccd89abfff7a9bc06/CleanCode/SolidStrategy/SolidStrategy/obj/Debug/netcoreapp3.1/SolidStrategy.csprojAssemblyReference.cache
--------------------------------------------------------------------------------
/CleanCode/SolidStrategy/SolidStrategy/obj/Debug/netcoreapp3.1/SolidStrategy.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/CleanCode/16528a7c6efddb6456c9751ccd89abfff7a9bc06/CleanCode/SolidStrategy/SolidStrategy/obj/Debug/netcoreapp3.1/SolidStrategy.dll
--------------------------------------------------------------------------------
/CleanCode/SolidStrategy/SolidStrategy/obj/Debug/netcoreapp3.1/SolidStrategy.genruntimeconfig.cache:
--------------------------------------------------------------------------------
1 | 86c8e15dd33445635927cfaf398408205fd11473
2 |
--------------------------------------------------------------------------------
/CleanCode/SolidStrategy/SolidStrategy/obj/Debug/netcoreapp3.1/SolidStrategy.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/CleanCode/16528a7c6efddb6456c9751ccd89abfff7a9bc06/CleanCode/SolidStrategy/SolidStrategy/obj/Debug/netcoreapp3.1/SolidStrategy.pdb
--------------------------------------------------------------------------------
/CleanCode/SolidStrategy/SolidStrategy/obj/SolidStrategy.csproj.nuget.cache:
--------------------------------------------------------------------------------
1 | {
2 | "version": 1,
3 | "dgSpecHash": "Egs6SO+GsYMew8myhjzHf4nxol+El+MPgNzaUZRDm1pyubKxMhxSD/gWD4sPQAwoSGt5eVIGMocqhgEl//GAyQ==",
4 | "success": true
5 | }
--------------------------------------------------------------------------------
/CleanCode/SolidStrategy/SolidStrategy/obj/SolidStrategy.csproj.nuget.dgspec.json:
--------------------------------------------------------------------------------
1 | {
2 | "format": 1,
3 | "restore": {
4 | "/Users/borakasmer/Desktop/CleanCode/SolidStrategy/SolidStrategy/SolidStrategy.csproj": {}
5 | },
6 | "projects": {
7 | "/Users/borakasmer/Desktop/CleanCode/SolidStrategy/SolidStrategy/SolidStrategy.csproj": {
8 | "version": "1.0.0",
9 | "restore": {
10 | "projectUniqueName": "/Users/borakasmer/Desktop/CleanCode/SolidStrategy/SolidStrategy/SolidStrategy.csproj",
11 | "projectName": "SolidStrategy",
12 | "projectPath": "/Users/borakasmer/Desktop/CleanCode/SolidStrategy/SolidStrategy/SolidStrategy.csproj",
13 | "packagesPath": "/Users/borakasmer/.nuget/packages/",
14 | "outputPath": "/Users/borakasmer/Desktop/CleanCode/SolidStrategy/SolidStrategy/obj/",
15 | "projectStyle": "PackageReference",
16 | "fallbackFolders": [
17 | "/usr/local/share/dotnet/sdk/NuGetFallbackFolder"
18 | ],
19 | "configFilePaths": [
20 | "/Users/borakasmer/.config/NuGet/NuGet.Config"
21 | ],
22 | "originalTargetFrameworks": [
23 | "netcoreapp3.1"
24 | ],
25 | "sources": {
26 | "https://api.nuget.org/v3/index.json": {}
27 | },
28 | "frameworks": {
29 | "netcoreapp3.1": {
30 | "projectReferences": {}
31 | }
32 | },
33 | "warningProperties": {
34 | "warnAsError": [
35 | "NU1605"
36 | ]
37 | }
38 | },
39 | "frameworks": {
40 | "netcoreapp3.1": {
41 | "imports": [
42 | "net461",
43 | "net462",
44 | "net47",
45 | "net471",
46 | "net472",
47 | "net48"
48 | ],
49 | "assetTargetFallback": true,
50 | "warn": true,
51 | "frameworkReferences": {
52 | "Microsoft.NETCore.App": {
53 | "privateAssets": "all"
54 | }
55 | },
56 | "runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/3.1.200/RuntimeIdentifierGraph.json"
57 | }
58 | }
59 | }
60 | }
61 | }
--------------------------------------------------------------------------------
/CleanCode/SolidStrategy/SolidStrategy/obj/SolidStrategy.csproj.nuget.g.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | True
5 | NuGet
6 | $(MSBuildThisFileDirectory)project.assets.json
7 | /Users/borakasmer/.nuget/packages/
8 | /Users/borakasmer/.nuget/packages/;/usr/local/share/dotnet/sdk/NuGetFallbackFolder
9 | PackageReference
10 | 5.4.0
11 |
12 |
13 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
14 |
15 |
--------------------------------------------------------------------------------
/CleanCode/SolidStrategy/SolidStrategy/obj/SolidStrategy.csproj.nuget.g.targets:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
5 |
6 |
--------------------------------------------------------------------------------
/CleanCode/SolidStrategy/SolidStrategy/obj/project.assets.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": 3,
3 | "targets": {
4 | ".NETCoreApp,Version=v3.1": {}
5 | },
6 | "libraries": {},
7 | "projectFileDependencyGroups": {
8 | ".NETCoreApp,Version=v3.1": []
9 | },
10 | "packageFolders": {
11 | "/Users/borakasmer/.nuget/packages/": {},
12 | "/usr/local/share/dotnet/sdk/NuGetFallbackFolder": {}
13 | },
14 | "project": {
15 | "version": "1.0.0",
16 | "restore": {
17 | "projectUniqueName": "/Users/borakasmer/Desktop/CleanCode/SolidStrategy/SolidStrategy/SolidStrategy.csproj",
18 | "projectName": "SolidStrategy",
19 | "projectPath": "/Users/borakasmer/Desktop/CleanCode/SolidStrategy/SolidStrategy/SolidStrategy.csproj",
20 | "packagesPath": "/Users/borakasmer/.nuget/packages/",
21 | "outputPath": "/Users/borakasmer/Desktop/CleanCode/SolidStrategy/SolidStrategy/obj/",
22 | "projectStyle": "PackageReference",
23 | "fallbackFolders": [
24 | "/usr/local/share/dotnet/sdk/NuGetFallbackFolder"
25 | ],
26 | "configFilePaths": [
27 | "/Users/borakasmer/.config/NuGet/NuGet.Config"
28 | ],
29 | "originalTargetFrameworks": [
30 | "netcoreapp3.1"
31 | ],
32 | "sources": {
33 | "https://api.nuget.org/v3/index.json": {}
34 | },
35 | "frameworks": {
36 | "netcoreapp3.1": {
37 | "projectReferences": {}
38 | }
39 | },
40 | "warningProperties": {
41 | "warnAsError": [
42 | "NU1605"
43 | ]
44 | }
45 | },
46 | "frameworks": {
47 | "netcoreapp3.1": {
48 | "imports": [
49 | "net461",
50 | "net462",
51 | "net47",
52 | "net471",
53 | "net472",
54 | "net48"
55 | ],
56 | "assetTargetFallback": true,
57 | "warn": true,
58 | "frameworkReferences": {
59 | "Microsoft.NETCore.App": {
60 | "privateAssets": "all"
61 | }
62 | },
63 | "runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/3.1.200/RuntimeIdentifierGraph.json"
64 | }
65 | }
66 | }
67 | }
--------------------------------------------------------------------------------