This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace SolidRules.LSP | |
| { | |
| public class Rectangle | |
| { | |
| protected double Width { get; } | |
| private double Height { get; } | |
| public Rectangle(double width, double height) | |
| { | |
| Width = width; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| namespace SolidRules.ISP | |
| { | |
| public class DrivableBad : IDrivable, IFlyable, ISwimable | |
| { | |
| public void Drive() => Console.WriteLine("Driving..."); | |
| public void Fly() => Console.WriteLine("Flying...."); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| namespace SolidRules.ISP | |
| { | |
| public class DrivableBad : IDrivable | |
| { | |
| public void Drive() => Console.WriteLine("Driving..."); | |
| public void Fly() => Console.WriteLine("Flying...."); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| namespace ConsoleApp1 | |
| { | |
| public class CustomEnumerable | |
| { | |
| public class CustomEnumerator : IDisposable | |
| { | |
| private readonly CustomEnumerable _enumerable; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <string.h> | |
| #include <stdlib.h> | |
| struct Base_; | |
| typedef struct Base_VTable_ | |
| { | |
| char* (*ToString)(struct Base_*); | |
| } Base_VTable; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Dism.exe /online /Cleanup-Image /StartComponentCleanup | |
| Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| powershell -Command "Remove-Item -LiteralPath 'node_modules' -Force -Recurse" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Channel] | |
| _Default | |
| [VL] | |
| 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3.4' | |
| networks: | |
| cqrs-api-docker-postgres-dev: | |
| driver: bridge | |
| services: | |
| cqrs-api-docker-postgres-dev: | |
| container_name: cqrs_api_postgres | |
| image: cqrs-api-docker-postgres-dev:latest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using MangoAPI.Application.Interfaces; | |
| using MangoAPI.Domain.Constants; | |
| using MangoAPI.Domain.Entities; | |
| using System; | |
| using System.Net; | |
| using System.Net.Mail; | |
| using System.Text; | |
| using System.Threading; | |
| using System.Threading.Tasks; |