├── .gitignore ├── bridge ├── obj │ ├── Debug │ │ └── netcoreapp2.2 │ │ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs │ │ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs │ │ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs │ │ │ ├── bridge.AssemblyInfoInputs.cache │ │ │ ├── bridge.csproj.CoreCompileInputs.cache │ │ │ ├── bridge.dll │ │ │ ├── bridge.pdb │ │ │ ├── bridge.assets.cache │ │ │ ├── bridge.csprojAssemblyReference.cache │ │ │ ├── bridge.csprojResolveAssemblyReference.cache │ │ │ └── project.razor.json │ └── bridge.csproj.nuget.cache ├── bin │ └── Debug │ │ └── netcoreapp2.2 │ │ ├── bridge.dll │ │ ├── bridge.pdb │ │ ├── bridge.runtimeconfig.json │ │ ├── bridge.runtimeconfig.dev.json │ │ └── bridge.deps.json ├── bridge.csproj ├── src │ └── oscarblancarte │ │ └── ipd │ │ └── bridge │ │ ├── impl │ │ ├── IMessageEncrypt.cs │ │ └── DefaultMessageEncryptImpl.cs │ │ └── encript │ │ ├── IEncryptAlgorithm.cs │ │ └── NoEncryptAlgorithm.cs └── .vscode │ └── tasks.json ├── facade ├── obj │ ├── Debug │ │ └── netcoreapp2.2 │ │ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs │ │ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs │ │ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs │ │ │ ├── facade.AssemblyInfoInputs.cache │ │ │ ├── facade.csproj.CoreCompileInputs.cache │ │ │ ├── facade.dll │ │ │ ├── facade.pdb │ │ │ ├── facade.assets.cache │ │ │ ├── facade.csprojAssemblyReference.cache │ │ │ ├── facade.csprojResolveAssemblyReference.cache │ │ │ └── project.razor.json │ └── facade.csproj.nuget.cache ├── bin │ └── Debug │ │ └── netcoreapp2.2 │ │ ├── facade.dll │ │ ├── facade.pdb │ │ ├── facade.runtimeconfig.json │ │ ├── facade.runtimeconfig.dev.json │ │ └── facade.deps.json ├── facade.csproj ├── src │ └── oscarblancarte │ │ └── ipd │ │ └── facade │ │ ├── impl │ │ ├── IPaymentFacade.cs │ │ ├── GeneralPaymentError.cs │ │ ├── PaymentRequest.cs │ │ └── PaymentResponse.cs │ │ ├── subsystems │ │ ├── crm │ │ │ └── CRMSystem.cs │ │ └── biller │ │ │ └── BillingPayRequest.cs │ │ └── util │ │ └── Card.cs └── .vscode │ └── tasks.json ├── proxy ├── obj │ ├── Debug │ │ └── netcoreapp2.2 │ │ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs │ │ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs │ │ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs │ │ │ ├── proxy.AssemblyInfoInputs.cache │ │ │ ├── proxy.csproj.CoreCompileInputs.cache │ │ │ ├── proxy.dll │ │ │ ├── proxy.pdb │ │ │ ├── proxy.assets.cache │ │ │ ├── proxy.csprojAssemblyReference.cache │ │ │ ├── proxy.csprojResolveAssemblyReference.cache │ │ │ └── project.razor.json │ └── proxy.csproj.nuget.cache ├── bin │ └── Debug │ │ └── netcoreapp2.2 │ │ ├── proxy.dll │ │ ├── proxy.pdb │ │ ├── proxy.runtimeconfig.json │ │ ├── proxy.runtimeconfig.dev.json │ │ └── proxy.deps.json ├── proxy.csproj ├── src │ └── oscarblancarte │ │ └── ipd │ │ └── proxy │ │ ├── impl │ │ ├── IProcessEjecutor.cs │ │ ├── ServiceFactory.cs │ │ └── DefaultProcessEjecutor.cs │ │ ├── services │ │ ├── AuditService.cs │ │ └── SecurityService.cs │ │ └── ProxyMain.cs └── .vscode │ └── tasks.json ├── adapter ├── obj │ ├── Debug │ │ └── netcoreapp2.2 │ │ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs │ │ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs │ │ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs │ │ │ ├── adapter.AssemblyInfoInputs.cache │ │ │ ├── adapter.csproj.CoreCompileInputs.cache │ │ │ ├── adapter.dll │ │ │ ├── adapter.pdb │ │ │ ├── adapter.assets.cache │ │ │ ├── adapter.csprojAssemblyReference.cache │ │ │ ├── adapter.csprojResolveAssemblyReference.cache │ │ │ └── project.razor.json │ └── adapter.csproj.nuget.cache ├── bin │ └── Debug │ │ └── netcoreapp2.2 │ │ ├── adapter.dll │ │ ├── adapter.pdb │ │ ├── adapter.runtimeconfig.json │ │ ├── adapter.runtimeconfig.dev.json │ │ └── adapter.deps.json ├── adapter.csproj ├── src │ └── oscarblancarte │ │ └── ipd │ │ └── adapter │ │ ├── creditapi │ │ ├── bankx │ │ │ ├── XBankCreditResponse.cs │ │ │ ├── XBankCreditRequest.cs │ │ │ └── XBankCreditAPI.cs │ │ └── banky │ │ │ ├── YBankCreditApproveResult.cs │ │ │ ├── YBankCreditSenderListener.cs │ │ │ └── YBankCreditApprove.cs │ │ └── impl │ │ ├── IBankAdapter.cs │ │ ├── BankCreditResponse.cs │ │ └── BankCreditRequest.cs └── .vscode │ └── tasks.json ├── command ├── obj │ ├── Debug │ │ └── netcoreapp2.2 │ │ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs │ │ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs │ │ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs │ │ │ ├── command.AssemblyInfoInputs.cache │ │ │ ├── command.csproj.CoreCompileInputs.cache │ │ │ ├── command.dll │ │ │ ├── command.pdb │ │ │ ├── command.assets.cache │ │ │ ├── command.csprojAssemblyReference.cache │ │ │ ├── command.csprojResolveAssemblyReference.cache │ │ │ └── project.razor.json │ └── command.csproj.nuget.cache ├── bin │ └── Debug │ │ └── netcoreapp2.2 │ │ ├── command.dll │ │ ├── command.pdb │ │ ├── command.runtimeconfig.json │ │ ├── command.runtimeconfig.dev.json │ │ └── command.deps.json ├── command.csproj ├── src │ └── oscarblancarte │ │ └── ipd │ │ └── command │ │ ├── ICommand.cs │ │ └── impl │ │ ├── ExitCommand.cs │ │ ├── NotFoundCommand.cs │ │ ├── ErrorCommand.cs │ │ ├── EchoCommand.cs │ │ ├── MemoryCommand.cs │ │ ├── BaseCommand.cs │ │ └── AsyncCommand.cs └── .vscode │ └── tasks.json ├── composite ├── obj │ ├── Debug │ │ └── netcoreapp2.2 │ │ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs │ │ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs │ │ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs │ │ │ ├── composite.AssemblyInfoInputs.cache │ │ │ ├── composite.csproj.CoreCompileInputs.cache │ │ │ ├── composite.dll │ │ │ ├── composite.pdb │ │ │ ├── composite.assets.cache │ │ │ ├── composite.csprojAssemblyReference.cache │ │ │ ├── composite.csprojResolveAssemblyReference.cache │ │ │ └── project.razor.json │ └── composite.csproj.nuget.cache ├── bin │ └── Debug │ │ └── netcoreapp2.2 │ │ ├── composite.dll │ │ ├── composite.pdb │ │ ├── composite.runtimeconfig.json │ │ ├── composite.runtimeconfig.dev.json │ │ └── composite.deps.json ├── composite.csproj ├── .vscode │ └── tasks.json └── src │ └── oscarblancarte │ └── ipd │ └── composite │ └── products │ ├── SimpleProduct.cs │ └── AbstractProduct.cs ├── decorator ├── obj │ ├── Debug │ │ └── netcoreapp2.2 │ │ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs │ │ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs │ │ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs │ │ │ ├── decorator.AssemblyInfoInputs.cache │ │ │ ├── decorator.csproj.CoreCompileInputs.cache │ │ │ ├── decorator.dll │ │ │ ├── decorator.pdb │ │ │ ├── decorator.assets.cache │ │ │ ├── decorator.csprojAssemblyReference.cache │ │ │ ├── decorator.csprojResolveAssemblyReference.cache │ │ │ └── project.razor.json │ └── decorator.csproj.nuget.cache ├── bin │ └── Debug │ │ └── netcoreapp2.2 │ │ ├── decorator.dll │ │ ├── decorator.pdb │ │ ├── decorator.runtimeconfig.json │ │ ├── decorator.runtimeconfig.dev.json │ │ └── decorator.deps.json ├── decorator.csproj ├── .vscode │ └── tasks.json └── src │ └── oscarblancarte │ └── ipd │ └── decorator │ └── impl │ ├── message │ └── IMessage.cs │ └── decorators │ └── MessageDecorator.cs ├── flyweight ├── obj │ ├── Debug │ │ └── netcoreapp2.2 │ │ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs │ │ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs │ │ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs │ │ │ ├── flyweight.AssemblyInfoInputs.cache │ │ │ ├── flyweight.csproj.CoreCompileInputs.cache │ │ │ ├── flyweight.dll │ │ │ ├── flyweight.pdb │ │ │ ├── flyweight.assets.cache │ │ │ ├── flyweight.csprojAssemblyReference.cache │ │ │ ├── flyweight.csprojResolveAssemblyReference.cache │ │ │ └── project.razor.json │ └── flyweight.csproj.nuget.cache ├── bin │ └── Debug │ │ └── netcoreapp2.2 │ │ ├── flyweight.dll │ │ ├── flyweight.pdb │ │ ├── flyweight.runtimeconfig.json │ │ ├── flyweight.runtimeconfig.dev.json │ │ └── flyweight.deps.json ├── flyweight.csproj ├── .vscode │ └── tasks.json └── src │ └── oscarblancarte │ └── ipb │ └── flyweight │ └── impl │ └── PlayItem.cs ├── interpreter ├── obj │ ├── Debug │ │ └── netcoreapp2.2 │ │ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs │ │ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs │ │ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs │ │ │ ├── interpreter.AssemblyInfoInputs.cache │ │ │ ├── interpreter.csproj.CoreCompileInputs.cache │ │ │ ├── interpreter.dll │ │ │ ├── interpreter.pdb │ │ │ ├── interpreter.assets.cache │ │ │ ├── interpreter.csprojAssemblyReference.cache │ │ │ ├── interpreter.csprojResolveAssemblyReference.cache │ │ │ └── project.razor.json │ └── interpreter.csproj.nuget.cache ├── Employee.xls ├── bin │ └── Debug │ │ └── netcoreapp2.2 │ │ ├── interpreter.dll │ │ ├── interpreter.pdb │ │ ├── interpreter.runtimeconfig.json │ │ └── interpreter.runtimeconfig.dev.json ├── interpreter.csproj ├── src │ └── oscarblancarte │ │ └── ipd │ │ └── interprete │ │ └── sql │ │ ├── AbstractSQLExpression.cs │ │ ├── nonterminal │ │ └── StatementExpression.cs │ │ ├── InterpreteException.cs │ │ └── terminal │ │ ├── TextExpression.cs │ │ └── LiteralExpression.cs └── .vscode │ └── tasks.json ├── iterator ├── obj │ ├── Debug │ │ └── netcoreapp2.2 │ │ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs │ │ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs │ │ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs │ │ │ ├── iterator.AssemblyInfoInputs.cache │ │ │ ├── iterator.csproj.CoreCompileInputs.cache │ │ │ ├── iterator.dll │ │ │ ├── iterator.pdb │ │ │ ├── iterator.assets.cache │ │ │ ├── iterator.csprojAssemblyReference.cache │ │ │ ├── iterator.csprojResolveAssemblyReference.cache │ │ │ └── project.razor.json │ └── iterator.csproj.nuget.cache ├── bin │ └── Debug │ │ └── netcoreapp2.2 │ │ ├── iterator.dll │ │ ├── iterator.pdb │ │ ├── iterator.runtimeconfig.json │ │ ├── iterator.runtimeconfig.dev.json │ │ └── iterator.deps.json ├── iterator.csproj ├── src │ └── oscarblancarte │ │ └── ipd │ │ └── iterator │ │ └── impl │ │ ├── IIterator.cs │ │ └── IContainer.cs └── .vscode │ └── tasks.json ├── mediator ├── obj │ ├── Debug │ │ └── netcoreapp2.2 │ │ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs │ │ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs │ │ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs │ │ │ ├── mediator2.AssemblyInfoInputs.cache │ │ │ ├── mediator2.csproj.CoreCompileInputs.cache │ │ │ ├── mediator2.dll │ │ │ ├── mediator2.pdb │ │ │ ├── mediator2.assets.cache │ │ │ ├── mediator2.csprojAssemblyReference.cache │ │ │ ├── mediator2.csprojResolveAssemblyReference.cache │ │ │ └── project.razor.json │ └── mediator2.csproj.nuget.cache ├── bin │ └── Debug │ │ └── netcoreapp2.2 │ │ ├── mediator2.dll │ │ ├── mediator2.pdb │ │ ├── mediator2.runtimeconfig.json │ │ ├── mediator2.runtimeconfig.dev.json │ │ └── mediator2.deps.json ├── mediator2.csproj ├── src │ └── oscarblancarte │ │ └── ipd │ │ └── mediator │ │ └── module │ │ ├── impl │ │ └── dto │ │ │ ├── Product.cs │ │ │ ├── SaleOrder.cs │ │ │ ├── ProductRequest.cs │ │ │ └── Sale.cs │ │ ├── AbstractModule.cs │ │ └── ModuleMessage.cs └── .vscode │ └── tasks.json ├── memento ├── obj │ ├── Debug │ │ ├── netcoreapp2.2 │ │ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs │ │ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs │ │ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs │ │ │ ├── memento.AssemblyInfoInputs.cache │ │ │ ├── memento.csproj.CoreCompileInputs.cache │ │ │ ├── memento.assets.cache │ │ │ ├── memento.csprojAssemblyReference.cache │ │ │ ├── project.razor.json │ │ │ └── memento.csproj.FileListAbsolute.txt │ │ └── net47 │ │ │ └── memento.assets.cache │ ├── memento.csproj.nuget.cache │ └── memento.csproj.nuget.g.targets ├── memento.csproj ├── .vscode │ └── tasks.json └── src │ └── oscarblancarte │ └── ipd │ └── memento │ ├── MementoMain.cs │ └── impl │ └── EmployeeMemento.cs ├── object-pool ├── obj │ ├── Debug │ │ └── netcoreapp2.2 │ │ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs │ │ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs │ │ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs │ │ │ ├── object-pool.AssemblyInfoInputs.cache │ │ │ ├── object-pool.csproj.CoreCompileInputs.cache │ │ │ ├── object-pool.dll │ │ │ ├── object-pool.pdb │ │ │ ├── object-pool.assets.cache │ │ │ ├── object-pool.csprojAssemblyReference.cache │ │ │ ├── object-pool.csprojResolveAssemblyReference.cache │ │ │ └── project.razor.json │ └── object-pool.csproj.nuget.cache ├── bin │ └── Debug │ │ └── netcoreapp2.2 │ │ ├── object-pool.dll │ │ ├── object-pool.pdb │ │ ├── object-pool.runtimeconfig.json │ │ ├── object-pool.runtimeconfig.dev.json │ │ └── object-pool.deps.json ├── object-pool.csproj ├── src │ └── oscarblancarte │ │ └── ipd │ │ └── objectpool │ │ └── impl │ │ ├── poolable │ │ └── IPooledObject.cs │ │ ├── factory │ │ ├── IPoolableObjectFactory.cs │ │ └── ExecutorTaskFactory.cs │ │ ├── PoolException.cs │ │ ├── IObjectPool.cs │ │ └── ExecutorThreadPool.cs └── .vscode │ └── tasks.json ├── observer ├── obj │ ├── Debug │ │ └── netcoreapp2.2 │ │ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs │ │ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs │ │ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs │ │ │ ├── observer.AssemblyInfoInputs.cache │ │ │ ├── observer.csproj.CoreCompileInputs.cache │ │ │ ├── observer.dll │ │ │ ├── observer.pdb │ │ │ ├── observer.assets.cache │ │ │ ├── observer.csprojAssemblyReference.cache │ │ │ ├── observer.csprojResolveAssemblyReference.cache │ │ │ └── project.razor.json │ └── observer.csproj.nuget.cache ├── bin │ └── Debug │ │ └── netcoreapp2.2 │ │ ├── observer.dll │ │ ├── observer.pdb │ │ ├── observer.runtimeconfig.json │ │ ├── observer.runtimeconfig.dev.json │ │ └── observer.deps.json ├── observer.csproj ├── src │ └── oscarblancarte │ │ └── ipd │ │ └── observer │ │ └── impl │ │ ├── IObserver.cs │ │ ├── IObservable.cs │ │ └── observers │ │ ├── MoneyFormatObserver.cs │ │ └── DateFormatObserver.cs └── .vscode │ └── tasks.json ├── prototype ├── obj │ ├── Debug │ │ └── netcoreapp2.2 │ │ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs │ │ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs │ │ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs │ │ │ ├── prototype.AssemblyInfoInputs.cache │ │ │ ├── prototype.csproj.CoreCompileInputs.cache │ │ │ ├── prototype.dll │ │ │ ├── prototype.pdb │ │ │ ├── prototype.assets.cache │ │ │ ├── prototype.csprojAssemblyReference.cache │ │ │ ├── prototype.csprojResolveAssemblyReference.cache │ │ │ └── project.razor.json │ └── prototype.csproj.nuget.cache ├── bin │ └── Debug │ │ └── netcoreapp2.2 │ │ ├── prototype.dll │ │ ├── prototype.pdb │ │ ├── prototype.runtimeconfig.json │ │ └── prototype.runtimeconfig.dev.json ├── prototype.csproj ├── .vscode │ └── tasks.json └── src │ └── oscarblancarte │ └── ipd │ └── prototype │ └── impl │ └── IPrototype.cs ├── singleton ├── obj │ ├── Debug │ │ └── netcoreapp2.2 │ │ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs │ │ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs │ │ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs │ │ │ ├── singleton.AssemblyInfoInputs.cache │ │ │ ├── singleton.csproj.CoreCompileInputs.cache │ │ │ ├── singleton.dll │ │ │ ├── singleton.pdb │ │ │ ├── singleton.assets.cache │ │ │ ├── singleton.csprojAssemblyReference.cache │ │ │ ├── singleton.csprojResolveAssemblyReference.cache │ │ │ └── project.razor.json │ └── singleton.csproj.nuget.cache ├── bin │ └── Debug │ │ └── netcoreapp2.2 │ │ ├── singleton.dll │ │ ├── singleton.pdb │ │ ├── singleton.runtimeconfig.json │ │ ├── singleton.runtimeconfig.dev.json │ │ └── singleton.dll.config ├── singleton.csproj ├── App.config ├── .vscode │ └── tasks.json └── src │ └── oscarblancarte │ └── ipd │ └── singleton │ └── util │ └── PropertiesUtil.cs ├── strategy ├── obj │ ├── Debug │ │ └── netcoreapp2.2 │ │ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs │ │ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs │ │ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs │ │ │ ├── strategy.AssemblyInfoInputs.cache │ │ │ ├── strategy.csproj.CoreCompileInputs.cache │ │ │ ├── strategy.dll │ │ │ ├── strategy.pdb │ │ │ ├── strategy.assets.cache │ │ │ ├── strategy.csprojAssemblyReference.cache │ │ │ ├── strategy.csprojResolveAssemblyReference.cache │ │ │ └── project.razor.json │ └── strategy.csproj.nuget.cache ├── bin │ └── Debug │ │ └── netcoreapp2.2 │ │ ├── strategy.dll │ │ ├── strategy.pdb │ │ ├── strategy.runtimeconfig.json │ │ ├── strategy.runtimeconfig.dev.json │ │ └── strategy.dll.config ├── UserFile.xml ├── src │ └── oscarblancarte │ │ └── ipd │ │ └── strategy │ │ ├── impl │ │ ├── IAuthenticationStrategy.cs │ │ ├── Principal.cs │ │ └── providers │ │ │ └── OnMemoryAuthenticationProvider.cs │ │ └── util │ │ ├── User.cs │ │ └── PropertiesUtil.cs ├── .vscode │ └── tasks.json ├── strategy.csproj └── App.config ├── visitor ├── obj │ ├── Debug │ │ └── netcoreapp2.2 │ │ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs │ │ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs │ │ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs │ │ │ ├── visitor2.AssemblyInfoInputs.cache │ │ │ ├── visitor2.csproj.CoreCompileInputs.cache │ │ │ ├── visitor2.dll │ │ │ ├── visitor2.pdb │ │ │ ├── visitor2.assets.cache │ │ │ ├── visitor2.csprojAssemblyReference.cache │ │ │ ├── visitor2.csprojResolveAssemblyReference.cache │ │ │ └── project.razor.json │ └── visitor2.csproj.nuget.cache ├── bin │ └── Debug │ │ └── netcoreapp2.2 │ │ ├── visitor2.dll │ │ ├── visitor2.pdb │ │ ├── visitor2.runtimeconfig.json │ │ ├── visitor2.runtimeconfig.dev.json │ │ └── visitor2.deps.json ├── src │ └── oscarblancarte │ │ └── ipd │ │ └── visitor │ │ ├── impl │ │ ├── IVisitable.cs │ │ └── IVisitor.cs │ │ └── domain │ │ └── EmployeePay.cs ├── visitor2.csproj └── .vscode │ └── tasks.json ├── abstract-factory ├── obj │ ├── Debug │ │ └── netcoreapp2.2 │ │ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs │ │ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs │ │ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs │ │ │ ├── factory-method.AssemblyInfoInputs.cache │ │ │ ├── factory-method.csproj.CoreCompileInputs.cache │ │ │ ├── factory-method.dll │ │ │ ├── factory-method.pdb │ │ │ ├── factory-method.assets.cache │ │ │ ├── factory-method.csprojAssemblyReference.cache │ │ │ ├── factory-method.csprojResolveAssemblyReference.cache │ │ │ └── project.razor.json │ └── factory-method.csproj.nuget.cache ├── bin │ └── Debug │ │ └── netcoreapp2.2 │ │ ├── factory-method.dll │ │ ├── factory-method.pdb │ │ ├── factory-method.runtimeconfig.json │ │ ├── factory-method.runtimeconfig.dev.json │ │ └── factory-method.dll.config ├── AbstractFactoryConfiguration.properties ├── factory-method.csproj ├── src │ └── oscarblancarte │ │ └── ipd │ │ └── abstractfactory │ │ ├── service │ │ ├── IProductsService.cs │ │ └── IEmployeeService.cs │ │ ├── impl │ │ └── IServiceStackAbstractFactory.cs │ │ ├── ws │ │ ├── ProductServiceWSImpl.cs │ │ ├── EmployeeServiceWSImpl.cs │ │ └── WSServiceStackImpl.cs │ │ └── rest │ │ ├── EmployeeServiceRestImpl.cs │ │ ├── ProductServiceRestImpl.cs │ │ └── RestServiceStackImpl.cs └── .vscode │ └── tasks.json ├── factory-method ├── obj │ ├── Debug │ │ └── netcoreapp2.2 │ │ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs │ │ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs │ │ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs │ │ │ ├── factory-method.AssemblyInfoInputs.cache │ │ │ ├── factory-method.csproj.CoreCompileInputs.cache │ │ │ ├── factory-method.dll │ │ │ ├── factory-method.pdb │ │ │ ├── factory-method.assets.cache │ │ │ ├── factory-method.csprojAssemblyReference.cache │ │ │ ├── factory-method.csprojResolveAssemblyReference.cache │ │ │ └── project.razor.json │ └── factory-method.csproj.nuget.cache ├── DBMySQL.properties ├── DBOracle.properties ├── DBFactory.properties ├── bin │ └── Debug │ │ └── netcoreapp2.2 │ │ ├── factory-method.dll │ │ ├── factory-method.pdb │ │ ├── factory-method.runtimeconfig.json │ │ ├── factory-method.runtimeconfig.dev.json │ │ └── factory-method.dll.config ├── src │ └── oscarblancarte │ │ └── ipd │ │ └── factorymethod │ │ ├── DBType.cs │ │ └── IDBAdapter.cs ├── .vscode │ └── tasks.json ├── App.config └── factory-method.csproj ├── templete-method ├── obj │ ├── Debug │ │ └── netcoreapp2.2 │ │ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs │ │ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs │ │ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs │ │ │ ├── templete-method.AssemblyInfoInputs.cache │ │ │ ├── templete-method.csproj.CoreCompileInputs.cache │ │ │ ├── templete-method.dll │ │ │ ├── templete-method.pdb │ │ │ ├── templete-method.assets.cache │ │ │ ├── templete-method.csprojAssemblyReference.cache │ │ │ ├── templete-method.csprojResolveAssemblyReference.cache │ │ │ └── project.razor.json │ └── templete-method.csproj.nuget.cache ├── bin │ └── Debug │ │ └── netcoreapp2.2 │ │ ├── templete-method.dll │ │ ├── templete-method.pdb │ │ ├── templete-method.runtimeconfig.json │ │ ├── templete-method.runtimeconfig.dev.json │ │ └── templete-method.deps.json ├── src │ └── files │ │ ├── drugstore │ │ └── 10032015123.drug │ │ └── grocery │ │ └── 123.gry ├── templete-method.csproj └── .vscode │ └── tasks.json ├── chain-responsability ├── obj │ ├── Debug │ │ └── netcoreapp2.2 │ │ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs │ │ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs │ │ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs │ │ │ ├── chain-responsability.AssemblyInfoInputs.cache │ │ │ ├── chain-responsability.csproj.CoreCompileInputs.cache │ │ │ ├── chain-responsability.dll │ │ │ ├── chain-responsability.pdb │ │ │ ├── chain-responsability.assets.cache │ │ │ ├── chain-responsability.csprojAssemblyReference.cache │ │ │ ├── chain-responsability.csprojResolveAssemblyReference.cache │ │ │ └── project.razor.json │ └── chain-responsability.csproj.nuget.cache ├── bin │ └── Debug │ │ └── netcoreapp2.2 │ │ ├── chain-responsability.dll │ │ ├── chain-responsability.pdb │ │ ├── chain-responsability.runtimeconfig.json │ │ ├── chain-responsability.runtimeconfig.dev.json │ │ └── chain-responsability.deps.json ├── chain-responsability.csproj ├── src │ └── oscarblancarte │ │ └── ipd │ │ └── chainofresponsability │ │ ├── domain │ │ ├── Status.cs │ │ ├── Customer.cs │ │ ├── Product.cs │ │ ├── CreditData.cs │ │ ├── Telephone.cs │ │ ├── order │ │ │ ├── SalesOrder.cs │ │ │ └── OrderItem.cs │ │ ├── Address.cs │ │ └── Contributor.cs │ │ └── validator │ │ ├── ValidationException.cs │ │ ├── AbstractOrderValidator.cs │ │ └── SalesOrderValidator.cs └── .vscode │ └── tasks.json ├── null-object ├── obj │ ├── Debug │ │ └── netcoreapp2.2 │ │ │ ├── null-object.AssemblyInfoInputs.cache │ │ │ ├── null-object.csproj.CoreCompileInputs.cache │ │ │ ├── null-object.dll │ │ │ ├── null-object.pdb │ │ │ ├── null-object.assets.cache │ │ │ └── null-object.csprojAssemblyReference.cache │ └── null-object.csproj.nuget.cache ├── bin │ └── Debug │ │ └── netcoreapp2.2 │ │ ├── null-object.dll │ │ ├── null-object.pdb │ │ ├── null-object.runtimeconfig.json │ │ ├── null-object.runtimeconfig.dev.json │ │ └── null-object.deps.json ├── null-object.csproj └── src │ └── oscarblancarte │ └── ipd │ └── nullobject │ ├── domain │ └── Address.cs │ └── NullObjectMain.cs └── state └── src ├── META-INF └── server.png └── oscarblancarte └── ipd └── state ├── states ├── AbstractServerState.java ├── StopServerState.java └── StartServerState.java └── StateMain.java /.gitignore: -------------------------------------------------------------------------------- 1 | java-workspace/* 2 | -------------------------------------------------------------------------------- /bridge/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bridge/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bridge/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /facade/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /facade/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /facade/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /proxy/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /proxy/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /proxy/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /adapter/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /adapter/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /adapter/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /command/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /command/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /command/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /composite/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /composite/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /composite/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /decorator/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /decorator/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /decorator/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /flyweight/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /flyweight/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /flyweight/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /interpreter/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /interpreter/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /interpreter/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /iterator/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /iterator/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /iterator/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mediator/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mediator/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mediator/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /memento/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /memento/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /memento/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /object-pool/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /object-pool/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /object-pool/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /observer/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /observer/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /observer/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /prototype/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /prototype/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /prototype/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /singleton/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /singleton/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /singleton/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /strategy/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /strategy/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /strategy/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /visitor/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /visitor/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /visitor/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /abstract-factory/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /abstract-factory/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /abstract-factory/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /factory-method/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /factory-method/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /factory-method/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /templete-method/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /templete-method/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /templete-method/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bridge/obj/Debug/netcoreapp2.2/bridge.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | 91301cc0c54eb065a48a772a55cabc5c7e71f9bd 2 | -------------------------------------------------------------------------------- /chain-responsability/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chain-responsability/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chain-responsability/obj/Debug/netcoreapp2.2/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /facade/obj/Debug/netcoreapp2.2/facade.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | 132012d67d8eb94b7390b51a565d5831aedd3568 2 | -------------------------------------------------------------------------------- /factory-method/DBMySQL.properties: -------------------------------------------------------------------------------- 1 | host localhost 2 | port 3306 3 | dbname pos 4 | user root 5 | password 1234 -------------------------------------------------------------------------------- /proxy/obj/Debug/netcoreapp2.2/proxy.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | f06ca0449e2adb677408eddcceed546b57d6f11c 2 | -------------------------------------------------------------------------------- /adapter/obj/Debug/netcoreapp2.2/adapter.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | e8cf6cb803b2eddbd82726b471df3c55b0dd4ec5 2 | -------------------------------------------------------------------------------- /bridge/obj/Debug/netcoreapp2.2/bridge.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | 340f126311da5ca56333c50f8118e80f3afc31cc 2 | -------------------------------------------------------------------------------- /command/obj/Debug/netcoreapp2.2/command.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | 97dbd70786c2e6c5c6b4df6177568493caff97e4 2 | -------------------------------------------------------------------------------- /composite/obj/Debug/netcoreapp2.2/composite.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | adef0c1abd65e4429f49adb33f8788b8ae284a0d 2 | -------------------------------------------------------------------------------- /decorator/obj/Debug/netcoreapp2.2/decorator.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | efe2fe032dd5afefb54655c6f963c1a2bbf41310 2 | -------------------------------------------------------------------------------- /facade/obj/Debug/netcoreapp2.2/facade.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | f7202fcacc7d75988955fecd45a3e4d552f353af 2 | -------------------------------------------------------------------------------- /flyweight/obj/Debug/netcoreapp2.2/flyweight.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | 31b1ba7b7b597c11df7cf31690c236f83fc1b5b2 2 | -------------------------------------------------------------------------------- /interpreter/Employee.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/interpreter/Employee.xls -------------------------------------------------------------------------------- /iterator/obj/Debug/netcoreapp2.2/iterator.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | 576212492e0d392afb1c0ed94cb73e1084e3f9f9 2 | -------------------------------------------------------------------------------- /mediator/obj/Debug/netcoreapp2.2/mediator2.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | 7721fa0401638d94f536f91507f8eb0e16244648 2 | -------------------------------------------------------------------------------- /memento/obj/Debug/netcoreapp2.2/memento.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | b7204b08da6bb59e2880f51c85cb0fedcdeb45f2 2 | -------------------------------------------------------------------------------- /observer/obj/Debug/netcoreapp2.2/observer.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | 4d98969040423fd458d5805db10da0df95e61c4d 2 | -------------------------------------------------------------------------------- /prototype/obj/Debug/netcoreapp2.2/prototype.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | c7f39f0f78fd50a6e5b47d8b02ae1316f2a6871b 2 | -------------------------------------------------------------------------------- /proxy/obj/Debug/netcoreapp2.2/proxy.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | e1ca8595f19818f13ec756522b7adf9d24fc6490 2 | -------------------------------------------------------------------------------- /singleton/obj/Debug/netcoreapp2.2/singleton.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | 0396e6f98099f77fae4083063eea1ed40b4a61cb 2 | -------------------------------------------------------------------------------- /strategy/obj/Debug/netcoreapp2.2/strategy.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | 22a9f889e4b5c66a4aed9702ad0eace03be565ef 2 | -------------------------------------------------------------------------------- /visitor/obj/Debug/netcoreapp2.2/visitor2.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | 1a398365ab9f2bb8690dcefcb1b6667b4eefed74 2 | -------------------------------------------------------------------------------- /adapter/obj/Debug/netcoreapp2.2/adapter.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | c2fdce0793d7978519fceea38dc840abe065c594 2 | -------------------------------------------------------------------------------- /command/obj/Debug/netcoreapp2.2/command.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | 4df6edf525b2da1a6a355f4104bff0508038997d 2 | -------------------------------------------------------------------------------- /factory-method/DBOracle.properties: -------------------------------------------------------------------------------- 1 | host localhost 2 | port 1521 3 | service xe 4 | user sys as sysdba 5 | password 1234 -------------------------------------------------------------------------------- /interpreter/obj/Debug/netcoreapp2.2/interpreter.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | a7f1a66b5e64acdd407c0cebdc72e24c97ed34cd 2 | -------------------------------------------------------------------------------- /iterator/obj/Debug/netcoreapp2.2/iterator.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | 0278764ac2ce3d4b743dc5594500324aad77477f 2 | -------------------------------------------------------------------------------- /mediator/obj/Debug/netcoreapp2.2/mediator2.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | a8f0d1b1b3f161f290df524b84b97afbb2297374 2 | -------------------------------------------------------------------------------- /memento/obj/Debug/netcoreapp2.2/memento.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | 7f1d49b07fa972c0ed43ac35eeeff97a8e4e210e 2 | -------------------------------------------------------------------------------- /null-object/obj/Debug/netcoreapp2.2/null-object.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | 470689c462625f04826513be10442d3152b8c627 2 | -------------------------------------------------------------------------------- /object-pool/obj/Debug/netcoreapp2.2/object-pool.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | 94e55ad85e2e6b1db1603f52a8cd0711d11d49a2 2 | -------------------------------------------------------------------------------- /observer/obj/Debug/netcoreapp2.2/observer.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | b7ca0a04951ddcf81ebc2fde8f3bb12bea8e17b2 2 | -------------------------------------------------------------------------------- /strategy/obj/Debug/netcoreapp2.2/strategy.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | 81ef25d9927be76e6c73c324ee25cfe70af84088 2 | -------------------------------------------------------------------------------- /visitor/obj/Debug/netcoreapp2.2/visitor2.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | 80429aa3c36764d3237151075628d691f6b49158 2 | -------------------------------------------------------------------------------- /composite/obj/Debug/netcoreapp2.2/composite.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | fddd8edef723474d95f16a5fedaf0ac8dd63cf43 2 | -------------------------------------------------------------------------------- /decorator/obj/Debug/netcoreapp2.2/decorator.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | d6b56e56bdf9cfd20829c006a5167e6642a38577 2 | -------------------------------------------------------------------------------- /factory-method/obj/Debug/netcoreapp2.2/factory-method.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | 920278e14c5bd3c8b3b060cefad42775a6c4a854 2 | -------------------------------------------------------------------------------- /flyweight/obj/Debug/netcoreapp2.2/flyweight.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | 5a0c226158a2388159312e9c0111d4f76348174c 2 | -------------------------------------------------------------------------------- /interpreter/obj/Debug/netcoreapp2.2/interpreter.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | 09b01ac74921e765bcba20843e548622d97955d7 2 | -------------------------------------------------------------------------------- /null-object/obj/Debug/netcoreapp2.2/null-object.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | 92f05cc6308ccbf3995aef8a8fa89da15b1e5122 2 | -------------------------------------------------------------------------------- /object-pool/obj/Debug/netcoreapp2.2/object-pool.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | 88ecddeebf6e90bce0c0e2608f0684aa3a67287b 2 | -------------------------------------------------------------------------------- /prototype/obj/Debug/netcoreapp2.2/prototype.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | b5e6b032de1cf7973ac4da5670011c40429a0c53 2 | -------------------------------------------------------------------------------- /singleton/obj/Debug/netcoreapp2.2/singleton.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | 95d1416aadea7ed3dac5bfa5311c2991c60535d4 2 | -------------------------------------------------------------------------------- /state/src/META-INF/server.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/state/src/META-INF/server.png -------------------------------------------------------------------------------- /abstract-factory/obj/Debug/netcoreapp2.2/factory-method.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | 920278e14c5bd3c8b3b060cefad42775a6c4a854 2 | -------------------------------------------------------------------------------- /templete-method/obj/Debug/netcoreapp2.2/templete-method.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | e59b80de812d0bf7addbed8ff2e7d0d4f2003b2e 2 | -------------------------------------------------------------------------------- /abstract-factory/obj/Debug/netcoreapp2.2/factory-method.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | 2509cc275dd5289417ccd5a0eb9030191a6d5f56 2 | -------------------------------------------------------------------------------- /factory-method/obj/Debug/netcoreapp2.2/factory-method.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | 0e696b8a15151f7370ea8cfcb6db0653bfeff1cf 2 | -------------------------------------------------------------------------------- /templete-method/obj/Debug/netcoreapp2.2/templete-method.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | 3a8977c9a67f059355060361fc6e34f0e6d30a34 2 | -------------------------------------------------------------------------------- /chain-responsability/obj/Debug/netcoreapp2.2/chain-responsability.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | d77c2b060baf9cc0b1172d0e8ec5ace2daa352e9 2 | -------------------------------------------------------------------------------- /chain-responsability/obj/Debug/netcoreapp2.2/chain-responsability.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | d7177e1512ddb281a52ccd6fc5baa139622b85df 2 | -------------------------------------------------------------------------------- /proxy/bin/Debug/netcoreapp2.2/proxy.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/proxy/bin/Debug/netcoreapp2.2/proxy.dll -------------------------------------------------------------------------------- /proxy/bin/Debug/netcoreapp2.2/proxy.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/proxy/bin/Debug/netcoreapp2.2/proxy.pdb -------------------------------------------------------------------------------- /proxy/obj/Debug/netcoreapp2.2/proxy.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/proxy/obj/Debug/netcoreapp2.2/proxy.dll -------------------------------------------------------------------------------- /proxy/obj/Debug/netcoreapp2.2/proxy.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/proxy/obj/Debug/netcoreapp2.2/proxy.pdb -------------------------------------------------------------------------------- /bridge/bin/Debug/netcoreapp2.2/bridge.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/bridge/bin/Debug/netcoreapp2.2/bridge.dll -------------------------------------------------------------------------------- /bridge/bin/Debug/netcoreapp2.2/bridge.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/bridge/bin/Debug/netcoreapp2.2/bridge.pdb -------------------------------------------------------------------------------- /bridge/obj/Debug/netcoreapp2.2/bridge.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/bridge/obj/Debug/netcoreapp2.2/bridge.dll -------------------------------------------------------------------------------- /bridge/obj/Debug/netcoreapp2.2/bridge.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/bridge/obj/Debug/netcoreapp2.2/bridge.pdb -------------------------------------------------------------------------------- /facade/bin/Debug/netcoreapp2.2/facade.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/facade/bin/Debug/netcoreapp2.2/facade.dll -------------------------------------------------------------------------------- /facade/bin/Debug/netcoreapp2.2/facade.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/facade/bin/Debug/netcoreapp2.2/facade.pdb -------------------------------------------------------------------------------- /facade/obj/Debug/netcoreapp2.2/facade.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/facade/obj/Debug/netcoreapp2.2/facade.dll -------------------------------------------------------------------------------- /facade/obj/Debug/netcoreapp2.2/facade.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/facade/obj/Debug/netcoreapp2.2/facade.pdb -------------------------------------------------------------------------------- /adapter/bin/Debug/netcoreapp2.2/adapter.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/adapter/bin/Debug/netcoreapp2.2/adapter.dll -------------------------------------------------------------------------------- /adapter/bin/Debug/netcoreapp2.2/adapter.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/adapter/bin/Debug/netcoreapp2.2/adapter.pdb -------------------------------------------------------------------------------- /adapter/obj/Debug/netcoreapp2.2/adapter.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/adapter/obj/Debug/netcoreapp2.2/adapter.dll -------------------------------------------------------------------------------- /adapter/obj/Debug/netcoreapp2.2/adapter.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/adapter/obj/Debug/netcoreapp2.2/adapter.pdb -------------------------------------------------------------------------------- /command/bin/Debug/netcoreapp2.2/command.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/command/bin/Debug/netcoreapp2.2/command.dll -------------------------------------------------------------------------------- /command/bin/Debug/netcoreapp2.2/command.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/command/bin/Debug/netcoreapp2.2/command.pdb -------------------------------------------------------------------------------- /command/obj/Debug/netcoreapp2.2/command.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/command/obj/Debug/netcoreapp2.2/command.dll -------------------------------------------------------------------------------- /command/obj/Debug/netcoreapp2.2/command.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/command/obj/Debug/netcoreapp2.2/command.pdb -------------------------------------------------------------------------------- /iterator/bin/Debug/netcoreapp2.2/iterator.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/iterator/bin/Debug/netcoreapp2.2/iterator.dll -------------------------------------------------------------------------------- /iterator/bin/Debug/netcoreapp2.2/iterator.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/iterator/bin/Debug/netcoreapp2.2/iterator.pdb -------------------------------------------------------------------------------- /iterator/obj/Debug/netcoreapp2.2/iterator.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/iterator/obj/Debug/netcoreapp2.2/iterator.dll -------------------------------------------------------------------------------- /iterator/obj/Debug/netcoreapp2.2/iterator.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/iterator/obj/Debug/netcoreapp2.2/iterator.pdb -------------------------------------------------------------------------------- /memento/obj/Debug/net47/memento.assets.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/memento/obj/Debug/net47/memento.assets.cache -------------------------------------------------------------------------------- /observer/bin/Debug/netcoreapp2.2/observer.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/observer/bin/Debug/netcoreapp2.2/observer.dll -------------------------------------------------------------------------------- /observer/bin/Debug/netcoreapp2.2/observer.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/observer/bin/Debug/netcoreapp2.2/observer.pdb -------------------------------------------------------------------------------- /observer/obj/Debug/netcoreapp2.2/observer.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/observer/obj/Debug/netcoreapp2.2/observer.dll -------------------------------------------------------------------------------- /observer/obj/Debug/netcoreapp2.2/observer.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/observer/obj/Debug/netcoreapp2.2/observer.pdb -------------------------------------------------------------------------------- /strategy/bin/Debug/netcoreapp2.2/strategy.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/strategy/bin/Debug/netcoreapp2.2/strategy.dll -------------------------------------------------------------------------------- /strategy/bin/Debug/netcoreapp2.2/strategy.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/strategy/bin/Debug/netcoreapp2.2/strategy.pdb -------------------------------------------------------------------------------- /strategy/obj/Debug/netcoreapp2.2/strategy.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/strategy/obj/Debug/netcoreapp2.2/strategy.dll -------------------------------------------------------------------------------- /strategy/obj/Debug/netcoreapp2.2/strategy.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/strategy/obj/Debug/netcoreapp2.2/strategy.pdb -------------------------------------------------------------------------------- /visitor/bin/Debug/netcoreapp2.2/visitor2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/visitor/bin/Debug/netcoreapp2.2/visitor2.dll -------------------------------------------------------------------------------- /visitor/bin/Debug/netcoreapp2.2/visitor2.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/visitor/bin/Debug/netcoreapp2.2/visitor2.pdb -------------------------------------------------------------------------------- /visitor/obj/Debug/netcoreapp2.2/visitor2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/visitor/obj/Debug/netcoreapp2.2/visitor2.dll -------------------------------------------------------------------------------- /visitor/obj/Debug/netcoreapp2.2/visitor2.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/visitor/obj/Debug/netcoreapp2.2/visitor2.pdb -------------------------------------------------------------------------------- /composite/bin/Debug/netcoreapp2.2/composite.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/composite/bin/Debug/netcoreapp2.2/composite.dll -------------------------------------------------------------------------------- /composite/bin/Debug/netcoreapp2.2/composite.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/composite/bin/Debug/netcoreapp2.2/composite.pdb -------------------------------------------------------------------------------- /composite/obj/Debug/netcoreapp2.2/composite.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/composite/obj/Debug/netcoreapp2.2/composite.dll -------------------------------------------------------------------------------- /composite/obj/Debug/netcoreapp2.2/composite.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/composite/obj/Debug/netcoreapp2.2/composite.pdb -------------------------------------------------------------------------------- /decorator/bin/Debug/netcoreapp2.2/decorator.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/decorator/bin/Debug/netcoreapp2.2/decorator.dll -------------------------------------------------------------------------------- /decorator/bin/Debug/netcoreapp2.2/decorator.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/decorator/bin/Debug/netcoreapp2.2/decorator.pdb -------------------------------------------------------------------------------- /decorator/obj/Debug/netcoreapp2.2/decorator.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/decorator/obj/Debug/netcoreapp2.2/decorator.dll -------------------------------------------------------------------------------- /decorator/obj/Debug/netcoreapp2.2/decorator.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/decorator/obj/Debug/netcoreapp2.2/decorator.pdb -------------------------------------------------------------------------------- /flyweight/bin/Debug/netcoreapp2.2/flyweight.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/flyweight/bin/Debug/netcoreapp2.2/flyweight.dll -------------------------------------------------------------------------------- /flyweight/bin/Debug/netcoreapp2.2/flyweight.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/flyweight/bin/Debug/netcoreapp2.2/flyweight.pdb -------------------------------------------------------------------------------- /flyweight/obj/Debug/netcoreapp2.2/flyweight.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/flyweight/obj/Debug/netcoreapp2.2/flyweight.dll -------------------------------------------------------------------------------- /flyweight/obj/Debug/netcoreapp2.2/flyweight.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/flyweight/obj/Debug/netcoreapp2.2/flyweight.pdb -------------------------------------------------------------------------------- /mediator/bin/Debug/netcoreapp2.2/mediator2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/mediator/bin/Debug/netcoreapp2.2/mediator2.dll -------------------------------------------------------------------------------- /mediator/bin/Debug/netcoreapp2.2/mediator2.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/mediator/bin/Debug/netcoreapp2.2/mediator2.pdb -------------------------------------------------------------------------------- /mediator/obj/Debug/netcoreapp2.2/mediator2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/mediator/obj/Debug/netcoreapp2.2/mediator2.dll -------------------------------------------------------------------------------- /mediator/obj/Debug/netcoreapp2.2/mediator2.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/mediator/obj/Debug/netcoreapp2.2/mediator2.pdb -------------------------------------------------------------------------------- /prototype/bin/Debug/netcoreapp2.2/prototype.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/prototype/bin/Debug/netcoreapp2.2/prototype.dll -------------------------------------------------------------------------------- /prototype/bin/Debug/netcoreapp2.2/prototype.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/prototype/bin/Debug/netcoreapp2.2/prototype.pdb -------------------------------------------------------------------------------- /prototype/obj/Debug/netcoreapp2.2/prototype.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/prototype/obj/Debug/netcoreapp2.2/prototype.dll -------------------------------------------------------------------------------- /prototype/obj/Debug/netcoreapp2.2/prototype.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/prototype/obj/Debug/netcoreapp2.2/prototype.pdb -------------------------------------------------------------------------------- /singleton/bin/Debug/netcoreapp2.2/singleton.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/singleton/bin/Debug/netcoreapp2.2/singleton.dll -------------------------------------------------------------------------------- /singleton/bin/Debug/netcoreapp2.2/singleton.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/singleton/bin/Debug/netcoreapp2.2/singleton.pdb -------------------------------------------------------------------------------- /singleton/obj/Debug/netcoreapp2.2/singleton.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/singleton/obj/Debug/netcoreapp2.2/singleton.dll -------------------------------------------------------------------------------- /singleton/obj/Debug/netcoreapp2.2/singleton.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/singleton/obj/Debug/netcoreapp2.2/singleton.pdb -------------------------------------------------------------------------------- /bridge/obj/Debug/netcoreapp2.2/bridge.assets.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/bridge/obj/Debug/netcoreapp2.2/bridge.assets.cache -------------------------------------------------------------------------------- /facade/obj/Debug/netcoreapp2.2/facade.assets.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/facade/obj/Debug/netcoreapp2.2/facade.assets.cache -------------------------------------------------------------------------------- /proxy/obj/Debug/netcoreapp2.2/proxy.assets.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/proxy/obj/Debug/netcoreapp2.2/proxy.assets.cache -------------------------------------------------------------------------------- /adapter/obj/Debug/netcoreapp2.2/adapter.assets.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/adapter/obj/Debug/netcoreapp2.2/adapter.assets.cache -------------------------------------------------------------------------------- /command/obj/Debug/netcoreapp2.2/command.assets.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/command/obj/Debug/netcoreapp2.2/command.assets.cache -------------------------------------------------------------------------------- /interpreter/bin/Debug/netcoreapp2.2/interpreter.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/interpreter/bin/Debug/netcoreapp2.2/interpreter.dll -------------------------------------------------------------------------------- /interpreter/bin/Debug/netcoreapp2.2/interpreter.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/interpreter/bin/Debug/netcoreapp2.2/interpreter.pdb -------------------------------------------------------------------------------- /interpreter/obj/Debug/netcoreapp2.2/interpreter.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/interpreter/obj/Debug/netcoreapp2.2/interpreter.dll -------------------------------------------------------------------------------- /interpreter/obj/Debug/netcoreapp2.2/interpreter.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/interpreter/obj/Debug/netcoreapp2.2/interpreter.pdb -------------------------------------------------------------------------------- /memento/obj/Debug/netcoreapp2.2/memento.assets.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/memento/obj/Debug/netcoreapp2.2/memento.assets.cache -------------------------------------------------------------------------------- /null-object/bin/Debug/netcoreapp2.2/null-object.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/null-object/bin/Debug/netcoreapp2.2/null-object.dll -------------------------------------------------------------------------------- /null-object/bin/Debug/netcoreapp2.2/null-object.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/null-object/bin/Debug/netcoreapp2.2/null-object.pdb -------------------------------------------------------------------------------- /null-object/obj/Debug/netcoreapp2.2/null-object.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/null-object/obj/Debug/netcoreapp2.2/null-object.dll -------------------------------------------------------------------------------- /null-object/obj/Debug/netcoreapp2.2/null-object.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/null-object/obj/Debug/netcoreapp2.2/null-object.pdb -------------------------------------------------------------------------------- /object-pool/bin/Debug/netcoreapp2.2/object-pool.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/object-pool/bin/Debug/netcoreapp2.2/object-pool.dll -------------------------------------------------------------------------------- /object-pool/bin/Debug/netcoreapp2.2/object-pool.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/object-pool/bin/Debug/netcoreapp2.2/object-pool.pdb -------------------------------------------------------------------------------- /object-pool/obj/Debug/netcoreapp2.2/object-pool.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/object-pool/obj/Debug/netcoreapp2.2/object-pool.dll -------------------------------------------------------------------------------- /object-pool/obj/Debug/netcoreapp2.2/object-pool.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/object-pool/obj/Debug/netcoreapp2.2/object-pool.pdb -------------------------------------------------------------------------------- /iterator/obj/Debug/netcoreapp2.2/iterator.assets.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/iterator/obj/Debug/netcoreapp2.2/iterator.assets.cache -------------------------------------------------------------------------------- /mediator/obj/Debug/netcoreapp2.2/mediator2.assets.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/mediator/obj/Debug/netcoreapp2.2/mediator2.assets.cache -------------------------------------------------------------------------------- /observer/obj/Debug/netcoreapp2.2/observer.assets.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/observer/obj/Debug/netcoreapp2.2/observer.assets.cache -------------------------------------------------------------------------------- /strategy/obj/Debug/netcoreapp2.2/strategy.assets.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/strategy/obj/Debug/netcoreapp2.2/strategy.assets.cache -------------------------------------------------------------------------------- /visitor/obj/Debug/netcoreapp2.2/visitor2.assets.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/visitor/obj/Debug/netcoreapp2.2/visitor2.assets.cache -------------------------------------------------------------------------------- /composite/obj/Debug/netcoreapp2.2/composite.assets.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/composite/obj/Debug/netcoreapp2.2/composite.assets.cache -------------------------------------------------------------------------------- /decorator/obj/Debug/netcoreapp2.2/decorator.assets.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/decorator/obj/Debug/netcoreapp2.2/decorator.assets.cache -------------------------------------------------------------------------------- /factory-method/DBFactory.properties: -------------------------------------------------------------------------------- 1 | #defaultDBClass oscarblancarte.ipd.factorymethod.impl.OracleDBAdapter 2 | defaultDBClass oscarblancarte.ipd.factorymethod.impl.MySQLDBAdapter -------------------------------------------------------------------------------- /factory-method/bin/Debug/netcoreapp2.2/factory-method.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/factory-method/bin/Debug/netcoreapp2.2/factory-method.dll -------------------------------------------------------------------------------- /factory-method/bin/Debug/netcoreapp2.2/factory-method.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/factory-method/bin/Debug/netcoreapp2.2/factory-method.pdb -------------------------------------------------------------------------------- /factory-method/obj/Debug/netcoreapp2.2/factory-method.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/factory-method/obj/Debug/netcoreapp2.2/factory-method.dll -------------------------------------------------------------------------------- /factory-method/obj/Debug/netcoreapp2.2/factory-method.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/factory-method/obj/Debug/netcoreapp2.2/factory-method.pdb -------------------------------------------------------------------------------- /flyweight/obj/Debug/netcoreapp2.2/flyweight.assets.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/flyweight/obj/Debug/netcoreapp2.2/flyweight.assets.cache -------------------------------------------------------------------------------- /prototype/obj/Debug/netcoreapp2.2/prototype.assets.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/prototype/obj/Debug/netcoreapp2.2/prototype.assets.cache -------------------------------------------------------------------------------- /singleton/obj/Debug/netcoreapp2.2/singleton.assets.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/singleton/obj/Debug/netcoreapp2.2/singleton.assets.cache -------------------------------------------------------------------------------- /abstract-factory/bin/Debug/netcoreapp2.2/factory-method.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/abstract-factory/bin/Debug/netcoreapp2.2/factory-method.dll -------------------------------------------------------------------------------- /abstract-factory/bin/Debug/netcoreapp2.2/factory-method.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/abstract-factory/bin/Debug/netcoreapp2.2/factory-method.pdb -------------------------------------------------------------------------------- /abstract-factory/obj/Debug/netcoreapp2.2/factory-method.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/abstract-factory/obj/Debug/netcoreapp2.2/factory-method.dll -------------------------------------------------------------------------------- /abstract-factory/obj/Debug/netcoreapp2.2/factory-method.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/abstract-factory/obj/Debug/netcoreapp2.2/factory-method.pdb -------------------------------------------------------------------------------- /interpreter/obj/Debug/netcoreapp2.2/interpreter.assets.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/interpreter/obj/Debug/netcoreapp2.2/interpreter.assets.cache -------------------------------------------------------------------------------- /null-object/obj/Debug/netcoreapp2.2/null-object.assets.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/null-object/obj/Debug/netcoreapp2.2/null-object.assets.cache -------------------------------------------------------------------------------- /object-pool/obj/Debug/netcoreapp2.2/object-pool.assets.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/object-pool/obj/Debug/netcoreapp2.2/object-pool.assets.cache -------------------------------------------------------------------------------- /templete-method/bin/Debug/netcoreapp2.2/templete-method.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/templete-method/bin/Debug/netcoreapp2.2/templete-method.dll -------------------------------------------------------------------------------- /templete-method/bin/Debug/netcoreapp2.2/templete-method.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/templete-method/bin/Debug/netcoreapp2.2/templete-method.pdb -------------------------------------------------------------------------------- /templete-method/obj/Debug/netcoreapp2.2/templete-method.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/templete-method/obj/Debug/netcoreapp2.2/templete-method.dll -------------------------------------------------------------------------------- /templete-method/obj/Debug/netcoreapp2.2/templete-method.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/templete-method/obj/Debug/netcoreapp2.2/templete-method.pdb -------------------------------------------------------------------------------- /factory-method/src/oscarblancarte/ipd/factorymethod/DBType.cs: -------------------------------------------------------------------------------- 1 | namespace oscarblancarte.ipd.factorymethod{ 2 | public enum DBType { 3 | MySQL, Oracle, 4 | } 5 | } 6 | 7 | 8 | -------------------------------------------------------------------------------- /proxy/obj/Debug/netcoreapp2.2/proxy.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/proxy/obj/Debug/netcoreapp2.2/proxy.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /bridge/obj/Debug/netcoreapp2.2/bridge.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/bridge/obj/Debug/netcoreapp2.2/bridge.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /bridge/obj/bridge.csproj.nuget.cache: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "dgSpecHash": "NJAngvIJaQ9KNYrv3bkBtG037uFn3hy6Rh8Nq2ETfY+dvQ94/3P9GGGp7VIFJaxAu3/1H8nBNUMThGLd/ZLnAg==", 4 | "success": true 5 | } -------------------------------------------------------------------------------- /facade/obj/Debug/netcoreapp2.2/facade.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/facade/obj/Debug/netcoreapp2.2/facade.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /facade/obj/facade.csproj.nuget.cache: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "dgSpecHash": "TtFsVOIZLXlCIIzYVEXWF79d4MeHFvkYQqbqsFvKh2RHRfIjrYbC1Q3JaACvyKXC6cT8GnqawF7hoDkQN2Hyrg==", 4 | "success": true 5 | } -------------------------------------------------------------------------------- /factory-method/obj/Debug/netcoreapp2.2/factory-method.assets.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/factory-method/obj/Debug/netcoreapp2.2/factory-method.assets.cache -------------------------------------------------------------------------------- /proxy/obj/proxy.csproj.nuget.cache: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "dgSpecHash": "dLMCrS8Sg0Hr1FYfruYTPY5ByxodaOzc/1U4mVrURvoCpAEXAJVLRt7vWMrQkckdZvZOYRqk5rnk25jsi8Hyhw==", 4 | "success": true 5 | } -------------------------------------------------------------------------------- /abstract-factory/obj/Debug/netcoreapp2.2/factory-method.assets.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/abstract-factory/obj/Debug/netcoreapp2.2/factory-method.assets.cache -------------------------------------------------------------------------------- /adapter/obj/Debug/netcoreapp2.2/adapter.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/adapter/obj/Debug/netcoreapp2.2/adapter.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /adapter/obj/adapter.csproj.nuget.cache: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "dgSpecHash": "tM3YAR+ROARQZx7E0X2PQurbtxqpL3/UFZu04NkiMnUzI0L2tyVh1gbCTZO38ZFN6/tcJgLhVm65um+G4sHq3g==", 4 | "success": true 5 | } -------------------------------------------------------------------------------- /chain-responsability/bin/Debug/netcoreapp2.2/chain-responsability.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/chain-responsability/bin/Debug/netcoreapp2.2/chain-responsability.dll -------------------------------------------------------------------------------- /chain-responsability/bin/Debug/netcoreapp2.2/chain-responsability.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/chain-responsability/bin/Debug/netcoreapp2.2/chain-responsability.pdb -------------------------------------------------------------------------------- /chain-responsability/obj/Debug/netcoreapp2.2/chain-responsability.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/chain-responsability/obj/Debug/netcoreapp2.2/chain-responsability.dll -------------------------------------------------------------------------------- /chain-responsability/obj/Debug/netcoreapp2.2/chain-responsability.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/chain-responsability/obj/Debug/netcoreapp2.2/chain-responsability.pdb -------------------------------------------------------------------------------- /command/obj/Debug/netcoreapp2.2/command.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/command/obj/Debug/netcoreapp2.2/command.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /command/obj/command.csproj.nuget.cache: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "dgSpecHash": "V1hm9cgg0VyCNvaBk5qb3cVBA06suRwP3zTKaYDDTS0vn8I18ZRQEwsqyEfazruYhQQHxQa0BXNnrDYUx+Icwg==", 4 | "success": true 5 | } -------------------------------------------------------------------------------- /composite/obj/composite.csproj.nuget.cache: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "dgSpecHash": "IWK+0Tpn/LD2XL3xLaL8Mg4QUIXfItdhq8Gep4Icp8XgRiaOyw+vopKNODJtlbHcAccVxyIIGccmKrk4NDcx/A==", 4 | "success": true 5 | } -------------------------------------------------------------------------------- /decorator/obj/decorator.csproj.nuget.cache: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "dgSpecHash": "Z+NEVnDuVhu9W2nZA0gdAclljGvfcVTu18heKZaa7f5hiVJh+wKMKqTdYcrtwkaCL27DVANcK1WXZYGFKvVMDg==", 4 | "success": true 5 | } -------------------------------------------------------------------------------- /flyweight/obj/flyweight.csproj.nuget.cache: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "dgSpecHash": "JG3hD/c0hl169pKb/bOlHne0cFyRgDdSERb4qv3S4+hOMlpdRnUwvfuznTRr9Ex3j+dlfdeRr/vJDEmZ9k0+4Q==", 4 | "success": true 5 | } -------------------------------------------------------------------------------- /iterator/obj/iterator.csproj.nuget.cache: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "dgSpecHash": "lkUn3xOPysor/C9sjo9PzpOigAPHOtfIrbYtG62K4eH8S2W7xtkJY6kOFIMU0P8cmYdBiWyxdR1Hk0UDIFCuKA==", 4 | "success": true 5 | } -------------------------------------------------------------------------------- /mediator/obj/mediator2.csproj.nuget.cache: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "dgSpecHash": "TbKa47RgfBw0Iaz2bIAx1vWlEg58UNjqBtqXKAho5zuAjRiRNXqqmdU940YfEQX+TlXOUeGCjX1KLkORlnxEMA==", 4 | "success": true 5 | } -------------------------------------------------------------------------------- /memento/obj/Debug/netcoreapp2.2/memento.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/memento/obj/Debug/netcoreapp2.2/memento.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /memento/obj/memento.csproj.nuget.cache: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "dgSpecHash": "qHrP7GL3B1VEJ75RvX3XMZXwIV3RVAg6obQ4AdUhmrEDesl7HAKi73aZg7jUbsbTKQsJQp+5JW/oCo+t+EqHKw==", 4 | "success": true 5 | } -------------------------------------------------------------------------------- /observer/obj/observer.csproj.nuget.cache: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "dgSpecHash": "Fh8DOP4fEHeQvnCk8E1euVCQ+CRd/GDXjFAYyDOVdYXNAhjf5Sxna45S1GNN83CW8b+w0tK1AvXntFEwO9kxuA==", 4 | "success": true 5 | } -------------------------------------------------------------------------------- /prototype/obj/prototype.csproj.nuget.cache: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "dgSpecHash": "iWRD2FY4Ft76dKJgYywKfLVFbLN+CX1RIzM+hnWeVsXlvXHQv7NlLerNFsY3Tto0ttW0l+JMCXsQM2qmeVdzZA==", 4 | "success": true 5 | } -------------------------------------------------------------------------------- /singleton/obj/singleton.csproj.nuget.cache: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "dgSpecHash": "mHVUyk3M9igQ1ThPDInyMpEYnRjR5dyq2DRHalhmWopmG2tezK+39p2UMPWinkjsMjkP1U+xePSHZwvA0FyTRw==", 4 | "success": true 5 | } -------------------------------------------------------------------------------- /strategy/obj/strategy.csproj.nuget.cache: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "dgSpecHash": "uir8/3JneyF5Gt8a58K6WojSRasw5/I0gh/DYk2D0x10ocbBChhGCnl28x7Je6OZTQBwVfBqSk4n4LUSxJ53lQ==", 4 | "success": true 5 | } -------------------------------------------------------------------------------- /templete-method/obj/Debug/netcoreapp2.2/templete-method.assets.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/templete-method/obj/Debug/netcoreapp2.2/templete-method.assets.cache -------------------------------------------------------------------------------- /visitor/obj/Debug/netcoreapp2.2/visitor2.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/visitor/obj/Debug/netcoreapp2.2/visitor2.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /visitor/obj/visitor2.csproj.nuget.cache: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "dgSpecHash": "zaFKPIzecskJ8rC6PNGYREOeA1pQed5RU5LuhfLAXQTtmk5i7ei1YO9OwvGuAWwCCMoPUI+1OWjrRE041vqUNg==", 4 | "success": true 5 | } -------------------------------------------------------------------------------- /interpreter/obj/interpreter.csproj.nuget.cache: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "dgSpecHash": "Rs08LShCOAXzoA1/skb2olfjOdhu0KObHK9jYuyC7yzvR4te/hTW4cyAJg2AqRDFoVWN78x8yv4dvzozeuWchg==", 4 | "success": true 5 | } -------------------------------------------------------------------------------- /iterator/obj/Debug/netcoreapp2.2/iterator.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/iterator/obj/Debug/netcoreapp2.2/iterator.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /mediator/obj/Debug/netcoreapp2.2/mediator2.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/mediator/obj/Debug/netcoreapp2.2/mediator2.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /null-object/obj/null-object.csproj.nuget.cache: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "dgSpecHash": "68tgPURbwEzkjyiOUUf1AONcX6kE7HsXjzAmdTjBBkb0ff0sm1OcY/96CCsQEonWjSdWimHIEZiVgYc70ToeRw==", 4 | "success": true 5 | } -------------------------------------------------------------------------------- /object-pool/obj/object-pool.csproj.nuget.cache: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "dgSpecHash": "E1SaCfDg1yDZv47uxwPf/wNl5EenDRb+wCW0zGmi6yu18cXL3gaZl7zPBf2QLOH+if/IRqH0WtXyNqu3XS23dw==", 4 | "success": true 5 | } -------------------------------------------------------------------------------- /observer/obj/Debug/netcoreapp2.2/observer.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/observer/obj/Debug/netcoreapp2.2/observer.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /proxy/obj/Debug/netcoreapp2.2/proxy.csprojResolveAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/proxy/obj/Debug/netcoreapp2.2/proxy.csprojResolveAssemblyReference.cache -------------------------------------------------------------------------------- /strategy/obj/Debug/netcoreapp2.2/strategy.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/strategy/obj/Debug/netcoreapp2.2/strategy.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /bridge/obj/Debug/netcoreapp2.2/bridge.csprojResolveAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/bridge/obj/Debug/netcoreapp2.2/bridge.csprojResolveAssemblyReference.cache -------------------------------------------------------------------------------- /composite/composite.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | Exe 4 | netcoreapp2.2 5 | 6 | -------------------------------------------------------------------------------- /composite/obj/Debug/netcoreapp2.2/composite.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/composite/obj/Debug/netcoreapp2.2/composite.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /decorator/obj/Debug/netcoreapp2.2/decorator.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/decorator/obj/Debug/netcoreapp2.2/decorator.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /facade/obj/Debug/netcoreapp2.2/facade.csprojResolveAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/facade/obj/Debug/netcoreapp2.2/facade.csprojResolveAssemblyReference.cache -------------------------------------------------------------------------------- /factory-method/obj/factory-method.csproj.nuget.cache: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "dgSpecHash": "PLpKE+S4l6sAtxxw2AW7Yv2lvkbHVTzjjkQJXuVF0Xjw3XhTgxKbTpncsfeAno8e/C4/4nbCSvM9N8QMLnKBLw==", 4 | "success": true 5 | } -------------------------------------------------------------------------------- /flyweight/obj/Debug/netcoreapp2.2/flyweight.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/flyweight/obj/Debug/netcoreapp2.2/flyweight.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /prototype/obj/Debug/netcoreapp2.2/prototype.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/prototype/obj/Debug/netcoreapp2.2/prototype.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /singleton/obj/Debug/netcoreapp2.2/singleton.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/singleton/obj/Debug/netcoreapp2.2/singleton.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /abstract-factory/obj/factory-method.csproj.nuget.cache: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "dgSpecHash": "CCWux2DwQiqc23os2Mnhi12fFi0zHYVTIUXR96aSKsJgm/OgukRfbj5npThT6F1j2GFtVVzoj9OdUABYaj80KA==", 4 | "success": true 5 | } -------------------------------------------------------------------------------- /adapter/obj/Debug/netcoreapp2.2/adapter.csprojResolveAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/adapter/obj/Debug/netcoreapp2.2/adapter.csprojResolveAssemblyReference.cache -------------------------------------------------------------------------------- /command/obj/Debug/netcoreapp2.2/command.csprojResolveAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/command/obj/Debug/netcoreapp2.2/command.csprojResolveAssemblyReference.cache -------------------------------------------------------------------------------- /interpreter/obj/Debug/netcoreapp2.2/interpreter.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/interpreter/obj/Debug/netcoreapp2.2/interpreter.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /null-object/obj/Debug/netcoreapp2.2/null-object.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/null-object/obj/Debug/netcoreapp2.2/null-object.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /object-pool/obj/Debug/netcoreapp2.2/object-pool.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/object-pool/obj/Debug/netcoreapp2.2/object-pool.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /templete-method/obj/templete-method.csproj.nuget.cache: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "dgSpecHash": "gdQG76zWaHdh0jm/ORRGiMyzTe/KUucZ64o6e8XPbz2QF3sFJtZ48vx3f/PntkR+RRla76CCvaHdGcaz2POLvQ==", 4 | "success": true 5 | } -------------------------------------------------------------------------------- /visitor/obj/Debug/netcoreapp2.2/visitor2.csprojResolveAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/visitor/obj/Debug/netcoreapp2.2/visitor2.csprojResolveAssemblyReference.cache -------------------------------------------------------------------------------- /bridge/bridge.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Exe 5 | netcoreapp2.2 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /chain-responsability/obj/Debug/netcoreapp2.2/chain-responsability.assets.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/chain-responsability/obj/Debug/netcoreapp2.2/chain-responsability.assets.cache -------------------------------------------------------------------------------- /composite/obj/Debug/netcoreapp2.2/composite.csprojResolveAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/composite/obj/Debug/netcoreapp2.2/composite.csprojResolveAssemblyReference.cache -------------------------------------------------------------------------------- /decorator/obj/Debug/netcoreapp2.2/decorator.csprojResolveAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/decorator/obj/Debug/netcoreapp2.2/decorator.csprojResolveAssemblyReference.cache -------------------------------------------------------------------------------- /facade/facade.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Exe 5 | netcoreapp2.2 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /flyweight/obj/Debug/netcoreapp2.2/flyweight.csprojResolveAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/flyweight/obj/Debug/netcoreapp2.2/flyweight.csprojResolveAssemblyReference.cache -------------------------------------------------------------------------------- /iterator/obj/Debug/netcoreapp2.2/iterator.csprojResolveAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/iterator/obj/Debug/netcoreapp2.2/iterator.csprojResolveAssemblyReference.cache -------------------------------------------------------------------------------- /mediator/obj/Debug/netcoreapp2.2/mediator2.csprojResolveAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/mediator/obj/Debug/netcoreapp2.2/mediator2.csprojResolveAssemblyReference.cache -------------------------------------------------------------------------------- /observer/obj/Debug/netcoreapp2.2/observer.csprojResolveAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/observer/obj/Debug/netcoreapp2.2/observer.csprojResolveAssemblyReference.cache -------------------------------------------------------------------------------- /prototype/obj/Debug/netcoreapp2.2/prototype.csprojResolveAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/prototype/obj/Debug/netcoreapp2.2/prototype.csprojResolveAssemblyReference.cache -------------------------------------------------------------------------------- /proxy/proxy.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Exe 5 | netcoreapp2.2 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /singleton/obj/Debug/netcoreapp2.2/singleton.csprojResolveAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/singleton/obj/Debug/netcoreapp2.2/singleton.csprojResolveAssemblyReference.cache -------------------------------------------------------------------------------- /strategy/obj/Debug/netcoreapp2.2/strategy.csprojResolveAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/strategy/obj/Debug/netcoreapp2.2/strategy.csprojResolveAssemblyReference.cache -------------------------------------------------------------------------------- /visitor/src/oscarblancarte/ipd/visitor/impl/IVisitable.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace oscarblancarte.ipd.visitor.impl{ 4 | public interface IVisitable { 5 | void Accept(IVisitor visitor); 6 | } 7 | } -------------------------------------------------------------------------------- /abstract-factory/AbstractFactoryConfiguration.properties: -------------------------------------------------------------------------------- 1 | serviceProductImplClass oscarblancarte.ipd.abstractfactory.ws.WSServiceStackImpl 2 | #serviceProductImplClass oscarblancarte.ipd.abstractfactory.rest.RestServiceStackImpl -------------------------------------------------------------------------------- /adapter/adapter.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Exe 5 | netcoreapp2.2 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /chain-responsability/obj/chain-responsability.csproj.nuget.cache: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "dgSpecHash": "oBOkDhYvdRFk7gStK6S1KWbOeL8O/Z+lUpSn0ia4C+YQMbjtbnfKtEfhi5MmKoWpliVtVg4n0gxbVSXOj2XlIQ==", 4 | "success": true 5 | } -------------------------------------------------------------------------------- /command/command.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Exe 5 | netcoreapp2.2 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /decorator/decorator.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Exe 5 | netcoreapp2.2 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /flyweight/flyweight.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Exe 5 | netcoreapp2.2 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /iterator/iterator.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Exe 5 | netcoreapp2.2 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /mediator/mediator2.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Exe 5 | netcoreapp2.2 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /observer/observer.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Exe 5 | netcoreapp2.2 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /visitor/visitor2.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Exe 5 | netcoreapp2.2 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /abstract-factory/obj/Debug/netcoreapp2.2/factory-method.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/abstract-factory/obj/Debug/netcoreapp2.2/factory-method.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /factory-method/obj/Debug/netcoreapp2.2/factory-method.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/factory-method/obj/Debug/netcoreapp2.2/factory-method.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /interpreter/obj/Debug/netcoreapp2.2/interpreter.csprojResolveAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/interpreter/obj/Debug/netcoreapp2.2/interpreter.csprojResolveAssemblyReference.cache -------------------------------------------------------------------------------- /object-pool/obj/Debug/netcoreapp2.2/object-pool.csprojResolveAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/object-pool/obj/Debug/netcoreapp2.2/object-pool.csprojResolveAssemblyReference.cache -------------------------------------------------------------------------------- /proxy/bin/Debug/netcoreapp2.2/proxy.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp2.2", 4 | "framework": { 5 | "name": "Microsoft.NETCore.App", 6 | "version": "2.2.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /templete-method/obj/Debug/netcoreapp2.2/templete-method.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/templete-method/obj/Debug/netcoreapp2.2/templete-method.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /adapter/bin/Debug/netcoreapp2.2/adapter.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp2.2", 4 | "framework": { 5 | "name": "Microsoft.NETCore.App", 6 | "version": "2.2.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /bridge/bin/Debug/netcoreapp2.2/bridge.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp2.2", 4 | "framework": { 5 | "name": "Microsoft.NETCore.App", 6 | "version": "2.2.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /command/bin/Debug/netcoreapp2.2/command.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp2.2", 4 | "framework": { 5 | "name": "Microsoft.NETCore.App", 6 | "version": "2.2.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /facade/bin/Debug/netcoreapp2.2/facade.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp2.2", 4 | "framework": { 5 | "name": "Microsoft.NETCore.App", 6 | "version": "2.2.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /iterator/bin/Debug/netcoreapp2.2/iterator.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp2.2", 4 | "framework": { 5 | "name": "Microsoft.NETCore.App", 6 | "version": "2.2.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /observer/bin/Debug/netcoreapp2.2/observer.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp2.2", 4 | "framework": { 5 | "name": "Microsoft.NETCore.App", 6 | "version": "2.2.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /strategy/bin/Debug/netcoreapp2.2/strategy.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp2.2", 4 | "framework": { 5 | "name": "Microsoft.NETCore.App", 6 | "version": "2.2.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /visitor/bin/Debug/netcoreapp2.2/visitor2.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp2.2", 4 | "framework": { 5 | "name": "Microsoft.NETCore.App", 6 | "version": "2.2.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /composite/bin/Debug/netcoreapp2.2/composite.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp2.2", 4 | "framework": { 5 | "name": "Microsoft.NETCore.App", 6 | "version": "2.2.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /decorator/bin/Debug/netcoreapp2.2/decorator.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp2.2", 4 | "framework": { 5 | "name": "Microsoft.NETCore.App", 6 | "version": "2.2.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /factory-method/obj/Debug/netcoreapp2.2/factory-method.csprojResolveAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/factory-method/obj/Debug/netcoreapp2.2/factory-method.csprojResolveAssemblyReference.cache -------------------------------------------------------------------------------- /flyweight/bin/Debug/netcoreapp2.2/flyweight.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp2.2", 4 | "framework": { 5 | "name": "Microsoft.NETCore.App", 6 | "version": "2.2.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /mediator/bin/Debug/netcoreapp2.2/mediator2.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp2.2", 4 | "framework": { 5 | "name": "Microsoft.NETCore.App", 6 | "version": "2.2.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /prototype/bin/Debug/netcoreapp2.2/prototype.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp2.2", 4 | "framework": { 5 | "name": "Microsoft.NETCore.App", 6 | "version": "2.2.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /singleton/bin/Debug/netcoreapp2.2/singleton.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp2.2", 4 | "framework": { 5 | "name": "Microsoft.NETCore.App", 6 | "version": "2.2.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /abstract-factory/obj/Debug/netcoreapp2.2/factory-method.csprojResolveAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/abstract-factory/obj/Debug/netcoreapp2.2/factory-method.csprojResolveAssemblyReference.cache -------------------------------------------------------------------------------- /interpreter/bin/Debug/netcoreapp2.2/interpreter.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp2.2", 4 | "framework": { 5 | "name": "Microsoft.NETCore.App", 6 | "version": "2.2.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /null-object/bin/Debug/netcoreapp2.2/null-object.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp2.2", 4 | "framework": { 5 | "name": "Microsoft.NETCore.App", 6 | "version": "2.2.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /object-pool/bin/Debug/netcoreapp2.2/object-pool.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp2.2", 4 | "framework": { 5 | "name": "Microsoft.NETCore.App", 6 | "version": "2.2.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /templete-method/obj/Debug/netcoreapp2.2/templete-method.csprojResolveAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/templete-method/obj/Debug/netcoreapp2.2/templete-method.csprojResolveAssemblyReference.cache -------------------------------------------------------------------------------- /abstract-factory/bin/Debug/netcoreapp2.2/factory-method.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp2.2", 4 | "framework": { 5 | "name": "Microsoft.NETCore.App", 6 | "version": "2.2.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /chain-responsability/obj/Debug/netcoreapp2.2/chain-responsability.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/chain-responsability/obj/Debug/netcoreapp2.2/chain-responsability.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /factory-method/bin/Debug/netcoreapp2.2/factory-method.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp2.2", 4 | "framework": { 5 | "name": "Microsoft.NETCore.App", 6 | "version": "2.2.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /templete-method/bin/Debug/netcoreapp2.2/templete-method.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp2.2", 4 | "framework": { 5 | "name": "Microsoft.NETCore.App", 6 | "version": "2.2.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /chain-responsability/bin/Debug/netcoreapp2.2/chain-responsability.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp2.2", 4 | "framework": { 5 | "name": "Microsoft.NETCore.App", 6 | "version": "2.2.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /chain-responsability/obj/Debug/netcoreapp2.2/chain-responsability.csprojResolveAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oscarjb1/design-patterns-cs/HEAD/chain-responsability/obj/Debug/netcoreapp2.2/chain-responsability.csprojResolveAssemblyReference.cache -------------------------------------------------------------------------------- /templete-method/src/files/drugstore/10032015123.drug: -------------------------------------------------------------------------------- 1 | 0010110010032015 2 | 0020205012032015 3 | 0030309013032015 4 | 0041015013032015 5 | 0051120014032015 6 | 0062012514032015 7 | 0072501014032015 8 | 0083011114032015 9 | 0094032115032015 10 | 0105024116032015 -------------------------------------------------------------------------------- /memento/memento.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | Exe 4 | net47 5 | x64 6 | portable 7 | 8 | -------------------------------------------------------------------------------- /strategy/UserFile.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /null-object/null-object.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Exe 5 | netcoreapp2.2 6 | null_object 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /object-pool/object-pool.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Exe 5 | netcoreapp2.2 6 | object_pool 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /command/src/oscarblancarte/ipd/command/ICommand.cs: -------------------------------------------------------------------------------- 1 | using System.IO; 2 | 3 | namespace oscarblancarte.ipd.command{ 4 | public interface ICommand { 5 | 6 | string GetCommandName(); 7 | 8 | void Execute(string[] args, StreamWriter output); 9 | } 10 | } 11 | 12 | 13 | -------------------------------------------------------------------------------- /mediator/src/oscarblancarte/ipd/mediator/module/impl/dto/Product.cs: -------------------------------------------------------------------------------- 1 | namespace oscarblancarte.ipd.mediator.module.impl.dto{ 2 | public class Product { 3 | public string Name{get; set;} 4 | 5 | public Product(string Name) { 6 | this.Name = Name; 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /templete-method/src/files/grocery/123.gry: -------------------------------------------------------------------------------- 1 | 001,01,100,10/03/2015 2 | 002,02,050,12/03/2015 3 | 003,03,090,13/03/2015 4 | 004,10,150,13/03/2015 5 | 005,11,200,14/03/2015 6 | 006,20,125,14/03/2015 7 | 007,25,010,14/03/2015 8 | 008,30,111,14/03/2015 9 | 009,40,321,15/03/2015 10 | 010,50,241,16/03/2015 -------------------------------------------------------------------------------- /templete-method/templete-method.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Exe 5 | netcoreapp2.2 6 | templete_method 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /interpreter/interpreter.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | Exe 4 | netcoreapp2.2 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /proxy/bin/Debug/netcoreapp2.2/proxy.runtimeconfig.dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "additionalProbingPaths": [ 4 | "C:\\Users\\Oscar\\.dotnet\\store\\|arch|\\|tfm|", 5 | "C:\\Users\\Oscar\\.nuget\\packages", 6 | "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" 7 | ] 8 | } 9 | } -------------------------------------------------------------------------------- /adapter/bin/Debug/netcoreapp2.2/adapter.runtimeconfig.dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "additionalProbingPaths": [ 4 | "C:\\Users\\Oscar\\.dotnet\\store\\|arch|\\|tfm|", 5 | "C:\\Users\\Oscar\\.nuget\\packages", 6 | "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" 7 | ] 8 | } 9 | } -------------------------------------------------------------------------------- /bridge/bin/Debug/netcoreapp2.2/bridge.runtimeconfig.dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "additionalProbingPaths": [ 4 | "C:\\Users\\Oscar\\.dotnet\\store\\|arch|\\|tfm|", 5 | "C:\\Users\\Oscar\\.nuget\\packages", 6 | "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" 7 | ] 8 | } 9 | } -------------------------------------------------------------------------------- /chain-responsability/chain-responsability.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Exe 5 | netcoreapp2.2 6 | chain_responsability 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /command/bin/Debug/netcoreapp2.2/command.runtimeconfig.dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "additionalProbingPaths": [ 4 | "C:\\Users\\Oscar\\.dotnet\\store\\|arch|\\|tfm|", 5 | "C:\\Users\\Oscar\\.nuget\\packages", 6 | "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" 7 | ] 8 | } 9 | } -------------------------------------------------------------------------------- /facade/bin/Debug/netcoreapp2.2/facade.runtimeconfig.dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "additionalProbingPaths": [ 4 | "C:\\Users\\Oscar\\.dotnet\\store\\|arch|\\|tfm|", 5 | "C:\\Users\\Oscar\\.nuget\\packages", 6 | "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" 7 | ] 8 | } 9 | } -------------------------------------------------------------------------------- /visitor/bin/Debug/netcoreapp2.2/visitor2.runtimeconfig.dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "additionalProbingPaths": [ 4 | "C:\\Users\\Oscar\\.dotnet\\store\\|arch|\\|tfm|", 5 | "C:\\Users\\Oscar\\.nuget\\packages", 6 | "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" 7 | ] 8 | } 9 | } -------------------------------------------------------------------------------- /composite/bin/Debug/netcoreapp2.2/composite.runtimeconfig.dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "additionalProbingPaths": [ 4 | "C:\\Users\\Oscar\\.dotnet\\store\\|arch|\\|tfm|", 5 | "C:\\Users\\Oscar\\.nuget\\packages", 6 | "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" 7 | ] 8 | } 9 | } -------------------------------------------------------------------------------- /decorator/bin/Debug/netcoreapp2.2/decorator.runtimeconfig.dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "additionalProbingPaths": [ 4 | "C:\\Users\\Oscar\\.dotnet\\store\\|arch|\\|tfm|", 5 | "C:\\Users\\Oscar\\.nuget\\packages", 6 | "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" 7 | ] 8 | } 9 | } -------------------------------------------------------------------------------- /flyweight/bin/Debug/netcoreapp2.2/flyweight.runtimeconfig.dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "additionalProbingPaths": [ 4 | "C:\\Users\\Oscar\\.dotnet\\store\\|arch|\\|tfm|", 5 | "C:\\Users\\Oscar\\.nuget\\packages", 6 | "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" 7 | ] 8 | } 9 | } -------------------------------------------------------------------------------- /iterator/bin/Debug/netcoreapp2.2/iterator.runtimeconfig.dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "additionalProbingPaths": [ 4 | "C:\\Users\\Oscar\\.dotnet\\store\\|arch|\\|tfm|", 5 | "C:\\Users\\Oscar\\.nuget\\packages", 6 | "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" 7 | ] 8 | } 9 | } -------------------------------------------------------------------------------- /iterator/src/oscarblancarte/ipd/iterator/impl/IIterator.cs: -------------------------------------------------------------------------------- 1 | /** 2 | * @author Oscar Javier Blancarte Iturralde 3 | * @see http://www.oscarblancarteblog.com 4 | */ 5 | namespace oscarblancarte.ipd.iterator.impl{ 6 | public interface IIterator { 7 | bool HasNext(); 8 | T Next(); 9 | } 10 | } -------------------------------------------------------------------------------- /mediator/bin/Debug/netcoreapp2.2/mediator2.runtimeconfig.dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "additionalProbingPaths": [ 4 | "C:\\Users\\Oscar\\.dotnet\\store\\|arch|\\|tfm|", 5 | "C:\\Users\\Oscar\\.nuget\\packages", 6 | "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" 7 | ] 8 | } 9 | } -------------------------------------------------------------------------------- /mediator/src/oscarblancarte/ipd/mediator/module/impl/dto/SaleOrder.cs: -------------------------------------------------------------------------------- 1 | namespace oscarblancarte.ipd.mediator.module.impl.dto{ 2 | public class SaleOrder : Sale { 3 | 4 | public string Id{get; set;} 5 | 6 | public SaleOrder(string Id) { 7 | this.Id = Id; 8 | } 9 | } 10 | } -------------------------------------------------------------------------------- /observer/bin/Debug/netcoreapp2.2/observer.runtimeconfig.dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "additionalProbingPaths": [ 4 | "C:\\Users\\Oscar\\.dotnet\\store\\|arch|\\|tfm|", 5 | "C:\\Users\\Oscar\\.nuget\\packages", 6 | "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" 7 | ] 8 | } 9 | } -------------------------------------------------------------------------------- /prototype/bin/Debug/netcoreapp2.2/prototype.runtimeconfig.dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "additionalProbingPaths": [ 4 | "C:\\Users\\Oscar\\.dotnet\\store\\|arch|\\|tfm|", 5 | "C:\\Users\\Oscar\\.nuget\\packages", 6 | "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" 7 | ] 8 | } 9 | } -------------------------------------------------------------------------------- /singleton/bin/Debug/netcoreapp2.2/singleton.runtimeconfig.dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "additionalProbingPaths": [ 4 | "C:\\Users\\Oscar\\.dotnet\\store\\|arch|\\|tfm|", 5 | "C:\\Users\\Oscar\\.nuget\\packages", 6 | "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" 7 | ] 8 | } 9 | } -------------------------------------------------------------------------------- /strategy/bin/Debug/netcoreapp2.2/strategy.runtimeconfig.dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "additionalProbingPaths": [ 4 | "C:\\Users\\Oscar\\.dotnet\\store\\|arch|\\|tfm|", 5 | "C:\\Users\\Oscar\\.nuget\\packages", 6 | "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" 7 | ] 8 | } 9 | } -------------------------------------------------------------------------------- /factory-method/src/oscarblancarte/ipd/factorymethod/IDBAdapter.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System; 3 | using System.Data; 4 | using System.Data.SqlClient; 5 | 6 | namespace oscarblancarte.ipd.factorymethod{ 7 | public interface IDBAdapter { 8 | IDbConnection GetConnection(); 9 | } 10 | } -------------------------------------------------------------------------------- /interpreter/bin/Debug/netcoreapp2.2/interpreter.runtimeconfig.dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "additionalProbingPaths": [ 4 | "C:\\Users\\Oscar\\.dotnet\\store\\|arch|\\|tfm|", 5 | "C:\\Users\\Oscar\\.nuget\\packages", 6 | "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" 7 | ] 8 | } 9 | } -------------------------------------------------------------------------------- /null-object/bin/Debug/netcoreapp2.2/null-object.runtimeconfig.dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "additionalProbingPaths": [ 4 | "C:\\Users\\Oscar\\.dotnet\\store\\|arch|\\|tfm|", 5 | "C:\\Users\\Oscar\\.nuget\\packages", 6 | "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" 7 | ] 8 | } 9 | } -------------------------------------------------------------------------------- /object-pool/bin/Debug/netcoreapp2.2/object-pool.runtimeconfig.dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "additionalProbingPaths": [ 4 | "C:\\Users\\Oscar\\.dotnet\\store\\|arch|\\|tfm|", 5 | "C:\\Users\\Oscar\\.nuget\\packages", 6 | "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" 7 | ] 8 | } 9 | } -------------------------------------------------------------------------------- /abstract-factory/bin/Debug/netcoreapp2.2/factory-method.runtimeconfig.dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "additionalProbingPaths": [ 4 | "C:\\Users\\Oscar\\.dotnet\\store\\|arch|\\|tfm|", 5 | "C:\\Users\\Oscar\\.nuget\\packages", 6 | "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" 7 | ] 8 | } 9 | } -------------------------------------------------------------------------------- /bridge/src/oscarblancarte/ipd/bridge/impl/IMessageEncrypt.cs: -------------------------------------------------------------------------------- 1 | /** 2 | * @author Oscar Javier Blancarte Iturralde 3 | * @see http://www.oscarblancarteblog.com 4 | */ 5 | namespace oscarblancarte.ipd.bridge.impl{ 6 | public interface IMessageEncrypt { 7 | string EncryptMessage(string message, string password); 8 | } 9 | } -------------------------------------------------------------------------------- /factory-method/bin/Debug/netcoreapp2.2/factory-method.runtimeconfig.dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "additionalProbingPaths": [ 4 | "C:\\Users\\Oscar\\.dotnet\\store\\|arch|\\|tfm|", 5 | "C:\\Users\\Oscar\\.nuget\\packages", 6 | "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" 7 | ] 8 | } 9 | } -------------------------------------------------------------------------------- /templete-method/bin/Debug/netcoreapp2.2/templete-method.runtimeconfig.dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "additionalProbingPaths": [ 4 | "C:\\Users\\Oscar\\.dotnet\\store\\|arch|\\|tfm|", 5 | "C:\\Users\\Oscar\\.nuget\\packages", 6 | "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" 7 | ] 8 | } 9 | } -------------------------------------------------------------------------------- /iterator/src/oscarblancarte/ipd/iterator/impl/IContainer.cs: -------------------------------------------------------------------------------- 1 | /** 2 | * @author Oscar Javier Blancarte Iturralde 3 | * @see http://www.oscarblancarteblog.com 4 | */ 5 | namespace oscarblancarte.ipd.iterator.impl{ 6 | 7 | public interface IContainer { 8 | IIterator CreateIterator(); 9 | } 10 | } 11 | 12 | -------------------------------------------------------------------------------- /chain-responsability/bin/Debug/netcoreapp2.2/chain-responsability.runtimeconfig.dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "additionalProbingPaths": [ 4 | "C:\\Users\\Oscar\\.dotnet\\store\\|arch|\\|tfm|", 5 | "C:\\Users\\Oscar\\.nuget\\packages", 6 | "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" 7 | ] 8 | } 9 | } -------------------------------------------------------------------------------- /chain-responsability/src/oscarblancarte/ipd/chainofresponsability/domain/Status.cs: -------------------------------------------------------------------------------- 1 | /** 2 | * @author Oscar Javier Blancarte Iturralde 3 | * @see http://www.oscarblancarteblog.com 4 | */ 5 | namespace oscarblancarte.ipd.chainofresponsability.domain{ 6 | public enum Status { 7 | ACTIVO,BAJA 8 | } 9 | } 10 | 11 | 12 | -------------------------------------------------------------------------------- /memento/obj/memento.csproj.nuget.g.targets: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath) 5 | 6 | -------------------------------------------------------------------------------- /prototype/prototype.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | Exe 4 | netcoreapp2.2 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /facade/src/oscarblancarte/ipd/facade/impl/IPaymentFacade.cs: -------------------------------------------------------------------------------- 1 | /** 2 | * @author Oscar Javier Blancarte Iturralde. 3 | * @see http://oscarblancarteblog.com 4 | */ 5 | namespace oscarblancarte.ipd.facade.impl{ 6 | public interface IPaymentFacade { 7 | PaymentResponse Pay(PaymentRequest paymentRequest); 8 | } 9 | } 10 | 11 | 12 | -------------------------------------------------------------------------------- /bridge/src/oscarblancarte/ipd/bridge/encript/IEncryptAlgorithm.cs: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * @author Oscar Javier Blancarte Iturralde 4 | * @see http://www.oscarblancarteblog.com 5 | */ 6 | namespace oscarblancarte.ipd.bridge.encript{ 7 | public interface IEncryptAlgorithm { 8 | string Encrypt(string message, string password) ; 9 | } 10 | 11 | } -------------------------------------------------------------------------------- /chain-responsability/src/oscarblancarte/ipd/chainofresponsability/domain/Customer.cs: -------------------------------------------------------------------------------- 1 | /** 2 | * @author Oscar Javier Blancarte Iturralde 3 | * @see http://www.oscarblancarteblog.com 4 | */ 5 | namespace oscarblancarte.ipd.chainofresponsability.domain{ 6 | public class Customer : Contributor{ 7 | 8 | } 9 | 10 | } 11 | 12 | 13 | -------------------------------------------------------------------------------- /adapter/src/oscarblancarte/ipd/adapter/creditapi/bankx/XBankCreditResponse.cs: -------------------------------------------------------------------------------- 1 | /** 2 | * @author Oscar Javier Blancarte Iturralde 3 | * @see http://wwww.oscarblancarteblog.com 4 | */ 5 | 6 | namespace oscarblancarte.ipd.adapter.creditapi.bankx{ 7 | public class XBankCreditResponse { 8 | public bool Aproval{get; set;} 9 | 10 | } 11 | } -------------------------------------------------------------------------------- /object-pool/src/oscarblancarte/ipd/objectpool/impl/poolable/IPooledObject.cs: -------------------------------------------------------------------------------- 1 | /** 2 | * @author Oscar Javier Blancarte Iturralde 3 | * @see http://www.oscarblancarteblog.com 4 | */ 5 | namespace oscarblancarte.ipd.objectpool.impl.poolable{ 6 | public interface IPooledObject { 7 | bool Validate(); 8 | void Invalidate(); 9 | } 10 | } -------------------------------------------------------------------------------- /adapter/src/oscarblancarte/ipd/adapter/creditapi/banky/YBankCreditApproveResult.cs: -------------------------------------------------------------------------------- 1 | /** 2 | * @author Oscar Javier Blancarte Iturralde 3 | * @see http://wwww.oscarblancarteblog.com 4 | */ 5 | 6 | namespace oscarblancarte.ipd.adapter.creditapi.banky{ 7 | public class YBankCreditApproveResult { 8 | 9 | public string Approved{get; set;} 10 | } 11 | } -------------------------------------------------------------------------------- /adapter/src/oscarblancarte/ipd/adapter/impl/IBankAdapter.cs: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * @author Oscar Javier Blancarte Iturralde 4 | * @see http://wwww.oscarblancarteblog.com 5 | */ 6 | namespace oscarblancarte.ipd.adapter.impl{ 7 | public interface IBankAdapter { 8 | BankCreditResponse sendCreditRequest(BankCreditRequest request); 9 | } 10 | } 11 | 12 | 13 | -------------------------------------------------------------------------------- /proxy/src/oscarblancarte/ipd/proxy/impl/IProcessEjecutor.cs: -------------------------------------------------------------------------------- 1 | /** 2 | * @author Oscar Javier Blancarte Iturralde 3 | * @see http://www.oscarblancarteblog.com 4 | */ 5 | namespace oscarblancarte.ipd.proxy.impl{ 6 | public interface IProcessEjecutor { 7 | void EjecuteProcess(int idProcess, string user, string password); 8 | } 9 | } 10 | 11 | 12 | -------------------------------------------------------------------------------- /singleton/singleton.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Exe 5 | netcoreapp2.2 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /strategy/src/oscarblancarte/ipd/strategy/impl/IAuthenticationStrategy.cs: -------------------------------------------------------------------------------- 1 | /** 2 | * @author Oscar Javier Blancarte Iturralde 3 | * @see http://www.oscarblancarteblog.com 4 | */ 5 | namespace oscarblancarte.ipd.strategy.impl{ 6 | public interface IAuthenticationStrategy { 7 | 8 | Principal Authenticate(string userName, string passwrd); 9 | } 10 | } -------------------------------------------------------------------------------- /interpreter/src/oscarblancarte/ipd/interprete/sql/AbstractSQLExpression.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | /** 4 | * @author Oscar Javier Blancarte Iturralde 5 | * @see http://www.oscarblancarteblog.com 6 | */ 7 | namespace oscarblancarte.ipd.interprete.sql{ 8 | public interface AbstractSQLExpression { 9 | Object Interpret(Context context) ; 10 | } 11 | } 12 | 13 | 14 | -------------------------------------------------------------------------------- /state/src/oscarblancarte/ipd/state/states/AbstractServerState.java: -------------------------------------------------------------------------------- 1 | package oscarblancarte.ipd.state.states; 2 | 3 | import oscarblancarte.ipd.state.Server; 4 | 5 | public abstract class AbstractServerState { 6 | 7 | public AbstractServerState() { 8 | } 9 | 10 | public abstract void handleMessage( 11 | Server server, String message); 12 | 13 | } 14 | -------------------------------------------------------------------------------- /abstract-factory/factory-method.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | Exe 4 | netcoreapp2.2 5 | factory_method 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /abstract-factory/src/oscarblancarte/ipd/abstractfactory/service/IProductsService.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | /** 4 | * @author Oscar Javier Blancarte Iturralde 5 | * @see http://www.oscarblancarteblog.com 6 | */ 7 | namespace oscarblancarte.ipd.abstractfactory.service{ 8 | public interface IProductsService { 9 | string[] GetProducts(); 10 | } 11 | } 12 | 13 | 14 | -------------------------------------------------------------------------------- /chain-responsability/src/oscarblancarte/ipd/chainofresponsability/domain/Product.cs: -------------------------------------------------------------------------------- 1 | /** 2 | * @author Oscar Javier Blancarte Iturralde 3 | * @see http://www.oscarblancarteblog.com 4 | */ 5 | namespace oscarblancarte.ipd.chainofresponsability.domain{ 6 | public class Product { 7 | public string Name{get; set;} 8 | public double ListPrice{get; set;} 9 | } 10 | } -------------------------------------------------------------------------------- /observer/src/oscarblancarte/ipd/observer/impl/IObserver.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | /** 4 | * @author Oscar Javier Blancarte Iturralde 5 | * @see http://www.oscarblancarteblog.com 6 | */ 7 | namespace oscarblancarte.ipd.observer.impl{ 8 | public interface IObserver { 9 | 10 | void NotifyObserver(string command, Object source); 11 | } 12 | } 13 | 14 | 15 | -------------------------------------------------------------------------------- /visitor/src/oscarblancarte/ipd/visitor/impl/IVisitor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using oscarblancarte.ipd.visitor.domain; 3 | 4 | namespace oscarblancarte.ipd.visitor.impl{ 5 | public interface IVisitor { 6 | void Project(Project project); 7 | void Activitie(Activitie activitie); 8 | void Employee(Employee employee); 9 | Object GetResult(); 10 | } 11 | } -------------------------------------------------------------------------------- /adapter/src/oscarblancarte/ipd/adapter/creditapi/banky/YBankCreditSenderListener.cs: -------------------------------------------------------------------------------- 1 | /** 2 | * @author Oscar Javier Blancarte Iturralde 3 | * @see http://wwww.oscarblancarteblog.com 4 | */ 5 | 6 | namespace oscarblancarte.ipd.adapter.creditapi.banky{ 7 | public interface YBankCreditSenderListener { 8 | void notifyCreditResult(YBankCreditApproveResult result); 9 | } 10 | } -------------------------------------------------------------------------------- /interpreter/src/oscarblancarte/ipd/interprete/sql/nonterminal/StatementExpression.cs: -------------------------------------------------------------------------------- 1 | using oscarblancarte.ipd.interprete.sql; 2 | 3 | /** 4 | * @author Oscar Javier Blancarte Iturralde 5 | * @see http://www.oscarblancarteblog.com 6 | */ 7 | namespace oscarblancarte.ipd.interprete.sql.nonterminal 8 | { 9 | public interface StatementExpression : AbstractSQLExpression{ 10 | } 11 | } -------------------------------------------------------------------------------- /adapter/src/oscarblancarte/ipd/adapter/creditapi/banky/YBankCreditApprove.cs: -------------------------------------------------------------------------------- 1 | /** 2 | * @author Oscar Javier Blancarte Iturralde 3 | * @see http://wwww.oscarblancarteblog.com 4 | */ 5 | 6 | namespace oscarblancarte.ipd.adapter.creditapi.banky{ 7 | public class YBankCreditApprove { 8 | public string Name{get; set;} 9 | public float Credit{get; set;} 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /chain-responsability/src/oscarblancarte/ipd/chainofresponsability/domain/CreditData.cs: -------------------------------------------------------------------------------- 1 | /** 2 | * @author Oscar Javier Blancarte Iturralde 3 | * @see http://www.oscarblancarteblog.com 4 | */ 5 | namespace oscarblancarte.ipd.chainofresponsability.domain{ 6 | public class CreditData { 7 | public double CreditLimit{get; set;} 8 | public double Balance{get; set;} 9 | 10 | } 11 | } -------------------------------------------------------------------------------- /mediator/src/oscarblancarte/ipd/mediator/module/impl/dto/ProductRequest.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | 5 | namespace oscarblancarte.ipd.mediator.module.impl.dto{ 6 | public class ProductRequest { 7 | public List Products; 8 | 9 | public ProductRequest(){ 10 | this.Products = new List(); 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /proxy/.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}/proxy.csproj" 11 | ], 12 | "problemMatcher": "$msCompile" 13 | } 14 | ] 15 | } -------------------------------------------------------------------------------- /adapter/.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}/adapter.csproj" 11 | ], 12 | "problemMatcher": "$msCompile" 13 | } 14 | ] 15 | } -------------------------------------------------------------------------------- /bridge/.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}/bridge.csproj" 11 | ], 12 | "problemMatcher": "$msCompile" 13 | } 14 | ] 15 | } -------------------------------------------------------------------------------- /command/.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}/command.csproj" 11 | ], 12 | "problemMatcher": "$msCompile" 13 | } 14 | ] 15 | } -------------------------------------------------------------------------------- /facade/.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}/facade.csproj" 11 | ], 12 | "problemMatcher": "$msCompile" 13 | } 14 | ] 15 | } -------------------------------------------------------------------------------- /iterator/.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}/iterator.csproj" 11 | ], 12 | "problemMatcher": "$msCompile" 13 | } 14 | ] 15 | } -------------------------------------------------------------------------------- /memento/.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}/memento.csproj" 11 | ], 12 | "problemMatcher": "$msCompile" 13 | } 14 | ] 15 | } -------------------------------------------------------------------------------- /object-pool/src/oscarblancarte/ipd/objectpool/impl/factory/IPoolableObjectFactory.cs: -------------------------------------------------------------------------------- 1 | using oscarblancarte.ipd.objectpool.impl.poolable; 2 | 3 | /** 4 | * @author Oscar Javier Blancarte Iturralde 5 | * @see http://www.oscarblancarteblog.com 6 | */ 7 | namespace oscarblancarte.ipd.objectpool.impl.factory{ 8 | public interface IPoolableObjectFactory { 9 | T CreateNew(); 10 | } 11 | } -------------------------------------------------------------------------------- /observer/.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}/observer.csproj" 11 | ], 12 | "problemMatcher": "$msCompile" 13 | } 14 | ] 15 | } -------------------------------------------------------------------------------- /singleton/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /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 | } -------------------------------------------------------------------------------- /visitor/.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}/visitor2.csproj" 11 | ], 12 | "problemMatcher": "$msCompile" 13 | } 14 | ] 15 | } -------------------------------------------------------------------------------- /abstract-factory/src/oscarblancarte/ipd/abstractfactory/service/IEmployeeService.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | /** 4 | * @author Oscar Javier Blancarte Iturralde 5 | * @see http://www.oscarblancarteblog.com 6 | */ 7 | 8 | namespace oscarblancarte.ipd.abstractfactory.service 9 | { 10 | public interface IEmployeeService 11 | { 12 | string[] GetEmployee(); 13 | } 14 | } 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /adapter/src/oscarblancarte/ipd/adapter/creditapi/bankx/XBankCreditRequest.cs: -------------------------------------------------------------------------------- 1 | /** 2 | * @author Oscar Javier Blancarte Iturralde 3 | * @see http://wwww.oscarblancarteblog.com 4 | */ 5 | 6 | namespace oscarblancarte.ipd.adapter.creditapi.bankx{ 7 | 8 | public class XBankCreditRequest { 9 | public string CustomerNam{get; set;} 10 | public double RequestAmount{get; set;} 11 | } 12 | } -------------------------------------------------------------------------------- /composite/.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}/composite.csproj" 11 | ], 12 | "problemMatcher": "$msCompile" 13 | } 14 | ] 15 | } -------------------------------------------------------------------------------- /decorator/.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}/decorator.csproj" 11 | ], 12 | "problemMatcher": "$msCompile" 13 | } 14 | ] 15 | } -------------------------------------------------------------------------------- /flyweight/.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}/flyweight.csproj" 11 | ], 12 | "problemMatcher": "$msCompile" 13 | } 14 | ] 15 | } -------------------------------------------------------------------------------- /mediator/.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}/mediator2.csproj" 11 | ], 12 | "problemMatcher": "$msCompile" 13 | } 14 | ] 15 | } -------------------------------------------------------------------------------- /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 | } -------------------------------------------------------------------------------- /singleton/.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}/singleton.csproj" 11 | ], 12 | "problemMatcher": "$msCompile" 13 | } 14 | ] 15 | } -------------------------------------------------------------------------------- /strategy/strategy.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | Exe 4 | netcoreapp2.2 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /bridge/src/oscarblancarte/ipd/bridge/encript/NoEncryptAlgorithm.cs: -------------------------------------------------------------------------------- 1 | /** 2 | * @author Oscar Javier Blancarte Iturralde 3 | * @see http://www.oscarblancarteblog.com 4 | */ 5 | namespace oscarblancarte.ipd.bridge.encript{ 6 | public class NoEncryptAlgorithm : IEncryptAlgorithm{ 7 | public string Encrypt(string message, string password) { 8 | return message; 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /facade/src/oscarblancarte/ipd/facade/impl/GeneralPaymentError.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | /** 4 | * @author Oscar Javier Blancarte Iturralde. 5 | * @see http://oscarblancarteblog.com 6 | */ 7 | namespace oscarblancarte.ipd.facade.impl{ 8 | public class GeneralPaymentError : Exception { 9 | 10 | public GeneralPaymentError(string message) : base(message){ 11 | 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /interpreter/.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}/interpreter.csproj" 11 | ], 12 | "problemMatcher": "$msCompile" 13 | } 14 | ] 15 | } -------------------------------------------------------------------------------- /object-pool/.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}/object-pool.csproj" 11 | ], 12 | "problemMatcher": "$msCompile" 13 | } 14 | ] 15 | } -------------------------------------------------------------------------------- /abstract-factory/.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}/factory-method.csproj" 11 | ], 12 | "problemMatcher": "$msCompile" 13 | } 14 | ] 15 | } -------------------------------------------------------------------------------- /factory-method/.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}/factory-method.csproj" 11 | ], 12 | "problemMatcher": "$msCompile" 13 | } 14 | ] 15 | } -------------------------------------------------------------------------------- /templete-method/.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}/templete-method.csproj" 11 | ], 12 | "problemMatcher": "$msCompile" 13 | } 14 | ] 15 | } -------------------------------------------------------------------------------- /proxy/src/oscarblancarte/ipd/proxy/impl/ServiceFactory.cs: -------------------------------------------------------------------------------- 1 | /** 2 | * @author Oscar Javier Blancarte Iturralde 3 | * @see http://www.oscarblancarteblog.com 4 | */ 5 | namespace oscarblancarte.ipd.proxy.impl{ 6 | public class ServiceFactory { 7 | 8 | public static IProcessEjecutor CreateProcessEjecutor(){ 9 | return new ProcessEjecutorProxy(); 10 | } 11 | } 12 | } 13 | 14 | 15 | -------------------------------------------------------------------------------- /chain-responsability/.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}/chain-responsability.csproj" 11 | ], 12 | "problemMatcher": "$msCompile" 13 | } 14 | ] 15 | } -------------------------------------------------------------------------------- /object-pool/src/oscarblancarte/ipd/objectpool/impl/PoolException.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | /** 4 | * @author Oscar Javier Blancarte Iturralde 5 | * @see http://www.oscarblancarteblog.com 6 | */ 7 | namespace oscarblancarte.ipd.objectpool.impl{ 8 | public class PoolException : Exception { 9 | 10 | public PoolException(string message) : base(message) 11 | { 12 | 13 | } 14 | } 15 | } -------------------------------------------------------------------------------- /chain-responsability/src/oscarblancarte/ipd/chainofresponsability/domain/Telephone.cs: -------------------------------------------------------------------------------- 1 | /** 2 | * @author Oscar Javier Blancarte Iturralde 3 | * @see http://www.oscarblancarteblog.com 4 | */ 5 | namespace oscarblancarte.ipd.chainofresponsability.domain{ 6 | public class Telephone { 7 | 8 | public string Lada{get; set;} 9 | public string Number{get; set;} 10 | public string Ext{get; set;} 11 | } 12 | } -------------------------------------------------------------------------------- /decorator/src/oscarblancarte/ipd/decorator/impl/message/IMessage.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | /** 4 | * @author Oscar Javier Blancarte Iturralde 5 | * @see http://www.oscarblancarteblog.com 6 | */ 7 | namespace oscarblancarte.ipd.decorator.impl.message{ 8 | public interface IMessage { 9 | 10 | IMessage ProcessMessage(); 11 | string GetContent(); 12 | void SetContent(string content); 13 | } 14 | } -------------------------------------------------------------------------------- /prototype/src/oscarblancarte/ipd/prototype/impl/IPrototype.cs: -------------------------------------------------------------------------------- 1 | using oscarblancarte.ipd.prototype.impl; 2 | using System; 3 | 4 | /** 5 | * @author oscar javier blancarte iturralde 6 | * @see http://www.oscarblancarteblog.com 7 | */ 8 | 9 | namespace oscarblancarte.ipd.prototype.impl{ 10 | public interface IPrototype 11 | { 12 | IPrototype Clone(); 13 | IPrototype DeepClone(); 14 | } 15 | } 16 | 17 | -------------------------------------------------------------------------------- /singleton/bin/Debug/netcoreapp2.2/singleton.dll.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /chain-responsability/src/oscarblancarte/ipd/chainofresponsability/domain/order/SalesOrder.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | /** 4 | * @author Oscar Javier Blancarte Iturralde 5 | * @see http://www.oscarblancarteblog.com 6 | */ 7 | namespace oscarblancarte.ipd.chainofresponsability.domain.order{ 8 | public class SalesOrder : AbstractOrder{ 9 | public DateTime DeliveryDate{get; set;} 10 | 11 | } 12 | } 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /object-pool/src/oscarblancarte/ipd/objectpool/impl/IObjectPool.cs: -------------------------------------------------------------------------------- 1 | using oscarblancarte.ipd.objectpool.impl.poolable; 2 | 3 | /** 4 | * @author Oscar Javier Blancarte Iturralde 5 | * @see http://www.oscarblancarteblog.com 6 | */ 7 | namespace oscarblancarte.ipd.objectpool.impl{ 8 | public interface IObjectPool 9 | where T: IPooledObject 10 | { 11 | T GetObject() ; 12 | void ReleaceObject(T pooledObject); 13 | } 14 | } -------------------------------------------------------------------------------- /proxy/obj/Debug/netcoreapp2.2/project.razor.json: -------------------------------------------------------------------------------- 1 | { 2 | "ProjectFilePath": "c:\\Desarrollo\\pattern-book-github\\design-patterns-cs\\proxy\\proxy.csproj", 3 | "TargetFramework": "netcoreapp2.2", 4 | "TagHelpers": [], 5 | "Configuration": { 6 | "ConfigurationName": "UnsupportedRazor", 7 | "LanguageVersion": "1.0", 8 | "Extensions": [ 9 | { 10 | "ExtensionName": "UnsupportedRazorExtension" 11 | } 12 | ] 13 | } 14 | } -------------------------------------------------------------------------------- /adapter/obj/Debug/netcoreapp2.2/project.razor.json: -------------------------------------------------------------------------------- 1 | { 2 | "ProjectFilePath": "c:\\Desarrollo\\pattern-book-github\\design-patterns-cs\\adapter\\adapter.csproj", 3 | "TargetFramework": "netcoreapp2.2", 4 | "TagHelpers": [], 5 | "Configuration": { 6 | "ConfigurationName": "UnsupportedRazor", 7 | "LanguageVersion": "1.0", 8 | "Extensions": [ 9 | { 10 | "ExtensionName": "UnsupportedRazorExtension" 11 | } 12 | ] 13 | } 14 | } -------------------------------------------------------------------------------- /bridge/obj/Debug/netcoreapp2.2/project.razor.json: -------------------------------------------------------------------------------- 1 | { 2 | "ProjectFilePath": "c:\\Desarrollo\\pattern-book-github\\design-patterns-cs\\bridge\\bridge.csproj", 3 | "TargetFramework": "netcoreapp2.2", 4 | "TagHelpers": [], 5 | "Configuration": { 6 | "ConfigurationName": "UnsupportedRazor", 7 | "LanguageVersion": "1.0", 8 | "Extensions": [ 9 | { 10 | "ExtensionName": "UnsupportedRazorExtension" 11 | } 12 | ] 13 | } 14 | } -------------------------------------------------------------------------------- /command/obj/Debug/netcoreapp2.2/project.razor.json: -------------------------------------------------------------------------------- 1 | { 2 | "ProjectFilePath": "c:\\Desarrollo\\pattern-book-github\\design-patterns-cs\\command\\command.csproj", 3 | "TargetFramework": "netcoreapp2.2", 4 | "TagHelpers": [], 5 | "Configuration": { 6 | "ConfigurationName": "UnsupportedRazor", 7 | "LanguageVersion": "1.0", 8 | "Extensions": [ 9 | { 10 | "ExtensionName": "UnsupportedRazorExtension" 11 | } 12 | ] 13 | } 14 | } -------------------------------------------------------------------------------- /facade/obj/Debug/netcoreapp2.2/project.razor.json: -------------------------------------------------------------------------------- 1 | { 2 | "ProjectFilePath": "c:\\Desarrollo\\pattern-book-github\\design-patterns-cs\\facade\\facade.csproj", 3 | "TargetFramework": "netcoreapp2.2", 4 | "TagHelpers": [], 5 | "Configuration": { 6 | "ConfigurationName": "UnsupportedRazor", 7 | "LanguageVersion": "1.0", 8 | "Extensions": [ 9 | { 10 | "ExtensionName": "UnsupportedRazorExtension" 11 | } 12 | ] 13 | } 14 | } -------------------------------------------------------------------------------- /memento/obj/Debug/netcoreapp2.2/project.razor.json: -------------------------------------------------------------------------------- 1 | { 2 | "ProjectFilePath": "c:\\Desarrollo\\pattern-book-github\\design-patterns-cs\\memento\\memento.csproj", 3 | "TargetFramework": "netcoreapp2.2", 4 | "TagHelpers": [], 5 | "Configuration": { 6 | "ConfigurationName": "UnsupportedRazor", 7 | "LanguageVersion": "1.0", 8 | "Extensions": [ 9 | { 10 | "ExtensionName": "UnsupportedRazorExtension" 11 | } 12 | ] 13 | } 14 | } -------------------------------------------------------------------------------- /memento/src/oscarblancarte/ipd/memento/MementoMain.cs: -------------------------------------------------------------------------------- 1 | 2 | using oscarblancarte.ipd.memento.gui; 3 | using System.Windows.Forms; 4 | 5 | namespace oscarblancarte.ipd.memento{ 6 | public class MementoMain { 7 | 8 | static void Main(string[] args) { 9 | Application.EnableVisualStyles(); 10 | Application.SetCompatibleTextRenderingDefault(false); 11 | Application.Run(new EmployeeGUI()); 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /visitor/obj/Debug/netcoreapp2.2/project.razor.json: -------------------------------------------------------------------------------- 1 | { 2 | "ProjectFilePath": "c:\\Desarrollo\\pattern-book-github\\design-patterns-cs\\visitor\\visitor2.csproj", 3 | "TargetFramework": "netcoreapp2.2", 4 | "TagHelpers": [], 5 | "Configuration": { 6 | "ConfigurationName": "UnsupportedRazor", 7 | "LanguageVersion": "1.0", 8 | "Extensions": [ 9 | { 10 | "ExtensionName": "UnsupportedRazorExtension" 11 | } 12 | ] 13 | } 14 | } -------------------------------------------------------------------------------- /composite/obj/Debug/netcoreapp2.2/project.razor.json: -------------------------------------------------------------------------------- 1 | { 2 | "ProjectFilePath": "c:\\Desarrollo\\pattern-book-github\\design-patterns-cs\\composite\\composite.csproj", 3 | "TargetFramework": "netcoreapp2.2", 4 | "TagHelpers": [], 5 | "Configuration": { 6 | "ConfigurationName": "UnsupportedRazor", 7 | "LanguageVersion": "1.0", 8 | "Extensions": [ 9 | { 10 | "ExtensionName": "UnsupportedRazorExtension" 11 | } 12 | ] 13 | } 14 | } -------------------------------------------------------------------------------- /decorator/obj/Debug/netcoreapp2.2/project.razor.json: -------------------------------------------------------------------------------- 1 | { 2 | "ProjectFilePath": "c:\\Desarrollo\\pattern-book-github\\design-patterns-cs\\decorator\\decorator.csproj", 3 | "TargetFramework": "netcoreapp2.2", 4 | "TagHelpers": [], 5 | "Configuration": { 6 | "ConfigurationName": "UnsupportedRazor", 7 | "LanguageVersion": "1.0", 8 | "Extensions": [ 9 | { 10 | "ExtensionName": "UnsupportedRazorExtension" 11 | } 12 | ] 13 | } 14 | } -------------------------------------------------------------------------------- /flyweight/obj/Debug/netcoreapp2.2/project.razor.json: -------------------------------------------------------------------------------- 1 | { 2 | "ProjectFilePath": "c:\\Desarrollo\\pattern-book-github\\design-patterns-cs\\flyweight\\flyweight.csproj", 3 | "TargetFramework": "netcoreapp2.2", 4 | "TagHelpers": [], 5 | "Configuration": { 6 | "ConfigurationName": "UnsupportedRazor", 7 | "LanguageVersion": "1.0", 8 | "Extensions": [ 9 | { 10 | "ExtensionName": "UnsupportedRazorExtension" 11 | } 12 | ] 13 | } 14 | } -------------------------------------------------------------------------------- /iterator/obj/Debug/netcoreapp2.2/project.razor.json: -------------------------------------------------------------------------------- 1 | { 2 | "ProjectFilePath": "c:\\Desarrollo\\pattern-book-github\\design-patterns-cs\\iterator\\iterator.csproj", 3 | "TargetFramework": "netcoreapp2.2", 4 | "TagHelpers": [], 5 | "Configuration": { 6 | "ConfigurationName": "UnsupportedRazor", 7 | "LanguageVersion": "1.0", 8 | "Extensions": [ 9 | { 10 | "ExtensionName": "UnsupportedRazorExtension" 11 | } 12 | ] 13 | } 14 | } -------------------------------------------------------------------------------- /mediator/obj/Debug/netcoreapp2.2/project.razor.json: -------------------------------------------------------------------------------- 1 | { 2 | "ProjectFilePath": "c:\\Desarrollo\\pattern-book-github\\design-patterns-cs\\mediator\\mediator2.csproj", 3 | "TargetFramework": "netcoreapp2.2", 4 | "TagHelpers": [], 5 | "Configuration": { 6 | "ConfigurationName": "UnsupportedRazor", 7 | "LanguageVersion": "1.0", 8 | "Extensions": [ 9 | { 10 | "ExtensionName": "UnsupportedRazorExtension" 11 | } 12 | ] 13 | } 14 | } -------------------------------------------------------------------------------- /observer/obj/Debug/netcoreapp2.2/project.razor.json: -------------------------------------------------------------------------------- 1 | { 2 | "ProjectFilePath": "c:\\Desarrollo\\pattern-book-github\\design-patterns-cs\\observer\\observer.csproj", 3 | "TargetFramework": "netcoreapp2.2", 4 | "TagHelpers": [], 5 | "Configuration": { 6 | "ConfigurationName": "UnsupportedRazor", 7 | "LanguageVersion": "1.0", 8 | "Extensions": [ 9 | { 10 | "ExtensionName": "UnsupportedRazorExtension" 11 | } 12 | ] 13 | } 14 | } -------------------------------------------------------------------------------- /prototype/obj/Debug/netcoreapp2.2/project.razor.json: -------------------------------------------------------------------------------- 1 | { 2 | "ProjectFilePath": "c:\\Desarrollo\\pattern-book-github\\design-patterns-cs\\prototype\\prototype.csproj", 3 | "TargetFramework": "netcoreapp2.2", 4 | "TagHelpers": [], 5 | "Configuration": { 6 | "ConfigurationName": "UnsupportedRazor", 7 | "LanguageVersion": "1.0", 8 | "Extensions": [ 9 | { 10 | "ExtensionName": "UnsupportedRazorExtension" 11 | } 12 | ] 13 | } 14 | } -------------------------------------------------------------------------------- /singleton/obj/Debug/netcoreapp2.2/project.razor.json: -------------------------------------------------------------------------------- 1 | { 2 | "ProjectFilePath": "c:\\Desarrollo\\pattern-book-github\\design-patterns-cs\\singleton\\singleton.csproj", 3 | "TargetFramework": "netcoreapp2.2", 4 | "TagHelpers": [], 5 | "Configuration": { 6 | "ConfigurationName": "UnsupportedRazor", 7 | "LanguageVersion": "1.0", 8 | "Extensions": [ 9 | { 10 | "ExtensionName": "UnsupportedRazorExtension" 11 | } 12 | ] 13 | } 14 | } -------------------------------------------------------------------------------- /strategy/obj/Debug/netcoreapp2.2/project.razor.json: -------------------------------------------------------------------------------- 1 | { 2 | "ProjectFilePath": "c:\\Desarrollo\\pattern-book-github\\design-patterns-cs\\strategy\\strategy.csproj", 3 | "TargetFramework": "netcoreapp2.2", 4 | "TagHelpers": [], 5 | "Configuration": { 6 | "ConfigurationName": "UnsupportedRazor", 7 | "LanguageVersion": "1.0", 8 | "Extensions": [ 9 | { 10 | "ExtensionName": "UnsupportedRazorExtension" 11 | } 12 | ] 13 | } 14 | } -------------------------------------------------------------------------------- /interpreter/src/oscarblancarte/ipd/interprete/sql/InterpreteException.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | /** 4 | * @author Oscar Javier Blancarte Iturralde 5 | * @see http://www.oscarblancarteblog.com 6 | */ 7 | namespace oscarblancarte.ipd.interprete.sql 8 | { 9 | public class InterpreteException : Exception 10 | { 11 | 12 | public InterpreteException(String message): base(message) 13 | { 14 | 15 | } 16 | } 17 | 18 | } 19 | 20 | -------------------------------------------------------------------------------- /null-object/src/oscarblancarte/ipd/nullobject/domain/Address.cs: -------------------------------------------------------------------------------- 1 | namespace oscarblancarte.ipd.nullobject.domain{ 2 | public class Address { 3 | 4 | public static readonly Address NULL_ADDRESS = new Address("NOT ADDRESS") ; 5 | 6 | public string FullAddress{get; set;} 7 | 8 | public Address(string FullAddress) { 9 | this.FullAddress = FullAddress; 10 | } 11 | 12 | public Address() { 13 | } 14 | } 15 | } -------------------------------------------------------------------------------- /visitor/src/oscarblancarte/ipd/visitor/domain/EmployeePay.cs: -------------------------------------------------------------------------------- 1 | namespace oscarblancarte.ipd.visitor.domain{ 2 | public class EmployeePay { 3 | 4 | public string EmployeeName{get; set;} 5 | public double TotalPay{get; set;} 6 | 7 | public EmployeePay(string EmployeeName, double TotalPay) { 8 | this.EmployeeName = EmployeeName; 9 | this.TotalPay = TotalPay; 10 | } 11 | 12 | 13 | 14 | } 15 | } -------------------------------------------------------------------------------- /chain-responsability/src/oscarblancarte/ipd/chainofresponsability/domain/Address.cs: -------------------------------------------------------------------------------- 1 | /** 2 | * @author Oscar Javier Blancarte Iturralde 3 | * @see http://www.oscarblancarteblog.com 4 | */ 5 | namespace oscarblancarte.ipd.chainofresponsability.domain{ 6 | public class Address { 7 | 8 | public string Address1{get; set;} 9 | public string Address2{get; set;} 10 | public string Country{get; set;} 11 | public string CP{get; set;} 12 | } 13 | } -------------------------------------------------------------------------------- /chain-responsability/src/oscarblancarte/ipd/chainofresponsability/validator/ValidationException.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | /** 4 | * @author Oscar Javier Blancarte Iturralde 5 | * @see http://www.oscarblancarteblog.com 6 | */ 7 | 8 | namespace oscarblancarte.ipd.chainofresponsability.validator{ 9 | public class ValidationException : Exception { 10 | 11 | public ValidationException(String message) : base(message) { 12 | } 13 | } 14 | } 15 | 16 | 17 | -------------------------------------------------------------------------------- /interpreter/obj/Debug/netcoreapp2.2/project.razor.json: -------------------------------------------------------------------------------- 1 | { 2 | "ProjectFilePath": "c:\\Desarrollo\\pattern-book-github\\design-patterns-cs\\interpreter\\interpreter.csproj", 3 | "TargetFramework": "netcoreapp2.2", 4 | "TagHelpers": [], 5 | "Configuration": { 6 | "ConfigurationName": "UnsupportedRazor", 7 | "LanguageVersion": "1.0", 8 | "Extensions": [ 9 | { 10 | "ExtensionName": "UnsupportedRazorExtension" 11 | } 12 | ] 13 | } 14 | } -------------------------------------------------------------------------------- /object-pool/obj/Debug/netcoreapp2.2/project.razor.json: -------------------------------------------------------------------------------- 1 | { 2 | "ProjectFilePath": "c:\\Desarrollo\\pattern-book-github\\design-patterns-cs\\object-pool\\object-pool.csproj", 3 | "TargetFramework": "netcoreapp2.2", 4 | "TagHelpers": [], 5 | "Configuration": { 6 | "ConfigurationName": "UnsupportedRazor", 7 | "LanguageVersion": "1.0", 8 | "Extensions": [ 9 | { 10 | "ExtensionName": "UnsupportedRazorExtension" 11 | } 12 | ] 13 | } 14 | } -------------------------------------------------------------------------------- /composite/src/oscarblancarte/ipd/composite/products/SimpleProduct.cs: -------------------------------------------------------------------------------- 1 | /** 2 | * @author oblancarte 3 | */ 4 | namespace oscarblancarte.ipd.composite.products{ 5 | public class SimpleProduct : AbstractProduct { 6 | 7 | public string Brand{get; set;} 8 | 9 | public SimpleProduct(string name, double price, string brand): base(name, price) { 10 | 11 | this.Brand = brand; 12 | } 13 | 14 | 15 | } 16 | } 17 | 18 | 19 | -------------------------------------------------------------------------------- /factory-method/obj/Debug/netcoreapp2.2/project.razor.json: -------------------------------------------------------------------------------- 1 | { 2 | "ProjectFilePath": "c:\\Desarrollo\\pattern-book-github\\design-patterns-cs\\factory-method\\factory-method.csproj", 3 | "TargetFramework": "netcoreapp2.2", 4 | "TagHelpers": [], 5 | "Configuration": { 6 | "ConfigurationName": "UnsupportedRazor", 7 | "LanguageVersion": "1.0", 8 | "Extensions": [ 9 | { 10 | "ExtensionName": "UnsupportedRazorExtension" 11 | } 12 | ] 13 | } 14 | } -------------------------------------------------------------------------------- /abstract-factory/obj/Debug/netcoreapp2.2/project.razor.json: -------------------------------------------------------------------------------- 1 | { 2 | "ProjectFilePath": "c:\\Desarrollo\\pattern-book-github\\design-patterns-cs\\abstract-factory\\factory-method.csproj", 3 | "TargetFramework": "netcoreapp2.2", 4 | "TagHelpers": [], 5 | "Configuration": { 6 | "ConfigurationName": "UnsupportedRazor", 7 | "LanguageVersion": "1.0", 8 | "Extensions": [ 9 | { 10 | "ExtensionName": "UnsupportedRazorExtension" 11 | } 12 | ] 13 | } 14 | } -------------------------------------------------------------------------------- /templete-method/obj/Debug/netcoreapp2.2/project.razor.json: -------------------------------------------------------------------------------- 1 | { 2 | "ProjectFilePath": "c:\\Desarrollo\\pattern-book-github\\design-patterns-cs\\templete-method\\templete-method.csproj", 3 | "TargetFramework": "netcoreapp2.2", 4 | "TagHelpers": [], 5 | "Configuration": { 6 | "ConfigurationName": "UnsupportedRazor", 7 | "LanguageVersion": "1.0", 8 | "Extensions": [ 9 | { 10 | "ExtensionName": "UnsupportedRazorExtension" 11 | } 12 | ] 13 | } 14 | } -------------------------------------------------------------------------------- /composite/src/oscarblancarte/ipd/composite/products/AbstractProduct.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | /** 4 | * @author oblancarte 5 | */ 6 | namespace oscarblancarte.ipd.composite.products{ 7 | public abstract class AbstractProduct { 8 | 9 | public string Name{get; set;} 10 | public double Price{get; set;} 11 | 12 | public AbstractProduct(string name, double price) { 13 | this.Name = name; 14 | this.Price = price; 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /observer/src/oscarblancarte/ipd/observer/impl/IObservable.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | /** 4 | * @author Oscar Javier Blancarte Iturralde 5 | * @see http://www.oscarblancarteblog.com 6 | */ 7 | namespace oscarblancarte.ipd.observer.impl{ 8 | public interface IObservable { 9 | 10 | void AddObserver(IObserver observer); 11 | 12 | void RemoveObserver(IObserver observer); 13 | 14 | void NotifyAllObservers(string command, Object source); 15 | } 16 | } 17 | 18 | 19 | -------------------------------------------------------------------------------- /chain-responsability/obj/Debug/netcoreapp2.2/project.razor.json: -------------------------------------------------------------------------------- 1 | { 2 | "ProjectFilePath": "c:\\Desarrollo\\pattern-book-github\\design-patterns-cs\\chain-responsability\\chain-responsability.csproj", 3 | "TargetFramework": "netcoreapp2.2", 4 | "TagHelpers": [], 5 | "Configuration": { 6 | "ConfigurationName": "UnsupportedRazor", 7 | "LanguageVersion": "1.0", 8 | "Extensions": [ 9 | { 10 | "ExtensionName": "UnsupportedRazorExtension" 11 | } 12 | ] 13 | } 14 | } -------------------------------------------------------------------------------- /state/src/oscarblancarte/ipd/state/states/StopServerState.java: -------------------------------------------------------------------------------- 1 | package oscarblancarte.ipd.state.states; 2 | 3 | import oscarblancarte.ipd.state.Server; 4 | 5 | public class StopServerState extends AbstractServerState { 6 | 7 | public StopServerState(Server server){ 8 | server.getMessageProcess().stop(); 9 | } 10 | 11 | @Override 12 | public void handleMessage(Server server, String message) { 13 | System.out.println("The server is stopped"); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /facade/src/oscarblancarte/ipd/facade/subsystems/crm/CRMSystem.cs: -------------------------------------------------------------------------------- 1 | using oscarblancarte.ipd.facade.util; 2 | using System; 3 | /** 4 | * @author Oscar Javier Blancarte Iturralde. 5 | * @see http://oscarblancarteblog.com 6 | */ 7 | namespace oscarblancarte.ipd.facade.subsystems.crm{ 8 | public class CRMSystem { 9 | 10 | public Customer FindCustomer(Int64 customerId){ 11 | return OnMemoryDataBase.findCustomerById(customerId); 12 | } 13 | } 14 | } 15 | 16 | 17 | -------------------------------------------------------------------------------- /factory-method/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /memento/src/oscarblancarte/ipd/memento/impl/EmployeeMemento.cs: -------------------------------------------------------------------------------- 1 | 2 | using oscarblancarte.ipd.memento.entity; 3 | 4 | namespace oscarblancarte.ipd.memento.impl{ 5 | public class EmployeeMemento { 6 | 7 | public Employee Employee; 8 | 9 | public EmployeeMemento(Employee Employee){ 10 | this.Employee = Employee; 11 | } 12 | 13 | public Employee getMemento(){ 14 | return Employee; 15 | } 16 | } 17 | } 18 | 19 | 20 | -------------------------------------------------------------------------------- /object-pool/src/oscarblancarte/ipd/objectpool/impl/factory/ExecutorTaskFactory.cs: -------------------------------------------------------------------------------- 1 | 2 | using oscarblancarte.ipd.objectpool.impl.poolable; 3 | 4 | /** 5 | * @author Oscar Javier Blancarte Iturralde 6 | * @see http://www.oscarblancarteblog.com 7 | */ 8 | namespace oscarblancarte.ipd.objectpool.impl.factory{ 9 | public class ExecutorTaskFactory : IPoolableObjectFactory{ 10 | public ExecutorTask CreateNew(){ 11 | return new ExecutorTask(); 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /proxy/src/oscarblancarte/ipd/proxy/services/AuditService.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | /** 4 | * @author Oscar Javier Blancarte Iturralde 5 | * @see http://www.oscarblancarteblog.com 6 | */ 7 | namespace oscarblancarte.ipd.proxy.services{ 8 | public class AuditService { 9 | public void AuditServiceUsed(string user, string service){ 10 | Console.WriteLine(user + " used the service > " + service + ", at " + DateTime.Now.ToString("yyyyMMddHHmmss")); 11 | } 12 | } 13 | } 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /factory-method/factory-method.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | Exe 4 | netcoreapp2.2 5 | factory_method 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /adapter/src/oscarblancarte/ipd/adapter/impl/BankCreditResponse.cs: -------------------------------------------------------------------------------- 1 | /** 2 | * @author Oscar Javier Blancarte Iturralde 3 | * @see http://wwww.oscarblancarteblog.com 4 | */ 5 | 6 | namespace oscarblancarte.ipd.adapter.impl{ 7 | 8 | public class BankCreditResponse { 9 | public bool approved; 10 | 11 | public bool isApproved() { 12 | return approved; 13 | } 14 | 15 | public void setApproved(bool approved) { 16 | this.approved = approved; 17 | } 18 | } 19 | } 20 | 21 | -------------------------------------------------------------------------------- /memento/obj/Debug/netcoreapp2.2/memento.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | C:\Desarrollo\pattern-book-github\design-patterns-cs\memento\obj\Debug\netcoreapp2.2\memento.csprojAssemblyReference.cache 2 | C:\Desarrollo\pattern-book-github\design-patterns-cs\memento\obj\Debug\netcoreapp2.2\memento.csproj.CoreCompileInputs.cache 3 | C:\Desarrollo\pattern-book-github\design-patterns-cs\memento\obj\Debug\netcoreapp2.2\memento.AssemblyInfoInputs.cache 4 | C:\Desarrollo\pattern-book-github\design-patterns-cs\memento\obj\Debug\netcoreapp2.2\memento.AssemblyInfo.cs 5 | -------------------------------------------------------------------------------- /factory-method/bin/Debug/netcoreapp2.2/factory-method.dll.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /abstract-factory/bin/Debug/netcoreapp2.2/factory-method.dll.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /strategy/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /abstract-factory/src/oscarblancarte/ipd/abstractfactory/impl/IServiceStackAbstractFactory.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | using oscarblancarte.ipd.abstractfactory.service; 4 | 5 | /** 6 | * @author Oscar Javier Blancarte Iturralde 7 | * @see http://www.oscarblancarteblog.com 8 | */ 9 | 10 | namespace oscarblancarte.ipd.abstractfactory.impl { 11 | public interface IServiceStackAbstractFactory { 12 | IEmployeeService GetEmployeeService(); 13 | IProductsService GetProductsService(); 14 | } 15 | } 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /mediator/src/oscarblancarte/ipd/mediator/module/AbstractModule.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace oscarblancarte.ipd.mediator.module{ 4 | public abstract class AbstractModule { 5 | 6 | protected ModuleMediator Mediator; 7 | 8 | public abstract string GetModulName(); 9 | 10 | public void Activate() { 11 | Mediator = ModuleMediator.getInstance(); 12 | Mediator.RegistModule(this); 13 | } 14 | 15 | public abstract Object NotifyMessage(ModuleMessage message); 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /mediator/src/oscarblancarte/ipd/mediator/module/impl/dto/Sale.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | namespace oscarblancarte.ipd.mediator.module.impl.dto 5 | { 6 | 7 | public class Sale 8 | { 9 | 10 | public List Productos{get; set;} 11 | 12 | public Sale(){ 13 | Productos = new List(); 14 | } 15 | 16 | public void addProduct(Product product) 17 | { 18 | this.Productos.Add(product); 19 | } 20 | 21 | } 22 | } 23 | 24 | 25 | -------------------------------------------------------------------------------- /state/src/oscarblancarte/ipd/state/StateMain.java: -------------------------------------------------------------------------------- 1 | package oscarblancarte.ipd.state; 2 | 3 | import javax.swing.JFrame; 4 | import oscarblancarte.ipd.state.gui.ServerPanel; 5 | 6 | public class StateMain { 7 | 8 | public static void main(String[] args) { 9 | JFrame frame = new JFrame(); 10 | frame.setTitle("State pattern"); 11 | frame.setDefaultCloseOperation( 12 | JFrame.EXIT_ON_CLOSE); 13 | frame.add(new ServerPanel()); 14 | frame.pack(); 15 | frame.setVisible(true); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /command/src/oscarblancarte/ipd/command/impl/ExitCommand.cs: -------------------------------------------------------------------------------- 1 | 2 | using System.IO; 3 | using oscarblancarte.ipd.command; 4 | using System; 5 | 6 | namespace oscarblancarte.ipd.command.impl{ 7 | 8 | public class ExitCommand : ICommand { 9 | 10 | public static readonly string COMMAND_NAME = "exit"; 11 | 12 | public string GetCommandName() { 13 | return COMMAND_NAME; 14 | } 15 | 16 | public void Execute(string[] args, StreamWriter output) { 17 | Environment.Exit(0); 18 | } 19 | } 20 | } 21 | 22 | -------------------------------------------------------------------------------- /proxy/bin/Debug/netcoreapp2.2/proxy.deps.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeTarget": { 3 | "name": ".NETCoreApp,Version=v2.2", 4 | "signature": "da39a3ee5e6b4b0d3255bfef95601890afd80709" 5 | }, 6 | "compilationOptions": {}, 7 | "targets": { 8 | ".NETCoreApp,Version=v2.2": { 9 | "proxy/1.0.0": { 10 | "runtime": { 11 | "proxy.dll": {} 12 | } 13 | } 14 | } 15 | }, 16 | "libraries": { 17 | "proxy/1.0.0": { 18 | "type": "project", 19 | "serviceable": false, 20 | "sha512": "" 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /bridge/bin/Debug/netcoreapp2.2/bridge.deps.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeTarget": { 3 | "name": ".NETCoreApp,Version=v2.2", 4 | "signature": "da39a3ee5e6b4b0d3255bfef95601890afd80709" 5 | }, 6 | "compilationOptions": {}, 7 | "targets": { 8 | ".NETCoreApp,Version=v2.2": { 9 | "bridge/1.0.0": { 10 | "runtime": { 11 | "bridge.dll": {} 12 | } 13 | } 14 | } 15 | }, 16 | "libraries": { 17 | "bridge/1.0.0": { 18 | "type": "project", 19 | "serviceable": false, 20 | "sha512": "" 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /facade/bin/Debug/netcoreapp2.2/facade.deps.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeTarget": { 3 | "name": ".NETCoreApp,Version=v2.2", 4 | "signature": "da39a3ee5e6b4b0d3255bfef95601890afd80709" 5 | }, 6 | "compilationOptions": {}, 7 | "targets": { 8 | ".NETCoreApp,Version=v2.2": { 9 | "facade/1.0.0": { 10 | "runtime": { 11 | "facade.dll": {} 12 | } 13 | } 14 | } 15 | }, 16 | "libraries": { 17 | "facade/1.0.0": { 18 | "type": "project", 19 | "serviceable": false, 20 | "sha512": "" 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /adapter/bin/Debug/netcoreapp2.2/adapter.deps.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeTarget": { 3 | "name": ".NETCoreApp,Version=v2.2", 4 | "signature": "da39a3ee5e6b4b0d3255bfef95601890afd80709" 5 | }, 6 | "compilationOptions": {}, 7 | "targets": { 8 | ".NETCoreApp,Version=v2.2": { 9 | "adapter/1.0.0": { 10 | "runtime": { 11 | "adapter.dll": {} 12 | } 13 | } 14 | } 15 | }, 16 | "libraries": { 17 | "adapter/1.0.0": { 18 | "type": "project", 19 | "serviceable": false, 20 | "sha512": "" 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /command/bin/Debug/netcoreapp2.2/command.deps.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeTarget": { 3 | "name": ".NETCoreApp,Version=v2.2", 4 | "signature": "da39a3ee5e6b4b0d3255bfef95601890afd80709" 5 | }, 6 | "compilationOptions": {}, 7 | "targets": { 8 | ".NETCoreApp,Version=v2.2": { 9 | "command/1.0.0": { 10 | "runtime": { 11 | "command.dll": {} 12 | } 13 | } 14 | } 15 | }, 16 | "libraries": { 17 | "command/1.0.0": { 18 | "type": "project", 19 | "serviceable": false, 20 | "sha512": "" 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /command/src/oscarblancarte/ipd/command/impl/NotFoundCommand.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.IO; 3 | 4 | namespace oscarblancarte.ipd.command.impl{ 5 | public class NotFoundCommand : BaseCommand { 6 | 7 | private static readonly string COMMAND_NAME = "NOT FOUND"; 8 | 9 | public override string GetCommandName() { 10 | return COMMAND_NAME; 11 | } 12 | 13 | public override void Execute(string[] args, StreamWriter output) { 14 | Write(output, "Command not found"); 15 | } 16 | } 17 | 18 | } 19 | 20 | 21 | -------------------------------------------------------------------------------- /iterator/bin/Debug/netcoreapp2.2/iterator.deps.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeTarget": { 3 | "name": ".NETCoreApp,Version=v2.2", 4 | "signature": "da39a3ee5e6b4b0d3255bfef95601890afd80709" 5 | }, 6 | "compilationOptions": {}, 7 | "targets": { 8 | ".NETCoreApp,Version=v2.2": { 9 | "iterator/1.0.0": { 10 | "runtime": { 11 | "iterator.dll": {} 12 | } 13 | } 14 | } 15 | }, 16 | "libraries": { 17 | "iterator/1.0.0": { 18 | "type": "project", 19 | "serviceable": false, 20 | "sha512": "" 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /observer/bin/Debug/netcoreapp2.2/observer.deps.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeTarget": { 3 | "name": ".NETCoreApp,Version=v2.2", 4 | "signature": "da39a3ee5e6b4b0d3255bfef95601890afd80709" 5 | }, 6 | "compilationOptions": {}, 7 | "targets": { 8 | ".NETCoreApp,Version=v2.2": { 9 | "observer/1.0.0": { 10 | "runtime": { 11 | "observer.dll": {} 12 | } 13 | } 14 | } 15 | }, 16 | "libraries": { 17 | "observer/1.0.0": { 18 | "type": "project", 19 | "serviceable": false, 20 | "sha512": "" 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /visitor/bin/Debug/netcoreapp2.2/visitor2.deps.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeTarget": { 3 | "name": ".NETCoreApp,Version=v2.2", 4 | "signature": "da39a3ee5e6b4b0d3255bfef95601890afd80709" 5 | }, 6 | "compilationOptions": {}, 7 | "targets": { 8 | ".NETCoreApp,Version=v2.2": { 9 | "visitor2/1.0.0": { 10 | "runtime": { 11 | "visitor2.dll": {} 12 | } 13 | } 14 | } 15 | }, 16 | "libraries": { 17 | "visitor2/1.0.0": { 18 | "type": "project", 19 | "serviceable": false, 20 | "sha512": "" 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /composite/bin/Debug/netcoreapp2.2/composite.deps.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeTarget": { 3 | "name": ".NETCoreApp,Version=v2.2", 4 | "signature": "da39a3ee5e6b4b0d3255bfef95601890afd80709" 5 | }, 6 | "compilationOptions": {}, 7 | "targets": { 8 | ".NETCoreApp,Version=v2.2": { 9 | "composite/1.0.0": { 10 | "runtime": { 11 | "composite.dll": {} 12 | } 13 | } 14 | } 15 | }, 16 | "libraries": { 17 | "composite/1.0.0": { 18 | "type": "project", 19 | "serviceable": false, 20 | "sha512": "" 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /decorator/bin/Debug/netcoreapp2.2/decorator.deps.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeTarget": { 3 | "name": ".NETCoreApp,Version=v2.2", 4 | "signature": "da39a3ee5e6b4b0d3255bfef95601890afd80709" 5 | }, 6 | "compilationOptions": {}, 7 | "targets": { 8 | ".NETCoreApp,Version=v2.2": { 9 | "decorator/1.0.0": { 10 | "runtime": { 11 | "decorator.dll": {} 12 | } 13 | } 14 | } 15 | }, 16 | "libraries": { 17 | "decorator/1.0.0": { 18 | "type": "project", 19 | "serviceable": false, 20 | "sha512": "" 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /flyweight/bin/Debug/netcoreapp2.2/flyweight.deps.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeTarget": { 3 | "name": ".NETCoreApp,Version=v2.2", 4 | "signature": "da39a3ee5e6b4b0d3255bfef95601890afd80709" 5 | }, 6 | "compilationOptions": {}, 7 | "targets": { 8 | ".NETCoreApp,Version=v2.2": { 9 | "flyweight/1.0.0": { 10 | "runtime": { 11 | "flyweight.dll": {} 12 | } 13 | } 14 | } 15 | }, 16 | "libraries": { 17 | "flyweight/1.0.0": { 18 | "type": "project", 19 | "serviceable": false, 20 | "sha512": "" 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /mediator/bin/Debug/netcoreapp2.2/mediator2.deps.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeTarget": { 3 | "name": ".NETCoreApp,Version=v2.2", 4 | "signature": "da39a3ee5e6b4b0d3255bfef95601890afd80709" 5 | }, 6 | "compilationOptions": {}, 7 | "targets": { 8 | ".NETCoreApp,Version=v2.2": { 9 | "mediator2/1.0.0": { 10 | "runtime": { 11 | "mediator2.dll": {} 12 | } 13 | } 14 | } 15 | }, 16 | "libraries": { 17 | "mediator2/1.0.0": { 18 | "type": "project", 19 | "serviceable": false, 20 | "sha512": "" 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /strategy/bin/Debug/netcoreapp2.2/strategy.dll.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /proxy/src/oscarblancarte/ipd/proxy/impl/DefaultProcessEjecutor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | /** 4 | * @author Oscar Javier Blancarte Iturralde 5 | * @see http://www.oscarblancarteblog.com 6 | */ 7 | namespace oscarblancarte.ipd.proxy.impl{ 8 | public class DefaultProcessEjecutor : IProcessEjecutor { 9 | 10 | public void EjecuteProcess(int idProcess,string user,string password) { 11 | Console.WriteLine("processes " + idProcess + " in action"); 12 | Console.WriteLine("processes " + idProcess + " finished"); 13 | } 14 | } 15 | } 16 | 17 | 18 | -------------------------------------------------------------------------------- /facade/src/oscarblancarte/ipd/facade/subsystems/biller/BillingPayRequest.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | /** 4 | * @author Oscar Javier Blancarte Iturralde. 5 | * @see http://oscarblancarteblog.com 6 | */ 7 | namespace oscarblancarte.ipd.facade.subsystems.biller{ 8 | public class BillingPayRequest { 9 | 10 | public Int64 CustomerId{get; set;} 11 | public double Amount{get; set;} 12 | 13 | public BillingPayRequest(Int64 customerId, double amount) { 14 | this.CustomerId = customerId; 15 | this.Amount = amount; 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /null-object/bin/Debug/netcoreapp2.2/null-object.deps.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeTarget": { 3 | "name": ".NETCoreApp,Version=v2.2", 4 | "signature": "da39a3ee5e6b4b0d3255bfef95601890afd80709" 5 | }, 6 | "compilationOptions": {}, 7 | "targets": { 8 | ".NETCoreApp,Version=v2.2": { 9 | "null-object/1.0.0": { 10 | "runtime": { 11 | "null-object.dll": {} 12 | } 13 | } 14 | } 15 | }, 16 | "libraries": { 17 | "null-object/1.0.0": { 18 | "type": "project", 19 | "serviceable": false, 20 | "sha512": "" 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /object-pool/bin/Debug/netcoreapp2.2/object-pool.deps.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeTarget": { 3 | "name": ".NETCoreApp,Version=v2.2", 4 | "signature": "da39a3ee5e6b4b0d3255bfef95601890afd80709" 5 | }, 6 | "compilationOptions": {}, 7 | "targets": { 8 | ".NETCoreApp,Version=v2.2": { 9 | "object-pool/1.0.0": { 10 | "runtime": { 11 | "object-pool.dll": {} 12 | } 13 | } 14 | } 15 | }, 16 | "libraries": { 17 | "object-pool/1.0.0": { 18 | "type": "project", 19 | "serviceable": false, 20 | "sha512": "" 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /strategy/src/oscarblancarte/ipd/strategy/util/User.cs: -------------------------------------------------------------------------------- 1 | /** 2 | * @author Oscar Javier Blancarte Iturralde. 3 | * @see http://oscarblancarteblog.com 4 | */ 5 | namespace oscarblancarte.ipd.strategy.util{ 6 | public class User { 7 | 8 | public string UserName{get; set;} 9 | public string Password{get; set;} 10 | public string Rol{get; set;} 11 | 12 | public User(string UserName, string Password, string Rol) { 13 | this.UserName = UserName; 14 | this.Password = Password; 15 | this.Rol = Rol; 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /facade/src/oscarblancarte/ipd/facade/util/Card.cs: -------------------------------------------------------------------------------- 1 | /** 2 | * @author Oscar Javier Blancarte Iturralde. 3 | * @see http://oscarblancarteblog.com 4 | */ 5 | namespace oscarblancarte.ipd.facade.util{ 6 | public class Card { 7 | public string Prefix{get; set;} 8 | public string Company{get; set;} 9 | public string CardType{get; set;}//{Credit|Debit} 10 | 11 | public Card(string prefix, string company, string cardType) { 12 | this.Prefix = prefix; 13 | this.Company = company; 14 | this.CardType = cardType; 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /command/src/oscarblancarte/ipd/command/impl/ErrorCommand.cs: -------------------------------------------------------------------------------- 1 | using System.IO; 2 | using System; 3 | 4 | namespace oscarblancarte.ipd.command.impl{ 5 | public class ErrorCommand : BaseCommand { 6 | 7 | private static readonly string COMMAND_NAME = "ERROR"; 8 | 9 | public override string GetCommandName() { 10 | return COMMAND_NAME; 11 | } 12 | 13 | public override void Execute(string[] args, StreamWriter output) { 14 | string message = "Invocation error"; 15 | Write(output, message); 16 | } 17 | 18 | } 19 | } 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /templete-method/bin/Debug/netcoreapp2.2/templete-method.deps.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeTarget": { 3 | "name": ".NETCoreApp,Version=v2.2", 4 | "signature": "da39a3ee5e6b4b0d3255bfef95601890afd80709" 5 | }, 6 | "compilationOptions": {}, 7 | "targets": { 8 | ".NETCoreApp,Version=v2.2": { 9 | "templete-method/1.0.0": { 10 | "runtime": { 11 | "templete-method.dll": {} 12 | } 13 | } 14 | } 15 | }, 16 | "libraries": { 17 | "templete-method/1.0.0": { 18 | "type": "project", 19 | "serviceable": false, 20 | "sha512": "" 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /chain-responsability/src/oscarblancarte/ipd/chainofresponsability/domain/Contributor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | /** 4 | * @author Oscar Javier Blancarte Iturralde 5 | * @see http://www.oscarblancarteblog.com 6 | */ 7 | namespace oscarblancarte.ipd.chainofresponsability.domain{ 8 | public abstract class Contributor { 9 | 10 | public string Name{get; set;} 11 | public string Rfc{get; set;} 12 | public Status Status{get; set;} 13 | 14 | public Address Address{get; set;} 15 | public Telephone Telephone{get; set;} 16 | public CreditData CreditData{get; set;} 17 | } 18 | } -------------------------------------------------------------------------------- /command/src/oscarblancarte/ipd/command/impl/EchoCommand.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.IO; 3 | 4 | namespace oscarblancarte.ipd.command.impl{ 5 | public class EchoCommand : BaseCommand { 6 | 7 | public static readonly string COMMAN_NAME = "echo"; 8 | 9 | public override void Execute(string[] args, StreamWriter output) { 10 | string message = GetCommandName() + " " + string.Join(" ", args); 11 | Write(output, message); 12 | } 13 | 14 | public override string GetCommandName() { 15 | return COMMAN_NAME; 16 | } 17 | } 18 | } 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /facade/src/oscarblancarte/ipd/facade/impl/PaymentRequest.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | /** 4 | * @author Oscar Javier Blancarte Iturralde. 5 | * @see http://oscarblancarteblog.com 6 | */ 7 | namespace oscarblancarte.ipd.facade.impl{ 8 | public class PaymentRequest { 9 | 10 | public Int64 CustomerId{get; set;} 11 | public double Ammount{get; set;} 12 | public string CardNumber{get; set;} 13 | public string CardName{get; set;} 14 | public string CardExpDate{get; set;} 15 | public string CardSecureNum{get; set;} 16 | 17 | public PaymentRequest() { 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /chain-responsability/bin/Debug/netcoreapp2.2/chain-responsability.deps.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeTarget": { 3 | "name": ".NETCoreApp,Version=v2.2", 4 | "signature": "da39a3ee5e6b4b0d3255bfef95601890afd80709" 5 | }, 6 | "compilationOptions": {}, 7 | "targets": { 8 | ".NETCoreApp,Version=v2.2": { 9 | "chain-responsability/1.0.0": { 10 | "runtime": { 11 | "chain-responsability.dll": {} 12 | } 13 | } 14 | } 15 | }, 16 | "libraries": { 17 | "chain-responsability/1.0.0": { 18 | "type": "project", 19 | "serviceable": false, 20 | "sha512": "" 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /chain-responsability/src/oscarblancarte/ipd/chainofresponsability/domain/order/OrderItem.cs: -------------------------------------------------------------------------------- 1 | using oscarblancarte.ipd.chainofresponsability.domain; 2 | 3 | /** 4 | * @author Oscar Javier Blancarte Iturralde 5 | * @see http://www.oscarblancarteblog.com 6 | */ 7 | 8 | namespace oscarblancarte.ipd.chainofresponsability.domain.order 9 | { 10 | public class OrderItem 11 | { 12 | public Product Product{get; set;} 13 | public double Price{get; set;} 14 | public float Quantity{get; set;} 15 | 16 | public double getTotal() 17 | { 18 | return Price * Quantity; 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /mediator/src/oscarblancarte/ipd/mediator/module/ModuleMessage.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace oscarblancarte.ipd.mediator.module{ 4 | public class ModuleMessage { 5 | public string Source{get;set;} 6 | public string Target{get;set;} 7 | public string MessageType{get;set;} 8 | public Object Payload{get;set;} 9 | 10 | public ModuleMessage(string Source, string Target, string MessageType, Object Payload) { 11 | this.Source = Source; 12 | this.Target = Target; 13 | this.MessageType = MessageType; 14 | this.Payload = Payload; 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /strategy/src/oscarblancarte/ipd/strategy/impl/Principal.cs: -------------------------------------------------------------------------------- 1 | /** 2 | * @author Oscar Javier Blancarte Iturralde. 3 | * @see http://oscarblancarteblog.com 4 | */ 5 | namespace oscarblancarte.ipd.strategy.impl{ 6 | public class Principal { 7 | 8 | public string UserName{get; set;} 9 | public string Rol{get; set;} 10 | 11 | public Principal(string UserName, string Rol) { 12 | this.UserName = UserName; 13 | this.Rol = Rol; 14 | } 15 | 16 | public override string ToString() { 17 | return "Principal{" + "userName=" + UserName + ", rol=" + Rol + '}'; 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /state/src/oscarblancarte/ipd/state/states/StartServerState.java: -------------------------------------------------------------------------------- 1 | package oscarblancarte.ipd.state.states; 2 | 3 | import oscarblancarte.ipd.state.Server; 4 | 5 | public class StartServerState extends AbstractServerState { 6 | 7 | public StartServerState(Server server){ 8 | server.getMessageProcess().start(); 9 | } 10 | 11 | @Override 12 | public void handleMessage(Server server, String message) { 13 | boolean isSaturated = 14 | server.getMessageProcess().queueMessage(message); 15 | if(!isSaturated){ 16 | server.setState(new SaturatedServerState(server)); 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /abstract-factory/src/oscarblancarte/ipd/abstractfactory/ws/ProductServiceWSImpl.cs: -------------------------------------------------------------------------------- 1 | using oscarblancarte.ipd.abstractfactory.service; 2 | using System; 3 | 4 | /** 5 | * @author Oscar Javier Blancarte Iturralde 6 | * @see http://www.oscarblancarteblog.com 7 | */ 8 | namespace oscarblancarte.ipd.abstractfactory.ws{ 9 | public class ProductServiceWSImpl : IProductsService { 10 | 11 | private static readonly string[] PRODUCTS = new string[]{"Soda", "Juice", "Fruit"}; 12 | 13 | public string[] GetProducts() { 14 | Console.WriteLine("WebServices"); 15 | return PRODUCTS; 16 | } 17 | } 18 | } 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /null-object/src/oscarblancarte/ipd/nullobject/NullObjectMain.cs: -------------------------------------------------------------------------------- 1 | using oscarblancarte.ipd.nullobject.dao; 2 | using oscarblancarte.ipd.nullobject.domain; 3 | using System; 4 | 5 | namespace oscarblancarte.ipd.nullobject{ 6 | public class NullObjectMain { 7 | static void Main(string[] args) { 8 | EmployeeDAOService service = new EmployeeDAOService(); 9 | Employee emp1 = service.findEmployeeById(1L); 10 | Console.WriteLine(emp1.Address.FullAddress); 11 | 12 | Employee emp2 = service.findEmployeeById(2L); 13 | Console.WriteLine(emp2.Address.FullAddress); 14 | } 15 | } 16 | } 17 | 18 | 19 | -------------------------------------------------------------------------------- /abstract-factory/src/oscarblancarte/ipd/abstractfactory/rest/EmployeeServiceRestImpl.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using oscarblancarte.ipd.abstractfactory.service; 3 | 4 | /** 5 | * @author Oscar Javier Blancarte Iturralde 6 | * @see http://www.oscarblancarteblog.com 7 | */ 8 | 9 | namespace oscarblancarte.ipd.abstractfactory.rest{ 10 | public class EmployeeServiceRestImpl : IEmployeeService{ 11 | private static readonly string[] EMPLOYEES = new string[]{"Juan","Pedro","Manuel"}; 12 | 13 | public string[] GetEmployee() { 14 | Console.WriteLine("RestFul"); 15 | return EMPLOYEES; 16 | } 17 | } 18 | } 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /interpreter/src/oscarblancarte/ipd/interprete/sql/terminal/TextExpression.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | /** 4 | * @author Oscar Javier Blancarte Iturralde 5 | * @see http://www.oscarblancarteblog.com 6 | */ 7 | namespace oscarblancarte.ipd.interprete.sql.terminal{ 8 | public class TextExpression : LiteralExpression { 9 | 10 | public TextExpression(string Literal) : base(Literal){ 11 | } 12 | 13 | public override Object Interpret(Context Context) { 14 | return Literal; 15 | } 16 | 17 | public override string ToString() { 18 | return "'"+Literal+"'"; 19 | } 20 | } 21 | 22 | } 23 | 24 | 25 | -------------------------------------------------------------------------------- /abstract-factory/src/oscarblancarte/ipd/abstractfactory/rest/ProductServiceRestImpl.cs: -------------------------------------------------------------------------------- 1 | using oscarblancarte.ipd.abstractfactory.service; 2 | using System; 3 | 4 | 5 | /** 6 | * @author Oscar Javier Blancarte Iturralde 7 | * @see http://www.oscarblancarteblog.com 8 | */ 9 | 10 | namespace oscarblancarte.ipd.abstractfactory.rest{ 11 | public class ProductServiceRestImpl : IProductsService{ 12 | private static readonly string[] PRODUCTS = new string[]{"keyboard","Mouse","Display"}; 13 | 14 | public string[] GetProducts() { 15 | Console.WriteLine("RestFul"); 16 | return PRODUCTS; 17 | } 18 | } 19 | } 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /abstract-factory/src/oscarblancarte/ipd/abstractfactory/ws/EmployeeServiceWSImpl.cs: -------------------------------------------------------------------------------- 1 | using oscarblancarte.ipd.abstractfactory.service; 2 | using System; 3 | 4 | /** 5 | * @author Oscar Javier Blancarte Iturralde 6 | * @see http://www.oscarblancarteblog.com 7 | */ 8 | namespace oscarblancarte.ipd.abstractfactory.ws{ 9 | public class EmployeeServiceWSImpl : IEmployeeService { 10 | 11 | private static readonly string[] EMPLOYEES = new string[]{"Maria", "Rebeca", "Liliana"}; 12 | 13 | public string[] GetEmployee() { 14 | Console.WriteLine("WebServices"); 15 | return EMPLOYEES; 16 | } 17 | 18 | } 19 | } 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /singleton/src/oscarblancarte/ipd/singleton/util/PropertiesUtil.cs: -------------------------------------------------------------------------------- 1 | using System.Configuration; 2 | using System.Collections.Specialized; 3 | using System; 4 | 5 | /** 6 | * @author oblancarte 7 | */ 8 | 9 | namespace oscarblancarte.ipd.singleton.util{ 10 | public class PropertiesUtil { 11 | public static NameValueCollection LoadProperty(){ 12 | try { 13 | NameValueCollection props = ConfigurationManager.AppSettings; 14 | return props; 15 | } catch (Exception e) { 16 | Console.WriteLine(e.ToString()); 17 | return null; 18 | } 19 | } 20 | } 21 | } 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /command/src/oscarblancarte/ipd/command/impl/MemoryCommand.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime; 3 | using System.IO; 4 | 5 | namespace oscarblancarte.ipd.command.impl{ 6 | public class MemoryCommand : BaseCommand { 7 | 8 | public static readonly string COMMAN_NAME = "memory"; 9 | 10 | public override string GetCommandName() { 11 | return COMMAN_NAME; 12 | } 13 | 14 | public override void Execute(string[] args, StreamWriter output) { 15 | double totalMemory = GC.GetTotalMemory(true); // 1000000d; 16 | string salida = "totalMemory: " + totalMemory; 17 | Write(output, salida); 18 | } 19 | 20 | } 21 | } 22 | 23 | 24 | -------------------------------------------------------------------------------- /facade/src/oscarblancarte/ipd/facade/impl/PaymentResponse.cs: -------------------------------------------------------------------------------- 1 | /** 2 | * @author Oscar Javier Blancarte Iturralde. 3 | * @see http://oscarblancarteblog.com 4 | */ 5 | namespace oscarblancarte.ipd.facade.impl{ 6 | public class PaymentResponse { 7 | 8 | public string PaymentConfirmNumber{get; set;} 9 | public double NewBalance{get; set;} 10 | public string CustomerStatus{get; set;} 11 | 12 | public PaymentResponse(string paymentConfirmNumber, double newBalance, string customerStatus) { 13 | this.PaymentConfirmNumber = paymentConfirmNumber; 14 | this.NewBalance = newBalance; 15 | this.CustomerStatus = customerStatus; 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /object-pool/src/oscarblancarte/ipd/objectpool/impl/ExecutorThreadPool.cs: -------------------------------------------------------------------------------- 1 | using oscarblancarte.ipd.objectpool.impl.poolable; 2 | using oscarblancarte.ipd.objectpool.impl.factory; 3 | 4 | /** 5 | * @author Oscar Javier Blancarte Iturralde 6 | * @see http://www.oscarblancarteblog.com 7 | */ 8 | namespace oscarblancarte.ipd.objectpool.impl{ 9 | public class ExecutorThreadPool : AbstractObjectPool{ 10 | 11 | public ExecutorThreadPool(int minInstances, int maxInstances, int waitTime, IPoolableObjectFactory poolableObjectFactory) 12 | : base(minInstances, maxInstances, waitTime, poolableObjectFactory) 13 | { 14 | 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /abstract-factory/src/oscarblancarte/ipd/abstractfactory/ws/WSServiceStackImpl.cs: -------------------------------------------------------------------------------- 1 | using oscarblancarte.ipd.abstractfactory.impl; 2 | using oscarblancarte.ipd.abstractfactory.service; 3 | 4 | /** 5 | * @author Oscar Javier Blancarte Iturralde 6 | * @see http://www.oscarblancarteblog.com 7 | */ 8 | namespace oscarblancarte.ipd.abstractfactory.ws{ 9 | public class WSServiceStackImpl : IServiceStackAbstractFactory{ 10 | 11 | public IEmployeeService GetEmployeeService() { 12 | return new EmployeeServiceWSImpl(); 13 | } 14 | 15 | public IProductsService GetProductsService() { 16 | return new ProductServiceWSImpl(); 17 | } 18 | } 19 | } 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /adapter/src/oscarblancarte/ipd/adapter/creditapi/bankx/XBankCreditAPI.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | /** 4 | * @author Oscar Javier Blancarte Iturralde 5 | * @see http://wwww.oscarblancarteblog.com 6 | */ 7 | 8 | namespace oscarblancarte.ipd.adapter.creditapi.bankx{ 9 | public class XBankCreditAPI { 10 | 11 | public XBankCreditResponse SendCreditRequest(XBankCreditRequest request){ 12 | XBankCreditResponse response =new XBankCreditResponse(); 13 | if(request.RequestAmount<= 5000){ 14 | response.Aproval = true; 15 | }else{ 16 | response.Aproval = false; 17 | } 18 | return response; 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /command/src/oscarblancarte/ipd/command/impl/BaseCommand.cs: -------------------------------------------------------------------------------- 1 | using System.IO; 2 | using oscarblancarte.ipd.command; 3 | using System; 4 | 5 | namespace oscarblancarte.ipd.command.impl{ 6 | 7 | public abstract class BaseCommand : ICommand { 8 | 9 | public abstract string GetCommandName(); 10 | 11 | public abstract void Execute(string[] args, StreamWriter output); 12 | 13 | public void Write(StreamWriter output, string message) { 14 | try { 15 | output.Write(message); 16 | output.Flush(); 17 | } catch (Exception e) { 18 | Console.WriteLine(e.ToString()); 19 | } 20 | } 21 | } 22 | } 23 | 24 | 25 | -------------------------------------------------------------------------------- /proxy/src/oscarblancarte/ipd/proxy/services/SecurityService.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | /** 4 | * @author Oscar Javier Blancarte Iturralde 5 | * @see http://www.oscarblancarteblog.com 6 | */ 7 | 8 | namespace oscarblancarte.ipd.proxy.services{ 9 | public class SecurityService { 10 | public bool Authorization(string user,string password){ 11 | if(user.Equals("oblancarte") && password.Equals("1234")){ 12 | Console.WriteLine("User " + user + " authorized"); 13 | return true; 14 | }else{ 15 | Console.WriteLine("User " + user + " no authorized"); 16 | return false; 17 | } 18 | } 19 | } 20 | } 21 | 22 | 23 | -------------------------------------------------------------------------------- /command/src/oscarblancarte/ipd/command/impl/AsyncCommand.cs: -------------------------------------------------------------------------------- 1 | using System.IO; 2 | using System.Threading; 3 | using System; 4 | 5 | namespace oscarblancarte.ipd.command.impl{ 6 | public abstract class AsyncCommand : BaseCommand { 7 | 8 | 9 | public void StartThread(string[] args, StreamWriter output){ 10 | ExecuteOnBackground(args, output); 11 | } 12 | 13 | public override void Execute(string[] args, StreamWriter output) { 14 | 15 | Thread thread = new Thread( () => StartThread(args, output)); 16 | thread.Start(); 17 | 18 | } 19 | 20 | public abstract void ExecuteOnBackground(string[] args, StreamWriter output); 21 | } 22 | 23 | } 24 | 25 | 26 | -------------------------------------------------------------------------------- /abstract-factory/src/oscarblancarte/ipd/abstractfactory/rest/RestServiceStackImpl.cs: -------------------------------------------------------------------------------- 1 | using oscarblancarte.ipd.abstractfactory.impl; 2 | using oscarblancarte.ipd.abstractfactory.service; 3 | using System; 4 | 5 | /** 6 | * @author Oscar Javier Blancarte Iturralde 7 | * @see http://www.oscarblancarteblog.com 8 | */ 9 | 10 | namespace oscarblancarte.ipd.abstractfactory.rest{ 11 | public class RestServiceStackImpl : IServiceStackAbstractFactory{ 12 | public IEmployeeService GetEmployeeService() { 13 | return new EmployeeServiceRestImpl(); 14 | } 15 | 16 | public IProductsService GetProductsService() { 17 | return new ProductServiceRestImpl(); 18 | } 19 | } 20 | } 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /strategy/src/oscarblancarte/ipd/strategy/impl/providers/OnMemoryAuthenticationProvider.cs: -------------------------------------------------------------------------------- 1 | using oscarblancarte.ipd.strategy.impl; 2 | using oscarblancarte.ipd.strategy.util; 3 | 4 | /** 5 | * @author Oscar Javier Blancarte Iturralde 6 | * @see http://www.oscarblancarteblog.com 7 | */ 8 | namespace oscarblancarte.ipd.strategy.impl.providers{ 9 | 10 | } 11 | 12 | public class OnMemoryAuthenticationProvider : IAuthenticationStrategy{ 13 | 14 | public Principal Authenticate(string userName, string passwrd) { 15 | User user = OnMemoryDataBase.FindUserByName(userName); 16 | if(user!=null && user.Password.Equals(passwrd)){ 17 | return new Principal(user.UserName, user.Rol); 18 | } 19 | return null; 20 | } 21 | } -------------------------------------------------------------------------------- /bridge/src/oscarblancarte/ipd/bridge/impl/DefaultMessageEncryptImpl.cs: -------------------------------------------------------------------------------- 1 | using oscarblancarte.ipd.bridge.encript; 2 | 3 | /** 4 | * @author Oscar Javier Blancarte Iturralde 5 | * @see http://www.oscarblancarteblog.com 6 | */ 7 | namespace oscarblancarte.ipd.bridge.impl{ 8 | public class DefaultMessageEncryptImpl : IMessageEncrypt{ 9 | private IEncryptAlgorithm EncryptAlgorith; 10 | 11 | public DefaultMessageEncryptImpl(IEncryptAlgorithm encryptAlgorith){ 12 | this.EncryptAlgorith = encryptAlgorith; 13 | } 14 | 15 | public string EncryptMessage(string message, string password) { 16 | return EncryptAlgorith.Encrypt(message, password); 17 | } 18 | } 19 | } 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /observer/src/oscarblancarte/ipd/observer/impl/observers/MoneyFormatObserver.cs: -------------------------------------------------------------------------------- 1 | 2 | using oscarblancarte.ipd.observer.impl; 3 | using System; 4 | 5 | /** 6 | * @author Oscar Javier Blancarte Iturralde 7 | * @see http://www.oscarblancarteblog.com 8 | */ 9 | namespace oscarblancarte.ipd.observer.impl.observers{ 10 | public class MoneyFormatObserver : IObserver{ 11 | public void NotifyObserver(string command, Object source) { 12 | if(command.Equals("moneyFormat")){ 13 | ConfigurationManager conf = (ConfigurationManager)source; 14 | Console.WriteLine("Observer ==> MoneyFormatObserver.moneyFormatChange > " + 1.11.ToString(conf.GetMoneyFormat()) ); 15 | } 16 | } 17 | } 18 | } 19 | 20 | 21 | -------------------------------------------------------------------------------- /adapter/src/oscarblancarte/ipd/adapter/impl/BankCreditRequest.cs: -------------------------------------------------------------------------------- 1 | /** 2 | * @author Oscar Javier Blancarte Iturralde 3 | * @see http://wwww.oscarblancarteblog.com 4 | */ 5 | 6 | namespace oscarblancarte.ipd.adapter.impl{ 7 | public class BankCreditRequest { 8 | private string customer; 9 | private double amount; 10 | 11 | public string getCustomer() { 12 | return customer; 13 | } 14 | 15 | public void setCustomer(string customer) { 16 | this.customer = customer; 17 | } 18 | 19 | public double getAmount() { 20 | return amount; 21 | } 22 | 23 | public void setAmount(double amount) { 24 | this.amount = amount; 25 | } 26 | } 27 | } 28 | 29 | 30 | -------------------------------------------------------------------------------- /observer/src/oscarblancarte/ipd/observer/impl/observers/DateFormatObserver.cs: -------------------------------------------------------------------------------- 1 | using oscarblancarte.ipd.observer.impl; 2 | using System; 3 | 4 | /** 5 | * @author Oscar Javier Blancarte Iturralde 6 | * @see http://www.oscarblancarteblog.com 7 | */ 8 | namespace oscarblancarte.ipd.observer.impl.observers{ 9 | public class DateFormatObserver : IObserver{ 10 | 11 | public void NotifyObserver(string command, Object source) { 12 | if(command.Equals("defaultDateFormat")){ 13 | ConfigurationManager conf = (ConfigurationManager)source; 14 | Console.WriteLine("Observer ==> DateFormatObserver.dateFormatChange > " + DateTime.Now.ToString(conf.GetDefaultDateFormat()) ); 15 | } 16 | } 17 | } 18 | } 19 | 20 | 21 | -------------------------------------------------------------------------------- /flyweight/src/oscarblancarte/ipb/flyweight/impl/PlayItem.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | /** 4 | * @author Oscar Javier Blancarte Iturralde. 5 | * @see http://www.oscarblancarteblog.com 6 | */ 7 | namespace oscarblancarte.ipb.flyweight.impl{ 8 | public class PlayItem { 9 | 10 | public Int64 Id{get; set;} 11 | public string SongName{get; set;} 12 | private byte[] Song = new byte[1000000]; 13 | 14 | public PlayItem(Int64 id, string songName) { 15 | this.Id = id; 16 | this.SongName = songName; 17 | } 18 | 19 | public PlayItem() { 20 | } 21 | 22 | public override string ToString() { 23 | return "PlayItem{" + "id=" + Id + ", songName=" + SongName + '}'; 24 | } 25 | } 26 | } 27 | 28 | 29 | -------------------------------------------------------------------------------- /proxy/src/oscarblancarte/ipd/proxy/ProxyMain.cs: -------------------------------------------------------------------------------- 1 | using oscarblancarte.ipd.proxy.impl; 2 | using System; 3 | /** 4 | * @author Oscar Javier Blancarte Iturralde 5 | * @see http://www.oscarblancarteblog.com 6 | */ 7 | namespace oscarblancarte.ipd.proxy{ 8 | 9 | public class ProxyMain { 10 | 11 | static void Main(string[] args) { 12 | string user = "oblancarte"; 13 | string password = "1234"; 14 | int process = 1; 15 | IProcessEjecutor processEjecutor = ServiceFactory.CreateProcessEjecutor(); 16 | try { 17 | processEjecutor.EjecuteProcess(process, user, password); 18 | } catch (Exception e) { 19 | Console.WriteLine(e.ToString()); 20 | } 21 | } 22 | } 23 | } 24 | 25 | 26 | -------------------------------------------------------------------------------- /interpreter/src/oscarblancarte/ipd/interprete/sql/terminal/LiteralExpression.cs: -------------------------------------------------------------------------------- 1 | using oscarblancarte.ipd.interprete.sql; 2 | using System; 3 | 4 | /** 5 | * @author Oscar Javier Blancarte Iturralde 6 | * @see http://www.oscarblancarteblog.com 7 | */ 8 | namespace oscarblancarte.ipd.interprete.sql.terminal 9 | { 10 | public class LiteralExpression 11 | { 12 | 13 | protected string Literal; 14 | 15 | public LiteralExpression(string Literal) 16 | { 17 | this.Literal = Literal; 18 | } 19 | 20 | public virtual Object Interpret(Context context) 21 | { 22 | return Literal; 23 | } 24 | 25 | public override string ToString() 26 | { 27 | return Literal; 28 | } 29 | } 30 | 31 | } 32 | 33 | 34 | -------------------------------------------------------------------------------- /strategy/src/oscarblancarte/ipd/strategy/util/PropertiesUtil.cs: -------------------------------------------------------------------------------- 1 | using System.Configuration; 2 | using System.Collections.Specialized; 3 | using System; 4 | 5 | /** 6 | * @author Oscar Javier Blancarte Iturralde 7 | * @see http://www.oscarblancarteblog.com 8 | */ 9 | namespace oscarblancarte.ipd.strategy.util{ 10 | public class PropertiesUtil { 11 | public static NameValueCollection LoadProperty(){ 12 | try { 13 | //Properties properties = new Properties(); 14 | NameValueCollection props = ConfigurationManager.AppSettings; 15 | return props; 16 | } catch (Exception e) { 17 | Console.WriteLine(e.ToString()); 18 | return null; 19 | } 20 | } 21 | } 22 | } 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /chain-responsability/src/oscarblancarte/ipd/chainofresponsability/validator/AbstractOrderValidator.cs: -------------------------------------------------------------------------------- 1 | using oscarblancarte.ipd.chainofresponsability.domain.order; 2 | using System; 3 | using System.Collections.Generic; 4 | 5 | /** 6 | * @author Oscar Javier Blancarte Iturralde 7 | * @see http://www.oscarblancarteblog.com 8 | */ 9 | namespace oscarblancarte.ipd.chainofresponsability.validator{ 10 | public abstract class AbstractOrderValidator { 11 | 12 | protected List Validators = new List(); 13 | 14 | public abstract void Validate(AbstractOrder order) ; 15 | 16 | public void AddValidator(AbstractOrderValidator validator){ 17 | Validators.Add(validator); 18 | } 19 | } 20 | } 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /decorator/src/oscarblancarte/ipd/decorator/impl/decorators/MessageDecorator.cs: -------------------------------------------------------------------------------- 1 | using oscarblancarte.ipd.decorator.impl.message; 2 | 3 | /** 4 | * 5 | * @author Oscar Javier Blancarte Iturralde 6 | * @see http://www.oscarblancarteblog.com 7 | */ 8 | namespace oscarblancarte.ipd.decorator.impl.decorators{ 9 | public abstract class MessageDecorator : IMessage { 10 | protected IMessage Message; 11 | 12 | public MessageDecorator(IMessage message) { 13 | this.Message = message; 14 | } 15 | 16 | public void SetContent(string content) { 17 | Message.SetContent(content); 18 | } 19 | 20 | public string GetContent() { 21 | return Message.GetContent(); 22 | } 23 | 24 | public abstract IMessage ProcessMessage(); 25 | } 26 | } -------------------------------------------------------------------------------- /chain-responsability/src/oscarblancarte/ipd/chainofresponsability/validator/SalesOrderValidator.cs: -------------------------------------------------------------------------------- 1 | using oscarblancarte.ipd.chainofresponsability.domain.order; 2 | 3 | /** 4 | * @author Oscar Javier Blancarte Iturralde 5 | * @see http://www.oscarblancarteblog.com 6 | */ 7 | namespace oscarblancarte.ipd.chainofresponsability.validator{ 8 | public class SalesOrderValidator : AbstractOrderValidator { 9 | 10 | public override void Validate(AbstractOrder order) { 11 | if (!(order.GetType() == typeof(SalesOrder))) { 12 | throw new ValidationException("A sales order was expected"); 13 | } 14 | 15 | foreach(AbstractOrderValidator validator in Validators){ 16 | validator.Validate(order); 17 | } 18 | } 19 | } 20 | 21 | } 22 | 23 | 24 | --------------------------------------------------------------------------------