├── C#
├── ChainOfResbonsibility
│ ├── .vs
│ │ └── Refactorig
│ │ │ ├── v14
│ │ │ └── .suo
│ │ │ ├── v16
│ │ │ └── .suo
│ │ │ └── xs
│ │ │ ├── UserPrefs.xml
│ │ │ ├── project-cache
│ │ │ └── Refactorig-Debug.json
│ │ │ └── sqlite3
│ │ │ ├── db.lock
│ │ │ └── storage.ide
│ ├── Refactorig.sln
│ └── Refactorig
│ │ ├── .vs
│ │ └── Refactorig
│ │ │ ├── v16
│ │ │ └── .suo
│ │ │ └── xs
│ │ │ ├── UserPrefs.xml
│ │ │ └── project-cache
│ │ │ └── Refactorig-Debug.json
│ │ ├── App.config
│ │ ├── Process.cs
│ │ ├── Program.cs
│ │ ├── Properties
│ │ └── AssemblyInfo.cs
│ │ ├── Refactorig.csproj
│ │ ├── Refactorig.sln
│ │ ├── bin
│ │ ├── Debug
│ │ │ ├── Refactorig.exe
│ │ │ ├── Refactorig.exe.config
│ │ │ ├── Refactorig.pdb
│ │ │ ├── Refactorig.vshost.exe
│ │ │ ├── Refactorig.vshost.exe.config
│ │ │ └── Refactorig.vshost.exe.manifest
│ │ └── Release
│ │ │ ├── Refactorig.exe
│ │ │ ├── Refactorig.exe.config
│ │ │ └── Refactorig.pdb
│ │ └── obj
│ │ ├── Debug
│ │ ├── .NETFramework,Version=v4.6.AssemblyAttributes.cs
│ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ ├── Refactorig.csproj.AssemblyReference.cache
│ │ ├── Refactorig.csproj.CoreCompileInputs.cache
│ │ ├── Refactorig.csproj.FileListAbsolute.txt
│ │ ├── Refactorig.csprojResolveAssemblyReference.cache
│ │ ├── Refactorig.exe
│ │ ├── Refactorig.pdb
│ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
│ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
│ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
│ │ └── project.razor.json
│ │ └── Release
│ │ ├── .NETFramework,Version=v4.6.AssemblyAttributes.cs
│ │ ├── Refactorig.csproj.AssemblyReference.cache
│ │ ├── Refactorig.csproj.CoreCompileInputs.cache
│ │ ├── Refactorig.csproj.FileListAbsolute.txt
│ │ ├── Refactorig.exe
│ │ └── Refactorig.pdb
├── InterfaceSeg
│ ├── .vs
│ │ └── InterfaceSeg
│ │ │ └── xs
│ │ │ ├── UserPrefs.xml
│ │ │ ├── project-cache
│ │ │ └── InterfaceSeg-Debug.json
│ │ │ └── sqlite3
│ │ │ ├── db.lock
│ │ │ └── storage.ide
│ ├── .vscode
│ │ ├── launch.json
│ │ └── tasks.json
│ ├── InterfaceSeg.csproj
│ ├── InterfaceSeg.sln
│ ├── Program.cs
│ ├── Screen Shot 2019-08-28 at 20.37.42 PM.png
│ ├── bin
│ │ └── Debug
│ │ │ └── netcoreapp3.0
│ │ │ ├── InterfaceSeg.deps.json
│ │ │ ├── InterfaceSeg.dll
│ │ │ ├── InterfaceSeg.pdb
│ │ │ ├── InterfaceSeg.runtimeconfig.dev.json
│ │ │ └── InterfaceSeg.runtimeconfig.json
│ ├── mono_crash.11a6748113.0.json
│ └── obj
│ │ ├── Debug
│ │ └── netcoreapp3.0
│ │ │ ├── .NETCoreApp,Version=v3.0.AssemblyAttributes.cs
│ │ │ ├── InterfaceSeg
│ │ │ ├── InterfaceSeg.AssemblyInfo.cs
│ │ │ ├── InterfaceSeg.AssemblyInfoInputs.cache
│ │ │ ├── InterfaceSeg.GeneratedMSBuildEditorConfig.editorconfig
│ │ │ ├── InterfaceSeg.assets.cache
│ │ │ ├── InterfaceSeg.csproj.AssemblyReference.cache
│ │ │ ├── InterfaceSeg.csproj.CoreCompileInputs.cache
│ │ │ ├── InterfaceSeg.csproj.FileListAbsolute.txt
│ │ │ ├── InterfaceSeg.dll
│ │ │ ├── InterfaceSeg.genruntimeconfig.cache
│ │ │ ├── InterfaceSeg.pdb
│ │ │ └── project.razor.json
│ │ ├── InterfaceSeg.csproj.nuget.cache
│ │ ├── InterfaceSeg.csproj.nuget.dgspec.json
│ │ ├── InterfaceSeg.csproj.nuget.g.props
│ │ ├── InterfaceSeg.csproj.nuget.g.targets
│ │ ├── project.assets.json
│ │ └── project.nuget.cache
├── Interpreter
│ ├── .vs
│ │ └── Interpreter
│ │ │ ├── v16
│ │ │ ├── .suo
│ │ │ └── Server
│ │ │ │ └── sqlite3
│ │ │ │ ├── db.lock
│ │ │ │ └── storage.ide
│ │ │ └── xs
│ │ │ ├── UserPrefs.xml
│ │ │ ├── project-cache
│ │ │ └── Interpreter-Debug|anycpu.json
│ │ │ └── sqlite3
│ │ │ ├── db.lock
│ │ │ └── storage.ide
│ ├── Interpreter.sln
│ └── Interpreter
│ │ ├── .vs
│ │ └── Interpreter
│ │ │ └── xs
│ │ │ ├── UserPrefs.xml
│ │ │ └── project-cache
│ │ │ └── Interpreter-Debug|anycpu.json
│ │ ├── Class1.cs
│ │ ├── Interpreter.csproj
│ │ ├── Interpreter.sln
│ │ ├── Program.cs
│ │ ├── Properties
│ │ └── AssemblyInfo.cs
│ │ ├── bin
│ │ └── Debug
│ │ │ ├── Interpreter.exe
│ │ │ └── Interpreter.pdb
│ │ └── obj
│ │ └── Debug
│ │ ├── .NETFramework,Version=v4.7.2.AssemblyAttributes.cs
│ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ ├── Interpreter.csproj.AssemblyReference.cache
│ │ ├── Interpreter.csproj.CoreCompileInputs.cache
│ │ ├── Interpreter.csproj.FileListAbsolute.txt
│ │ ├── Interpreter.csprojAssemblyReference.cache
│ │ ├── Interpreter.exe
│ │ ├── Interpreter.pdb
│ │ └── project.razor.json
├── Prototype
│ ├── .vs
│ │ └── Prototype
│ │ │ ├── DesignTimeBuild
│ │ │ └── .dtbcache.v2
│ │ │ ├── v16
│ │ │ └── .suo
│ │ │ └── xs
│ │ │ ├── UserPrefs.xml
│ │ │ ├── project-cache
│ │ │ └── Prototype-Debug.json
│ │ │ └── sqlite3
│ │ │ ├── db.lock
│ │ │ └── storage.ide
│ ├── .vscode
│ │ ├── launch.json
│ │ └── tasks.json
│ ├── Program.cs
│ ├── Prototype.csproj
│ ├── Prototype.sln
│ ├── bin
│ │ └── Debug
│ │ │ └── netcoreapp3.0
│ │ │ ├── Prototype.deps.json
│ │ │ ├── Prototype.dll
│ │ │ ├── Prototype.pdb
│ │ │ ├── Prototype.runtimeconfig.dev.json
│ │ │ └── Prototype.runtimeconfig.json
│ ├── mono_crash.11a67480d0.0.json
│ └── obj
│ │ ├── Debug
│ │ └── netcoreapp3.0
│ │ │ ├── .NETCoreApp,Version=v3.0.AssemblyAttributes.cs
│ │ │ ├── Prototype
│ │ │ ├── Prototype.AssemblyInfo.cs
│ │ │ ├── Prototype.AssemblyInfoInputs.cache
│ │ │ ├── Prototype.GeneratedMSBuildEditorConfig.editorconfig
│ │ │ ├── Prototype.assets.cache
│ │ │ ├── Prototype.csproj.AssemblyReference.cache
│ │ │ ├── Prototype.csproj.CoreCompileInputs.cache
│ │ │ ├── Prototype.csproj.FileListAbsolute.txt
│ │ │ ├── Prototype.dll
│ │ │ ├── Prototype.genruntimeconfig.cache
│ │ │ ├── Prototype.pdb
│ │ │ ├── apphost.exe
│ │ │ └── project.razor.json
│ │ ├── Prototype.csproj.nuget.cache
│ │ ├── Prototype.csproj.nuget.dgspec.json
│ │ ├── Prototype.csproj.nuget.g.props
│ │ ├── Prototype.csproj.nuget.g.targets
│ │ ├── project.assets.json
│ │ └── project.nuget.cache
└── strategy
│ ├── .vs
│ └── strategy
│ │ └── xs
│ │ ├── UserPrefs.xml
│ │ ├── project-cache
│ │ └── strategy-Debug.json
│ │ └── sqlite3
│ │ ├── db.lock
│ │ └── storage.ide
│ ├── .vscode
│ ├── launch.json
│ └── tasks.json
│ ├── Program.cs
│ ├── bin
│ └── Debug
│ │ ├── net5.0
│ │ ├── ref
│ │ │ └── strategy.dll
│ │ ├── strategy.deps.json
│ │ ├── strategy.dll
│ │ ├── strategy.pdb
│ │ ├── strategy.runtimeconfig.dev.json
│ │ └── strategy.runtimeconfig.json
│ │ └── netcoreapp3.0
│ │ ├── strategy.deps.json
│ │ ├── strategy.dll
│ │ ├── strategy.pdb
│ │ ├── strategy.runtimeconfig.dev.json
│ │ └── strategy.runtimeconfig.json
│ ├── mono_crash.11a6748113.0.json
│ ├── mono_crash.11a6748113.1.json
│ ├── obj
│ ├── Debug
│ │ ├── net5.0
│ │ │ ├── .NETCoreApp,Version=v5.0.AssemblyAttributes.cs
│ │ │ ├── ref
│ │ │ │ └── strategy.dll
│ │ │ ├── strategy.AssemblyInfo.cs
│ │ │ ├── strategy.AssemblyInfoInputs.cache
│ │ │ ├── strategy.GeneratedMSBuildEditorConfig.editorconfig
│ │ │ ├── strategy.assets.cache
│ │ │ ├── strategy.csproj.AssemblyReference.cache
│ │ │ ├── strategy.csproj.CoreCompileInputs.cache
│ │ │ ├── strategy.csproj.FileListAbsolute.txt
│ │ │ ├── strategy.dll
│ │ │ ├── strategy.genruntimeconfig.cache
│ │ │ └── strategy.pdb
│ │ └── netcoreapp3.0
│ │ │ ├── .NETCoreApp,Version=v3.0.AssemblyAttributes.cs
│ │ │ ├── project.razor.json
│ │ │ ├── strategy
│ │ │ ├── strategy.AssemblyInfo.cs
│ │ │ ├── strategy.AssemblyInfoInputs.cache
│ │ │ ├── strategy.assets.cache
│ │ │ ├── strategy.csproj.CoreCompileInputs.cache
│ │ │ ├── strategy.csproj.FileListAbsolute.txt
│ │ │ ├── strategy.csprojAssemblyReference.cache
│ │ │ ├── strategy.dll
│ │ │ ├── strategy.genruntimeconfig.cache
│ │ │ └── strategy.pdb
│ ├── project.assets.json
│ ├── project.nuget.cache
│ ├── strategy.csproj.nuget.cache
│ ├── strategy.csproj.nuget.dgspec.json
│ ├── strategy.csproj.nuget.g.props
│ └── strategy.csproj.nuget.g.targets
│ ├── strategy.csproj
│ └── strategy.sln
├── Design Pattern.pdf
└── Go
├── ChainResponsibility
├── .idea
│ ├── .gitignore
│ ├── ChainResponsibility.iml
│ └── modules.xml
├── go.mod
├── main.go
├── process.go
├── processMethods.go
└── workProcess.go
├── InterfaceSegregation
├── .idea
│ ├── .gitignore
│ ├── InterfaceSegregation.iml
│ └── modules.xml
├── go.mod
├── main.go
├── mobileService.go
├── service.go
└── webService.go
├── Interpreter
├── .idea
│ ├── .gitignore
│ ├── Interpreter.iml
│ └── modules.xml
├── and3Expression.go
├── andExpression.go
├── checkExpression.go
├── expression.go
├── go.mod
├── interpretPattern.go
├── main.go
└── orExpression.go
├── Prototype
├── .idea
│ ├── .gitignore
│ ├── Prototype.iml
│ └── modules.xml
├── africaTwin.go
├── cbr650R.go
├── go.mod
├── go.sum
├── main.go
└── vehiclePrototype.go
└── Strategy
├── .idea
├── .gitignore
├── Strategy.iml
└── modules.xml
├── go.mod
├── humanResource.go
├── it.go
├── mail.go
├── main.go
├── manager.go
├── postman.go
├── student.go
└── worker.go
/C#/ChainOfResbonsibility/.vs/Refactorig/v14/.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/ChainOfResbonsibility/.vs/Refactorig/v14/.suo
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/.vs/Refactorig/v16/.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/ChainOfResbonsibility/.vs/Refactorig/v16/.suo
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/.vs/Refactorig/xs/UserPrefs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/.vs/Refactorig/xs/project-cache/Refactorig-Debug.json:
--------------------------------------------------------------------------------
1 | {"Format":1,"ProjectReferences":[],"MetadataReferences":[{"FilePath":"/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/4.6-api/Microsoft.CSharp.dll","Aliases":[],"Framework":null},{"FilePath":"/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/4.6-api/mscorlib.dll","Aliases":[],"Framework":null},{"FilePath":"/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/4.6-api/System.Core.dll","Aliases":[],"Framework":null},{"FilePath":"/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/4.6-api/System.Data.DataSetExtensions.dll","Aliases":[],"Framework":null},{"FilePath":"/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/4.6-api/System.Data.dll","Aliases":[],"Framework":null},{"FilePath":"/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/4.6-api/System.dll","Aliases":[],"Framework":null},{"FilePath":"/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/4.6-api/System.Net.Http.dll","Aliases":[],"Framework":null},{"FilePath":"/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/4.6-api/System.Xml.dll","Aliases":[],"Framework":null},{"FilePath":"/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/4.6-api/System.Xml.Linq.dll","Aliases":[],"Framework":null}],"Files":["/Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/ChainOfResbonsibility/Refactorig/Process.cs","/Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/ChainOfResbonsibility/Refactorig/Program.cs","/Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/ChainOfResbonsibility/Refactorig/Properties/AssemblyInfo.cs","/Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/ChainOfResbonsibility/Refactorig/App.config"],"BuildActions":["Compile","Compile","Compile","None"],"Analyzers":[],"AdditionalFiles":[],"EditorConfigFiles":[]}
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/.vs/Refactorig/xs/sqlite3/db.lock:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/ChainOfResbonsibility/.vs/Refactorig/xs/sqlite3/db.lock
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/.vs/Refactorig/xs/sqlite3/storage.ide:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/ChainOfResbonsibility/.vs/Refactorig/xs/sqlite3/storage.ide
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/Refactorig.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 14
4 | VisualStudioVersion = 14.0.25420.1
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Refactorig", "Refactorig\Refactorig.csproj", "{98979258-ABD0-4AB0-A1DC-F328D221E0A1}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {98979258-ABD0-4AB0-A1DC-F328D221E0A1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {98979258-ABD0-4AB0-A1DC-F328D221E0A1}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {98979258-ABD0-4AB0-A1DC-F328D221E0A1}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {98979258-ABD0-4AB0-A1DC-F328D221E0A1}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | EndGlobal
23 |
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/Refactorig/.vs/Refactorig/v16/.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/ChainOfResbonsibility/Refactorig/.vs/Refactorig/v16/.suo
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/Refactorig/.vs/Refactorig/xs/UserPrefs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/Refactorig/.vs/Refactorig/xs/project-cache/Refactorig-Debug.json:
--------------------------------------------------------------------------------
1 | {"Format":1,"ProjectReferences":[],"MetadataReferences":[{"FilePath":"/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/4.6-api/Microsoft.CSharp.dll","Aliases":[],"Framework":null},{"FilePath":"/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/4.6-api/mscorlib.dll","Aliases":[],"Framework":null},{"FilePath":"/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/4.6-api/System.Core.dll","Aliases":[],"Framework":null},{"FilePath":"/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/4.6-api/System.Data.DataSetExtensions.dll","Aliases":[],"Framework":null},{"FilePath":"/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/4.6-api/System.Data.dll","Aliases":[],"Framework":null},{"FilePath":"/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/4.6-api/System.dll","Aliases":[],"Framework":null},{"FilePath":"/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/4.6-api/System.Net.Http.dll","Aliases":[],"Framework":null},{"FilePath":"/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/4.6-api/System.Xml.dll","Aliases":[],"Framework":null},{"FilePath":"/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/4.6-api/System.Xml.Linq.dll","Aliases":[],"Framework":null}],"Files":["/Users/borakasmer/Desktop/DevNot2-2019/Refactorig/Refactorig/Process.cs","/Users/borakasmer/Desktop/DevNot2-2019/Refactorig/Refactorig/Program.cs","/Users/borakasmer/Desktop/DevNot2-2019/Refactorig/Refactorig/Properties/AssemblyInfo.cs","/Users/borakasmer/Desktop/DevNot2-2019/Refactorig/Refactorig/App.config"],"BuildActions":["Compile","Compile","Compile","None"],"Analyzers":[],"AdditionalFiles":[],"EditorConfigFiles":[]}
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/Refactorig/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/Refactorig/Process.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Reflection;
3 |
4 | namespace Refactorig
5 | {
6 | interface IProcess
7 | {
8 | string nextMethodName { get; set; }
9 | string backMethodName { get; set; }
10 | void NextMethod();
11 | void BackMethod();
12 | }
13 | public class Process : IProcess
14 | {
15 | public string nextMethodName { get; set; }
16 | public string backMethodName { get; set; }
17 | public Process(string _nextMethodName, string _backMethodName)
18 | {
19 | this.nextMethodName = _nextMethodName;
20 | this.backMethodName = _backMethodName;
21 | }
22 | public void NextMethod()
23 | {
24 | Type thisType = this.GetType();
25 | MethodInfo theMethod = thisType.GetMethod(this.nextMethodName);
26 | theMethod.Invoke(this, null);
27 | }
28 | public void BackMethod()
29 | {
30 | Type thisType = this.GetType();
31 | MethodInfo theMethod = thisType.GetMethod(this.backMethodName);
32 | theMethod.Invoke(this, null);
33 | }
34 | public void ProcessCalculation()
35 | {
36 | try
37 | {
38 | /*
39 | .
40 | .
41 | ....ToDoSomething()
42 | */
43 | NextMethod();
44 |
45 | }
46 | catch
47 | {
48 | BackMethod();
49 | }
50 | }
51 |
52 | public void CallCrm() { Console.WriteLine("Call Crm"); }
53 | public void CallFinance() { Console.WriteLine("Call Finance"); throw new Exception("This Error is Custom Finance Error"); }
54 | public void CallService() { Console.WriteLine("Call Service"); }
55 | public void BackCrm() { Console.WriteLine("Back Crm"); }
56 | public void BackFinance() { Console.WriteLine("Back Finance"); }
57 | public void BackService() { Console.WriteLine("Back Service"); }
58 |
59 | public void CallBilmok() { Console.WriteLine("Seminer Harika Gidiyor!"); throw new OverflowException("Bir aksilik oldu"); }
60 | public void BackBilmok() { Console.WriteLine("Seminer Sonlandi!");}
61 |
62 | public void CallVbtStaj() { Console.WriteLine("Call Vbt Staj"); throw new Exception("This Error is Custom Finance Error"); }
63 | public void BackVbtStaj() { Console.WriteLine("Back Vbt Staj"); }
64 |
65 | public void SendMailStaj() { Console.WriteLine("Call SendMail Staj");throw new Exception("you get error!"); }
66 | public void BackMailStaj() { Console.WriteLine("Call BackMail Staj"); }
67 | }
68 | }
69 |
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/Refactorig/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace Refactorig
8 | {
9 | public enum ProcessType
10 | {
11 | Finance,
12 | Service,
13 | Crm
14 | }
15 | class Program
16 | {
17 | static void Main(string[] args)
18 | {
19 | //ProcessCalculation(ProcessType.Crm);
20 | DoServiceProcess();
21 | Console.WriteLine("Finish Application");
22 | }
23 | public static void DoServiceProcess()
24 | {
25 | Process process = new Process("SendMailStaj", "BackMailStaj");
26 | process.ProcessCalculation();
27 |
28 | //Process process = new Process("CallFinance", "BackFinance");
29 | //Process process = new Process("CallVbtStaj", "BackVbtStaj");
30 | //process.ProcessCalculation();
31 | //Process process = new Process("CallService", "BackService");
32 | /*
33 | Process process2 = new Process("CallCrm", "BackCrm");
34 | process2.ProcessCalculation();*/
35 |
36 | //Process process = new Process("CallBilmok", "BackBilmok");
37 | //process.ProcessCalculation();
38 | }
39 | #region Old Codes
40 | public static void ProcessCalculation(ProcessType type)
41 | {
42 | try
43 | {
44 | /*
45 | .
46 | .
47 | ....ToDoSomething()
48 | */
49 | if (type == ProcessType.Crm)
50 | {
51 | CallCrm();
52 | }
53 | else if (type == ProcessType.Finance)
54 | {
55 | CallFinance();
56 | }
57 | else if (type == ProcessType.Service)
58 | {
59 | CallService();
60 | }
61 | }
62 | catch
63 | {
64 | if (type == ProcessType.Crm)
65 | {
66 | BackCrm();
67 | }
68 | else if (type == ProcessType.Finance)
69 | {
70 | BackFinance();
71 | }
72 | else if (type == ProcessType.Service)
73 | {
74 | BackService();
75 | }
76 | }
77 | }
78 | public static void CallCrm() { }
79 | public static void CallFinance() { }
80 | public static void CallService() { }
81 | public static void BackCrm() { }
82 | public static void BackFinance() { }
83 | public static void BackService() { }
84 | #endregion
85 | }
86 | }
87 |
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/Refactorig/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("Refactorig")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("Refactorig")]
13 | [assembly: AssemblyCopyright("Copyright © 2019")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("98979258-abd0-4ab0-a1dc-f328d221e0a1")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/Refactorig/Refactorig.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {98979258-ABD0-4AB0-A1DC-F328D221E0A1}
8 | Exe
9 | Properties
10 | Refactorig
11 | Refactorig
12 | v4.6
13 | 512
14 | true
15 |
16 |
17 | AnyCPU
18 | true
19 | full
20 | false
21 | bin\Debug\
22 | DEBUG;TRACE
23 | prompt
24 | 4
25 |
26 |
27 | AnyCPU
28 | pdbonly
29 | true
30 | bin\Release\
31 | TRACE
32 | prompt
33 | 4
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
61 |
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/Refactorig/Refactorig.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.808.4
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Refactorig", "Refactorig.csproj", "{98979258-ABD0-4AB0-A1DC-F328D221E0A1}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {98979258-ABD0-4AB0-A1DC-F328D221E0A1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {98979258-ABD0-4AB0-A1DC-F328D221E0A1}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {98979258-ABD0-4AB0-A1DC-F328D221E0A1}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {98979258-ABD0-4AB0-A1DC-F328D221E0A1}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {5260479E-6D13-44E6-9745-A00EC17BDC23}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/Refactorig/bin/Debug/Refactorig.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/ChainOfResbonsibility/Refactorig/bin/Debug/Refactorig.exe
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/Refactorig/bin/Debug/Refactorig.exe.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/Refactorig/bin/Debug/Refactorig.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/ChainOfResbonsibility/Refactorig/bin/Debug/Refactorig.pdb
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/Refactorig/bin/Debug/Refactorig.vshost.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/ChainOfResbonsibility/Refactorig/bin/Debug/Refactorig.vshost.exe
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/Refactorig/bin/Debug/Refactorig.vshost.exe.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/Refactorig/bin/Debug/Refactorig.vshost.exe.manifest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/Refactorig/bin/Release/Refactorig.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/ChainOfResbonsibility/Refactorig/bin/Release/Refactorig.exe
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/Refactorig/bin/Release/Refactorig.exe.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/Refactorig/bin/Release/Refactorig.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/ChainOfResbonsibility/Refactorig/bin/Release/Refactorig.pdb
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/Refactorig/obj/Debug/.NETFramework,Version=v4.6.AssemblyAttributes.cs:
--------------------------------------------------------------------------------
1 | //
2 | using System;
3 | using System.Reflection;
4 | [assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.6", FrameworkDisplayName = ".NET Framework 4.6")]
5 |
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/Refactorig/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/ChainOfResbonsibility/Refactorig/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/Refactorig/obj/Debug/Refactorig.csproj.AssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/ChainOfResbonsibility/Refactorig/obj/Debug/Refactorig.csproj.AssemblyReference.cache
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/Refactorig/obj/Debug/Refactorig.csproj.CoreCompileInputs.cache:
--------------------------------------------------------------------------------
1 | 577d72904bb5917e2892f790eee4857828d04a81
2 |
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/Refactorig/obj/Debug/Refactorig.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | C:/Users/bkasmer/Documents/Visual Studio 2015/Projects/Refactorig/Refactorig/bin/Debug/Refactorig.exe.config
2 | C:/Users/bkasmer/Documents/Visual Studio 2015/Projects/Refactorig/Refactorig/bin/Debug/Refactorig.exe
3 | C:/Users/bkasmer/Documents/Visual Studio 2015/Projects/Refactorig/Refactorig/bin/Debug/Refactorig.pdb
4 | C:/Users/bkasmer/Documents/Visual Studio 2015/Projects/Refactorig/Refactorig/obj/Debug/Refactorig.csprojResolveAssemblyReference.cache
5 | C:/Users/bkasmer/Documents/Visual Studio 2015/Projects/Refactorig/Refactorig/obj/Debug/Refactorig.exe
6 | C:/Users/bkasmer/Documents/Visual Studio 2015/Projects/Refactorig/Refactorig/obj/Debug/Refactorig.pdb
7 | /Users/borakasmer/Desktop/DevNot2-2019/Refactorig/Refactorig/bin/Debug/Refactorig.exe.config
8 | /Users/borakasmer/Desktop/DevNot2-2019/Refactorig/Refactorig/bin/Debug/Refactorig.exe
9 | /Users/borakasmer/Desktop/DevNot2-2019/Refactorig/Refactorig/bin/Debug/Refactorig.pdb
10 | /Users/borakasmer/Desktop/DevNot2-2019/Refactorig/Refactorig/obj/Debug/Refactorig.csproj.CoreCompileInputs.cache
11 | /Users/borakasmer/Desktop/DevNot2-2019/Refactorig/Refactorig/obj/Debug/Refactorig.exe
12 | /Users/borakasmer/Desktop/DevNot2-2019/Refactorig/Refactorig/obj/Debug/Refactorig.pdb
13 | //Mac/Home/Desktop/DevNot2-2019/Refactorig/Refactorig/bin/Debug/Refactorig.exe.config
14 | //Mac/Home/Desktop/DevNot2-2019/Refactorig/Refactorig/bin/Debug/Refactorig.exe
15 | //Mac/Home/Desktop/DevNot2-2019/Refactorig/Refactorig/bin/Debug/Refactorig.pdb
16 | //Mac/Home/Desktop/DevNot2-2019/Refactorig/Refactorig/obj/Debug/Refactorig.csproj.CoreCompileInputs.cache
17 | //Mac/Home/Desktop/DevNot2-2019/Refactorig/Refactorig/obj/Debug/Refactorig.exe
18 | //Mac/Home/Desktop/DevNot2-2019/Refactorig/Refactorig/obj/Debug/Refactorig.pdb
19 | //Mac/Home/Desktop/DevNot2-2019/Refactorig/Refactorig/obj/Debug/Refactorig.csproj.AssemblyReference.cache
20 | /Users/borakasmer/Desktop/DevNot2-2019/Refactorig/Refactorig/obj/Debug/Refactorig.csproj.AssemblyReference.cache
21 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity_DesignPatterns/ChainOfResbonsibility/Refactorig/bin/Debug/Refactorig.exe.config
22 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity_DesignPatterns/ChainOfResbonsibility/Refactorig/bin/Debug/Refactorig.exe
23 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity_DesignPatterns/ChainOfResbonsibility/Refactorig/bin/Debug/Refactorig.pdb
24 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity_DesignPatterns/ChainOfResbonsibility/Refactorig/obj/Debug/Refactorig.csproj.AssemblyReference.cache
25 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity_DesignPatterns/ChainOfResbonsibility/Refactorig/obj/Debug/Refactorig.csproj.CoreCompileInputs.cache
26 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity_DesignPatterns/ChainOfResbonsibility/Refactorig/obj/Debug/Refactorig.exe
27 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity_DesignPatterns/ChainOfResbonsibility/Refactorig/obj/Debug/Refactorig.pdb
28 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/ChainOfResbonsibility/Refactorig/bin/Debug/Refactorig.exe.config
29 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/ChainOfResbonsibility/Refactorig/bin/Debug/Refactorig.exe
30 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/ChainOfResbonsibility/Refactorig/bin/Debug/Refactorig.pdb
31 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/ChainOfResbonsibility/Refactorig/obj/Debug/Refactorig.csproj.AssemblyReference.cache
32 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/ChainOfResbonsibility/Refactorig/obj/Debug/Refactorig.csproj.CoreCompileInputs.cache
33 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/ChainOfResbonsibility/Refactorig/obj/Debug/Refactorig.exe
34 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/ChainOfResbonsibility/Refactorig/obj/Debug/Refactorig.pdb
35 |
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/Refactorig/obj/Debug/Refactorig.csprojResolveAssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/ChainOfResbonsibility/Refactorig/obj/Debug/Refactorig.csprojResolveAssemblyReference.cache
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/Refactorig/obj/Debug/Refactorig.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/ChainOfResbonsibility/Refactorig/obj/Debug/Refactorig.exe
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/Refactorig/obj/Debug/Refactorig.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/ChainOfResbonsibility/Refactorig/obj/Debug/Refactorig.pdb
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/Refactorig/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/ChainOfResbonsibility/Refactorig/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/Refactorig/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/ChainOfResbonsibility/Refactorig/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/Refactorig/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/ChainOfResbonsibility/Refactorig/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/Refactorig/obj/Debug/project.razor.json:
--------------------------------------------------------------------------------
1 | {
2 | "ProjectFilePath": "/Users/borakasmer/Desktop/DevNot2-2019/Refactorig/Refactorig/Refactorig.csproj",
3 | "TargetFramework": "v4.6",
4 | "TagHelpers": [],
5 | "Configuration": {
6 | "ConfigurationName": "UnsupportedRazor",
7 | "LanguageVersion": "1.0",
8 | "Extensions": [
9 | {
10 | "ExtensionName": "UnsupportedRazorExtension"
11 | }
12 | ]
13 | }
14 | }
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/Refactorig/obj/Release/.NETFramework,Version=v4.6.AssemblyAttributes.cs:
--------------------------------------------------------------------------------
1 | //
2 | using System;
3 | using System.Reflection;
4 | [assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.6", FrameworkDisplayName = ".NET Framework 4.6")]
5 |
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/Refactorig/obj/Release/Refactorig.csproj.AssemblyReference.cache:
--------------------------------------------------------------------------------
1 | MBRSC
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/Refactorig/obj/Release/Refactorig.csproj.CoreCompileInputs.cache:
--------------------------------------------------------------------------------
1 | f7e429d2ad101882e4413deb498f34d686de3f41
2 |
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/Refactorig/obj/Release/Refactorig.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | \\Mac\Home\Desktop\DevNot2-2019\Refactorig\Refactorig\bin\Release\Refactorig.exe.config
2 | \\Mac\Home\Desktop\DevNot2-2019\Refactorig\Refactorig\bin\Release\Refactorig.exe
3 | \\Mac\Home\Desktop\DevNot2-2019\Refactorig\Refactorig\bin\Release\Refactorig.pdb
4 | \\Mac\Home\Desktop\DevNot2-2019\Refactorig\Refactorig\obj\Release\Refactorig.csproj.AssemblyReference.cache
5 | \\Mac\Home\Desktop\DevNot2-2019\Refactorig\Refactorig\obj\Release\Refactorig.csproj.CoreCompileInputs.cache
6 | \\Mac\Home\Desktop\DevNot2-2019\Refactorig\Refactorig\obj\Release\Refactorig.exe
7 | \\Mac\Home\Desktop\DevNot2-2019\Refactorig\Refactorig\obj\Release\Refactorig.pdb
8 |
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/Refactorig/obj/Release/Refactorig.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/ChainOfResbonsibility/Refactorig/obj/Release/Refactorig.exe
--------------------------------------------------------------------------------
/C#/ChainOfResbonsibility/Refactorig/obj/Release/Refactorig.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/ChainOfResbonsibility/Refactorig/obj/Release/Refactorig.pdb
--------------------------------------------------------------------------------
/C#/InterfaceSeg/.vs/InterfaceSeg/xs/UserPrefs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/C#/InterfaceSeg/.vs/InterfaceSeg/xs/sqlite3/db.lock:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/InterfaceSeg/.vs/InterfaceSeg/xs/sqlite3/db.lock
--------------------------------------------------------------------------------
/C#/InterfaceSeg/.vs/InterfaceSeg/xs/sqlite3/storage.ide:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/InterfaceSeg/.vs/InterfaceSeg/xs/sqlite3/storage.ide
--------------------------------------------------------------------------------
/C#/InterfaceSeg/.vscode/launch.json:
--------------------------------------------------------------------------------
1 | {
2 | // Use IntelliSense to find out which attributes exist for C# debugging
3 | // Use hover for the description of the existing attributes
4 | // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
5 | "version": "0.2.0",
6 | "configurations": [
7 | {
8 | "name": ".NET Core Launch (console)",
9 | "type": "coreclr",
10 | "request": "launch",
11 | "preLaunchTask": "build",
12 | // If you have changed target frameworks, make sure to update the program path.
13 | "program": "${workspaceFolder}/bin/Debug/netcoreapp3.0/InterfaceSeg.dll",
14 | "args": [],
15 | "cwd": "${workspaceFolder}",
16 | // For more information about the 'console' field, see https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md#console-terminal-window
17 | "console": "internalConsole",
18 | "stopAtEntry": false,
19 | "internalConsoleOptions": "openOnSessionStart"
20 | },
21 | {
22 | "name": ".NET Core Attach",
23 | "type": "coreclr",
24 | "request": "attach",
25 | "processId": "${command:pickProcess}"
26 | }
27 | ,]
28 | }
--------------------------------------------------------------------------------
/C#/InterfaceSeg/.vscode/tasks.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": "2.0.0",
3 | "tasks": [
4 | {
5 | "label": "build",
6 | "command": "dotnet",
7 | "type": "process",
8 | "args": [
9 | "build",
10 | "${workspaceFolder}/InterfaceSeg.csproj"
11 | ],
12 | "problemMatcher": "$msCompile"
13 | }
14 | ]
15 | }
--------------------------------------------------------------------------------
/C#/InterfaceSeg/InterfaceSeg.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | netcoreapp3.0
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/C#/InterfaceSeg/InterfaceSeg.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 15
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "InterfaceSeg", "InterfaceSeg.csproj", "{2CC1232D-C5A3-4E05-9AA1-5E844B279B1B}"
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 | {2CC1232D-C5A3-4E05-9AA1-5E844B279B1B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
13 | {2CC1232D-C5A3-4E05-9AA1-5E844B279B1B}.Debug|Any CPU.Build.0 = Debug|Any CPU
14 | {2CC1232D-C5A3-4E05-9AA1-5E844B279B1B}.Release|Any CPU.ActiveCfg = Release|Any CPU
15 | {2CC1232D-C5A3-4E05-9AA1-5E844B279B1B}.Release|Any CPU.Build.0 = Release|Any CPU
16 | EndGlobalSection
17 | EndGlobal
18 |
--------------------------------------------------------------------------------
/C#/InterfaceSeg/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace InterfaceSeg
4 | {
5 | interface IService
6 | {
7 | Boolean CheckToken();
8 | String GetUserId();
9 | /* String GetMobileDeviceId();
10 | Boolean CheckMobileVersion();
11 | String GetMobilePlatform(); */
12 | }
13 | interface IMobileService :IService
14 | {
15 | String GetMobileDeviceId();
16 | Boolean CheckMobileVersion();
17 | String GetMobilePlatform();
18 | }
19 |
20 | public class WebService : IService
21 | {
22 | public bool CheckToken()
23 | {
24 | return true;
25 | }
26 | public string GetUserId()
27 | {
28 | return "123456";
29 | }
30 | /* public bool CheckMobileVersion()
31 | {
32 | throw new NotImplementedException();
33 | } */
34 | /* public string GetMobileDeviceId()
35 | {
36 | throw new NotImplementedException();
37 | }
38 |
39 | public string GetMobilePlatform()
40 | {
41 | throw new NotImplementedException();
42 | } */
43 | }
44 |
45 | public class MobileService : IMobileService
46 | {
47 | public bool CheckToken()
48 | {
49 | return false;
50 | }
51 | public string GetUserId()
52 | {
53 | throw new NotImplementedException();
54 | }
55 | public string GetMobileDeviceId()
56 | {
57 | return "352698276144152";
58 | }
59 | public string GetMobilePlatform()
60 | {
61 | return "ios";
62 | }
63 | public bool CheckMobileVersion()
64 | {
65 | return true;
66 | }
67 | }
68 |
69 | class Program
70 | {
71 | static void Main(string[] args)
72 | {
73 | WebService service = new WebService();
74 | MobileService mobileService = new MobileService();
75 | Console.WriteLine($"UserID: {service.GetUserId()}");
76 | Console.WriteLine($"MobileDeviceID: {mobileService.GetMobileDeviceId()}");
77 | Console.ReadLine();
78 | }
79 | }
80 | }
81 |
--------------------------------------------------------------------------------
/C#/InterfaceSeg/Screen Shot 2019-08-28 at 20.37.42 PM.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/InterfaceSeg/Screen Shot 2019-08-28 at 20.37.42 PM.png
--------------------------------------------------------------------------------
/C#/InterfaceSeg/bin/Debug/netcoreapp3.0/InterfaceSeg.deps.json:
--------------------------------------------------------------------------------
1 | {
2 | "runtimeTarget": {
3 | "name": ".NETCoreApp,Version=v3.0",
4 | "signature": ""
5 | },
6 | "compilationOptions": {},
7 | "targets": {
8 | ".NETCoreApp,Version=v3.0": {
9 | "InterfaceSeg/1.0.0": {
10 | "runtime": {
11 | "InterfaceSeg.dll": {}
12 | }
13 | }
14 | }
15 | },
16 | "libraries": {
17 | "InterfaceSeg/1.0.0": {
18 | "type": "project",
19 | "serviceable": false,
20 | "sha512": ""
21 | }
22 | }
23 | }
--------------------------------------------------------------------------------
/C#/InterfaceSeg/bin/Debug/netcoreapp3.0/InterfaceSeg.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/InterfaceSeg/bin/Debug/netcoreapp3.0/InterfaceSeg.dll
--------------------------------------------------------------------------------
/C#/InterfaceSeg/bin/Debug/netcoreapp3.0/InterfaceSeg.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/InterfaceSeg/bin/Debug/netcoreapp3.0/InterfaceSeg.pdb
--------------------------------------------------------------------------------
/C#/InterfaceSeg/bin/Debug/netcoreapp3.0/InterfaceSeg.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 | }
--------------------------------------------------------------------------------
/C#/InterfaceSeg/bin/Debug/netcoreapp3.0/InterfaceSeg.runtimeconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "runtimeOptions": {
3 | "tfm": "netcoreapp3.0",
4 | "framework": {
5 | "name": "Microsoft.NETCore.App",
6 | "version": "3.0.0"
7 | }
8 | }
9 | }
--------------------------------------------------------------------------------
/C#/InterfaceSeg/obj/Debug/netcoreapp3.0/.NETCoreApp,Version=v3.0.AssemblyAttributes.cs:
--------------------------------------------------------------------------------
1 | //
2 | using System;
3 | using System.Reflection;
4 | [assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v3.0", FrameworkDisplayName = "")]
5 |
--------------------------------------------------------------------------------
/C#/InterfaceSeg/obj/Debug/netcoreapp3.0/InterfaceSeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/InterfaceSeg/obj/Debug/netcoreapp3.0/InterfaceSeg
--------------------------------------------------------------------------------
/C#/InterfaceSeg/obj/Debug/netcoreapp3.0/InterfaceSeg.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("InterfaceSeg")]
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("InterfaceSeg")]
19 | [assembly: System.Reflection.AssemblyTitleAttribute("InterfaceSeg")]
20 | [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
21 |
22 | // Generated by the MSBuild WriteCodeFragment class.
23 |
24 |
--------------------------------------------------------------------------------
/C#/InterfaceSeg/obj/Debug/netcoreapp3.0/InterfaceSeg.AssemblyInfoInputs.cache:
--------------------------------------------------------------------------------
1 | 8307a3296c4b4718e8fbd50af74bf6bb86f37dc8
2 |
--------------------------------------------------------------------------------
/C#/InterfaceSeg/obj/Debug/netcoreapp3.0/InterfaceSeg.GeneratedMSBuildEditorConfig.editorconfig:
--------------------------------------------------------------------------------
1 | is_global = true
2 | build_property.RootNamespace = InterfaceSeg
3 | build_property.ProjectDir = /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/InterfaceSeg/
4 |
--------------------------------------------------------------------------------
/C#/InterfaceSeg/obj/Debug/netcoreapp3.0/InterfaceSeg.assets.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/InterfaceSeg/obj/Debug/netcoreapp3.0/InterfaceSeg.assets.cache
--------------------------------------------------------------------------------
/C#/InterfaceSeg/obj/Debug/netcoreapp3.0/InterfaceSeg.csproj.AssemblyReference.cache:
--------------------------------------------------------------------------------
1 | MBRSC
--------------------------------------------------------------------------------
/C#/InterfaceSeg/obj/Debug/netcoreapp3.0/InterfaceSeg.csproj.CoreCompileInputs.cache:
--------------------------------------------------------------------------------
1 | 53171b4f3a928a74de4d583142c809b7a72c566c
2 |
--------------------------------------------------------------------------------
/C#/InterfaceSeg/obj/Debug/netcoreapp3.0/InterfaceSeg.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | /Users/borakasmer/Desktop/DevNot2-2019/InterfaceSeg/bin/Debug/netcoreapp3.0/InterfaceSeg.deps.json
2 | /Users/borakasmer/Desktop/DevNot2-2019/InterfaceSeg/bin/Debug/netcoreapp3.0/InterfaceSeg.runtimeconfig.json
3 | /Users/borakasmer/Desktop/DevNot2-2019/InterfaceSeg/bin/Debug/netcoreapp3.0/InterfaceSeg.runtimeconfig.dev.json
4 | /Users/borakasmer/Desktop/DevNot2-2019/InterfaceSeg/bin/Debug/netcoreapp3.0/InterfaceSeg.dll
5 | /Users/borakasmer/Desktop/DevNot2-2019/InterfaceSeg/bin/Debug/netcoreapp3.0/InterfaceSeg.pdb
6 | /Users/borakasmer/Desktop/DevNot2-2019/InterfaceSeg/obj/Debug/netcoreapp3.0/InterfaceSeg.csproj.CoreCompileInputs.cache
7 | /Users/borakasmer/Desktop/DevNot2-2019/InterfaceSeg/obj/Debug/netcoreapp3.0/InterfaceSeg.AssemblyInfoInputs.cache
8 | /Users/borakasmer/Desktop/DevNot2-2019/InterfaceSeg/obj/Debug/netcoreapp3.0/InterfaceSeg.AssemblyInfo.cs
9 | /Users/borakasmer/Desktop/DevNot2-2019/InterfaceSeg/obj/Debug/netcoreapp3.0/InterfaceSeg.dll
10 | /Users/borakasmer/Desktop/DevNot2-2019/InterfaceSeg/obj/Debug/netcoreapp3.0/InterfaceSeg.pdb
11 | /Users/borakasmer/Desktop/DevNot2-2019/InterfaceSeg/obj/Debug/netcoreapp3.0/InterfaceSeg.genruntimeconfig.cache
12 | /Users/borakasmer/Desktop/DevNot2-2019/InterfaceSeg/obj/Debug/netcoreapp3.0/InterfaceSeg.csproj.AssemblyReference.cache
13 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity_DesignPatterns/InterfaceSeg/bin/Debug/netcoreapp3.0/InterfaceSeg.deps.json
14 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity_DesignPatterns/InterfaceSeg/bin/Debug/netcoreapp3.0/InterfaceSeg.runtimeconfig.json
15 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity_DesignPatterns/InterfaceSeg/bin/Debug/netcoreapp3.0/InterfaceSeg.runtimeconfig.dev.json
16 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity_DesignPatterns/InterfaceSeg/bin/Debug/netcoreapp3.0/InterfaceSeg.dll
17 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity_DesignPatterns/InterfaceSeg/bin/Debug/netcoreapp3.0/InterfaceSeg.pdb
18 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity_DesignPatterns/InterfaceSeg/obj/Debug/netcoreapp3.0/InterfaceSeg.csproj.AssemblyReference.cache
19 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity_DesignPatterns/InterfaceSeg/obj/Debug/netcoreapp3.0/InterfaceSeg.GeneratedMSBuildEditorConfig.editorconfig
20 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity_DesignPatterns/InterfaceSeg/obj/Debug/netcoreapp3.0/InterfaceSeg.AssemblyInfoInputs.cache
21 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity_DesignPatterns/InterfaceSeg/obj/Debug/netcoreapp3.0/InterfaceSeg.AssemblyInfo.cs
22 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity_DesignPatterns/InterfaceSeg/obj/Debug/netcoreapp3.0/InterfaceSeg.csproj.CoreCompileInputs.cache
23 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity_DesignPatterns/InterfaceSeg/obj/Debug/netcoreapp3.0/InterfaceSeg.dll
24 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity_DesignPatterns/InterfaceSeg/obj/Debug/netcoreapp3.0/InterfaceSeg.pdb
25 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity_DesignPatterns/InterfaceSeg/obj/Debug/netcoreapp3.0/InterfaceSeg.genruntimeconfig.cache
26 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/InterfaceSeg/bin/Debug/netcoreapp3.0/InterfaceSeg.deps.json
27 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/InterfaceSeg/bin/Debug/netcoreapp3.0/InterfaceSeg.runtimeconfig.json
28 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/InterfaceSeg/bin/Debug/netcoreapp3.0/InterfaceSeg.runtimeconfig.dev.json
29 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/InterfaceSeg/bin/Debug/netcoreapp3.0/InterfaceSeg.dll
30 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/InterfaceSeg/bin/Debug/netcoreapp3.0/InterfaceSeg.pdb
31 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/InterfaceSeg/obj/Debug/netcoreapp3.0/InterfaceSeg.csproj.AssemblyReference.cache
32 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/InterfaceSeg/obj/Debug/netcoreapp3.0/InterfaceSeg.GeneratedMSBuildEditorConfig.editorconfig
33 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/InterfaceSeg/obj/Debug/netcoreapp3.0/InterfaceSeg.AssemblyInfoInputs.cache
34 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/InterfaceSeg/obj/Debug/netcoreapp3.0/InterfaceSeg.AssemblyInfo.cs
35 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/InterfaceSeg/obj/Debug/netcoreapp3.0/InterfaceSeg.csproj.CoreCompileInputs.cache
36 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/InterfaceSeg/obj/Debug/netcoreapp3.0/InterfaceSeg.dll
37 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/InterfaceSeg/obj/Debug/netcoreapp3.0/InterfaceSeg.pdb
38 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/InterfaceSeg/obj/Debug/netcoreapp3.0/InterfaceSeg.genruntimeconfig.cache
39 |
--------------------------------------------------------------------------------
/C#/InterfaceSeg/obj/Debug/netcoreapp3.0/InterfaceSeg.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/InterfaceSeg/obj/Debug/netcoreapp3.0/InterfaceSeg.dll
--------------------------------------------------------------------------------
/C#/InterfaceSeg/obj/Debug/netcoreapp3.0/InterfaceSeg.genruntimeconfig.cache:
--------------------------------------------------------------------------------
1 | 2dad9bb59f2ca93bf5133e16225a9ec5fe54daf9
2 |
--------------------------------------------------------------------------------
/C#/InterfaceSeg/obj/Debug/netcoreapp3.0/InterfaceSeg.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/InterfaceSeg/obj/Debug/netcoreapp3.0/InterfaceSeg.pdb
--------------------------------------------------------------------------------
/C#/InterfaceSeg/obj/Debug/netcoreapp3.0/project.razor.json:
--------------------------------------------------------------------------------
1 | {
2 | "ProjectFilePath": "/Users/borakasmer/Desktop/DevNot2-2019/InterfaceSeg/InterfaceSeg.csproj",
3 | "TargetFramework": "netcoreapp3.0",
4 | "TagHelpers": [],
5 | "Configuration": {
6 | "ConfigurationName": "UnsupportedRazor",
7 | "LanguageVersion": "1.0",
8 | "Extensions": [
9 | {
10 | "ExtensionName": "UnsupportedRazorExtension"
11 | }
12 | ]
13 | }
14 | }
--------------------------------------------------------------------------------
/C#/InterfaceSeg/obj/InterfaceSeg.csproj.nuget.cache:
--------------------------------------------------------------------------------
1 | {
2 | "version": 1,
3 | "dgSpecHash": "cZbfECcTj8icIMRGYk4rGFWIm4Q7kGY88dO0KSTw1wPvemhe3g1FEXYPYtFH/POnCUj+QhmAuWFE7h0Lbm8TyQ==",
4 | "success": true
5 | }
--------------------------------------------------------------------------------
/C#/InterfaceSeg/obj/InterfaceSeg.csproj.nuget.dgspec.json:
--------------------------------------------------------------------------------
1 | {
2 | "format": 1,
3 | "restore": {
4 | "/Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/InterfaceSeg/InterfaceSeg.csproj": {}
5 | },
6 | "projects": {
7 | "/Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/InterfaceSeg/InterfaceSeg.csproj": {
8 | "version": "1.0.0",
9 | "restore": {
10 | "projectUniqueName": "/Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/InterfaceSeg/InterfaceSeg.csproj",
11 | "projectName": "InterfaceSeg",
12 | "projectPath": "/Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/InterfaceSeg/InterfaceSeg.csproj",
13 | "packagesPath": "/Users/borakasmer/.nuget/packages/",
14 | "outputPath": "/Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/InterfaceSeg/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.0"
24 | ],
25 | "sources": {
26 | "https://api.nuget.org/v3/index.json": {}
27 | },
28 | "frameworks": {
29 | "netcoreapp3.0": {
30 | "targetAlias": "netcoreapp3.0",
31 | "projectReferences": {}
32 | }
33 | },
34 | "warningProperties": {
35 | "warnAsError": [
36 | "NU1605"
37 | ]
38 | }
39 | },
40 | "frameworks": {
41 | "netcoreapp3.0": {
42 | "targetAlias": "netcoreapp3.0",
43 | "imports": [
44 | "net461",
45 | "net462",
46 | "net47",
47 | "net471",
48 | "net472",
49 | "net48"
50 | ],
51 | "assetTargetFallback": true,
52 | "warn": true,
53 | "frameworkReferences": {
54 | "Microsoft.NETCore.App": {
55 | "privateAssets": "all"
56 | }
57 | },
58 | "runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/5.0.401/RuntimeIdentifierGraph.json"
59 | }
60 | }
61 | }
62 | }
63 | }
--------------------------------------------------------------------------------
/C#/InterfaceSeg/obj/InterfaceSeg.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.9.0
11 |
12 |
13 |
14 |
15 |
16 |
17 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
18 |
19 |
--------------------------------------------------------------------------------
/C#/InterfaceSeg/obj/InterfaceSeg.csproj.nuget.g.targets:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
5 |
6 |
--------------------------------------------------------------------------------
/C#/InterfaceSeg/obj/project.assets.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": 3,
3 | "targets": {
4 | ".NETCoreApp,Version=v3.0": {}
5 | },
6 | "libraries": {},
7 | "projectFileDependencyGroups": {
8 | ".NETCoreApp,Version=v3.0": []
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/DevNot2-2019/Komunity2021_DesignPatterns/InterfaceSeg/InterfaceSeg.csproj",
18 | "projectName": "InterfaceSeg",
19 | "projectPath": "/Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/InterfaceSeg/InterfaceSeg.csproj",
20 | "packagesPath": "/Users/borakasmer/.nuget/packages/",
21 | "outputPath": "/Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/InterfaceSeg/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.0"
31 | ],
32 | "sources": {
33 | "https://api.nuget.org/v3/index.json": {}
34 | },
35 | "frameworks": {
36 | "netcoreapp3.0": {
37 | "targetAlias": "netcoreapp3.0",
38 | "projectReferences": {}
39 | }
40 | },
41 | "warningProperties": {
42 | "warnAsError": [
43 | "NU1605"
44 | ]
45 | }
46 | },
47 | "frameworks": {
48 | "netcoreapp3.0": {
49 | "targetAlias": "netcoreapp3.0",
50 | "imports": [
51 | "net461",
52 | "net462",
53 | "net47",
54 | "net471",
55 | "net472",
56 | "net48"
57 | ],
58 | "assetTargetFallback": true,
59 | "warn": true,
60 | "frameworkReferences": {
61 | "Microsoft.NETCore.App": {
62 | "privateAssets": "all"
63 | }
64 | },
65 | "runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/5.0.401/RuntimeIdentifierGraph.json"
66 | }
67 | }
68 | }
69 | }
--------------------------------------------------------------------------------
/C#/InterfaceSeg/obj/project.nuget.cache:
--------------------------------------------------------------------------------
1 | {
2 | "version": 2,
3 | "dgSpecHash": "XHKQ9SaDvXOrcxZSemDI0u/xHsluZeY7JysGSpxsjxRct0cq64qguS1evO+MUOb0i21p3gLLvsp5V1whUfUxhQ==",
4 | "success": true,
5 | "projectFilePath": "/Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/InterfaceSeg/InterfaceSeg.csproj",
6 | "expectedPackageFiles": [],
7 | "logs": []
8 | }
--------------------------------------------------------------------------------
/C#/Interpreter/.vs/Interpreter/v16/.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/Interpreter/.vs/Interpreter/v16/.suo
--------------------------------------------------------------------------------
/C#/Interpreter/.vs/Interpreter/v16/Server/sqlite3/db.lock:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/Interpreter/.vs/Interpreter/v16/Server/sqlite3/db.lock
--------------------------------------------------------------------------------
/C#/Interpreter/.vs/Interpreter/v16/Server/sqlite3/storage.ide:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/Interpreter/.vs/Interpreter/v16/Server/sqlite3/storage.ide
--------------------------------------------------------------------------------
/C#/Interpreter/.vs/Interpreter/xs/UserPrefs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/C#/Interpreter/.vs/Interpreter/xs/project-cache/Interpreter-Debug|anycpu.json:
--------------------------------------------------------------------------------
1 | {"Format":1,"ProjectReferences":[],"MetadataReferences":[{"FilePath":"/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/4.7.2-api/mscorlib.dll","Aliases":[],"Framework":null},{"FilePath":"/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/4.7.2-api/System.Core.dll","Aliases":[],"Framework":null},{"FilePath":"/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/4.7.2-api/System.dll","Aliases":[],"Framework":null}],"Files":["/Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/Interpreter/Interpreter/Program.cs","/Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/Interpreter/Interpreter/Properties/AssemblyInfo.cs","/Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/Interpreter/Interpreter/Class1.cs"],"BuildActions":["Compile","Compile","Compile"],"Analyzers":[],"AdditionalFiles":[],"EditorConfigFiles":[]}
--------------------------------------------------------------------------------
/C#/Interpreter/.vs/Interpreter/xs/sqlite3/db.lock:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/Interpreter/.vs/Interpreter/xs/sqlite3/db.lock
--------------------------------------------------------------------------------
/C#/Interpreter/.vs/Interpreter/xs/sqlite3/storage.ide:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/Interpreter/.vs/Interpreter/xs/sqlite3/storage.ide
--------------------------------------------------------------------------------
/C#/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 |
--------------------------------------------------------------------------------
/C#/Interpreter/Interpreter/.vs/Interpreter/xs/UserPrefs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/C#/Interpreter/Interpreter/.vs/Interpreter/xs/project-cache/Interpreter-Debug|anycpu.json:
--------------------------------------------------------------------------------
1 | {"Format":1,"ProjectReferences":[],"MetadataReferences":[{"FilePath":"/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/4.7.2-api/mscorlib.dll","Aliases":[],"Framework":null},{"FilePath":"/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/4.7.2-api/System.Core.dll","Aliases":[],"Framework":null},{"FilePath":"/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/4.7.2-api/System.dll","Aliases":[],"Framework":null}],"Files":["/Users/borakasmer/Desktop/DevNot2-2019/Interpreter/Interpreter/Program.cs","/Users/borakasmer/Desktop/DevNot2-2019/Interpreter/Interpreter/Properties/AssemblyInfo.cs","/Users/borakasmer/Desktop/DevNot2-2019/Interpreter/Interpreter/Class1.cs"],"BuildActions":["Compile","Compile","Compile"],"Analyzers":[],"AdditionalFiles":[],"EditorConfigFiles":[]}
--------------------------------------------------------------------------------
/C#/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 Or3Expression : Expression
77 | {
78 | private Expression word1;
79 | private Expression word2;
80 | private Expression word3;
81 |
82 | public Or3Expression(Expression _word1,Expression _word2, Expression _word3)
83 | {
84 | this.word1 = _word1;
85 | this.word2 = _word2;
86 | this.word3 = _word3;
87 | }
88 |
89 | public bool Interpret(string content)
90 | {
91 | return (word1.Interpret(content) || word2.Interpret(content) || word3.Interpret(content));
92 | }
93 | }
94 |
95 | public class Or2AndOneExpression : Expression
96 | {
97 | private Expression word1;
98 | private Expression word2;
99 | private Expression word3;
100 |
101 | public Or2AndOneExpression(Expression _word1, Expression _word2, Expression _word3)
102 | {
103 | this.word1 = _word1;
104 | this.word2 = _word2;
105 | this.word3 = _word3;
106 | }
107 |
108 | public bool Interpret(string content)
109 | {
110 | return ((word1.Interpret(content) || word2.Interpret(content)) && word3.Interpret(content));
111 | }
112 | }
113 |
114 | public class InterpretPattern
115 | {
116 | public static Expression getMaleExpression()
117 | {
118 | Expression futbol = new CheckExpression("futbol");
119 | Expression araba = new CheckExpression("araba");
120 | Expression sakal = new CheckExpression("sakal");
121 | //return new Or2AndOneExpression(futbol, araba, sakal);
122 | return new OrExpression(futbol, araba);
123 |
124 | }
125 | public static List getFemailExpressions()
126 | {
127 | List ListExpression = new List();
128 |
129 | Expression anne = new CheckExpression("anne");
130 | Expression bebe = new CheckExpression("bebe");
131 | Expression sürt = new CheckExpression("sürt");
132 | Expression çiz = new CheckExpression("çiz");
133 | Expression araba = new CheckExpression("araba");
134 | Expression futbol = new CheckExpression("futbol");
135 |
136 | Expression ver = new CheckExpression("ver");
137 | Expression sag = new CheckExpression("sağ");
138 | Expression onem = new CheckExpression("önem");
139 |
140 | //ListExpression.Add(new And3Expression(ver, sag, onem));
141 | ListExpression.Add(new Or3Expression(ver, sag, onem));
142 | ListExpression.Add(new OrExpression(anne, bebe));
143 | ListExpression.Add(new AndExpression(sürt, araba));
144 | ListExpression.Add(new AndExpression(çiz, araba));
145 | ListExpression.Add(new OrExpression(anne, futbol));
146 | return ListExpression;
147 | }
148 | }
149 | }
150 |
--------------------------------------------------------------------------------
/C#/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 |
--------------------------------------------------------------------------------
/C#/Interpreter/Interpreter/Interpreter.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.809.2
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Interpreter", "Interpreter.csproj", "{C70369E1-4334-4C18-B53B-489C7A11571D}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|anycpu = Debug|anycpu
11 | Release|anycpu = Release|anycpu
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {C70369E1-4334-4C18-B53B-489C7A11571D}.Debug|anycpu.ActiveCfg = Debug|anycpu
15 | {C70369E1-4334-4C18-B53B-489C7A11571D}.Debug|anycpu.Build.0 = Debug|anycpu
16 | {C70369E1-4334-4C18-B53B-489C7A11571D}.Release|anycpu.ActiveCfg = Release|anycpu
17 | {C70369E1-4334-4C18-B53B-489C7A11571D}.Release|anycpu.Build.0 = Release|anycpu
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {39D38DED-7A9C-4292-8148-5F866EA0B30E}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/C#/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 = "Futbol maçlarını çok sevsem de, genelde izlemiyorum";
10 | // string Description2 = "Bebeğimin sağlığı için anne sütüne çok önem veriyorum.";
11 | // string Description3 = "Spor'a giderken arabayı vurdum.";
12 |
13 | // bool expResult = false;
14 | // string word = "futbol";
15 | // string word2 = "araba";
16 |
17 | // string word3 = "anne";
18 | // string word4 = "bebe";
19 | // string word5 = "sürt";
20 | // string word6 = "çiz";
21 |
22 |
23 | // Console.Write(Description1 + " (Erkek):");
24 | // //futbol || araba
25 | // expResult = Description1.ToLower().Contains(word.ToLower()) || Description1.ToLower().Contains(word2.ToLower());
26 | // Console.WriteLine(expResult);
27 |
28 | // //anne || bebe , sürt && araba , çiz && araba
29 | // Console.Write(Description2 + "(Bayan):");
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 | // //anne || bebe , sürt && araba , çiz && araba
36 | // Console.Write(Description3 + "(Bayan):");
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 = "Futbol maçlarını çok sevsem de, genelde izlemiyorum";
48 | string Description2 = "Bebeğimin sağlığı için anne sütüne çok önem veriyorum.";
49 | string Description3 = "Spor'a giderken arabayı vurdum.";
50 |
51 | Console.Write(Description1 + " (Erkek):");
52 | Console.WriteLine(InterpretPattern.getMaleExpression().Interpret(Description1));
53 |
54 | bool expResult = false;
55 | Console.Write(Description2 + "(Bayan):");
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 + "(Bayan):");
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 |
--------------------------------------------------------------------------------
/C#/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 |
--------------------------------------------------------------------------------
/C#/Interpreter/Interpreter/bin/Debug/Interpreter.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/Interpreter/Interpreter/bin/Debug/Interpreter.exe
--------------------------------------------------------------------------------
/C#/Interpreter/Interpreter/bin/Debug/Interpreter.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/Interpreter/Interpreter/bin/Debug/Interpreter.pdb
--------------------------------------------------------------------------------
/C#/Interpreter/Interpreter/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs:
--------------------------------------------------------------------------------
1 | //
2 | using System;
3 | using System.Reflection;
4 | [assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
5 |
--------------------------------------------------------------------------------
/C#/Interpreter/Interpreter/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/Interpreter/Interpreter/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
--------------------------------------------------------------------------------
/C#/Interpreter/Interpreter/obj/Debug/Interpreter.csproj.AssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/Interpreter/Interpreter/obj/Debug/Interpreter.csproj.AssemblyReference.cache
--------------------------------------------------------------------------------
/C#/Interpreter/Interpreter/obj/Debug/Interpreter.csproj.CoreCompileInputs.cache:
--------------------------------------------------------------------------------
1 | 1ad6ccccfd6dbc09861c3ed8954a8510428baa67
2 |
--------------------------------------------------------------------------------
/C#/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.csproj.CoreCompileInputs.cache
16 | \\Mac\Home\Desktop\DevNot2-2019\Interpreter\Interpreter\obj\Debug\Interpreter.exe
17 | \\Mac\Home\Desktop\DevNot2-2019\Interpreter\Interpreter\obj\Debug\Interpreter.pdb
18 |
--------------------------------------------------------------------------------
/C#/Interpreter/Interpreter/obj/Debug/Interpreter.csprojAssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/Interpreter/Interpreter/obj/Debug/Interpreter.csprojAssemblyReference.cache
--------------------------------------------------------------------------------
/C#/Interpreter/Interpreter/obj/Debug/Interpreter.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/Interpreter/Interpreter/obj/Debug/Interpreter.exe
--------------------------------------------------------------------------------
/C#/Interpreter/Interpreter/obj/Debug/Interpreter.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/Interpreter/Interpreter/obj/Debug/Interpreter.pdb
--------------------------------------------------------------------------------
/C#/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 | }
--------------------------------------------------------------------------------
/C#/Prototype/.vs/Prototype/DesignTimeBuild/.dtbcache.v2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/Prototype/.vs/Prototype/DesignTimeBuild/.dtbcache.v2
--------------------------------------------------------------------------------
/C#/Prototype/.vs/Prototype/v16/.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/Prototype/.vs/Prototype/v16/.suo
--------------------------------------------------------------------------------
/C#/Prototype/.vs/Prototype/xs/UserPrefs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/C#/Prototype/.vs/Prototype/xs/sqlite3/db.lock:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/Prototype/.vs/Prototype/xs/sqlite3/db.lock
--------------------------------------------------------------------------------
/C#/Prototype/.vs/Prototype/xs/sqlite3/storage.ide:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/Prototype/.vs/Prototype/xs/sqlite3/storage.ide
--------------------------------------------------------------------------------
/C#/Prototype/.vscode/launch.json:
--------------------------------------------------------------------------------
1 | {
2 | // Use IntelliSense to find out which attributes exist for C# debugging
3 | // Use hover for the description of the existing attributes
4 | // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
5 | "version": "0.2.0",
6 | "configurations": [
7 | {
8 | "name": ".NET Core Launch (console)",
9 | "type": "coreclr",
10 | "request": "launch",
11 | "preLaunchTask": "build",
12 | // If you have changed target frameworks, make sure to update the program path.
13 | "program": "${workspaceFolder}/bin/Debug/netcoreapp3.0/Prototype.dll",
14 | "args": [],
15 | "cwd": "${workspaceFolder}",
16 | // For more information about the 'console' field, see https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md#console-terminal-window
17 | "console": "internalConsole",
18 | "stopAtEntry": false,
19 | "internalConsoleOptions": "openOnSessionStart"
20 | },
21 | {
22 | "name": ".NET Core Attach",
23 | "type": "coreclr",
24 | "request": "attach",
25 | "processId": "${command:pickProcess}"
26 | }
27 | ,]
28 | }
--------------------------------------------------------------------------------
/C#/Prototype/.vscode/tasks.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": "2.0.0",
3 | "tasks": [
4 | {
5 | "label": "build",
6 | "command": "dotnet",
7 | "type": "process",
8 | "args": [
9 | "build",
10 | "${workspaceFolder}/Prototype.csproj"
11 | ],
12 | "problemMatcher": "$msCompile"
13 | }
14 | ]
15 | }
--------------------------------------------------------------------------------
/C#/Prototype/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 |
4 | namespace prototype
5 | {
6 | abstract class VehiclePrototype
7 | {
8 | public abstract VehiclePrototype Clone();
9 | public string ChassisNumber { get; set; }
10 | }
11 |
12 | class Cbr650R : VehiclePrototype
13 | {
14 | public Cbr650R()
15 | {
16 | WarrantyYear = 4;
17 | Km = 0;
18 | Weight = 207;
19 | Engine = 650;
20 | Year = DateTime.Today.Year;
21 | Height = 65;
22 | }
23 | public int Height { get; set; }
24 | public int WarrantyYear { get; set; }
25 | public int Km { get; set; }
26 | public double Weight { get; set; }
27 | public int Engine { get; set; }
28 | public string Color { get; set; }
29 | public int Year { get; set; }
30 | public double Price { get; set; }
31 | public override VehiclePrototype Clone()
32 | {
33 | return this.MemberwiseClone() as VehiclePrototype;
34 | }
35 |
36 | }
37 |
38 | class AfricaTwin : VehiclePrototype
39 | {
40 | public AfricaTwin()
41 | {
42 | WarrantyYear = 3;
43 | Km = 0;
44 | Weight = 245;
45 | Engine = 1000;
46 | Year = DateTime.Today.Year;
47 | Height = 85;
48 | }
49 | public int WarrantyYear { get; set; }
50 | public int Km { get; set; }
51 | public double Weight { get; set; }
52 | public double Engine { get; set; }
53 | public string Color { get; set; }
54 | public int Year { get; set; }
55 | public double Price { get; set; }
56 | public int Height { get; set; }
57 | public override VehiclePrototype Clone()
58 | {
59 | return this.MemberwiseClone() as VehiclePrototype;
60 | }
61 | }
62 | class Program
63 | {
64 | /*static void Main(string[] args)
65 | {
66 | VehicleList = new List();
67 | for (int i = 0; i < 10; i++)
68 | {
69 | Cbr650R motor = new Cbr650R();
70 | motor.WarrantyYear = 4;
71 | motor.Km = 0;
72 | motor.Weight = 207;
73 | motor.Engine = 650;
74 | motor.Year = DateTime.Today.Year;
75 | motor.ChassisNumber = i.ToString() + "Cbr650";
76 |
77 | VehicleList.Add(motor);
78 | }
79 | for (int i = 0; i < 10; i++)
80 | {
81 | AfricaTwin motor = new AfricaTwin();
82 | motor.WarrantyYear = 3;
83 | motor.Km = 0;
84 | motor.Weight = 245;
85 | motor.Engine = 1000;
86 | motor.Year = DateTime.Today.Year;
87 | motor.ChassisNumber = i.ToString() + "AfricaTwin";
88 |
89 | VehicleList.Add(motor);
90 | }
91 |
92 | foreach (var motor in VehicleList)
93 | {
94 | Console.WriteLine("Motor ChassisNumber: " + motor.ChassisNumber);
95 | }
96 | Console.ReadLine();
97 | }*/
98 | public static List VehicleList { get; set; }
99 | static void Main(string[] args)
100 | {
101 | VehicleList = new List();
102 | for (int i = 0; i < 10; i++)
103 | {
104 | var index = VehicleList.FindIndex(f => f.GetType() == typeof(Cbr650R));
105 | Cbr650R motor = index == -1 ? new Cbr650R() : (Cbr650R)VehicleList[index].Clone();
106 | if (index == -1)
107 | {
108 | motor.WarrantyYear = 4;
109 | motor.Km = 0;
110 | motor.Weight = 207;
111 | motor.Engine = 650;
112 | motor.Height = 65;
113 | }
114 | motor.Year = DateTime.Today.Year;
115 | motor.ChassisNumber = i.ToString() + "Cbr650";
116 |
117 | VehicleList.Add(motor);
118 | }
119 | for (int i = 0; i < 10; i++)
120 | {
121 | var index2 = VehicleList.FindIndex(f => f.GetType() == typeof(AfricaTwin));
122 | AfricaTwin motor = index2 == -1 ? new AfricaTwin() : (AfricaTwin)VehicleList[index2].Clone();
123 | if (index2 == -1)
124 | {
125 | motor.WarrantyYear = 3;
126 | motor.Km = 0;
127 | motor.Weight = 245;
128 | motor.Engine = 1000;
129 | motor.Height = 85;
130 | }
131 | motor.Year = DateTime.Today.Year;
132 | motor.ChassisNumber = i.ToString() + "AfricaTwin";
133 |
134 | VehicleList.Add(motor);
135 | }
136 |
137 | foreach (var motor in VehicleList)
138 | {
139 | Console.WriteLine("Motor ChassisNumber: " + motor.ChassisNumber);
140 | }
141 | Console.ReadLine();
142 | }
143 | }
144 | }
--------------------------------------------------------------------------------
/C#/Prototype/Prototype.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | netcoreapp3.0
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/C#/Prototype/Prototype.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 15
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Prototype", "Prototype.csproj", "{1AF6A8F6-5D69-4C9D-9190-273DF83EEE0F}"
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 | {1AF6A8F6-5D69-4C9D-9190-273DF83EEE0F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
13 | {1AF6A8F6-5D69-4C9D-9190-273DF83EEE0F}.Debug|Any CPU.Build.0 = Debug|Any CPU
14 | {1AF6A8F6-5D69-4C9D-9190-273DF83EEE0F}.Release|Any CPU.ActiveCfg = Release|Any CPU
15 | {1AF6A8F6-5D69-4C9D-9190-273DF83EEE0F}.Release|Any CPU.Build.0 = Release|Any CPU
16 | EndGlobalSection
17 | EndGlobal
18 |
--------------------------------------------------------------------------------
/C#/Prototype/bin/Debug/netcoreapp3.0/Prototype.deps.json:
--------------------------------------------------------------------------------
1 | {
2 | "runtimeTarget": {
3 | "name": ".NETCoreApp,Version=v3.0",
4 | "signature": ""
5 | },
6 | "compilationOptions": {},
7 | "targets": {
8 | ".NETCoreApp,Version=v3.0": {
9 | "Prototype/1.0.0": {
10 | "runtime": {
11 | "Prototype.dll": {}
12 | }
13 | }
14 | }
15 | },
16 | "libraries": {
17 | "Prototype/1.0.0": {
18 | "type": "project",
19 | "serviceable": false,
20 | "sha512": ""
21 | }
22 | }
23 | }
--------------------------------------------------------------------------------
/C#/Prototype/bin/Debug/netcoreapp3.0/Prototype.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/Prototype/bin/Debug/netcoreapp3.0/Prototype.dll
--------------------------------------------------------------------------------
/C#/Prototype/bin/Debug/netcoreapp3.0/Prototype.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/Prototype/bin/Debug/netcoreapp3.0/Prototype.pdb
--------------------------------------------------------------------------------
/C#/Prototype/bin/Debug/netcoreapp3.0/Prototype.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 | }
--------------------------------------------------------------------------------
/C#/Prototype/bin/Debug/netcoreapp3.0/Prototype.runtimeconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "runtimeOptions": {
3 | "tfm": "netcoreapp3.0",
4 | "framework": {
5 | "name": "Microsoft.NETCore.App",
6 | "version": "3.0.0"
7 | }
8 | }
9 | }
--------------------------------------------------------------------------------
/C#/Prototype/mono_crash.11a67480d0.0.json:
--------------------------------------------------------------------------------
1 | {
2 | "protocol_version" : "0.0.6",
3 | "configuration" : {
4 | "version" : "(6.12.0.140) (2020-02/51d876a041e)",
5 | "tlc" : "normal",
6 | "sigsgev" : "altstack",
7 | "notifications" : "kqueue",
8 | "architecture" : "amd64",
9 | "disabled_features" : "none",
10 | "smallconfig" : "disabled",
11 | "bigarrays" : "disabled",
12 | "softdebug" : "enabled",
13 | "interpreter" : "enabled",
14 | "llvm_support" : "0",
15 | "suspend" : "hybrid"
16 | },
17 | "memory" : {
18 | "Resident Size" : "129519616",
19 | "Virtual Size" : "5808521216",
20 | "minor_gc_time" : "0",
21 | "major_gc_time" : "0",
22 | "minor_gc_count" : "0",
23 | "major_gc_count" : "0",
24 | "major_gc_time_concurrent" : "0"
25 | },
26 | "threads" : [
27 | {
28 | "is_managed" : true,
29 | "offset_free_hash" : "0x11a67480d0",
30 | "offset_rich_hash" : "0x11a67485e5",
31 | "crashed" : true,
32 | "native_thread_id" : "0x700004672000",
33 | "thread_info_addr" : "0x7fe35d9a7200",
34 | "thread_name" : "tid_6d03",
35 | "ctx" : {
36 | "IP" : "0x7fff7326433a",
37 | "SP" : "0x70000466ab98",
38 | "BP" : "0x70000466abc0"
39 | },
40 | "managed_frames" : [
41 | {
42 | "is_managed" : "false",
43 | "native_address" : "unregistered"
44 | }
45 | ,
46 | {
47 | "is_managed" : "true",
48 | "guid" : "92218043-4747-44EA-9D64-D27064C35DCB",
49 | "token" : "0x00000",
50 | "native_offset" : "0x0",
51 | "filename" : "mscorlib.dll",
52 | "sizeofimage" : "0x472000",
53 | "timestamp" : "0xa45d0dbd",
54 | "il_offset" : "0x00000"
55 | }
56 | ,
57 | {
58 | "is_managed" : "true",
59 | "guid" : "92218043-4747-44EA-9D64-D27064C35DCB",
60 | "token" : "0x00000",
61 | "native_offset" : "0x0",
62 | "filename" : "mscorlib.dll",
63 | "sizeofimage" : "0x472000",
64 | "timestamp" : "0xa45d0dbd",
65 | "il_offset" : "0x00015"
66 | }
67 | ,
68 | {
69 | "is_managed" : "true",
70 | "guid" : "BD24F2D5-173E-4EF0-BCAC-9E2F08461AE4",
71 | "token" : "0x600427f",
72 | "native_offset" : "0x0",
73 | "filename" : "System.dll",
74 | "sizeofimage" : "0x290000",
75 | "timestamp" : "0xae21f1c6",
76 | "il_offset" : "0x0026a"
77 | }
78 | ,
79 | {
80 | "is_managed" : "true",
81 | "guid" : "BD24F2D5-173E-4EF0-BCAC-9E2F08461AE4",
82 | "token" : "0x600447f",
83 | "native_offset" : "0x0",
84 | "filename" : "System.dll",
85 | "sizeofimage" : "0x290000",
86 | "timestamp" : "0xae21f1c6",
87 | "il_offset" : "0x00043"
88 | }
89 | ,
90 | {
91 | "is_managed" : "true",
92 | "guid" : "92218043-4747-44EA-9D64-D27064C35DCB",
93 | "token" : "0x6001ed3",
94 | "native_offset" : "0x0",
95 | "filename" : "mscorlib.dll",
96 | "sizeofimage" : "0x472000",
97 | "timestamp" : "0xa45d0dbd",
98 | "il_offset" : "0x00071"
99 | }
100 | ,
101 | {
102 | "is_managed" : "true",
103 | "guid" : "92218043-4747-44EA-9D64-D27064C35DCB",
104 | "token" : "0x6001ed1",
105 | "native_offset" : "0x0",
106 | "filename" : "mscorlib.dll",
107 | "sizeofimage" : "0x472000",
108 | "timestamp" : "0xa45d0dbd",
109 | "il_offset" : "0x00000"
110 | }
111 | ,
112 | {
113 | "is_managed" : "true",
114 | "guid" : "92218043-4747-44EA-9D64-D27064C35DCB",
115 | "token" : "0x6001ed0",
116 | "native_offset" : "0x0",
117 | "filename" : "mscorlib.dll",
118 | "sizeofimage" : "0x472000",
119 | "timestamp" : "0xa45d0dbd",
120 | "il_offset" : "0x0002b"
121 | }
122 | ,
123 | {
124 | "is_managed" : "true",
125 | "guid" : "BD24F2D5-173E-4EF0-BCAC-9E2F08461AE4",
126 | "token" : "0x600427e",
127 | "native_offset" : "0x0",
128 | "filename" : "System.dll",
129 | "sizeofimage" : "0x290000",
130 | "timestamp" : "0xae21f1c6",
131 | "il_offset" : "0x00093"
132 | }
133 | ,
134 | {
135 | "is_managed" : "true",
136 | "guid" : "BD24F2D5-173E-4EF0-BCAC-9E2F08461AE4",
137 | "token" : "0x00000",
138 | "native_offset" : "0x0",
139 | "filename" : "System.dll",
140 | "sizeofimage" : "0x290000",
141 | "timestamp" : "0xae21f1c6",
142 | "il_offset" : "0xffffffff"
143 | }
144 | ,
145 | {
146 | "is_managed" : "false",
147 | "native_address" : "unregistered"
148 | }
149 | ,
150 | {
151 | "is_managed" : "true",
152 | "guid" : "BD24F2D5-173E-4EF0-BCAC-9E2F08461AE4",
153 | "token" : "0x00000",
154 | "native_offset" : "0x0",
155 | "filename" : "System.dll",
156 | "sizeofimage" : "0x290000",
157 | "timestamp" : "0xae21f1c6",
158 | "il_offset" : "0x00000"
159 | }
160 | ,
161 | {
162 | "is_managed" : "true",
163 | "guid" : "BD24F2D5-173E-4EF0-BCAC-9E2F08461AE4",
164 | "token" : "0x6004477",
165 | "native_offset" : "0x0",
166 | "filename" : "System.dll",
167 | "sizeofimage" : "0x290000",
168 | "timestamp" : "0xae21f1c6",
169 | "il_offset" : "0x0003a"
170 | }
171 | ,
172 | {
173 | "is_managed" : "true",
174 | "guid" : "92218043-4747-44EA-9D64-D27064C35DCB",
175 | "token" : "0x6001f2b",
176 | "native_offset" : "0x0",
177 | "filename" : "mscorlib.dll",
178 | "sizeofimage" : "0x472000",
179 | "timestamp" : "0xa45d0dbd",
180 | "il_offset" : "0x00025"
181 | }
182 | ,
183 | {
184 | "is_managed" : "true",
185 | "guid" : "92218043-4747-44EA-9D64-D27064C35DCB",
186 | "token" : "0x6001ed3",
187 | "native_offset" : "0x0",
188 | "filename" : "mscorlib.dll",
189 | "sizeofimage" : "0x472000",
190 | "timestamp" : "0xa45d0dbd",
191 | "il_offset" : "0x00071"
192 | }
193 | ,
194 | {
195 | "is_managed" : "true",
196 | "guid" : "92218043-4747-44EA-9D64-D27064C35DCB",
197 | "token" : "0x6001ed1",
198 | "native_offset" : "0x0",
199 | "filename" : "mscorlib.dll",
200 | "sizeofimage" : "0x472000",
201 | "timestamp" : "0xa45d0dbd",
202 | "il_offset" : "0x00000"
203 | }
204 | ,
205 | {
206 | "is_managed" : "true",
207 | "guid" : "92218043-4747-44EA-9D64-D27064C35DCB",
208 | "token" : "0x6001ed0",
209 | "native_offset" : "0x0",
210 | "filename" : "mscorlib.dll",
211 | "sizeofimage" : "0x472000",
212 | "timestamp" : "0xa45d0dbd",
213 | "il_offset" : "0x0002b"
214 | }
215 | ,
216 | {
217 | "is_managed" : "true",
218 | "guid" : "92218043-4747-44EA-9D64-D27064C35DCB",
219 | "token" : "0x00000",
220 | "native_offset" : "0x0",
221 | "filename" : "mscorlib.dll",
222 | "sizeofimage" : "0x472000",
223 | "timestamp" : "0xa45d0dbd",
224 | "il_offset" : "0x0002a"
225 | }
226 |
227 | ],
228 | "unmanaged_frames" : [
229 | {
230 | "is_managed" : "false",
231 | "native_address" : "0x1061c9956",
232 | "native_offset" : "0x00000"
233 | }
234 | ,
235 | {
236 | "is_managed" : "false",
237 | "native_address" : "0x1063650d5",
238 | "native_offset" : "0x00000"
239 | }
240 | ,
241 | {
242 | "is_managed" : "false",
243 | "native_address" : "0x10636574a",
244 | "native_offset" : "0x00000"
245 | }
246 | ,
247 | {
248 | "is_managed" : "false",
249 | "native_address" : "0x1062369e7",
250 | "native_offset" : "0x00000"
251 | }
252 | ,
253 | {
254 | "is_managed" : "false",
255 | "native_address" : "0x1061ce5ee",
256 | "native_offset" : "0x00000"
257 | }
258 | ,
259 | {
260 | "is_managed" : "false",
261 | "native_address" : "0x106235cdf",
262 | "native_offset" : "0x00000"
263 | }
264 | ,
265 | {
266 | "is_managed" : "false",
267 | "native_address" : "0x7fff733155fd",
268 | "native_offset" : "0x00000"
269 | }
270 | ,
271 | {
272 | "is_managed" : "false",
273 | "native_address" : "unregistered"
274 | }
275 | ,
276 | {
277 | "is_managed" : "false",
278 | "native_address" : "0x7fff731eb808",
279 | "native_offset" : "0x00000"
280 | }
281 | ,
282 | {
283 | "is_managed" : "false",
284 | "native_address" : "0x106422f57",
285 | "native_offset" : "0x00000"
286 | }
287 | ,
288 | {
289 | "is_managed" : "false",
290 | "native_address" : "0x106403dbf",
291 | "native_offset" : "0x00000"
292 | }
293 | ,
294 | {
295 | "is_managed" : "false",
296 | "native_address" : "0x1064233ee",
297 | "native_offset" : "0x00000"
298 | }
299 | ,
300 | {
301 | "is_managed" : "false",
302 | "native_address" : "0x10642356f",
303 | "native_offset" : "0x00000"
304 | }
305 | ,
306 | {
307 | "is_managed" : "false",
308 | "native_address" : "0x1064235aa",
309 | "native_offset" : "0x00000"
310 | }
311 | ,
312 | {
313 | "is_managed" : "false",
314 | "native_address" : "0x106417d7e",
315 | "native_offset" : "0x00000"
316 | }
317 | ,
318 | {
319 | "is_managed" : "false",
320 | "native_address" : "0x10635f641",
321 | "native_offset" : "0x00000"
322 | }
323 | ,
324 | {
325 | "is_managed" : "false",
326 | "native_address" : "0x1063662bd",
327 | "native_offset" : "0x00000"
328 | }
329 | ,
330 | {
331 | "is_managed" : "false",
332 | "native_address" : "0x106363f2c",
333 | "native_offset" : "0x00000"
334 | }
335 | ,
336 | {
337 | "is_managed" : "true",
338 | "guid" : "92218043-4747-44EA-9D64-D27064C35DCB",
339 | "token" : "0x00000",
340 | "native_offset" : "0x0",
341 | "filename" : "mscorlib.dll",
342 | "sizeofimage" : "0x472000",
343 | "timestamp" : "0xa45d0dbd",
344 | "il_offset" : "0x00000"
345 | }
346 | ,
347 | {
348 | "is_managed" : "true",
349 | "guid" : "92218043-4747-44EA-9D64-D27064C35DCB",
350 | "token" : "0x00000",
351 | "native_offset" : "0x0",
352 | "filename" : "mscorlib.dll",
353 | "sizeofimage" : "0x472000",
354 | "timestamp" : "0xa45d0dbd",
355 | "il_offset" : "0x00000"
356 | }
357 | ,
358 | {
359 | "is_managed" : "true",
360 | "guid" : "BD24F2D5-173E-4EF0-BCAC-9E2F08461AE4",
361 | "token" : "0x600427f",
362 | "native_offset" : "0x0",
363 | "filename" : "System.dll",
364 | "sizeofimage" : "0x290000",
365 | "timestamp" : "0xae21f1c6",
366 | "il_offset" : "0x00000"
367 | }
368 | ,
369 | {
370 | "is_managed" : "true",
371 | "guid" : "BD24F2D5-173E-4EF0-BCAC-9E2F08461AE4",
372 | "token" : "0x600447f",
373 | "native_offset" : "0x0",
374 | "filename" : "System.dll",
375 | "sizeofimage" : "0x290000",
376 | "timestamp" : "0xae21f1c6",
377 | "il_offset" : "0x00000"
378 | }
379 | ,
380 | {
381 | "is_managed" : "true",
382 | "guid" : "92218043-4747-44EA-9D64-D27064C35DCB",
383 | "token" : "0x6001ed3",
384 | "native_offset" : "0x0",
385 | "filename" : "mscorlib.dll",
386 | "sizeofimage" : "0x472000",
387 | "timestamp" : "0xa45d0dbd",
388 | "il_offset" : "0x00000"
389 | }
390 | ,
391 | {
392 | "is_managed" : "true",
393 | "guid" : "92218043-4747-44EA-9D64-D27064C35DCB",
394 | "token" : "0x6001ed1",
395 | "native_offset" : "0x0",
396 | "filename" : "mscorlib.dll",
397 | "sizeofimage" : "0x472000",
398 | "timestamp" : "0xa45d0dbd",
399 | "il_offset" : "0x00000"
400 | }
401 | ,
402 | {
403 | "is_managed" : "true",
404 | "guid" : "BD24F2D5-173E-4EF0-BCAC-9E2F08461AE4",
405 | "token" : "0x00000",
406 | "native_offset" : "0x0",
407 | "filename" : "System.dll",
408 | "sizeofimage" : "0x290000",
409 | "timestamp" : "0xae21f1c6",
410 | "il_offset" : "0x00000"
411 | }
412 | ,
413 | {
414 | "is_managed" : "false",
415 | "native_address" : "0x7fff3a733993",
416 | "native_offset" : "0x00000"
417 | }
418 | ,
419 | {
420 | "is_managed" : "false",
421 | "native_address" : "0x7fff3a732dfe",
422 | "native_offset" : "0x00000"
423 | }
424 | ,
425 | {
426 | "is_managed" : "false",
427 | "native_address" : "0x7fff3a732cf7",
428 | "native_offset" : "0x00000"
429 | }
430 | ,
431 | {
432 | "is_managed" : "false",
433 | "native_address" : "0x7fff3a73592b",
434 | "native_offset" : "0x00000"
435 | }
436 | ,
437 | {
438 | "is_managed" : "false",
439 | "native_address" : "0x7fff390445a5",
440 | "native_offset" : "0x00000"
441 | }
442 | ,
443 | {
444 | "is_managed" : "false",
445 | "native_address" : "0x7fff39015d94",
446 | "native_offset" : "0x00000"
447 | }
448 | ,
449 | {
450 | "is_managed" : "false",
451 | "native_address" : "0x7fff39015ce0",
452 | "native_offset" : "0x00000"
453 | }
454 | ,
455 | {
456 | "is_managed" : "false",
457 | "native_address" : "0x7fff39014809",
458 | "native_offset" : "0x00000"
459 | }
460 | ,
461 | {
462 | "is_managed" : "false",
463 | "native_address" : "0x7fff390138ce",
464 | "native_offset" : "0x00000"
465 | }
466 | ,
467 | {
468 | "is_managed" : "false",
469 | "native_address" : "0x7fff3909bf59",
470 | "native_offset" : "0x00000"
471 | }
472 | ,
473 | {
474 | "is_managed" : "false",
475 | "native_address" : "0x109098fcc",
476 | "native_offset" : "0x00000"
477 | }
478 | ,
479 | {
480 | "is_managed" : "true",
481 | "guid" : "BD24F2D5-173E-4EF0-BCAC-9E2F08461AE4",
482 | "token" : "0x00000",
483 | "native_offset" : "0x0",
484 | "filename" : "System.dll",
485 | "sizeofimage" : "0x290000",
486 | "timestamp" : "0xae21f1c6",
487 | "il_offset" : "0x00000"
488 | }
489 | ,
490 | {
491 | "is_managed" : "true",
492 | "guid" : "BD24F2D5-173E-4EF0-BCAC-9E2F08461AE4",
493 | "token" : "0x6004477",
494 | "native_offset" : "0x0",
495 | "filename" : "System.dll",
496 | "sizeofimage" : "0x290000",
497 | "timestamp" : "0xae21f1c6",
498 | "il_offset" : "0x00000"
499 | }
500 | ,
501 | {
502 | "is_managed" : "true",
503 | "guid" : "92218043-4747-44EA-9D64-D27064C35DCB",
504 | "token" : "0x6001f2b",
505 | "native_offset" : "0x0",
506 | "filename" : "mscorlib.dll",
507 | "sizeofimage" : "0x472000",
508 | "timestamp" : "0xa45d0dbd",
509 | "il_offset" : "0x00000"
510 | }
511 | ,
512 | {
513 | "is_managed" : "true",
514 | "guid" : "92218043-4747-44EA-9D64-D27064C35DCB",
515 | "token" : "0x6001ed1",
516 | "native_offset" : "0x0",
517 | "filename" : "mscorlib.dll",
518 | "sizeofimage" : "0x472000",
519 | "timestamp" : "0xa45d0dbd",
520 | "il_offset" : "0x00000"
521 | }
522 | ,
523 | {
524 | "is_managed" : "false",
525 | "native_address" : "0x10612b8c2",
526 | "native_offset" : "0x00000"
527 | }
528 | ,
529 | {
530 | "is_managed" : "false",
531 | "native_address" : "0x10633af07",
532 | "native_offset" : "0x00000"
533 | }
534 | ,
535 | {
536 | "is_managed" : "false",
537 | "native_address" : "0x1063417b0",
538 | "native_offset" : "0x00000"
539 | }
540 | ,
541 | {
542 | "is_managed" : "false",
543 | "native_address" : "0x106365d5d",
544 | "native_offset" : "0x00000"
545 | }
546 | ,
547 | {
548 | "is_managed" : "false",
549 | "native_address" : "0x7fff73321109",
550 | "native_offset" : "0x00000"
551 | }
552 | ,
553 | {
554 | "is_managed" : "false",
555 | "native_address" : "0x7fff7331cb8b",
556 | "native_offset" : "0x00000"
557 | }
558 |
559 | ]
560 | },
561 | {
562 | "is_managed" : false,
563 | "offset_free_hash" : "0x0",
564 | "offset_rich_hash" : "0x0",
565 | "crashed" : false,
566 | "native_thread_id" : "0x10bb6adc0",
567 | "thread_info_addr" : "0x7fe38d811a00",
568 | "thread_name" : "tid_307",
569 | "ctx" : {
570 | "IP" : "0x7fff73260882",
571 | "SP" : "0x7ffee9ae6c68",
572 | "BP" : "0x7ffee9ae6d00"
573 | },
574 | "unmanaged_frames" : [
575 | {
576 | "is_managed" : "false",
577 | "native_address" : "0x1061c9956",
578 | "native_offset" : "0x00000"
579 | }
580 | ,
581 | {
582 | "is_managed" : "false",
583 | "native_address" : "0x1063650d5",
584 | "native_offset" : "0x00000"
585 | }
586 | ,
587 | {
588 | "is_managed" : "false",
589 | "native_address" : "0x106364e07",
590 | "native_offset" : "0x00000"
591 | }
592 | ,
593 | {
594 | "is_managed" : "false",
595 | "native_address" : "0x106235920",
596 | "native_offset" : "0x00000"
597 | }
598 | ,
599 | {
600 | "is_managed" : "false",
601 | "native_address" : "0x7fff733155fd",
602 | "native_offset" : "0x00000"
603 | }
604 | ,
605 | {
606 | "is_managed" : "false",
607 | "native_address" : "0x7ffee9ae6958",
608 | "native_offset" : "0x00000"
609 | }
610 | ,
611 | {
612 | "is_managed" : "false",
613 | "native_address" : "0x1063ffe80",
614 | "native_offset" : "0x00000"
615 | }
616 | ,
617 | {
618 | "is_managed" : "false",
619 | "native_address" : "0x106417fb1",
620 | "native_offset" : "0x00000"
621 | }
622 | ,
623 | {
624 | "is_managed" : "false",
625 | "native_address" : "0x106361ff4",
626 | "native_offset" : "0x00000"
627 | }
628 | ,
629 | {
630 | "is_managed" : "false",
631 | "native_address" : "0x106361dfa",
632 | "native_offset" : "0x00000"
633 | }
634 | ,
635 | {
636 | "is_managed" : "false",
637 | "native_address" : "0x10618efea",
638 | "native_offset" : "0x00000"
639 | }
640 | ,
641 | {
642 | "is_managed" : "false",
643 | "native_address" : "0x10611b1a8",
644 | "native_offset" : "0x00000"
645 | }
646 | ,
647 | {
648 | "is_managed" : "false",
649 | "native_address" : "0x7fff7311ccc9",
650 | "native_offset" : "0x00000"
651 | }
652 | ,
653 | {
654 | "is_managed" : "false",
655 | "native_address" : "0x5",
656 | "native_offset" : "0x00000"
657 | }
658 |
659 | ]
660 | },
661 | {
662 | "is_managed" : false,
663 | "offset_free_hash" : "0x0",
664 | "offset_rich_hash" : "0x0",
665 | "crashed" : false,
666 | "native_thread_id" : "0x7000016e4000",
667 | "thread_info_addr" : "0x7fe38d844000",
668 | "thread_name" : "Finalizer",
669 | "ctx" : {
670 | "IP" : "0x7fff7325de36",
671 | "SP" : "0x7000016e3eb8",
672 | "BP" : "0x7000016e3f00"
673 | },
674 | "unmanaged_frames" : [
675 | {
676 | "is_managed" : "false",
677 | "native_address" : "0x1061c9956",
678 | "native_offset" : "0x00000"
679 | }
680 | ,
681 | {
682 | "is_managed" : "false",
683 | "native_address" : "0x1063650d5",
684 | "native_offset" : "0x00000"
685 | }
686 | ,
687 | {
688 | "is_managed" : "false",
689 | "native_address" : "0x106364e07",
690 | "native_offset" : "0x00000"
691 | }
692 | ,
693 | {
694 | "is_managed" : "false",
695 | "native_address" : "0x106235920",
696 | "native_offset" : "0x00000"
697 | }
698 | ,
699 | {
700 | "is_managed" : "false",
701 | "native_address" : "0x7fff733155fd",
702 | "native_offset" : "0x00000"
703 | }
704 | ,
705 | {
706 | "is_managed" : "false",
707 | "native_address" : "unregistered"
708 | }
709 | ,
710 | {
711 | "is_managed" : "false",
712 | "native_address" : "0x106365d1d",
713 | "native_offset" : "0x00000"
714 | }
715 | ,
716 | {
717 | "is_managed" : "false",
718 | "native_address" : "0x7fff73321109",
719 | "native_offset" : "0x00000"
720 | }
721 | ,
722 | {
723 | "is_managed" : "false",
724 | "native_address" : "0x7fff7331cb8b",
725 | "native_offset" : "0x00000"
726 | }
727 |
728 | ]
729 | }
730 | ]
731 | }
--------------------------------------------------------------------------------
/C#/Prototype/obj/Debug/netcoreapp3.0/.NETCoreApp,Version=v3.0.AssemblyAttributes.cs:
--------------------------------------------------------------------------------
1 | //
2 | using System;
3 | using System.Reflection;
4 | [assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v3.0", FrameworkDisplayName = "")]
5 |
--------------------------------------------------------------------------------
/C#/Prototype/obj/Debug/netcoreapp3.0/Prototype:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/Prototype/obj/Debug/netcoreapp3.0/Prototype
--------------------------------------------------------------------------------
/C#/Prototype/obj/Debug/netcoreapp3.0/Prototype.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("Prototype")]
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("Prototype")]
19 | [assembly: System.Reflection.AssemblyTitleAttribute("Prototype")]
20 | [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
21 |
22 | // Generated by the MSBuild WriteCodeFragment class.
23 |
24 |
--------------------------------------------------------------------------------
/C#/Prototype/obj/Debug/netcoreapp3.0/Prototype.AssemblyInfoInputs.cache:
--------------------------------------------------------------------------------
1 | 1163ce6fd9234f86be4bc641cb9507fd9ae55dbe
2 |
--------------------------------------------------------------------------------
/C#/Prototype/obj/Debug/netcoreapp3.0/Prototype.GeneratedMSBuildEditorConfig.editorconfig:
--------------------------------------------------------------------------------
1 | is_global = true
2 | build_property.RootNamespace = Prototype
3 | build_property.ProjectDir = /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/Prototype/
4 |
--------------------------------------------------------------------------------
/C#/Prototype/obj/Debug/netcoreapp3.0/Prototype.assets.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/Prototype/obj/Debug/netcoreapp3.0/Prototype.assets.cache
--------------------------------------------------------------------------------
/C#/Prototype/obj/Debug/netcoreapp3.0/Prototype.csproj.AssemblyReference.cache:
--------------------------------------------------------------------------------
1 | MBRSC
--------------------------------------------------------------------------------
/C#/Prototype/obj/Debug/netcoreapp3.0/Prototype.csproj.CoreCompileInputs.cache:
--------------------------------------------------------------------------------
1 | b6662947c8eb1632faef28cb7e44c675733c0aa9
2 |
--------------------------------------------------------------------------------
/C#/Prototype/obj/Debug/netcoreapp3.0/Prototype.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | /Users/borakasmer/Desktop/DevNot2-2019/Prototype/bin/Debug/netcoreapp3.0/Prototype.deps.json
2 | /Users/borakasmer/Desktop/DevNot2-2019/Prototype/bin/Debug/netcoreapp3.0/Prototype.runtimeconfig.json
3 | /Users/borakasmer/Desktop/DevNot2-2019/Prototype/bin/Debug/netcoreapp3.0/Prototype.runtimeconfig.dev.json
4 | /Users/borakasmer/Desktop/DevNot2-2019/Prototype/bin/Debug/netcoreapp3.0/Prototype.dll
5 | /Users/borakasmer/Desktop/DevNot2-2019/Prototype/bin/Debug/netcoreapp3.0/Prototype.pdb
6 | /Users/borakasmer/Desktop/DevNot2-2019/Prototype/obj/Debug/netcoreapp3.0/Prototype.AssemblyInfoInputs.cache
7 | /Users/borakasmer/Desktop/DevNot2-2019/Prototype/obj/Debug/netcoreapp3.0/Prototype.AssemblyInfo.cs
8 | /Users/borakasmer/Desktop/DevNot2-2019/Prototype/obj/Debug/netcoreapp3.0/Prototype.dll
9 | /Users/borakasmer/Desktop/DevNot2-2019/Prototype/obj/Debug/netcoreapp3.0/Prototype.pdb
10 | /Users/borakasmer/Desktop/DevNot2-2019/Prototype/obj/Debug/netcoreapp3.0/Prototype.csproj.CoreCompileInputs.cache
11 | /Users/borakasmer/Desktop/DevNot2-2019/Prototype/obj/Debug/netcoreapp3.0/Prototype.genruntimeconfig.cache
12 | /Users/borakasmer/Desktop/DevNot2-2019/Prototype/obj/Debug/netcoreapp3.0/Prototype.csproj.AssemblyReference.cache
13 | /Users/borakasmer/Desktop/DevNot2-2019/Prototype/obj/Debug/netcoreapp3.0/Prototype.GeneratedMSBuildEditorConfig.editorconfig
14 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/Prototype/bin/Debug/netcoreapp3.0/Prototype.deps.json
15 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/Prototype/bin/Debug/netcoreapp3.0/Prototype.runtimeconfig.json
16 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/Prototype/bin/Debug/netcoreapp3.0/Prototype.runtimeconfig.dev.json
17 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/Prototype/bin/Debug/netcoreapp3.0/Prototype.dll
18 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/Prototype/bin/Debug/netcoreapp3.0/Prototype.pdb
19 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/Prototype/obj/Debug/netcoreapp3.0/Prototype.csproj.AssemblyReference.cache
20 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/Prototype/obj/Debug/netcoreapp3.0/Prototype.GeneratedMSBuildEditorConfig.editorconfig
21 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/Prototype/obj/Debug/netcoreapp3.0/Prototype.AssemblyInfoInputs.cache
22 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/Prototype/obj/Debug/netcoreapp3.0/Prototype.AssemblyInfo.cs
23 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/Prototype/obj/Debug/netcoreapp3.0/Prototype.csproj.CoreCompileInputs.cache
24 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/Prototype/obj/Debug/netcoreapp3.0/Prototype.dll
25 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/Prototype/obj/Debug/netcoreapp3.0/Prototype.pdb
26 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/Prototype/obj/Debug/netcoreapp3.0/Prototype.genruntimeconfig.cache
27 |
--------------------------------------------------------------------------------
/C#/Prototype/obj/Debug/netcoreapp3.0/Prototype.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/Prototype/obj/Debug/netcoreapp3.0/Prototype.dll
--------------------------------------------------------------------------------
/C#/Prototype/obj/Debug/netcoreapp3.0/Prototype.genruntimeconfig.cache:
--------------------------------------------------------------------------------
1 | d50954cd534112a99b9ec5004d2de3efe4b35d1d
2 |
--------------------------------------------------------------------------------
/C#/Prototype/obj/Debug/netcoreapp3.0/Prototype.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/Prototype/obj/Debug/netcoreapp3.0/Prototype.pdb
--------------------------------------------------------------------------------
/C#/Prototype/obj/Debug/netcoreapp3.0/apphost.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/Prototype/obj/Debug/netcoreapp3.0/apphost.exe
--------------------------------------------------------------------------------
/C#/Prototype/obj/Debug/netcoreapp3.0/project.razor.json:
--------------------------------------------------------------------------------
1 | {
2 | "ProjectFilePath": "/Users/borakasmer/Desktop/DevNot2-2019/Prototype/Prototype.csproj",
3 | "TargetFramework": "netcoreapp3.0",
4 | "TagHelpers": [],
5 | "Configuration": {
6 | "ConfigurationName": "UnsupportedRazor",
7 | "LanguageVersion": "1.0",
8 | "Extensions": [
9 | {
10 | "ExtensionName": "UnsupportedRazorExtension"
11 | }
12 | ]
13 | }
14 | }
--------------------------------------------------------------------------------
/C#/Prototype/obj/Prototype.csproj.nuget.cache:
--------------------------------------------------------------------------------
1 | {
2 | "version": 1,
3 | "dgSpecHash": "tl6ldIU74GNb0RNzqdVUYuhGqxDkObtCTbGzDJulWSaN/Fd1lG8bUSE9TeLZzgMauph1PcknH8tYrmj9oOfOYw==",
4 | "success": true
5 | }
--------------------------------------------------------------------------------
/C#/Prototype/obj/Prototype.csproj.nuget.dgspec.json:
--------------------------------------------------------------------------------
1 | {
2 | "format": 1,
3 | "restore": {
4 | "/Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/Prototype/Prototype.csproj": {}
5 | },
6 | "projects": {
7 | "/Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/Prototype/Prototype.csproj": {
8 | "version": "1.0.0",
9 | "restore": {
10 | "projectUniqueName": "/Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/Prototype/Prototype.csproj",
11 | "projectName": "Prototype",
12 | "projectPath": "/Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/Prototype/Prototype.csproj",
13 | "packagesPath": "/Users/borakasmer/.nuget/packages/",
14 | "outputPath": "/Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/Prototype/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.0"
24 | ],
25 | "sources": {
26 | "https://api.nuget.org/v3/index.json": {}
27 | },
28 | "frameworks": {
29 | "netcoreapp3.0": {
30 | "targetAlias": "netcoreapp3.0",
31 | "projectReferences": {}
32 | }
33 | },
34 | "warningProperties": {
35 | "warnAsError": [
36 | "NU1605"
37 | ]
38 | }
39 | },
40 | "frameworks": {
41 | "netcoreapp3.0": {
42 | "targetAlias": "netcoreapp3.0",
43 | "imports": [
44 | "net461",
45 | "net462",
46 | "net47",
47 | "net471",
48 | "net472",
49 | "net48"
50 | ],
51 | "assetTargetFallback": true,
52 | "warn": true,
53 | "frameworkReferences": {
54 | "Microsoft.NETCore.App": {
55 | "privateAssets": "all"
56 | }
57 | },
58 | "runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/5.0.401/RuntimeIdentifierGraph.json"
59 | }
60 | }
61 | }
62 | }
63 | }
--------------------------------------------------------------------------------
/C#/Prototype/obj/Prototype.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.9.0
11 |
12 |
13 |
14 |
15 |
16 |
17 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
18 |
19 |
--------------------------------------------------------------------------------
/C#/Prototype/obj/Prototype.csproj.nuget.g.targets:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
5 |
6 |
--------------------------------------------------------------------------------
/C#/Prototype/obj/project.assets.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": 3,
3 | "targets": {
4 | ".NETCoreApp,Version=v3.0": {}
5 | },
6 | "libraries": {},
7 | "projectFileDependencyGroups": {
8 | ".NETCoreApp,Version=v3.0": []
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/DevNot2-2019/Komunity2021_DesignPatterns/Prototype/Prototype.csproj",
18 | "projectName": "Prototype",
19 | "projectPath": "/Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/Prototype/Prototype.csproj",
20 | "packagesPath": "/Users/borakasmer/.nuget/packages/",
21 | "outputPath": "/Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/Prototype/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.0"
31 | ],
32 | "sources": {
33 | "https://api.nuget.org/v3/index.json": {}
34 | },
35 | "frameworks": {
36 | "netcoreapp3.0": {
37 | "targetAlias": "netcoreapp3.0",
38 | "projectReferences": {}
39 | }
40 | },
41 | "warningProperties": {
42 | "warnAsError": [
43 | "NU1605"
44 | ]
45 | }
46 | },
47 | "frameworks": {
48 | "netcoreapp3.0": {
49 | "targetAlias": "netcoreapp3.0",
50 | "imports": [
51 | "net461",
52 | "net462",
53 | "net47",
54 | "net471",
55 | "net472",
56 | "net48"
57 | ],
58 | "assetTargetFallback": true,
59 | "warn": true,
60 | "frameworkReferences": {
61 | "Microsoft.NETCore.App": {
62 | "privateAssets": "all"
63 | }
64 | },
65 | "runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/5.0.401/RuntimeIdentifierGraph.json"
66 | }
67 | }
68 | }
69 | }
--------------------------------------------------------------------------------
/C#/Prototype/obj/project.nuget.cache:
--------------------------------------------------------------------------------
1 | {
2 | "version": 2,
3 | "dgSpecHash": "zmn5KlaBB4KorWIyBcEx3qF0zS/F0+54pHwIv49MzLotRfDIDe+Ld1EZFZxZmmDaXP7yoBpiamacYVG4qNaUow==",
4 | "success": true,
5 | "projectFilePath": "/Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/Prototype/Prototype.csproj",
6 | "expectedPackageFiles": [],
7 | "logs": []
8 | }
--------------------------------------------------------------------------------
/C#/strategy/.vs/strategy/xs/UserPrefs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/C#/strategy/.vs/strategy/xs/sqlite3/db.lock:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/strategy/.vs/strategy/xs/sqlite3/db.lock
--------------------------------------------------------------------------------
/C#/strategy/.vs/strategy/xs/sqlite3/storage.ide:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/strategy/.vs/strategy/xs/sqlite3/storage.ide
--------------------------------------------------------------------------------
/C#/strategy/.vscode/launch.json:
--------------------------------------------------------------------------------
1 | {
2 | // Use IntelliSense to find out which attributes exist for C# debugging
3 | // Use hover for the description of the existing attributes
4 | // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
5 | "version": "0.2.0",
6 | "configurations": [
7 | {
8 | "name": ".NET Core Launch (console)",
9 | "type": "coreclr",
10 | "request": "launch",
11 | "preLaunchTask": "build",
12 | // If you have changed target frameworks, make sure to update the program path.
13 | "program": "${workspaceFolder}/bin/Debug/netcoreapp3.0/strategy.dll",
14 | "args": [],
15 | "cwd": "${workspaceFolder}",
16 | // For more information about the 'console' field, see https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md#console-terminal-window
17 | "console": "internalConsole",
18 | "stopAtEntry": false,
19 | "internalConsoleOptions": "openOnSessionStart"
20 | },
21 | {
22 | "name": ".NET Core Attach",
23 | "type": "coreclr",
24 | "request": "attach",
25 | "processId": "${command:pickProcess}"
26 | }
27 | ,]
28 | }
--------------------------------------------------------------------------------
/C#/strategy/.vscode/tasks.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": "2.0.0",
3 | "tasks": [
4 | {
5 | "label": "build",
6 | "command": "dotnet",
7 | "type": "process",
8 | "args": [
9 | "build",
10 | "${workspaceFolder}/strategy.csproj"
11 | ],
12 | "problemMatcher": "$msCompile"
13 | }
14 | ]
15 | }
--------------------------------------------------------------------------------
/C#/strategy/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | namespace strategy
3 | {
4 | /* public enum MailType
5 |
6 | {
7 |
8 | HumanResource,
9 |
10 | IT,
11 |
12 | Manager,
13 |
14 | Worker
15 |
16 | } */
17 |
18 | public interface IMail
19 | {
20 | void SendMail(string body, string cc);
21 | }
22 | class HumanResource : IMail
23 | {
24 | public void SendMail(string body, string cc)
25 | {
26 | Console.WriteLine($"HumanResource Mail Send : {body}");
27 | }
28 | }
29 | class IT : IMail
30 | {
31 | public void SendMail(string body, string cc)
32 | {
33 | Console.WriteLine($"IT Mail Send : {body}");
34 | }
35 | }
36 | class Manager : IMail
37 | {
38 | public void SendMail(string body, string cc)
39 | {
40 | Console.WriteLine($"Manager Mail Send : {body}");
41 | }
42 | }
43 | class Worker : IMail
44 | {
45 | public void SendMail(string body, string cc)
46 | {
47 | Console.WriteLine($"Worker Mail Send : {body}");
48 | }
49 | }
50 |
51 | class VbtStaj : IMail
52 | {
53 | public void SendMail(string body, string cc)
54 | {
55 | Console.WriteLine($"VbtStaj Mail Send : {body}");
56 | }
57 | }
58 |
59 | class VbtSecondStaj : IMail
60 | {
61 | public void SendMail(string body, string cc)
62 | {
63 | Console.WriteLine($"VbtSecondStaj Mail Send : {body}");
64 | }
65 | }
66 |
67 | public class Postman
68 | {
69 | IMail _mail = null;
70 | public Postman(IMail mail) => _mail = mail;
71 | public void SendMail(string body, string cc)
72 | {
73 | _mail.SendMail(body, cc);
74 | }
75 | }
76 |
77 | class Program
78 |
79 | {
80 |
81 | static void Main(string[] args)
82 | {
83 | //Postman postman = new Postman(new IT());
84 | //Postman postman = new Postman(new VbtStaj());
85 | Postman postman = new Postman(new VbtSecondStaj());
86 | postman.SendMail("Publish Yapalım", "bora@borakasmer.com");
87 |
88 | #region Old Codes
89 | /* void SendMail(MailType type, string body, string cc)
90 | {
91 | switch (type)
92 | {
93 | case MailType.HumanResource:
94 | {
95 | Console.WriteLine($"HumanResource Mail Send : {body}");
96 | break;
97 | }
98 | case MailType.IT:
99 | {
100 | Console.WriteLine($"IT Mail Send : {body}");
101 | break;
102 | }
103 | case MailType.Manager:
104 | {
105 | Console.WriteLine($"Manager Mail Send : {body}");
106 | break;
107 | }
108 | case MailType.Worker:
109 | {
110 | Console.WriteLine($"Worker Mail Send : {body}");
111 | break;
112 | }
113 | }
114 | }
115 | SendMail(MailType.IT, "Publish Yapalım", "bora@borakasmer.com"); */
116 | #endregion
117 | Console.ReadLine();
118 |
119 | }
120 |
121 | }
122 |
123 | }
--------------------------------------------------------------------------------
/C#/strategy/bin/Debug/net5.0/ref/strategy.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/strategy/bin/Debug/net5.0/ref/strategy.dll
--------------------------------------------------------------------------------
/C#/strategy/bin/Debug/net5.0/strategy.deps.json:
--------------------------------------------------------------------------------
1 | {
2 | "runtimeTarget": {
3 | "name": ".NETCoreApp,Version=v5.0",
4 | "signature": ""
5 | },
6 | "compilationOptions": {},
7 | "targets": {
8 | ".NETCoreApp,Version=v5.0": {
9 | "strategy/1.0.0": {
10 | "runtime": {
11 | "strategy.dll": {}
12 | }
13 | }
14 | }
15 | },
16 | "libraries": {
17 | "strategy/1.0.0": {
18 | "type": "project",
19 | "serviceable": false,
20 | "sha512": ""
21 | }
22 | }
23 | }
--------------------------------------------------------------------------------
/C#/strategy/bin/Debug/net5.0/strategy.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/strategy/bin/Debug/net5.0/strategy.dll
--------------------------------------------------------------------------------
/C#/strategy/bin/Debug/net5.0/strategy.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/strategy/bin/Debug/net5.0/strategy.pdb
--------------------------------------------------------------------------------
/C#/strategy/bin/Debug/net5.0/strategy.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 | }
--------------------------------------------------------------------------------
/C#/strategy/bin/Debug/net5.0/strategy.runtimeconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "runtimeOptions": {
3 | "tfm": "net5.0",
4 | "framework": {
5 | "name": "Microsoft.NETCore.App",
6 | "version": "5.0.0"
7 | }
8 | }
9 | }
--------------------------------------------------------------------------------
/C#/strategy/bin/Debug/netcoreapp3.0/strategy.deps.json:
--------------------------------------------------------------------------------
1 | {
2 | "runtimeTarget": {
3 | "name": ".NETCoreApp,Version=v3.0",
4 | "signature": ""
5 | },
6 | "compilationOptions": {},
7 | "targets": {
8 | ".NETCoreApp,Version=v3.0": {
9 | "strategy/1.0.0": {
10 | "runtime": {
11 | "strategy.dll": {}
12 | }
13 | }
14 | }
15 | },
16 | "libraries": {
17 | "strategy/1.0.0": {
18 | "type": "project",
19 | "serviceable": false,
20 | "sha512": ""
21 | }
22 | }
23 | }
--------------------------------------------------------------------------------
/C#/strategy/bin/Debug/netcoreapp3.0/strategy.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/strategy/bin/Debug/netcoreapp3.0/strategy.dll
--------------------------------------------------------------------------------
/C#/strategy/bin/Debug/netcoreapp3.0/strategy.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/strategy/bin/Debug/netcoreapp3.0/strategy.pdb
--------------------------------------------------------------------------------
/C#/strategy/bin/Debug/netcoreapp3.0/strategy.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 | }
--------------------------------------------------------------------------------
/C#/strategy/bin/Debug/netcoreapp3.0/strategy.runtimeconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "runtimeOptions": {
3 | "tfm": "netcoreapp3.0",
4 | "framework": {
5 | "name": "Microsoft.NETCore.App",
6 | "version": "3.0.0"
7 | }
8 | }
9 | }
--------------------------------------------------------------------------------
/C#/strategy/mono_crash.11a6748113.1.json:
--------------------------------------------------------------------------------
1 | {
2 | "protocol_version" : "0.0.6",
3 | "configuration" : {
4 | "version" : "(6.12.0.125) (2020-02/8c552e98bd6)",
5 | "tlc" : "normal",
6 | "sigsgev" : "altstack",
7 | "notifications" : "kqueue",
8 | "architecture" : "amd64",
9 | "disabled_features" : "none",
10 | "smallconfig" : "disabled",
11 | "bigarrays" : "disabled",
12 | "softdebug" : "enabled",
13 | "interpreter" : "enabled",
14 | "llvm_support" : "0",
15 | "suspend" : "hybrid"
16 | },
17 | "memory" : {
18 | "Resident Size" : "136327168",
19 | "Virtual Size" : "5817442304",
20 | "minor_gc_time" : "0",
21 | "major_gc_time" : "0",
22 | "minor_gc_count" : "0",
23 | "major_gc_count" : "0",
24 | "major_gc_time_concurrent" : "0"
25 | },
26 | "threads" : [
27 | {
28 | "is_managed" : true,
29 | "offset_free_hash" : "0x11a6748113",
30 | "offset_rich_hash" : "0x11a6748628",
31 | "crashed" : true,
32 | "native_thread_id" : "0x70000594d000",
33 | "thread_info_addr" : "0x7fd26fa15600",
34 | "thread_name" : "tid_6c03",
35 | "ctx" : {
36 | "IP" : "0x7fff70f1333a",
37 | "SP" : "0x700005945ba8",
38 | "BP" : "0x700005945bd0"
39 | },
40 | "managed_frames" : [
41 | {
42 | "is_managed" : "false",
43 | "native_address" : "unregistered"
44 | }
45 | ,
46 | {
47 | "is_managed" : "true",
48 | "guid" : "3A5CA755-4402-4546-90EB-498ECF91ECA6",
49 | "token" : "0x00000",
50 | "native_offset" : "0x0",
51 | "filename" : "mscorlib.dll",
52 | "sizeofimage" : "0x472000",
53 | "timestamp" : "0xcfa41f27",
54 | "il_offset" : "0x00000"
55 | }
56 | ,
57 | {
58 | "is_managed" : "true",
59 | "guid" : "3A5CA755-4402-4546-90EB-498ECF91ECA6",
60 | "token" : "0x00000",
61 | "native_offset" : "0x0",
62 | "filename" : "mscorlib.dll",
63 | "sizeofimage" : "0x472000",
64 | "timestamp" : "0xcfa41f27",
65 | "il_offset" : "0x00015"
66 | }
67 | ,
68 | {
69 | "is_managed" : "true",
70 | "guid" : "6DE7AA62-4F15-4432-9FC3-0BC179F3B197",
71 | "token" : "0x6004287",
72 | "native_offset" : "0x0",
73 | "filename" : "System.dll",
74 | "sizeofimage" : "0x292000",
75 | "timestamp" : "0xdda024c7",
76 | "il_offset" : "0x0026a"
77 | }
78 | ,
79 | {
80 | "is_managed" : "true",
81 | "guid" : "6DE7AA62-4F15-4432-9FC3-0BC179F3B197",
82 | "token" : "0x6004487",
83 | "native_offset" : "0x0",
84 | "filename" : "System.dll",
85 | "sizeofimage" : "0x292000",
86 | "timestamp" : "0xdda024c7",
87 | "il_offset" : "0x00043"
88 | }
89 | ,
90 | {
91 | "is_managed" : "true",
92 | "guid" : "3A5CA755-4402-4546-90EB-498ECF91ECA6",
93 | "token" : "0x6001ed4",
94 | "native_offset" : "0x0",
95 | "filename" : "mscorlib.dll",
96 | "sizeofimage" : "0x472000",
97 | "timestamp" : "0xcfa41f27",
98 | "il_offset" : "0x00071"
99 | }
100 | ,
101 | {
102 | "is_managed" : "true",
103 | "guid" : "3A5CA755-4402-4546-90EB-498ECF91ECA6",
104 | "token" : "0x6001ed2",
105 | "native_offset" : "0x0",
106 | "filename" : "mscorlib.dll",
107 | "sizeofimage" : "0x472000",
108 | "timestamp" : "0xcfa41f27",
109 | "il_offset" : "0x00000"
110 | }
111 | ,
112 | {
113 | "is_managed" : "true",
114 | "guid" : "3A5CA755-4402-4546-90EB-498ECF91ECA6",
115 | "token" : "0x6001ed1",
116 | "native_offset" : "0x0",
117 | "filename" : "mscorlib.dll",
118 | "sizeofimage" : "0x472000",
119 | "timestamp" : "0xcfa41f27",
120 | "il_offset" : "0x0002b"
121 | }
122 | ,
123 | {
124 | "is_managed" : "true",
125 | "guid" : "6DE7AA62-4F15-4432-9FC3-0BC179F3B197",
126 | "token" : "0x6004286",
127 | "native_offset" : "0x0",
128 | "filename" : "System.dll",
129 | "sizeofimage" : "0x292000",
130 | "timestamp" : "0xdda024c7",
131 | "il_offset" : "0x00093"
132 | }
133 | ,
134 | {
135 | "is_managed" : "true",
136 | "guid" : "6DE7AA62-4F15-4432-9FC3-0BC179F3B197",
137 | "token" : "0x00000",
138 | "native_offset" : "0x0",
139 | "filename" : "System.dll",
140 | "sizeofimage" : "0x292000",
141 | "timestamp" : "0xdda024c7",
142 | "il_offset" : "0xffffffff"
143 | }
144 | ,
145 | {
146 | "is_managed" : "false",
147 | "native_address" : "unregistered"
148 | }
149 | ,
150 | {
151 | "is_managed" : "true",
152 | "guid" : "6DE7AA62-4F15-4432-9FC3-0BC179F3B197",
153 | "token" : "0x00000",
154 | "native_offset" : "0x0",
155 | "filename" : "System.dll",
156 | "sizeofimage" : "0x292000",
157 | "timestamp" : "0xdda024c7",
158 | "il_offset" : "0x00000"
159 | }
160 | ,
161 | {
162 | "is_managed" : "true",
163 | "guid" : "6DE7AA62-4F15-4432-9FC3-0BC179F3B197",
164 | "token" : "0x600447f",
165 | "native_offset" : "0x0",
166 | "filename" : "System.dll",
167 | "sizeofimage" : "0x292000",
168 | "timestamp" : "0xdda024c7",
169 | "il_offset" : "0x0003a"
170 | }
171 | ,
172 | {
173 | "is_managed" : "true",
174 | "guid" : "3A5CA755-4402-4546-90EB-498ECF91ECA6",
175 | "token" : "0x6001f2c",
176 | "native_offset" : "0x0",
177 | "filename" : "mscorlib.dll",
178 | "sizeofimage" : "0x472000",
179 | "timestamp" : "0xcfa41f27",
180 | "il_offset" : "0x00025"
181 | }
182 | ,
183 | {
184 | "is_managed" : "true",
185 | "guid" : "3A5CA755-4402-4546-90EB-498ECF91ECA6",
186 | "token" : "0x6001ed4",
187 | "native_offset" : "0x0",
188 | "filename" : "mscorlib.dll",
189 | "sizeofimage" : "0x472000",
190 | "timestamp" : "0xcfa41f27",
191 | "il_offset" : "0x00071"
192 | }
193 | ,
194 | {
195 | "is_managed" : "true",
196 | "guid" : "3A5CA755-4402-4546-90EB-498ECF91ECA6",
197 | "token" : "0x6001ed2",
198 | "native_offset" : "0x0",
199 | "filename" : "mscorlib.dll",
200 | "sizeofimage" : "0x472000",
201 | "timestamp" : "0xcfa41f27",
202 | "il_offset" : "0x00000"
203 | }
204 | ,
205 | {
206 | "is_managed" : "true",
207 | "guid" : "3A5CA755-4402-4546-90EB-498ECF91ECA6",
208 | "token" : "0x6001ed1",
209 | "native_offset" : "0x0",
210 | "filename" : "mscorlib.dll",
211 | "sizeofimage" : "0x472000",
212 | "timestamp" : "0xcfa41f27",
213 | "il_offset" : "0x0002b"
214 | }
215 | ,
216 | {
217 | "is_managed" : "true",
218 | "guid" : "3A5CA755-4402-4546-90EB-498ECF91ECA6",
219 | "token" : "0x00000",
220 | "native_offset" : "0x0",
221 | "filename" : "mscorlib.dll",
222 | "sizeofimage" : "0x472000",
223 | "timestamp" : "0xcfa41f27",
224 | "il_offset" : "0x0002a"
225 | }
226 |
227 | ],
228 | "unmanaged_frames" : [
229 | {
230 | "is_managed" : "false",
231 | "native_address" : "0x10a0a5a06",
232 | "native_offset" : "0x00000"
233 | }
234 | ,
235 | {
236 | "is_managed" : "false",
237 | "native_address" : "0x10a241165",
238 | "native_offset" : "0x00000"
239 | }
240 | ,
241 | {
242 | "is_managed" : "false",
243 | "native_address" : "0x10a2417da",
244 | "native_offset" : "0x00000"
245 | }
246 | ,
247 | {
248 | "is_managed" : "false",
249 | "native_address" : "0x10a112a97",
250 | "native_offset" : "0x00000"
251 | }
252 | ,
253 | {
254 | "is_managed" : "false",
255 | "native_address" : "0x10a0aa69e",
256 | "native_offset" : "0x00000"
257 | }
258 | ,
259 | {
260 | "is_managed" : "false",
261 | "native_address" : "0x10a111d8f",
262 | "native_offset" : "0x00000"
263 | }
264 | ,
265 | {
266 | "is_managed" : "false",
267 | "native_address" : "0x7fff70fc45fd",
268 | "native_offset" : "0x00000"
269 | }
270 | ,
271 | {
272 | "is_managed" : "false",
273 | "native_address" : "unregistered"
274 | }
275 | ,
276 | {
277 | "is_managed" : "false",
278 | "native_address" : "0x7fff70e9a808",
279 | "native_offset" : "0x00000"
280 | }
281 | ,
282 | {
283 | "is_managed" : "false",
284 | "native_address" : "0x10a2fef67",
285 | "native_offset" : "0x00000"
286 | }
287 | ,
288 | {
289 | "is_managed" : "false",
290 | "native_address" : "0x10a2dfdef",
291 | "native_offset" : "0x00000"
292 | }
293 | ,
294 | {
295 | "is_managed" : "false",
296 | "native_address" : "0x10a2ff3fe",
297 | "native_offset" : "0x00000"
298 | }
299 | ,
300 | {
301 | "is_managed" : "false",
302 | "native_address" : "0x10a2ff57f",
303 | "native_offset" : "0x00000"
304 | }
305 | ,
306 | {
307 | "is_managed" : "false",
308 | "native_address" : "0x10a2ff5ba",
309 | "native_offset" : "0x00000"
310 | }
311 | ,
312 | {
313 | "is_managed" : "false",
314 | "native_address" : "0x10a2f3d8e",
315 | "native_offset" : "0x00000"
316 | }
317 | ,
318 | {
319 | "is_managed" : "false",
320 | "native_address" : "0x10a23b6d1",
321 | "native_offset" : "0x00000"
322 | }
323 | ,
324 | {
325 | "is_managed" : "false",
326 | "native_address" : "0x10a24234d",
327 | "native_offset" : "0x00000"
328 | }
329 | ,
330 | {
331 | "is_managed" : "false",
332 | "native_address" : "0x10a23ffbc",
333 | "native_offset" : "0x00000"
334 | }
335 | ,
336 | {
337 | "is_managed" : "true",
338 | "guid" : "3A5CA755-4402-4546-90EB-498ECF91ECA6",
339 | "token" : "0x00000",
340 | "native_offset" : "0x0",
341 | "filename" : "mscorlib.dll",
342 | "sizeofimage" : "0x472000",
343 | "timestamp" : "0xcfa41f27",
344 | "il_offset" : "0x00000"
345 | }
346 | ,
347 | {
348 | "is_managed" : "true",
349 | "guid" : "3A5CA755-4402-4546-90EB-498ECF91ECA6",
350 | "token" : "0x00000",
351 | "native_offset" : "0x0",
352 | "filename" : "mscorlib.dll",
353 | "sizeofimage" : "0x472000",
354 | "timestamp" : "0xcfa41f27",
355 | "il_offset" : "0x00000"
356 | }
357 | ,
358 | {
359 | "is_managed" : "true",
360 | "guid" : "6DE7AA62-4F15-4432-9FC3-0BC179F3B197",
361 | "token" : "0x6004287",
362 | "native_offset" : "0x0",
363 | "filename" : "System.dll",
364 | "sizeofimage" : "0x292000",
365 | "timestamp" : "0xdda024c7",
366 | "il_offset" : "0x00000"
367 | }
368 | ,
369 | {
370 | "is_managed" : "true",
371 | "guid" : "6DE7AA62-4F15-4432-9FC3-0BC179F3B197",
372 | "token" : "0x6004487",
373 | "native_offset" : "0x0",
374 | "filename" : "System.dll",
375 | "sizeofimage" : "0x292000",
376 | "timestamp" : "0xdda024c7",
377 | "il_offset" : "0x00000"
378 | }
379 | ,
380 | {
381 | "is_managed" : "true",
382 | "guid" : "3A5CA755-4402-4546-90EB-498ECF91ECA6",
383 | "token" : "0x6001ed4",
384 | "native_offset" : "0x0",
385 | "filename" : "mscorlib.dll",
386 | "sizeofimage" : "0x472000",
387 | "timestamp" : "0xcfa41f27",
388 | "il_offset" : "0x00000"
389 | }
390 | ,
391 | {
392 | "is_managed" : "true",
393 | "guid" : "3A5CA755-4402-4546-90EB-498ECF91ECA6",
394 | "token" : "0x6001ed2",
395 | "native_offset" : "0x0",
396 | "filename" : "mscorlib.dll",
397 | "sizeofimage" : "0x472000",
398 | "timestamp" : "0xcfa41f27",
399 | "il_offset" : "0x00000"
400 | }
401 | ,
402 | {
403 | "is_managed" : "true",
404 | "guid" : "6DE7AA62-4F15-4432-9FC3-0BC179F3B197",
405 | "token" : "0x00000",
406 | "native_offset" : "0x0",
407 | "filename" : "System.dll",
408 | "sizeofimage" : "0x292000",
409 | "timestamp" : "0xdda024c7",
410 | "il_offset" : "0x00000"
411 | }
412 | ,
413 | {
414 | "is_managed" : "false",
415 | "native_address" : "0x7fff3841b993",
416 | "native_offset" : "0x00000"
417 | }
418 | ,
419 | {
420 | "is_managed" : "false",
421 | "native_address" : "0x7fff3841adfe",
422 | "native_offset" : "0x00000"
423 | }
424 | ,
425 | {
426 | "is_managed" : "false",
427 | "native_address" : "0x7fff3841acf7",
428 | "native_offset" : "0x00000"
429 | }
430 | ,
431 | {
432 | "is_managed" : "false",
433 | "native_address" : "0x7fff3841d92b",
434 | "native_offset" : "0x00000"
435 | }
436 | ,
437 | {
438 | "is_managed" : "false",
439 | "native_address" : "0x7fff36d2cb05",
440 | "native_offset" : "0x00000"
441 | }
442 | ,
443 | {
444 | "is_managed" : "false",
445 | "native_address" : "0x7fff36cfe304",
446 | "native_offset" : "0x00000"
447 | }
448 | ,
449 | {
450 | "is_managed" : "false",
451 | "native_address" : "0x7fff36cfe250",
452 | "native_offset" : "0x00000"
453 | }
454 | ,
455 | {
456 | "is_managed" : "false",
457 | "native_address" : "0x7fff36cfcd79",
458 | "native_offset" : "0x00000"
459 | }
460 | ,
461 | {
462 | "is_managed" : "false",
463 | "native_address" : "0x7fff36cfbe3e",
464 | "native_offset" : "0x00000"
465 | }
466 | ,
467 | {
468 | "is_managed" : "false",
469 | "native_address" : "0x7fff36d84489",
470 | "native_offset" : "0x00000"
471 | }
472 | ,
473 | {
474 | "is_managed" : "false",
475 | "native_address" : "0x110fc6fcc",
476 | "native_offset" : "0x00000"
477 | }
478 | ,
479 | {
480 | "is_managed" : "true",
481 | "guid" : "6DE7AA62-4F15-4432-9FC3-0BC179F3B197",
482 | "token" : "0x00000",
483 | "native_offset" : "0x0",
484 | "filename" : "System.dll",
485 | "sizeofimage" : "0x292000",
486 | "timestamp" : "0xdda024c7",
487 | "il_offset" : "0x00000"
488 | }
489 | ,
490 | {
491 | "is_managed" : "true",
492 | "guid" : "6DE7AA62-4F15-4432-9FC3-0BC179F3B197",
493 | "token" : "0x600447f",
494 | "native_offset" : "0x0",
495 | "filename" : "System.dll",
496 | "sizeofimage" : "0x292000",
497 | "timestamp" : "0xdda024c7",
498 | "il_offset" : "0x00000"
499 | }
500 | ,
501 | {
502 | "is_managed" : "true",
503 | "guid" : "3A5CA755-4402-4546-90EB-498ECF91ECA6",
504 | "token" : "0x6001f2c",
505 | "native_offset" : "0x0",
506 | "filename" : "mscorlib.dll",
507 | "sizeofimage" : "0x472000",
508 | "timestamp" : "0xcfa41f27",
509 | "il_offset" : "0x00000"
510 | }
511 | ,
512 | {
513 | "is_managed" : "true",
514 | "guid" : "3A5CA755-4402-4546-90EB-498ECF91ECA6",
515 | "token" : "0x6001ed2",
516 | "native_offset" : "0x0",
517 | "filename" : "mscorlib.dll",
518 | "sizeofimage" : "0x472000",
519 | "timestamp" : "0xcfa41f27",
520 | "il_offset" : "0x00000"
521 | }
522 | ,
523 | {
524 | "is_managed" : "false",
525 | "native_address" : "0x10a007962",
526 | "native_offset" : "0x00000"
527 | }
528 | ,
529 | {
530 | "is_managed" : "false",
531 | "native_address" : "0x10a216f97",
532 | "native_offset" : "0x00000"
533 | }
534 | ,
535 | {
536 | "is_managed" : "false",
537 | "native_address" : "0x10a21d840",
538 | "native_offset" : "0x00000"
539 | }
540 | ,
541 | {
542 | "is_managed" : "false",
543 | "native_address" : "0x10a241ded",
544 | "native_offset" : "0x00000"
545 | }
546 | ,
547 | {
548 | "is_managed" : "false",
549 | "native_address" : "0x7fff70fd0109",
550 | "native_offset" : "0x00000"
551 | }
552 | ,
553 | {
554 | "is_managed" : "false",
555 | "native_address" : "0x7fff70fcbb8b",
556 | "native_offset" : "0x00000"
557 | }
558 |
559 | ]
560 | },
561 | {
562 | "is_managed" : false,
563 | "offset_free_hash" : "0x0",
564 | "offset_rich_hash" : "0x0",
565 | "crashed" : false,
566 | "native_thread_id" : "0x118006dc0",
567 | "thread_info_addr" : "0x7fd26f011000",
568 | "thread_name" : "tid_307",
569 | "ctx" : {
570 | "IP" : "0x7fff70f0f882",
571 | "SP" : "0x7ffee5c0ac68",
572 | "BP" : "0x7ffee5c0ad00"
573 | },
574 | "unmanaged_frames" : [
575 | {
576 | "is_managed" : "false",
577 | "native_address" : "0x10a0a5a06",
578 | "native_offset" : "0x00000"
579 | }
580 | ,
581 | {
582 | "is_managed" : "false",
583 | "native_address" : "0x10a241165",
584 | "native_offset" : "0x00000"
585 | }
586 | ,
587 | {
588 | "is_managed" : "false",
589 | "native_address" : "0x10a240e97",
590 | "native_offset" : "0x00000"
591 | }
592 | ,
593 | {
594 | "is_managed" : "false",
595 | "native_address" : "0x10a1119d0",
596 | "native_offset" : "0x00000"
597 | }
598 | ,
599 | {
600 | "is_managed" : "false",
601 | "native_address" : "0x7fff70fc45fd",
602 | "native_offset" : "0x00000"
603 | }
604 | ,
605 | {
606 | "is_managed" : "false",
607 | "native_address" : "0x7ffee5c0a958",
608 | "native_offset" : "0x00000"
609 | }
610 | ,
611 | {
612 | "is_managed" : "false",
613 | "native_address" : "0x10a2dbee0",
614 | "native_offset" : "0x00000"
615 | }
616 | ,
617 | {
618 | "is_managed" : "false",
619 | "native_address" : "0x10a2f3fc1",
620 | "native_offset" : "0x00000"
621 | }
622 | ,
623 | {
624 | "is_managed" : "false",
625 | "native_address" : "0x10a23e084",
626 | "native_offset" : "0x00000"
627 | }
628 | ,
629 | {
630 | "is_managed" : "false",
631 | "native_address" : "0x10a23de8a",
632 | "native_offset" : "0x00000"
633 | }
634 | ,
635 | {
636 | "is_managed" : "false",
637 | "native_address" : "0x10a06b08a",
638 | "native_offset" : "0x00000"
639 | }
640 | ,
641 | {
642 | "is_managed" : "false",
643 | "native_address" : "0x109ff7178",
644 | "native_offset" : "0x00000"
645 | }
646 | ,
647 | {
648 | "is_managed" : "false",
649 | "native_address" : "0x7fff70dcbcc9",
650 | "native_offset" : "0x00000"
651 | }
652 | ,
653 | {
654 | "is_managed" : "false",
655 | "native_address" : "0x5",
656 | "native_offset" : "0x00000"
657 | }
658 |
659 | ]
660 | },
661 | {
662 | "is_managed" : false,
663 | "offset_free_hash" : "0x0",
664 | "offset_rich_hash" : "0x0",
665 | "crashed" : false,
666 | "native_thread_id" : "0x700002dc5000",
667 | "thread_info_addr" : "0x7fd26f815200",
668 | "thread_name" : "Finalizer",
669 | "ctx" : {
670 | "IP" : "0x7fff70f0ce36",
671 | "SP" : "0x700002dc4eb8",
672 | "BP" : "0x700002dc4f00"
673 | },
674 | "unmanaged_frames" : [
675 | {
676 | "is_managed" : "false",
677 | "native_address" : "0x10a0a5a06",
678 | "native_offset" : "0x00000"
679 | }
680 | ,
681 | {
682 | "is_managed" : "false",
683 | "native_address" : "0x10a241165",
684 | "native_offset" : "0x00000"
685 | }
686 | ,
687 | {
688 | "is_managed" : "false",
689 | "native_address" : "0x10a240e97",
690 | "native_offset" : "0x00000"
691 | }
692 | ,
693 | {
694 | "is_managed" : "false",
695 | "native_address" : "0x10a1119d0",
696 | "native_offset" : "0x00000"
697 | }
698 | ,
699 | {
700 | "is_managed" : "false",
701 | "native_address" : "0x7fff70fc45fd",
702 | "native_offset" : "0x00000"
703 | }
704 | ,
705 | {
706 | "is_managed" : "false",
707 | "native_address" : "unregistered"
708 | }
709 | ,
710 | {
711 | "is_managed" : "false",
712 | "native_address" : "0x10a241dad",
713 | "native_offset" : "0x00000"
714 | }
715 | ,
716 | {
717 | "is_managed" : "false",
718 | "native_address" : "0x7fff70fd0109",
719 | "native_offset" : "0x00000"
720 | }
721 | ,
722 | {
723 | "is_managed" : "false",
724 | "native_address" : "0x7fff70fcbb8b",
725 | "native_offset" : "0x00000"
726 | }
727 |
728 | ]
729 | }
730 | ]
731 | }
--------------------------------------------------------------------------------
/C#/strategy/obj/Debug/net5.0/.NETCoreApp,Version=v5.0.AssemblyAttributes.cs:
--------------------------------------------------------------------------------
1 | //
2 | using System;
3 | using System.Reflection;
4 | [assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v5.0", FrameworkDisplayName = "")]
5 |
--------------------------------------------------------------------------------
/C#/strategy/obj/Debug/net5.0/ref/strategy.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/strategy/obj/Debug/net5.0/ref/strategy.dll
--------------------------------------------------------------------------------
/C#/strategy/obj/Debug/net5.0/strategy.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("strategy")]
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("strategy")]
19 | [assembly: System.Reflection.AssemblyTitleAttribute("strategy")]
20 | [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
21 |
22 | // Generated by the MSBuild WriteCodeFragment class.
23 |
24 |
--------------------------------------------------------------------------------
/C#/strategy/obj/Debug/net5.0/strategy.AssemblyInfoInputs.cache:
--------------------------------------------------------------------------------
1 | 22a9f889e4b5c66a4aed9702ad0eace03be565ef
2 |
--------------------------------------------------------------------------------
/C#/strategy/obj/Debug/net5.0/strategy.GeneratedMSBuildEditorConfig.editorconfig:
--------------------------------------------------------------------------------
1 | is_global = true
2 | build_property.TargetFramework = net5.0
3 | build_property.TargetPlatformMinVersion =
4 | build_property.UsingMicrosoftNETSdkWeb =
5 | build_property.ProjectTypeGuids =
6 | build_property.PublishSingleFile =
7 | build_property.IncludeAllContentForSelfExtract =
8 | build_property._SupportedPlatformList = Android,iOS,Linux,macOS,Windows
9 | build_property.RootNamespace = strategy
10 | build_property.ProjectDir = /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/strategy/
11 |
--------------------------------------------------------------------------------
/C#/strategy/obj/Debug/net5.0/strategy.assets.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/strategy/obj/Debug/net5.0/strategy.assets.cache
--------------------------------------------------------------------------------
/C#/strategy/obj/Debug/net5.0/strategy.csproj.AssemblyReference.cache:
--------------------------------------------------------------------------------
1 | MBRSC
--------------------------------------------------------------------------------
/C#/strategy/obj/Debug/net5.0/strategy.csproj.CoreCompileInputs.cache:
--------------------------------------------------------------------------------
1 | fbdc556b1ebe39c24df4b731ff5697758e09025d
2 |
--------------------------------------------------------------------------------
/C#/strategy/obj/Debug/net5.0/strategy.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | /Users/borakasmer/Desktop/DevNot2-2019/strategy/bin/Debug/net5.0/strategy.deps.json
2 | /Users/borakasmer/Desktop/DevNot2-2019/strategy/bin/Debug/net5.0/strategy.runtimeconfig.json
3 | /Users/borakasmer/Desktop/DevNot2-2019/strategy/bin/Debug/net5.0/strategy.runtimeconfig.dev.json
4 | /Users/borakasmer/Desktop/DevNot2-2019/strategy/bin/Debug/net5.0/strategy.dll
5 | /Users/borakasmer/Desktop/DevNot2-2019/strategy/bin/Debug/net5.0/ref/strategy.dll
6 | /Users/borakasmer/Desktop/DevNot2-2019/strategy/bin/Debug/net5.0/strategy.pdb
7 | /Users/borakasmer/Desktop/DevNot2-2019/strategy/obj/Debug/net5.0/strategy.GeneratedMSBuildEditorConfig.editorconfig
8 | /Users/borakasmer/Desktop/DevNot2-2019/strategy/obj/Debug/net5.0/strategy.AssemblyInfoInputs.cache
9 | /Users/borakasmer/Desktop/DevNot2-2019/strategy/obj/Debug/net5.0/strategy.AssemblyInfo.cs
10 | /Users/borakasmer/Desktop/DevNot2-2019/strategy/obj/Debug/net5.0/strategy.csproj.CoreCompileInputs.cache
11 | /Users/borakasmer/Desktop/DevNot2-2019/strategy/obj/Debug/net5.0/strategy.dll
12 | /Users/borakasmer/Desktop/DevNot2-2019/strategy/obj/Debug/net5.0/ref/strategy.dll
13 | /Users/borakasmer/Desktop/DevNot2-2019/strategy/obj/Debug/net5.0/strategy.pdb
14 | /Users/borakasmer/Desktop/DevNot2-2019/strategy/obj/Debug/net5.0/strategy.genruntimeconfig.cache
15 | /Users/borakasmer/Desktop/DevNot2-2019/strategy/obj/Debug/net5.0/strategy.csproj.AssemblyReference.cache
16 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity_DesignPatterns/strategy/bin/Debug/net5.0/strategy.deps.json
17 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity_DesignPatterns/strategy/bin/Debug/net5.0/strategy.runtimeconfig.json
18 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity_DesignPatterns/strategy/bin/Debug/net5.0/strategy.runtimeconfig.dev.json
19 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity_DesignPatterns/strategy/bin/Debug/net5.0/strategy.dll
20 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity_DesignPatterns/strategy/bin/Debug/net5.0/ref/strategy.dll
21 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity_DesignPatterns/strategy/bin/Debug/net5.0/strategy.pdb
22 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity_DesignPatterns/strategy/obj/Debug/net5.0/strategy.csproj.AssemblyReference.cache
23 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity_DesignPatterns/strategy/obj/Debug/net5.0/strategy.GeneratedMSBuildEditorConfig.editorconfig
24 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity_DesignPatterns/strategy/obj/Debug/net5.0/strategy.AssemblyInfoInputs.cache
25 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity_DesignPatterns/strategy/obj/Debug/net5.0/strategy.AssemblyInfo.cs
26 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity_DesignPatterns/strategy/obj/Debug/net5.0/strategy.csproj.CoreCompileInputs.cache
27 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity_DesignPatterns/strategy/obj/Debug/net5.0/strategy.dll
28 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity_DesignPatterns/strategy/obj/Debug/net5.0/ref/strategy.dll
29 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity_DesignPatterns/strategy/obj/Debug/net5.0/strategy.pdb
30 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity_DesignPatterns/strategy/obj/Debug/net5.0/strategy.genruntimeconfig.cache
31 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/strategy/bin/Debug/net5.0/strategy.deps.json
32 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/strategy/bin/Debug/net5.0/strategy.runtimeconfig.json
33 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/strategy/bin/Debug/net5.0/strategy.runtimeconfig.dev.json
34 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/strategy/bin/Debug/net5.0/strategy.dll
35 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/strategy/bin/Debug/net5.0/ref/strategy.dll
36 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/strategy/bin/Debug/net5.0/strategy.pdb
37 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/strategy/obj/Debug/net5.0/strategy.csproj.AssemblyReference.cache
38 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/strategy/obj/Debug/net5.0/strategy.GeneratedMSBuildEditorConfig.editorconfig
39 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/strategy/obj/Debug/net5.0/strategy.AssemblyInfoInputs.cache
40 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/strategy/obj/Debug/net5.0/strategy.AssemblyInfo.cs
41 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/strategy/obj/Debug/net5.0/strategy.csproj.CoreCompileInputs.cache
42 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/strategy/obj/Debug/net5.0/strategy.dll
43 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/strategy/obj/Debug/net5.0/ref/strategy.dll
44 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/strategy/obj/Debug/net5.0/strategy.pdb
45 | /Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/strategy/obj/Debug/net5.0/strategy.genruntimeconfig.cache
46 |
--------------------------------------------------------------------------------
/C#/strategy/obj/Debug/net5.0/strategy.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/strategy/obj/Debug/net5.0/strategy.dll
--------------------------------------------------------------------------------
/C#/strategy/obj/Debug/net5.0/strategy.genruntimeconfig.cache:
--------------------------------------------------------------------------------
1 | 920ebf393978fa55192c45cb1d247a2d664e7492
2 |
--------------------------------------------------------------------------------
/C#/strategy/obj/Debug/net5.0/strategy.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/strategy/obj/Debug/net5.0/strategy.pdb
--------------------------------------------------------------------------------
/C#/strategy/obj/Debug/netcoreapp3.0/.NETCoreApp,Version=v3.0.AssemblyAttributes.cs:
--------------------------------------------------------------------------------
1 | //
2 | using System;
3 | using System.Reflection;
4 | [assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v3.0", FrameworkDisplayName = "")]
5 |
--------------------------------------------------------------------------------
/C#/strategy/obj/Debug/netcoreapp3.0/project.razor.json:
--------------------------------------------------------------------------------
1 | {
2 | "ProjectFilePath": "/Users/borakasmer/Desktop/DevNot2-2019/strategy/strategy.csproj",
3 | "TargetFramework": "netcoreapp3.0",
4 | "TagHelpers": [],
5 | "Configuration": {
6 | "ConfigurationName": "UnsupportedRazor",
7 | "LanguageVersion": "1.0",
8 | "Extensions": [
9 | {
10 | "ExtensionName": "UnsupportedRazorExtension"
11 | }
12 | ]
13 | }
14 | }
--------------------------------------------------------------------------------
/C#/strategy/obj/Debug/netcoreapp3.0/strategy:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/strategy/obj/Debug/netcoreapp3.0/strategy
--------------------------------------------------------------------------------
/C#/strategy/obj/Debug/netcoreapp3.0/strategy.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("strategy")]
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("strategy")]
19 | [assembly: System.Reflection.AssemblyTitleAttribute("strategy")]
20 | [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
21 |
22 | // Generated by the MSBuild WriteCodeFragment class.
23 |
24 |
--------------------------------------------------------------------------------
/C#/strategy/obj/Debug/netcoreapp3.0/strategy.AssemblyInfoInputs.cache:
--------------------------------------------------------------------------------
1 | 22a9f889e4b5c66a4aed9702ad0eace03be565ef
2 |
--------------------------------------------------------------------------------
/C#/strategy/obj/Debug/netcoreapp3.0/strategy.assets.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/strategy/obj/Debug/netcoreapp3.0/strategy.assets.cache
--------------------------------------------------------------------------------
/C#/strategy/obj/Debug/netcoreapp3.0/strategy.csproj.CoreCompileInputs.cache:
--------------------------------------------------------------------------------
1 | 163bf0864c16a7e21420799448041206ce0aa5b7
2 |
--------------------------------------------------------------------------------
/C#/strategy/obj/Debug/netcoreapp3.0/strategy.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | /Users/borakasmer/Desktop/DevNot2-2019/strategy/bin/Debug/netcoreapp3.0/strategy.deps.json
2 | /Users/borakasmer/Desktop/DevNot2-2019/strategy/bin/Debug/netcoreapp3.0/strategy.runtimeconfig.json
3 | /Users/borakasmer/Desktop/DevNot2-2019/strategy/bin/Debug/netcoreapp3.0/strategy.runtimeconfig.dev.json
4 | /Users/borakasmer/Desktop/DevNot2-2019/strategy/bin/Debug/netcoreapp3.0/strategy.dll
5 | /Users/borakasmer/Desktop/DevNot2-2019/strategy/bin/Debug/netcoreapp3.0/strategy.pdb
6 | /Users/borakasmer/Desktop/DevNot2-2019/strategy/obj/Debug/netcoreapp3.0/strategy.csprojAssemblyReference.cache
7 | /Users/borakasmer/Desktop/DevNot2-2019/strategy/obj/Debug/netcoreapp3.0/strategy.AssemblyInfoInputs.cache
8 | /Users/borakasmer/Desktop/DevNot2-2019/strategy/obj/Debug/netcoreapp3.0/strategy.AssemblyInfo.cs
9 | /Users/borakasmer/Desktop/DevNot2-2019/strategy/obj/Debug/netcoreapp3.0/strategy.dll
10 | /Users/borakasmer/Desktop/DevNot2-2019/strategy/obj/Debug/netcoreapp3.0/strategy.pdb
11 | /Users/borakasmer/Desktop/DevNot2-2019/strategy/obj/Debug/netcoreapp3.0/strategy.csproj.CoreCompileInputs.cache
12 | /Users/borakasmer/Desktop/DevNot2-2019/strategy/obj/Debug/netcoreapp3.0/strategy.genruntimeconfig.cache
13 |
--------------------------------------------------------------------------------
/C#/strategy/obj/Debug/netcoreapp3.0/strategy.csprojAssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/strategy/obj/Debug/netcoreapp3.0/strategy.csprojAssemblyReference.cache
--------------------------------------------------------------------------------
/C#/strategy/obj/Debug/netcoreapp3.0/strategy.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/strategy/obj/Debug/netcoreapp3.0/strategy.dll
--------------------------------------------------------------------------------
/C#/strategy/obj/Debug/netcoreapp3.0/strategy.genruntimeconfig.cache:
--------------------------------------------------------------------------------
1 | c8cf3f7b654dc827fdacc8998097caf052d3d246
2 |
--------------------------------------------------------------------------------
/C#/strategy/obj/Debug/netcoreapp3.0/strategy.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/C#/strategy/obj/Debug/netcoreapp3.0/strategy.pdb
--------------------------------------------------------------------------------
/C#/strategy/obj/project.assets.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": 3,
3 | "targets": {
4 | "net5.0": {}
5 | },
6 | "libraries": {},
7 | "projectFileDependencyGroups": {
8 | "net5.0": []
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/DevNot2-2019/Komunity2021_DesignPatterns/strategy/strategy.csproj",
18 | "projectName": "strategy",
19 | "projectPath": "/Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/strategy/strategy.csproj",
20 | "packagesPath": "/Users/borakasmer/.nuget/packages/",
21 | "outputPath": "/Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/strategy/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 | "net5.0"
31 | ],
32 | "sources": {
33 | "https://api.nuget.org/v3/index.json": {}
34 | },
35 | "frameworks": {
36 | "net5.0": {
37 | "targetAlias": "net5.0",
38 | "projectReferences": {}
39 | }
40 | },
41 | "warningProperties": {
42 | "warnAsError": [
43 | "NU1605"
44 | ]
45 | }
46 | },
47 | "frameworks": {
48 | "net5.0": {
49 | "targetAlias": "net5.0",
50 | "imports": [
51 | "net461",
52 | "net462",
53 | "net47",
54 | "net471",
55 | "net472",
56 | "net48"
57 | ],
58 | "assetTargetFallback": true,
59 | "warn": true,
60 | "frameworkReferences": {
61 | "Microsoft.NETCore.App": {
62 | "privateAssets": "all"
63 | }
64 | },
65 | "runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/5.0.401/RuntimeIdentifierGraph.json"
66 | }
67 | }
68 | }
69 | }
--------------------------------------------------------------------------------
/C#/strategy/obj/project.nuget.cache:
--------------------------------------------------------------------------------
1 | {
2 | "version": 2,
3 | "dgSpecHash": "3mUZAF30YHkM7ypIKN0iv7K4VV5rqJN3Bc9UnE2Yr73VZQl/a/V0LyxvyrJP4HNy1C9Q0NsjdFvgGKbP1hrzSA==",
4 | "success": true,
5 | "projectFilePath": "/Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/strategy/strategy.csproj",
6 | "expectedPackageFiles": [],
7 | "logs": []
8 | }
--------------------------------------------------------------------------------
/C#/strategy/obj/strategy.csproj.nuget.cache:
--------------------------------------------------------------------------------
1 | {
2 | "version": 1,
3 | "dgSpecHash": "WKu2sZsf5h/INkZhF4e7whjEYdXtzYLEpTsfylr/OPA/iyrDeDt8PyhC6ovJYI2K29qPL/9HLZ111jd5ctMLEA==",
4 | "success": true
5 | }
--------------------------------------------------------------------------------
/C#/strategy/obj/strategy.csproj.nuget.dgspec.json:
--------------------------------------------------------------------------------
1 | {
2 | "format": 1,
3 | "restore": {
4 | "/Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/strategy/strategy.csproj": {}
5 | },
6 | "projects": {
7 | "/Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/strategy/strategy.csproj": {
8 | "version": "1.0.0",
9 | "restore": {
10 | "projectUniqueName": "/Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/strategy/strategy.csproj",
11 | "projectName": "strategy",
12 | "projectPath": "/Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/strategy/strategy.csproj",
13 | "packagesPath": "/Users/borakasmer/.nuget/packages/",
14 | "outputPath": "/Users/borakasmer/Desktop/DevNot2-2019/Komunity2021_DesignPatterns/strategy/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 | "net5.0"
24 | ],
25 | "sources": {
26 | "https://api.nuget.org/v3/index.json": {}
27 | },
28 | "frameworks": {
29 | "net5.0": {
30 | "targetAlias": "net5.0",
31 | "projectReferences": {}
32 | }
33 | },
34 | "warningProperties": {
35 | "warnAsError": [
36 | "NU1605"
37 | ]
38 | }
39 | },
40 | "frameworks": {
41 | "net5.0": {
42 | "targetAlias": "net5.0",
43 | "imports": [
44 | "net461",
45 | "net462",
46 | "net47",
47 | "net471",
48 | "net472",
49 | "net48"
50 | ],
51 | "assetTargetFallback": true,
52 | "warn": true,
53 | "frameworkReferences": {
54 | "Microsoft.NETCore.App": {
55 | "privateAssets": "all"
56 | }
57 | },
58 | "runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/5.0.401/RuntimeIdentifierGraph.json"
59 | }
60 | }
61 | }
62 | }
63 | }
--------------------------------------------------------------------------------
/C#/strategy/obj/strategy.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.9.0
11 |
12 |
13 |
14 |
15 |
16 |
17 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
18 |
19 |
--------------------------------------------------------------------------------
/C#/strategy/obj/strategy.csproj.nuget.g.targets:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
5 |
6 |
--------------------------------------------------------------------------------
/C#/strategy/strategy.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net5.0
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/C#/strategy/strategy.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 15
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "strategy", "strategy.csproj", "{436F9116-F1CE-4DF1-A8C9-AE9F70CA0621}"
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 | {436F9116-F1CE-4DF1-A8C9-AE9F70CA0621}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
13 | {436F9116-F1CE-4DF1-A8C9-AE9F70CA0621}.Debug|Any CPU.Build.0 = Debug|Any CPU
14 | {436F9116-F1CE-4DF1-A8C9-AE9F70CA0621}.Release|Any CPU.ActiveCfg = Release|Any CPU
15 | {436F9116-F1CE-4DF1-A8C9-AE9F70CA0621}.Release|Any CPU.Build.0 = Release|Any CPU
16 | EndGlobalSection
17 | EndGlobal
18 |
--------------------------------------------------------------------------------
/Design Pattern.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/borakasmer/OOPWithGoAndCSharp/70236d38c1e00aa260923e2d6ec2da466ac099dd/Design Pattern.pdf
--------------------------------------------------------------------------------
/Go/ChainResponsibility/.idea/.gitignore:
--------------------------------------------------------------------------------
1 | # Default ignored files
2 | /shelf/
3 | /workspace.xml
4 | # Datasource local storage ignored files
5 | /dataSources/
6 | /dataSources.local.xml
7 | # Editor-based HTTP Client requests
8 | /httpRequests/
9 |
--------------------------------------------------------------------------------
/Go/ChainResponsibility/.idea/ChainResponsibility.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Go/ChainResponsibility/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Go/ChainResponsibility/go.mod:
--------------------------------------------------------------------------------
1 | module ChainResponsibility
2 |
3 | go 1.17
4 |
--------------------------------------------------------------------------------
/Go/ChainResponsibility/main.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | func main() {
4 | var mainProcess = NewProcess()
5 | /*mainProcess.nextMethodName = "CallCrm"
6 | mainProcess.backMethodName = "BackCrm"*/
7 |
8 | mainProcess.nextMethodName="NextKommunity"
9 | mainProcess.backMethodName="BackKommunity"
10 | mainProcess.ProcessCalculation(35, 5)
11 | }
12 |
--------------------------------------------------------------------------------
/Go/ChainResponsibility/process.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | import (
4 | "errors"
5 | "fmt"
6 | "reflect"
7 | )
8 |
9 | type Process struct {
10 | BaseProcess
11 | }
12 |
13 | func NewProcess() *Process {
14 | proc := new(Process)
15 | return proc
16 | }
17 |
18 | func (p *Process) NextMethod() {
19 | var pm ProcessMethods
20 | reflect.ValueOf(&pm).MethodByName(p.nextMethodName).Call([]reflect.Value{})
21 | }
22 |
23 | func (p *Process) BackMethod() {
24 | var pm ProcessMethods
25 | reflect.ValueOf(&pm).MethodByName(p.backMethodName).Call([]reflect.Value{})
26 | }
27 |
28 | func (p *Process) ProcessCalculation(num1 int,num2 int) {
29 |
30 | /*
31 | .
32 | .
33 | ....ToDoSomething()
34 | */
35 | answer, err := Divided(num1, num2)
36 | if err != nil {
37 | p.BackMethod()
38 | return
39 | }
40 | fmt.Println("Answer : ", answer)
41 | p.NextMethod()
42 | }
43 |
44 | func Divided(num1 int, num2 int) (int, error) {
45 | if num2 == 0 {
46 | return -1, errors.New("Sıfır(0) bir sayı bölünmez")
47 | }
48 | return num1 / num2, nil
49 | }
--------------------------------------------------------------------------------
/Go/ChainResponsibility/processMethods.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | import "fmt"
4 |
5 | type ProcessMethods struct{}
6 |
7 | func(pm *ProcessMethods) CallCrm(){
8 | fmt.Println("Call Crm")
9 | }
10 | func(pm *ProcessMethods) CallFinance(){
11 | fmt.Println("Call Finance")
12 | }
13 | func(pm *ProcessMethods) CallService(){
14 | fmt.Println("Call Service")
15 | }
16 | func(pm *ProcessMethods) BackCrm(){
17 | fmt.Println("Back Crm")
18 | }
19 | func(pm *ProcessMethods) BackFinance(){
20 | fmt.Println("Back Finance")
21 | }
22 | func(pm *ProcessMethods) BackService(){
23 | fmt.Println("Back Service")
24 | }
25 |
26 | func(pm * ProcessMethods) NextKommunity(){
27 | fmt.Println("Next Kommunity")
28 | }
29 | func(pm *ProcessMethods) BackKommunity(){
30 | fmt.Println("Back Kommunity")
31 | }
32 |
--------------------------------------------------------------------------------
/Go/ChainResponsibility/workProcess.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | type WorkProcess interface {
4 | NextMethod()
5 | BackMethod()
6 | }
7 |
8 | type BaseProcess struct{
9 | nextMethodName string
10 | backMethodName string
11 | }
--------------------------------------------------------------------------------
/Go/InterfaceSegregation/.idea/.gitignore:
--------------------------------------------------------------------------------
1 | # Default ignored files
2 | /shelf/
3 | /workspace.xml
4 | # Datasource local storage ignored files
5 | /dataSources/
6 | /dataSources.local.xml
7 | # Editor-based HTTP Client requests
8 | /httpRequests/
9 |
--------------------------------------------------------------------------------
/Go/InterfaceSegregation/.idea/InterfaceSegregation.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Go/InterfaceSegregation/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Go/InterfaceSegregation/go.mod:
--------------------------------------------------------------------------------
1 | module InterfaceSegregation
2 |
3 | go 1.17
4 |
--------------------------------------------------------------------------------
/Go/InterfaceSegregation/main.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | import "fmt"
4 |
5 | func main() {
6 | var webService = NewWebService()
7 | OperateWithWebService(webService)
8 |
9 | var mobileService = NewMobileService()
10 | OperateWithMobileService(mobileService)
11 | }
12 |
13 | func OperateWithWebService(serv WService) {
14 | fmt.Println("Web UserID:", serv.GetUserId())
15 | }
16 |
17 | func OperateWithMobileService(serv Mservice) {
18 | fmt.Println("Mobile Device ID:", serv.GetMobileDeviceId())
19 | }
20 |
--------------------------------------------------------------------------------
/Go/InterfaceSegregation/mobileService.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | type MobileService struct{}
4 |
5 | func NewMobileService() *MobileService{
6 | return new(MobileService)
7 | }
8 |
9 | func (ws *MobileService) CheckToken() bool{
10 | return true
11 | }
12 |
13 | func (ws *MobileService) GetUserId() string{
14 | return "123456"
15 | }
16 |
17 | func (ws *MobileService) GetMobileDeviceId() string{
18 | return "352698276144152"
19 | }
20 |
21 | func (ws *MobileService) CheckMobileVersion() bool{
22 | return true
23 | }
24 |
25 | func (ws *MobileService) GetMobilePlatform() string{
26 | return "ios"
27 | }
--------------------------------------------------------------------------------
/Go/InterfaceSegregation/service.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | type WService interface{
4 | CheckToken() bool
5 | GetUserId() string
6 | }
7 |
8 | type Mservice interface {
9 | WService
10 | GetMobileDeviceId() string
11 | CheckMobileVersion() bool
12 | GetMobilePlatform() string
13 | }
14 |
--------------------------------------------------------------------------------
/Go/InterfaceSegregation/webService.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | type WebService struct{}
4 |
5 | func NewWebService() *WebService{
6 | return new(WebService)
7 | }
8 |
9 | func (ws *WebService) CheckToken() bool{
10 | return true
11 | }
12 |
13 | func (ws *WebService) GetUserId() string{
14 | return "123456"
15 | }
--------------------------------------------------------------------------------
/Go/Interpreter/.idea/.gitignore:
--------------------------------------------------------------------------------
1 | # Default ignored files
2 | /shelf/
3 | /workspace.xml
4 | # Editor-based HTTP Client requests
5 | /httpRequests/
6 | # Datasource local storage ignored files
7 | /dataSources/
8 | /dataSources.local.xml
9 |
--------------------------------------------------------------------------------
/Go/Interpreter/.idea/Interpreter.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Go/Interpreter/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Go/Interpreter/and3Expression.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | type And3Expression struct {
4 | Exp1 Expression
5 | Exp2 Expression
6 | Exp3 Expression
7 | }
8 |
9 | func NewAnd3Expression(_exp1 Expression, _exp2 Expression, _exp3 Expression) *And3Expression {
10 | and3Expressin := new(And3Expression)
11 | and3Expressin.Exp1 = _exp1
12 | and3Expressin.Exp2 = _exp2
13 | and3Expressin.Exp3=_exp3
14 | return and3Expressin
15 | }
16 |
17 | func (ae *And3Expression) Interpret(content string) bool {
18 | return ae.Exp1.Interpret(content) && ae.Exp2.Interpret(content) && ae.Exp3.Interpret(content)
19 | }
20 |
--------------------------------------------------------------------------------
/Go/Interpreter/andExpression.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | type AndExpression struct {
4 | Exp1 Expression
5 | Exp2 Expression
6 | }
7 |
8 | func NewAndExpression(_exp1 Expression, _exp2 Expression) *AndExpression {
9 | andExpressin := new(AndExpression)
10 | andExpressin.Exp1 = _exp1
11 | andExpressin.Exp2 = _exp2
12 | return andExpressin
13 | }
14 |
15 | func (ae *AndExpression) Interpret(content string) bool {
16 | return ae.Exp1.Interpret(content) && ae.Exp2.Interpret(content)
17 | }
18 |
--------------------------------------------------------------------------------
/Go/Interpreter/checkExpression.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | import (
4 | "strings"
5 | )
6 |
7 | type CheckExpression struct {
8 | Word string
9 | }
10 |
11 | func NewCheckExpression(word string) *CheckExpression {
12 | checkExpressin := new(CheckExpression)
13 | return checkExpressin
14 | }
15 |
16 | func (ce *CheckExpression) Interpret(content string) bool {
17 | return strings.Contains(strings.ToLower(content), strings.ToLower(ce.Word))
18 | }
19 |
--------------------------------------------------------------------------------
/Go/Interpreter/expression.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | type Expression interface{
4 | Interpret(content string) bool
5 | }
6 |
7 |
--------------------------------------------------------------------------------
/Go/Interpreter/go.mod:
--------------------------------------------------------------------------------
1 | module Interpreter
2 |
3 | go 1.17
4 |
--------------------------------------------------------------------------------
/Go/Interpreter/interpretPattern.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | type Interpret interface {
4 | GetMaleExpression() Expression
5 | GetFemaleExpression() []Expression
6 | }
7 |
8 | type InterpretPattern struct{}
9 |
10 | var araba = NewCheckExpression("araba")
11 | var futbol = NewCheckExpression("futbol")
12 |
13 | var anne = NewCheckExpression("anne")
14 | var bebe = NewCheckExpression("bebe")
15 | var sürt = NewCheckExpression("sürt")
16 | var çiz = NewCheckExpression("çiz")
17 |
18 | var spor = NewCheckExpression("spor")
19 | var vur = NewCheckExpression("vur")
20 |
21 | func (me *InterpretPattern) GetMaleExpression() Expression {
22 | return NewOrExpression(futbol, araba)
23 | }
24 |
25 | func (fe *InterpretPattern) GetFemaleExpression() []Expression {
26 | var ListExpression = make([]Expression, 0)
27 | var andEx1 = NewAndExpression(sürt, araba)
28 | var andEx2 = NewAndExpression(çiz, araba)
29 | var orEx1 = NewOrExpression(anne, bebe)
30 | var andEx3 = NewAnd3Expression(spor, araba, vur)
31 |
32 | ListExpression = append(ListExpression, andEx1, andEx2, orEx1, andEx3)
33 |
34 | return ListExpression
35 | }
36 |
--------------------------------------------------------------------------------
/Go/Interpreter/main.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | import "fmt"
4 |
5 | func main() {
6 | Description1 := "Futbol maçlarını çok sevsem de, genelde izlemiyorum"
7 | Description2 := "Bebeğimin sağlığı için anne sütüne çok önem veriyorum."
8 | Description3 := "Spor'a giderken arabayı vurdum."
9 |
10 | interPattern := InterpretPattern{}
11 | fmt.Print(Description1 + " (Erkek):")
12 | fmt.Println(interPattern.GetMaleExpression().Interpret(Description1))
13 |
14 | var expResult = false
15 | fmt.Print(Description2 + " (Bayan):")
16 | for _, exp := range interPattern.GetFemaleExpression() {
17 | if exp.Interpret(Description2) {
18 | expResult = true
19 | break
20 | }
21 | }
22 | fmt.Println(expResult)
23 |
24 | var expResult2 = false
25 | fmt.Print(Description3 + " (Bayan):")
26 | for _, exp := range interPattern.GetFemaleExpression() {
27 | if exp.Interpret(Description3) {
28 | expResult2 = true
29 | break
30 | }
31 | }
32 | fmt.Println(expResult2)
33 | }
34 |
--------------------------------------------------------------------------------
/Go/Interpreter/orExpression.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | type OrExpression struct {
4 | Exp1 Expression
5 | Exp2 Expression
6 | }
7 |
8 | func NewOrExpression(_exp1 Expression, _exp2 Expression) *OrExpression {
9 | oe := new(OrExpression)
10 | oe.Exp1 = _exp1
11 | oe.Exp2 = _exp2
12 | return oe
13 | }
14 |
15 | func (oe *OrExpression) Interpret(content string) bool {
16 | return oe.Exp1.Interpret(content) || oe.Exp2.Interpret(content)
17 | }
18 |
--------------------------------------------------------------------------------
/Go/Prototype/.idea/.gitignore:
--------------------------------------------------------------------------------
1 | # Default ignored files
2 | /shelf/
3 | /workspace.xml
4 | # Editor-based HTTP Client requests
5 | /httpRequests/
6 | # Datasource local storage ignored files
7 | /dataSources/
8 | /dataSources.local.xml
9 |
--------------------------------------------------------------------------------
/Go/Prototype/.idea/Prototype.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Go/Prototype/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Go/Prototype/africaTwin.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | import (
4 | "github.com/jinzhu/copier"
5 | "time"
6 | )
7 |
8 | type AfricaTwin struct {
9 | Height, WarrantyYear, Km, Engine, Year int
10 | Weight, Price float64
11 | Color string
12 | BaseVehicle
13 | }
14 |
15 | func NewAfricaTwin() *AfricaTwin {
16 | var afr = AfricaTwin{WarrantyYear: 3, Km: 0, Weight: 245, Engine: 1000, Year: time.Now().Year(), Height: 85}
17 | return &afr
18 | }
19 |
20 | func (afr *AfricaTwin) Clone() VehiclePrototype {
21 | //var clone VehiclePrototype = new(AfricaTwin)
22 | var clone = AfricaTwin{}
23 | //clone := afr
24 |
25 | //copier.Copy(&clone, &afr)
26 | copier.CopyWithOption(&clone, &afr, copier.Option{IgnoreEmpty: true, DeepCopy: true})
27 |
28 | return &clone
29 | }
30 |
--------------------------------------------------------------------------------
/Go/Prototype/cbr650R.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | //go get github.com/jinzhu/copier
4 | import (
5 | "github.com/jinzhu/copier"
6 | "time"
7 | )
8 |
9 | type Cbr650R struct {
10 | Height, WarrantyYear, Km, Engine, Year int
11 | Weight, Price float64
12 | Color string
13 | BaseVehicle
14 | }
15 |
16 | func NewCbr650R() *Cbr650R {
17 | var cbr = Cbr650R{WarrantyYear: 4, Km: 0, Weight: 207, Engine: 650, Year: time.Now().Year(), Height: 65}
18 | return &cbr
19 | }
20 |
21 | func (cbr *Cbr650R) Clone() VehiclePrototype {
22 | //var clone VehiclePrototype = new(Cbr650R)
23 | var clone = Cbr650R{}
24 | //clone := cbr
25 |
26 | //copier.Copy(&clone, &cbr)
27 | copier.CopyWithOption(&clone, &cbr, copier.Option{IgnoreEmpty: true, DeepCopy: true})
28 |
29 | return &clone
30 | }
31 |
--------------------------------------------------------------------------------
/Go/Prototype/go.mod:
--------------------------------------------------------------------------------
1 | module Prototype
2 |
3 | go 1.17
4 |
5 | require github.com/jinzhu/copier v0.3.2 // indirect
6 |
--------------------------------------------------------------------------------
/Go/Prototype/go.sum:
--------------------------------------------------------------------------------
1 | github.com/jinzhu/copier v0.3.2 h1:QdBOCbaouLDYaIPFfi1bKv5F5tPpeTwXe4sD0jqtz5w=
2 | github.com/jinzhu/copier v0.3.2/go.mod h1:24xnZezI2Yqac9J61UC6/dG/k76ttpq0DdJI3QmUvro=
3 |
--------------------------------------------------------------------------------
/Go/Prototype/main.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | import (
4 | "fmt"
5 | "reflect"
6 | "strconv"
7 | "time"
8 | )
9 |
10 | func main() {
11 | var vehicleList = make([]VehiclePrototype, 0)
12 |
13 | //CBR650R
14 | for i := 0; i < 10; i++ {
15 | vehicle, isHave := IsExists(reflect.TypeOf(&Cbr650R{}).String(), vehicleList)
16 | var newCbr *Cbr650R
17 | if !isHave {
18 | newCbr = NewCbr650R()
19 | } else {
20 | newCbr, _ = vehicle.Clone().(*Cbr650R)
21 | }
22 | newCbr.Year = time.Now().Year()
23 | newCbr.ChassisNumber = strconv.Itoa(i) + "Cbr650"
24 | vehicleList = append(vehicleList, newCbr)
25 | }
26 |
27 | //AfricaTwin
28 | for i := 0; i < 10; i++ {
29 | vehicle, isHave := IsExists(reflect.TypeOf(&AfricaTwin{}).String(), vehicleList)
30 | var newAfr *AfricaTwin
31 | if !isHave {
32 | newAfr = NewAfricaTwin()
33 | } else {
34 | newAfr, _ = vehicle.Clone().(*AfricaTwin)
35 | }
36 | newAfr.Year = time.Now().Year()
37 | newAfr.ChassisNumber = strconv.Itoa(i) + "AfricaTwin"
38 | vehicleList = append(vehicleList, newAfr)
39 | }
40 |
41 | //Final List
42 | for _, motor := range vehicleList {
43 | switch reflect.TypeOf(motor).String() {
44 | case reflect.TypeOf(&Cbr650R{}).String():
45 | cb, _ := motor.(*Cbr650R)
46 | fmt.Println("Motor ChassisNumber: ", cb.ChassisNumber)
47 | case reflect.TypeOf(&AfricaTwin{}).String():
48 | af, _ := motor.(*AfricaTwin)
49 | fmt.Println("Motor ChassisNumber: ", af.ChassisNumber)
50 | }
51 | }
52 |
53 | }
54 |
55 | func IsExists(kind string, vehicleList []VehiclePrototype) (VehiclePrototype, bool) {
56 | for _, vehicle := range vehicleList {
57 | if kind == reflect.TypeOf(vehicle).String() {
58 | return vehicle, true
59 | }
60 | }
61 | return nil, false
62 | }
63 |
--------------------------------------------------------------------------------
/Go/Prototype/vehiclePrototype.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | type VehiclePrototype interface {
4 | Clone() VehiclePrototype
5 | }
6 |
7 | type BaseVehicle struct {
8 | ChassisNumber string
9 | }
10 |
11 |
--------------------------------------------------------------------------------
/Go/Strategy/.idea/.gitignore:
--------------------------------------------------------------------------------
1 | # Default ignored files
2 | /shelf/
3 | /workspace.xml
4 | # Editor-based HTTP Client requests
5 | /httpRequests/
6 | # Datasource local storage ignored files
7 | /dataSources/
8 | /dataSources.local.xml
9 |
--------------------------------------------------------------------------------
/Go/Strategy/.idea/Strategy.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Go/Strategy/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Go/Strategy/go.mod:
--------------------------------------------------------------------------------
1 | module Strategy
2 |
3 | go 1.17
4 |
--------------------------------------------------------------------------------
/Go/Strategy/humanResource.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | import "fmt"
4 |
5 | type HumanResource struct{
6 | }
7 |
8 | func (hr *HumanResource) SendMail(body string, cc string){
9 | fmt.Println("HumanResource Mail Send :",body)
10 | }
11 |
--------------------------------------------------------------------------------
/Go/Strategy/it.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | import "fmt"
4 |
5 | type IT struct{
6 | }
7 |
8 | func (hr *IT) SendMail(body string, cc string){
9 | fmt.Println("IT Mail Send :",body)
10 | }
11 |
--------------------------------------------------------------------------------
/Go/Strategy/mail.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | type Mail interface {
4 | SendMail(body string, cc string)
5 | }
6 |
--------------------------------------------------------------------------------
/Go/Strategy/main.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | func main() {
4 | /*var postman = NewPostman(new(IT))
5 | postman.SendMail("Publish yapalım", "bora@borakasmer.com")
6 |
7 | var postman2 = NewPostman(new(HumanResource))
8 | postman2.SendMail("Maaşa zam, işe son", "bora@borakasmer.com")*/
9 |
10 | var postman3=NewPostman(new(Student))
11 | postman3.SendMail("Studentlar seminere bayıldı!","bora@borakasmer.com")
12 | }
13 |
--------------------------------------------------------------------------------
/Go/Strategy/manager.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | import "fmt"
4 |
5 | type Manager struct{
6 | }
7 |
8 | func (hr *Manager) SendMail(body string, cc string){
9 | fmt.Println("Manager Mail Send :",body)
10 | }
11 |
--------------------------------------------------------------------------------
/Go/Strategy/postman.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | type Postman struct {
4 | _mail Mail
5 | }
6 |
7 | func NewPostman(mail Mail) *Postman {
8 | postman := new(Postman)
9 | postman._mail = mail
10 | return postman
11 | }
12 |
13 | func (p *Postman) SendMail(body string, cc string) {
14 | p._mail.SendMail(body, cc)
15 | }
16 |
--------------------------------------------------------------------------------
/Go/Strategy/student.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | import "fmt"
4 |
5 | type Student struct{
6 | }
7 |
8 | func (hr *Student) SendMail(body string, cc string){
9 | fmt.Println("Student Mail Send :",body)
10 | }
11 |
--------------------------------------------------------------------------------
/Go/Strategy/worker.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | import "fmt"
4 |
5 | type Worker struct{
6 | }
7 |
8 | func (hr *Worker) SendMail(body string, cc string){
9 | fmt.Println("Worker Mail Send :",body)
10 | }
--------------------------------------------------------------------------------