├── .idea └── .idea.DesignPatternSOLID │ └── .idea │ ├── .gitignore │ ├── encodings.xml │ ├── git_toolbox_prj.xml │ ├── indexLayout.xml │ └── vcs.xml ├── 1.S ├── Problem.cs └── Solution.cs ├── 2.O ├── Problem.cs ├── ProblemTwo.cs ├── Solution.cs ├── SolutionThree.cs └── SolutionTwo.cs ├── 3.L ├── Problem.cs └── Solution.cs ├── 4.I ├── Problem.cs └── Solution.cs ├── 5.D ├── Problem.cs └── Solution.cs ├── DesignPatternSOLID.csproj ├── DesignPatternSOLID.sln ├── Program.cs ├── bin └── Debug │ └── net6.0 │ ├── DesignPatternSOLID.deps.json │ ├── DesignPatternSOLID.dll │ ├── DesignPatternSOLID.exe │ ├── DesignPatternSOLID.pdb │ └── DesignPatternSOLID.runtimeconfig.json └── obj ├── Debug ├── net6.0 │ ├── .NETCoreApp,Version=v6.0.AssemblyAttributes.cs │ ├── DesignPatternSOLID.AssemblyInfo.cs │ ├── DesignPatternSOLID.AssemblyInfoInputs.cache │ ├── DesignPatternSOLID.GeneratedMSBuildEditorConfig.editorconfig │ ├── DesignPatternSOLID.assets.cache │ ├── DesignPatternSOLID.csproj.AssemblyReference.cache │ ├── DesignPatternSOLID.csproj.CoreCompileInputs.cache │ ├── DesignPatternSOLID.csproj.FileListAbsolute.txt │ ├── DesignPatternSOLID.dll │ ├── DesignPatternSOLID.genruntimeconfig.cache │ ├── DesignPatternSOLID.pdb │ ├── apphost.exe │ ├── ref │ │ └── DesignPatternSOLID.dll │ └── refint │ │ └── DesignPatternSOLID.dll └── netcoreapp3.1 │ ├── .NETCoreApp,Version=v3.1.AssemblyAttributes.cs │ ├── DesignPatternSOLID.AssemblyInfo.cs │ ├── DesignPatternSOLID.AssemblyInfoInputs.cache │ ├── DesignPatternSOLID.GeneratedMSBuildEditorConfig.editorconfig │ ├── DesignPatternSOLID.assets.cache │ └── DesignPatternSOLID.csproj.AssemblyReference.cache ├── DesignPatternSOLID.csproj.nuget.dgspec.json ├── DesignPatternSOLID.csproj.nuget.g.props ├── DesignPatternSOLID.csproj.nuget.g.targets ├── project.assets.json ├── project.nuget.cache ├── project.packagespec.json └── rider.project.restore.info /.idea/.idea.DesignPatternSOLID/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | # Rider ignored files 5 | /modules.xml 6 | /projectSettingsUpdater.xml 7 | /contentModel.xml 8 | /.idea.DesignPatternSOLID.iml 9 | # Editor-based HTTP Client requests 10 | /httpRequests/ 11 | # Datasource local storage ignored files 12 | /dataSources/ 13 | /dataSources.local.xml 14 | -------------------------------------------------------------------------------- /.idea/.idea.DesignPatternSOLID/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /.idea/.idea.DesignPatternSOLID/.idea/git_toolbox_prj.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 14 | 15 | -------------------------------------------------------------------------------- /.idea/.idea.DesignPatternSOLID/.idea/indexLayout.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.idea/.idea.DesignPatternSOLID/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /1.S/Problem.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.IO; 3 | 4 | namespace DesignPatternSOLID._1.S 5 | { 6 | //here we have a class with a method to sum two number and also a method to log those operations. Two different responsabilities 7 | class Problem 8 | { 9 | public int Sum(int numberOne, int numberTwo) 10 | { 11 | int result = numberOne + numberTwo; 12 | LogCalculations("Sum Operation. Number one: " + numberOne + ", Number two: " + numberTwo + ". Result: " + result); 13 | return result; 14 | } 15 | 16 | private void LogCalculations(string message) 17 | { 18 | string path = Environment.GetFolderPath(Environment.SpecialFolder.Desktop) + @"\log.txt"; 19 | using (StreamWriter sw = File.CreateText(path)) 20 | { 21 | sw.WriteLine(message); 22 | } 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /1.S/Solution.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.IO; 3 | 4 | namespace DesignPatternSOLID._1.S 5 | { 6 | class Solution 7 | { 8 | public int Sum(int numberOne, int numberTwo) 9 | { 10 | int result = numberOne + numberTwo; 11 | Logging.Log("Sum Operation. Number one: " + numberOne + ", Number two: " + numberTwo + ". Result: " + result); 12 | return result; 13 | } 14 | } 15 | public static class Logging 16 | { 17 | public static void Log(string message) 18 | { 19 | string path = Environment.GetFolderPath(Environment.SpecialFolder.Desktop) + @"\log.txt"; 20 | using (StreamWriter sw = File.CreateText(path)) 21 | { 22 | sw.WriteLine(message); 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /2.O/Problem.cs: -------------------------------------------------------------------------------- 1 | namespace DesignPatternSOLID._2.O 2 | { 3 | //here we have a class does math calculation with 3 operations, how would we do if need to include others? 4 | public class MathCalculate 5 | { 6 | public double Calculate(double numberA, double numberB, CalculationType calculationType) 7 | { 8 | double result = 0; 9 | switch (calculationType) 10 | { 11 | case CalculationType.Addition: 12 | result = numberA + numberB; 13 | break; 14 | case CalculationType.Multiplication: 15 | result = numberA * numberB; 16 | break; 17 | case CalculationType.Subtraction: 18 | result = numberA - numberB; 19 | break; 20 | } 21 | return result; 22 | } 23 | } 24 | 25 | public enum CalculationType 26 | { 27 | Addition, 28 | Multiplication, 29 | Subtraction 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /2.O/ProblemTwo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Net; 3 | using System.Net.Mail; 4 | 5 | namespace DesignPatternSOLID._2.O 6 | { 7 | public class MailSender 8 | { 9 | 10 | public void SendMail(string subject, string body, string recipient) 11 | { 12 | SmtpClient smtpClient = new SmtpClient("smtp.gmail.com") 13 | { 14 | Port = 587, 15 | Credentials = new NetworkCredential("email", "password"), 16 | EnableSsl = true, 17 | }; 18 | 19 | //validate recipient's domain 20 | if (!recipient.EndsWith("@thiago.com")) 21 | { 22 | Console.WriteLine("Mail destinatary not in the domain"); 23 | return; 24 | } 25 | 26 | //validate body 27 | if (string.IsNullOrEmpty(body)) 28 | { 29 | Console.WriteLine("Mail body is empty."); 30 | return; 31 | } 32 | 33 | smtpClient.SendAsync("thiago@thiago.com", recipient, subject, body, null); 34 | } 35 | } 36 | 37 | } 38 | -------------------------------------------------------------------------------- /2.O/Solution.cs: -------------------------------------------------------------------------------- 1 | namespace DesignPatternSOLID._2.O 2 | { 3 | public abstract class BaseCalculation 4 | { 5 | public abstract double Calculate(double numberA, double numberB); 6 | } 7 | 8 | public class AdditionCalculation : BaseCalculation 9 | { 10 | public override double Calculate(double numberA, double numberB) 11 | { 12 | return numberA + numberB; 13 | } 14 | } 15 | public class MultiplicationCalculation : BaseCalculation 16 | { 17 | public override double Calculate(double numberA, double numberB) 18 | { 19 | return numberA * numberB; 20 | } 21 | } 22 | 23 | public class SubtractionCalculation : BaseCalculation 24 | { 25 | public override double Calculate(double numberA, double numberB) 26 | { 27 | return numberA - numberB; 28 | } 29 | } 30 | 31 | public class DivisionCalculation : BaseCalculation 32 | { 33 | public override double Calculate(double numberA, double numberB) 34 | { 35 | return numberA / numberB; 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /2.O/SolutionThree.cs: -------------------------------------------------------------------------------- 1 | namespace DesignPatternSOLID._2.O 2 | { 3 | public static class SolutionThree 4 | { 5 | public static string ThiagoString(this string normalString) 6 | { 7 | return "Thiago's String is: " + normalString; 8 | } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /2.O/SolutionTwo.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Net.Mail; 3 | using System.Net; 4 | using System.Linq; 5 | 6 | namespace DesignPatternSOLID._2.O 7 | { 8 | public class MailClass 9 | { 10 | public string Subject { get; set; } 11 | public string Body { get; set; } 12 | public string Recipient { get; set; } 13 | } 14 | 15 | public interface IValidation 16 | { 17 | bool Validate(T mail); 18 | } 19 | 20 | 21 | public class DomainValidation : IValidation 22 | { 23 | public bool Validate(MailClass mail) 24 | { 25 | if (mail.Recipient.ToString().EndsWith("@thiago.com")) 26 | return false; 27 | 28 | return true; 29 | } 30 | } 31 | public class BodyValidation : IValidation 32 | { 33 | public bool Validate(MailClass mail) 34 | { 35 | if (string.IsNullOrEmpty(mail.Body)) 36 | return false; 37 | 38 | return true; 39 | } 40 | } 41 | 42 | public class Main 43 | { 44 | public void SendMail(MailClass mailClass, List> validations) 45 | { 46 | List validationsResult = new List(); 47 | validations.ForEach(x => validationsResult.Add(x.Validate(mailClass))); 48 | 49 | if (!validationsResult.Any(x => !x)) 50 | { 51 | SmtpClient smtpClient = new SmtpClient("smtp.gmail.com") 52 | { 53 | Port = 587, 54 | Credentials = new NetworkCredential("email", "password"), 55 | EnableSsl = true, 56 | }; 57 | 58 | smtpClient.SendAsync("thiago@thiago.com", mailClass.Recipient, mailClass.Subject, mailClass.Body, null); 59 | }; 60 | } 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /3.L/Problem.cs: -------------------------------------------------------------------------------- 1 | namespace DesignPatternSOLID._3.L.Problem 2 | { 3 | public class AdditionCalculation 4 | { 5 | public AdditionCalculation(int numberA, int numberB) 6 | { 7 | NumberB = numberB; 8 | NumberA = numberA; 9 | } 10 | public int NumberA { get; set; } 11 | public int NumberB { get; set; } 12 | public virtual int Calculate() 13 | { 14 | return NumberA + NumberB; 15 | } 16 | } 17 | public class SubtractionCalculation : AdditionCalculation 18 | { 19 | public SubtractionCalculation(int numberA, int numberB) : base(numberA, numberB) 20 | { 21 | } 22 | 23 | public new int Calculate() 24 | { 25 | return NumberA - NumberB; 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /3.L/Solution.cs: -------------------------------------------------------------------------------- 1 | namespace DesignPatternSOLID._3.L 2 | { 3 | public abstract class MathCalculate 4 | { 5 | public MathCalculate(int numberA, int numberB) 6 | { 7 | NumberB = numberB; 8 | NumberA = numberA; 9 | } 10 | public int NumberA { get; set; } 11 | public int NumberB { get; set; } 12 | 13 | public abstract int Calculate(); 14 | } 15 | public class Addition : MathCalculate 16 | { 17 | public Addition(int numberA, int numberB) : base(numberA, numberB) 18 | { 19 | } 20 | 21 | public override int Calculate() 22 | { 23 | return NumberA + NumberB; 24 | } 25 | } 26 | public class Subtraction : MathCalculate 27 | { 28 | public Subtraction(int numberA, int numberB) : base(numberA, numberB) 29 | { 30 | } 31 | 32 | public override int Calculate() 33 | { 34 | return NumberA - NumberB; 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /4.I/Problem.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace DesignPatternSOLID._4.I.Problem 4 | { 5 | public interface IAnimal 6 | { 7 | void Walk(); 8 | void Breath(); 9 | void Eat(); 10 | void Argument(); 11 | } 12 | 13 | public class Human : IAnimal 14 | { 15 | public void Argument() 16 | { 17 | // Argumentation 18 | } 19 | 20 | public void Breath() 21 | { 22 | // Breathing 23 | } 24 | 25 | public void Eat() 26 | { 27 | // Eating 28 | } 29 | 30 | public void Walk() 31 | { 32 | // Walk 33 | } 34 | } 35 | public class Whale : IAnimal 36 | { 37 | public void Argument() 38 | { 39 | // Argumentation 40 | } 41 | 42 | public void Breath() 43 | { 44 | // Breathing 45 | } 46 | 47 | public void Eat() 48 | { 49 | // Eating 50 | } 51 | 52 | public void Walk() 53 | { 54 | throw new NotImplementedException(); 55 | } 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /4.I/Solution.cs: -------------------------------------------------------------------------------- 1 | namespace DesignPatternSOLID._4.I 2 | { 3 | 4 | public interface IFeed { 5 | void Eat(); 6 | } 7 | 8 | public interface IArgument 9 | { 10 | void Argument(); 11 | } 12 | 13 | public interface IGroundMoviment 14 | { 15 | void Walk(); 16 | } 17 | public interface IAirMoviment 18 | { 19 | void Fly(); 20 | } 21 | public interface IWaterMoviment 22 | { 23 | void Swimm(); 24 | } 25 | 26 | public class Human : IGroundMoviment, IArgument, IFeed 27 | { 28 | public void Argument() 29 | { 30 | // Argument 31 | } 32 | 33 | public void Eat() 34 | { 35 | // Eat 36 | } 37 | 38 | public void Walk() 39 | { 40 | // Walk 41 | } 42 | } 43 | public class Whale : IWaterMoviment, IFeed 44 | { 45 | public void Eat() 46 | { 47 | // Eat 48 | } 49 | 50 | public void Swimm() 51 | { 52 | // Swimm 53 | } 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /5.D/Problem.cs: -------------------------------------------------------------------------------- 1 | namespace DesignPatternSOLID._5.D.Problem 2 | { 3 | public class BusinessLayer 4 | { 5 | public void AddItem(int itemId) 6 | { 7 | RepositoryLayer repositoryLayer = new RepositoryLayer(); 8 | if (!string.IsNullOrEmpty(repositoryLayer.GetItem(itemId))) 9 | repositoryLayer.Update(); 10 | else 11 | repositoryLayer.Create(); 12 | } 13 | } 14 | public class RepositoryLayer 15 | { 16 | public void Create() 17 | { 18 | //save data into the Database 19 | } 20 | public void Delete() 21 | { 22 | //delete data from the Database 23 | } 24 | public void Update() 25 | { 26 | //update data in the Database 27 | } 28 | public string GetItem(int itemId) 29 | { 30 | //get item from the Database 31 | return "item"; 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /5.D/Solution.cs: -------------------------------------------------------------------------------- 1 | namespace DesignPatternSOLID._5.D 2 | { 3 | public class BusinessLayer 4 | { 5 | private readonly IRepositoryLayer _repositoryLayer; 6 | 7 | public BusinessLayer(IRepositoryLayer repositoryLayer) 8 | { 9 | _repositoryLayer = repositoryLayer; 10 | } 11 | public void AddItem(int itemId) 12 | { 13 | if (!string.IsNullOrEmpty(_repositoryLayer.GetItem(itemId))) 14 | _repositoryLayer.Update(); 15 | else 16 | _repositoryLayer.Create(); 17 | } 18 | } 19 | public interface IRepositoryLayer 20 | { 21 | void Create(); 22 | 23 | void Delete(); 24 | 25 | void Update(); 26 | 27 | string GetItem(int itemId); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /DesignPatternSOLID.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | Exe 5 | net6.0 6 | 10 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /DesignPatternSOLID.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 16 4 | VisualStudioVersion = 16.0.30413.136 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DesignPatternSOLID", "DesignPatternSOLID.csproj", "{EC2EF6B6-A1C7-47D7-BEE8-17FF448BD0BA}" 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 | {EC2EF6B6-A1C7-47D7-BEE8-17FF448BD0BA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {EC2EF6B6-A1C7-47D7-BEE8-17FF448BD0BA}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {EC2EF6B6-A1C7-47D7-BEE8-17FF448BD0BA}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {EC2EF6B6-A1C7-47D7-BEE8-17FF448BD0BA}.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 = {7C59FABA-241D-4FE6-9414-0BA670575DB1} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /Program.cs: -------------------------------------------------------------------------------- 1 | using DesignPatternSOLID._2.O; 2 | 3 | namespace DesignPatternSOLID 4 | { 5 | class Program 6 | { 7 | static void Main(string[] args) 8 | { 9 | //AdditionCalculation additionCalculation = new AdditionCalculation(3, 2); 10 | //SubtractionCalculation subtractionCalculation = new SubtractionCalculation(3, 2); 11 | //AdditionCalculation subtractionCalculationTwo = new SubtractionCalculation(3, 2); 12 | 13 | //var additionResult = additionCalculation.Calculate(); 14 | //var subtractionResult = subtractionCalculation.Calculate(); 15 | //var subtractionTwoResult = subtractionCalculationTwo.Calculate(); 16 | 17 | 18 | //Addition additionCalculation2 = new Addition(3, 2); 19 | //Subtraction subtractionCalculation2 = new Subtraction(3, 2); 20 | //MathCalculate subtractionCalculationTwo2 = new Subtraction(3, 2); 21 | 22 | //var additionResult = additionCalculation2.Calculate(); 23 | //var subtractionResult = subtractionCalculation2.Calculate(); 24 | //var subtractionTwoResult = subtractionCalculationTwo2.Calculate(); 25 | 26 | string sampleString = "Normal string"; 27 | string newString = sampleString.ThiagoString(); 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /bin/Debug/net6.0/DesignPatternSOLID.deps.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeTarget": { 3 | "name": ".NETCoreApp,Version=v6.0", 4 | "signature": "" 5 | }, 6 | "compilationOptions": {}, 7 | "targets": { 8 | ".NETCoreApp,Version=v6.0": { 9 | "DesignPatternSOLID/1.0.0": { 10 | "runtime": { 11 | "DesignPatternSOLID.dll": {} 12 | } 13 | } 14 | } 15 | }, 16 | "libraries": { 17 | "DesignPatternSOLID/1.0.0": { 18 | "type": "project", 19 | "serviceable": false, 20 | "sha512": "" 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /bin/Debug/net6.0/DesignPatternSOLID.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/DesignPatternSOLID/acfe9be3afba9647b821bfd4b9f976ab4c30b308/bin/Debug/net6.0/DesignPatternSOLID.dll -------------------------------------------------------------------------------- /bin/Debug/net6.0/DesignPatternSOLID.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/DesignPatternSOLID/acfe9be3afba9647b821bfd4b9f976ab4c30b308/bin/Debug/net6.0/DesignPatternSOLID.exe -------------------------------------------------------------------------------- /bin/Debug/net6.0/DesignPatternSOLID.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/DesignPatternSOLID/acfe9be3afba9647b821bfd4b9f976ab4c30b308/bin/Debug/net6.0/DesignPatternSOLID.pdb -------------------------------------------------------------------------------- /bin/Debug/net6.0/DesignPatternSOLID.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "net6.0", 4 | "framework": { 5 | "name": "Microsoft.NETCore.App", 6 | "version": "6.0.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs: -------------------------------------------------------------------------------- 1 | // 2 | using System; 3 | using System.Reflection; 4 | [assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = "")] 5 | -------------------------------------------------------------------------------- /obj/Debug/net6.0/DesignPatternSOLID.AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | 10 | using System; 11 | using System.Reflection; 12 | 13 | [assembly: System.Reflection.AssemblyCompanyAttribute("DesignPatternSOLID")] 14 | [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] 15 | [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] 16 | [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] 17 | [assembly: System.Reflection.AssemblyProductAttribute("DesignPatternSOLID")] 18 | [assembly: System.Reflection.AssemblyTitleAttribute("DesignPatternSOLID")] 19 | [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] 20 | 21 | // Generated by the MSBuild WriteCodeFragment class. 22 | 23 | -------------------------------------------------------------------------------- /obj/Debug/net6.0/DesignPatternSOLID.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | 3e884c43e2298b063a7da7f5a24cca8ff26a87dc 2 | -------------------------------------------------------------------------------- /obj/Debug/net6.0/DesignPatternSOLID.GeneratedMSBuildEditorConfig.editorconfig: -------------------------------------------------------------------------------- 1 | is_global = true 2 | build_property.TargetFramework = net6.0 3 | build_property.TargetPlatformMinVersion = 4 | build_property.UsingMicrosoftNETSdkWeb = 5 | build_property.ProjectTypeGuids = 6 | build_property.InvariantGlobalization = 7 | build_property.PlatformNeutralAssembly = 8 | build_property._SupportedPlatformList = Linux,macOS,Windows 9 | build_property.RootNamespace = DesignPatternSOLID 10 | build_property.ProjectDir = E:\Repos\Articles-master\DesignPatternSOLID\ 11 | -------------------------------------------------------------------------------- /obj/Debug/net6.0/DesignPatternSOLID.assets.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/DesignPatternSOLID/acfe9be3afba9647b821bfd4b9f976ab4c30b308/obj/Debug/net6.0/DesignPatternSOLID.assets.cache -------------------------------------------------------------------------------- /obj/Debug/net6.0/DesignPatternSOLID.csproj.AssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/DesignPatternSOLID/acfe9be3afba9647b821bfd4b9f976ab4c30b308/obj/Debug/net6.0/DesignPatternSOLID.csproj.AssemblyReference.cache -------------------------------------------------------------------------------- /obj/Debug/net6.0/DesignPatternSOLID.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | 9ead4736b0fab55f620cae5bebda95ef73545d8b 2 | -------------------------------------------------------------------------------- /obj/Debug/net6.0/DesignPatternSOLID.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | E:\Repos\Articles-master\DesignPatternSOLID\bin\Debug\net6.0\DesignPatternSOLID.exe 2 | E:\Repos\Articles-master\DesignPatternSOLID\bin\Debug\net6.0\DesignPatternSOLID.deps.json 3 | E:\Repos\Articles-master\DesignPatternSOLID\bin\Debug\net6.0\DesignPatternSOLID.runtimeconfig.json 4 | E:\Repos\Articles-master\DesignPatternSOLID\bin\Debug\net6.0\DesignPatternSOLID.dll 5 | E:\Repos\Articles-master\DesignPatternSOLID\bin\Debug\net6.0\DesignPatternSOLID.pdb 6 | E:\Repos\Articles-master\DesignPatternSOLID\obj\Debug\net6.0\DesignPatternSOLID.csproj.AssemblyReference.cache 7 | E:\Repos\Articles-master\DesignPatternSOLID\obj\Debug\net6.0\DesignPatternSOLID.GeneratedMSBuildEditorConfig.editorconfig 8 | E:\Repos\Articles-master\DesignPatternSOLID\obj\Debug\net6.0\DesignPatternSOLID.AssemblyInfoInputs.cache 9 | E:\Repos\Articles-master\DesignPatternSOLID\obj\Debug\net6.0\DesignPatternSOLID.AssemblyInfo.cs 10 | E:\Repos\Articles-master\DesignPatternSOLID\obj\Debug\net6.0\DesignPatternSOLID.csproj.CoreCompileInputs.cache 11 | E:\Repos\Articles-master\DesignPatternSOLID\obj\Debug\net6.0\DesignPatternSOLID.dll 12 | E:\Repos\Articles-master\DesignPatternSOLID\obj\Debug\net6.0\refint\DesignPatternSOLID.dll 13 | E:\Repos\Articles-master\DesignPatternSOLID\obj\Debug\net6.0\DesignPatternSOLID.pdb 14 | E:\Repos\Articles-master\DesignPatternSOLID\obj\Debug\net6.0\DesignPatternSOLID.genruntimeconfig.cache 15 | E:\Repos\Articles-master\DesignPatternSOLID\obj\Debug\net6.0\ref\DesignPatternSOLID.dll 16 | -------------------------------------------------------------------------------- /obj/Debug/net6.0/DesignPatternSOLID.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/DesignPatternSOLID/acfe9be3afba9647b821bfd4b9f976ab4c30b308/obj/Debug/net6.0/DesignPatternSOLID.dll -------------------------------------------------------------------------------- /obj/Debug/net6.0/DesignPatternSOLID.genruntimeconfig.cache: -------------------------------------------------------------------------------- 1 | e7cc02f03f537715eed368f29a947d0a3d0b3ff8 2 | -------------------------------------------------------------------------------- /obj/Debug/net6.0/DesignPatternSOLID.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/DesignPatternSOLID/acfe9be3afba9647b821bfd4b9f976ab4c30b308/obj/Debug/net6.0/DesignPatternSOLID.pdb -------------------------------------------------------------------------------- /obj/Debug/net6.0/apphost.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/DesignPatternSOLID/acfe9be3afba9647b821bfd4b9f976ab4c30b308/obj/Debug/net6.0/apphost.exe -------------------------------------------------------------------------------- /obj/Debug/net6.0/ref/DesignPatternSOLID.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/DesignPatternSOLID/acfe9be3afba9647b821bfd4b9f976ab4c30b308/obj/Debug/net6.0/ref/DesignPatternSOLID.dll -------------------------------------------------------------------------------- /obj/Debug/net6.0/refint/DesignPatternSOLID.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/DesignPatternSOLID/acfe9be3afba9647b821bfd4b9f976ab4c30b308/obj/Debug/net6.0/refint/DesignPatternSOLID.dll -------------------------------------------------------------------------------- /obj/Debug/netcoreapp3.1/.NETCoreApp,Version=v3.1.AssemblyAttributes.cs: -------------------------------------------------------------------------------- 1 | // 2 | using System; 3 | using System.Reflection; 4 | [assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v3.1", FrameworkDisplayName = "")] 5 | -------------------------------------------------------------------------------- /obj/Debug/netcoreapp3.1/DesignPatternSOLID.AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | 10 | using System; 11 | using System.Reflection; 12 | 13 | [assembly: System.Reflection.AssemblyCompanyAttribute("DesignPatternSOLID")] 14 | [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] 15 | [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] 16 | [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] 17 | [assembly: System.Reflection.AssemblyProductAttribute("DesignPatternSOLID")] 18 | [assembly: System.Reflection.AssemblyTitleAttribute("DesignPatternSOLID")] 19 | [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] 20 | 21 | // Generated by the MSBuild WriteCodeFragment class. 22 | 23 | -------------------------------------------------------------------------------- /obj/Debug/netcoreapp3.1/DesignPatternSOLID.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | 3e884c43e2298b063a7da7f5a24cca8ff26a87dc 2 | -------------------------------------------------------------------------------- /obj/Debug/netcoreapp3.1/DesignPatternSOLID.GeneratedMSBuildEditorConfig.editorconfig: -------------------------------------------------------------------------------- 1 | is_global = true 2 | build_property.RootNamespace = DesignPatternSOLID 3 | build_property.ProjectDir = E:\Repos\Articles-master\DesignPatternSOLID\ 4 | -------------------------------------------------------------------------------- /obj/Debug/netcoreapp3.1/DesignPatternSOLID.assets.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/DesignPatternSOLID/acfe9be3afba9647b821bfd4b9f976ab4c30b308/obj/Debug/netcoreapp3.1/DesignPatternSOLID.assets.cache -------------------------------------------------------------------------------- /obj/Debug/netcoreapp3.1/DesignPatternSOLID.csproj.AssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirzaf/DesignPatternSOLID/acfe9be3afba9647b821bfd4b9f976ab4c30b308/obj/Debug/netcoreapp3.1/DesignPatternSOLID.csproj.AssemblyReference.cache -------------------------------------------------------------------------------- /obj/DesignPatternSOLID.csproj.nuget.dgspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "format": 1, 3 | "restore": { 4 | "E:\\Repos\\Articles-master\\DesignPatternSOLID\\DesignPatternSOLID.csproj": {} 5 | }, 6 | "projects": { 7 | "E:\\Repos\\Articles-master\\DesignPatternSOLID\\DesignPatternSOLID.csproj": { 8 | "version": "1.0.0", 9 | "restore": { 10 | "projectUniqueName": "E:\\Repos\\Articles-master\\DesignPatternSOLID\\DesignPatternSOLID.csproj", 11 | "projectName": "DesignPatternSOLID", 12 | "projectPath": "E:\\Repos\\Articles-master\\DesignPatternSOLID\\DesignPatternSOLID.csproj", 13 | "packagesPath": "C:\\Users\\Fazrin\\.nuget\\packages\\", 14 | "outputPath": "E:\\Repos\\Articles-master\\DesignPatternSOLID\\obj\\", 15 | "projectStyle": "PackageReference", 16 | "configFilePaths": [ 17 | "C:\\Users\\Fazrin\\AppData\\Roaming\\NuGet\\NuGet.Config", 18 | "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" 19 | ], 20 | "originalTargetFrameworks": [ 21 | "net6.0" 22 | ], 23 | "sources": { 24 | "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, 25 | "https://api.nuget.org/v3/index.json": {} 26 | }, 27 | "frameworks": { 28 | "net6.0": { 29 | "targetAlias": "net6.0", 30 | "projectReferences": {} 31 | } 32 | }, 33 | "warningProperties": { 34 | "warnAsError": [ 35 | "NU1605" 36 | ] 37 | } 38 | }, 39 | "frameworks": { 40 | "net6.0": { 41 | "targetAlias": "net6.0", 42 | "imports": [ 43 | "net461", 44 | "net462", 45 | "net47", 46 | "net471", 47 | "net472", 48 | "net48" 49 | ], 50 | "assetTargetFallback": true, 51 | "warn": true, 52 | "frameworkReferences": { 53 | "Microsoft.NETCore.App": { 54 | "privateAssets": "all" 55 | } 56 | }, 57 | "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.300\\RuntimeIdentifierGraph.json" 58 | } 59 | } 60 | } 61 | } 62 | } -------------------------------------------------------------------------------- /obj/DesignPatternSOLID.csproj.nuget.g.props: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | True 5 | NuGet 6 | $(MSBuildThisFileDirectory)project.assets.json 7 | $(UserProfile)\.nuget\packages\ 8 | C:\Users\Fazrin\.nuget\packages\ 9 | PackageReference 10 | 6.0.0 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /obj/DesignPatternSOLID.csproj.nuget.g.targets: -------------------------------------------------------------------------------- 1 |  2 | -------------------------------------------------------------------------------- /obj/project.assets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 3, 3 | "targets": { 4 | "net6.0": {} 5 | }, 6 | "libraries": {}, 7 | "projectFileDependencyGroups": { 8 | "net6.0": [] 9 | }, 10 | "packageFolders": { 11 | "C:\\Users\\Fazrin\\.nuget\\packages\\": {} 12 | }, 13 | "project": { 14 | "version": "1.0.0", 15 | "restore": { 16 | "projectUniqueName": "E:\\Repos\\Articles-master\\DesignPatternSOLID\\DesignPatternSOLID.csproj", 17 | "projectName": "DesignPatternSOLID", 18 | "projectPath": "E:\\Repos\\Articles-master\\DesignPatternSOLID\\DesignPatternSOLID.csproj", 19 | "packagesPath": "C:\\Users\\Fazrin\\.nuget\\packages\\", 20 | "outputPath": "E:\\Repos\\Articles-master\\DesignPatternSOLID\\obj\\", 21 | "projectStyle": "PackageReference", 22 | "configFilePaths": [ 23 | "C:\\Users\\Fazrin\\AppData\\Roaming\\NuGet\\NuGet.Config", 24 | "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" 25 | ], 26 | "originalTargetFrameworks": [ 27 | "net6.0" 28 | ], 29 | "sources": { 30 | "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, 31 | "https://api.nuget.org/v3/index.json": {} 32 | }, 33 | "frameworks": { 34 | "net6.0": { 35 | "targetAlias": "net6.0", 36 | "projectReferences": {} 37 | } 38 | }, 39 | "warningProperties": { 40 | "warnAsError": [ 41 | "NU1605" 42 | ] 43 | } 44 | }, 45 | "frameworks": { 46 | "net6.0": { 47 | "targetAlias": "net6.0", 48 | "imports": [ 49 | "net461", 50 | "net462", 51 | "net47", 52 | "net471", 53 | "net472", 54 | "net48" 55 | ], 56 | "assetTargetFallback": true, 57 | "warn": true, 58 | "frameworkReferences": { 59 | "Microsoft.NETCore.App": { 60 | "privateAssets": "all" 61 | } 62 | }, 63 | "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.300\\RuntimeIdentifierGraph.json" 64 | } 65 | } 66 | } 67 | } -------------------------------------------------------------------------------- /obj/project.nuget.cache: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "dgSpecHash": "dsb/Q3kGkgOiPP2JbL7+ywZa2979bNUDJk0ze+lao8PwWsZrFZIJQjRn3Hnlq4AqR/DxvITIwM1GNjk7rU0NFQ==", 4 | "success": true, 5 | "projectFilePath": "E:\\Repos\\Articles-master\\DesignPatternSOLID\\DesignPatternSOLID.csproj", 6 | "expectedPackageFiles": [], 7 | "logs": [] 8 | } -------------------------------------------------------------------------------- /obj/project.packagespec.json: -------------------------------------------------------------------------------- 1 | "restore":{"projectUniqueName":"E:\\Repos\\Articles-master\\DesignPatternSOLID\\DesignPatternSOLID.csproj","projectName":"DesignPatternSOLID","projectPath":"E:\\Repos\\Articles-master\\DesignPatternSOLID\\DesignPatternSOLID.csproj","outputPath":"E:\\Repos\\Articles-master\\DesignPatternSOLID\\obj\\","projectStyle":"PackageReference","originalTargetFrameworks":["net6.0"],"sources":{"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\":{},"https://api.nuget.org/v3/index.json":{}},"frameworks":{"net6.0":{"targetAlias":"net6.0","projectReferences":{}}},"warningProperties":{"warnAsError":["NU1605"]}}"frameworks":{"net6.0":{"targetAlias":"net6.0","imports":["net461","net462","net47","net471","net472","net48"],"assetTargetFallback":true,"warn":true,"frameworkReferences":{"Microsoft.NETCore.App":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"C:\\Program Files\\dotnet\\sdk\\6.0.300\\RuntimeIdentifierGraph.json"}} -------------------------------------------------------------------------------- /obj/rider.project.restore.info: -------------------------------------------------------------------------------- 1 | 16552313673187974 --------------------------------------------------------------------------------