├── LA-09-thread
├── 02-dataprocess
│ ├── _output
│ │ ├── temp.txt
│ │ ├── save_file3.txt
│ │ ├── save_file1.txt
│ │ ├── save_file2.txt
│ │ ├── save_file4.txt
│ │ └── final.txt
│ ├── _files
│ │ ├── file3.txt
│ │ ├── file2.txt
│ │ └── file1.txt
│ ├── 02-dataprocess.csproj
│ └── .vscode
│ │ └── launch.json
├── 01-basics
│ ├── 01-basics.csproj
│ └── .vscode
│ │ └── launch.json
└── 03-webstat
│ ├── 03-webstat.csproj
│ ├── output.json
│ └── .vscode
│ └── launch.json
├── _archived
├── LA-09-process
│ └── parhuzamositas_process
│ │ ├── _to-copy
│ │ ├── file3.txt
│ │ ├── file2.txt
│ │ ├── file1.txt
│ │ ├── README.txt
│ │ └── files-to-check
│ │ │ ├── folder_test
│ │ │ └── people.json
│ │ │ └── test_folder_2
│ │ │ └── one_more
│ │ │ └── cars.sql
│ │ ├── 02-counter
│ │ ├── App.config
│ │ └── Program.cs
│ │ ├── 04-notepad
│ │ └── App.config
│ │ ├── 01-chrome-basics
│ │ └── App.config
│ │ ├── 03-process-array
│ │ └── App.config
│ │ ├── 05-event_binding
│ │ └── App.config
│ │ ├── 06-tracert_example
│ │ └── App.config
│ │ ├── 07-nslookup_example
│ │ └── App.config
│ │ ├── 08-fileProcessor
│ │ ├── App.config
│ │ └── Program.cs
│ │ └── 09-fileProcessor-main
│ │ └── App.config
├── LA-05-dll
│ ├── egyszeru-pelda
│ │ ├── CalcLib.dll
│ │ ├── CalcLib
│ │ │ ├── CalcLib
│ │ │ │ ├── CalcLib.csproj
│ │ │ │ └── Class1.cs
│ │ │ └── CalcLib.sln
│ │ └── dllKezelo
│ │ │ ├── dllKezelo
│ │ │ ├── App.config
│ │ │ └── Program.cs
│ │ │ └── dllKezelo.sln
│ └── log-feladat
│ │ ├── LoggerLibrary.dll
│ │ ├── TXTLoggerLibrary.dll
│ │ ├── logger
│ │ ├── logger
│ │ │ └── App.config
│ │ └── logger.sln
│ │ └── logger-class-libs
│ │ └── LoggerLibrary
│ │ ├── LoggerLibrary
│ │ ├── LoggerLibrary.csproj
│ │ └── Class1.cs
│ │ └── TXTLoggerLibrary
│ │ ├── TXTLoggerLibrary.csproj
│ │ └── Class1.cs
├── LA-08-moq
│ ├── mocking
│ │ ├── mocking
│ │ │ ├── packages.config
│ │ │ ├── Program.cs
│ │ │ ├── AvengerExistsException.cs
│ │ │ ├── Model1.cs
│ │ │ ├── IRepository.cs
│ │ │ ├── Model1.edmx.diagram
│ │ │ ├── Model1.Designer.cs
│ │ │ ├── Avenger.cs
│ │ │ ├── AvengerRepository.cs
│ │ │ └── Model1.Context.cs
│ │ └── UnitTestAvengers
│ │ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ │ └── packages.config
│ └── avengers.sql
├── LA-06-ff-demo
│ └── FF-demo
│ │ ├── FF-demo
│ │ └── packages.config
│ │ ├── CarShop.Data
│ │ ├── packages.config
│ │ ├── CarDataModel.cs
│ │ ├── CarDataModel.Designer.cs
│ │ ├── CarDataModel.edmx.diagram
│ │ ├── CAR.cs
│ │ ├── CarDataModel.Context.cs
│ │ └── BRAND.cs
│ │ ├── CarShop.Logic
│ │ ├── packages.config
│ │ └── App.config
│ │ ├── CarShop.Repository
│ │ ├── packages.config
│ │ └── App.config
│ │ └── create.sql
├── LA-07-unit-teszt
│ └── unittesting
│ │ ├── NeptunTesting
│ │ └── packages.config
│ │ ├── unittesting
│ │ ├── App.config
│ │ ├── Program.cs
│ │ └── Neptun.cs
│ │ ├── StudentTesting
│ │ └── packages.config
│ │ └── CalculatorTesting
│ │ └── packages.config
├── LA-02-linq-xml
│ ├── linq
│ │ ├── linq
│ │ │ ├── app.config
│ │ │ └── Properties
│ │ │ │ └── AssemblyInfo.cs
│ │ └── linq.sln
│ └── xml
│ │ ├── xml
│ │ ├── app.config
│ │ └── Properties
│ │ │ └── AssemblyInfo.cs
│ │ └── xml.sln
├── LA-03-database-entity-framework
│ └── dbase
│ │ ├── dbase
│ │ ├── packages.config
│ │ ├── EDModel.cs
│ │ ├── EmpDeptDataModel.cs
│ │ ├── EDModel.Designer.cs
│ │ ├── EmpDeptDataModel.Designer.cs
│ │ ├── EDModel.edmx.diagram
│ │ ├── EmpDeptDataModel.edmx.diagram
│ │ ├── EDModel.Context.cs
│ │ ├── EmpDeptDataModel.Context.cs
│ │ └── DEPT.cs
│ │ └── dbase.sln
├── LA-04-reflexio
│ ├── attributum
│ │ ├── attributum
│ │ │ ├── packages.config
│ │ │ └── App.config
│ │ └── attributum.sln
│ ├── reflexio
│ │ ├── reflexio
│ │ │ └── App.config
│ │ └── reflexio.sln
│ ├── reflexio_feladat-2-XML
│ │ └── reflexio_feladat-2
│ │ │ ├── App.config
│ │ │ └── Attributes.cs
│ └── reflexio_feladat-1-VALIDATOR
│ │ └── reflexio_feladat
│ │ └── App.config
├── LA-12-database-code-first
│ └── code-first-example
│ │ └── code-first-example
│ │ ├── packages.config
│ │ └── App.config
├── LA-04-hazifeladat
│ ├── hazifeladat
│ │ ├── App.config
│ │ ├── NotValidAvengerException.cs
│ │ ├── NoSavedLivesAttributeException.cs
│ │ ├── AvengerAttribute.cs
│ │ ├── SavedLivesAttribute.cs
│ │ └── Avenger.cs
│ └── hazifeladat.sln
├── LA-10-thread-task
│ └── threads
│ │ ├── 02-webstat
│ │ └── App.config
│ │ ├── 03-task-alapok
│ │ └── App.config
│ │ ├── 04-RSS-reader
│ │ └── App.config
│ │ ├── 01-thread-alapok
│ │ └── App.config
│ │ └── 02-szoveges-allomany
│ │ └── App.config
├── LA-11-threadsync
│ └── threadSync
│ │ ├── 01-lock
│ │ └── App.config
│ │ ├── 02-lock-2
│ │ └── App.config
│ │ ├── 03-deadlock
│ │ └── App.config
│ │ ├── 04-monitor
│ │ └── App.config
│ │ ├── 05-feladat-1
│ │ └── App.config
│ │ ├── 06-feladat-2
│ │ └── App.config
│ │ ├── 07-parallel
│ │ └── App.config
│ │ ├── 08-async-await
│ │ └── App.config
│ │ └── 09-async-await-2
│ │ └── App.config
├── LA-04-hazifeladat-2
│ └── lancoltlistas_feladat
│ │ └── App.config
├── LA-05-hazifeladat
│ └── lista_dll
│ │ ├── lista_dll
│ │ └── App.config
│ │ ├── mycompare_interface
│ │ └── MyCompare.cs
│ │ └── LancoltListaLibrary
│ │ └── ChainedList.cs
├── LA-01-delegates-anonymous-functions
│ ├── delegate_anonymous_functions
│ │ ├── log_feladat
│ │ │ ├── app.config
│ │ │ └── Properties
│ │ │ │ └── AssemblyInfo.cs
│ │ └── delegate_anonymous_functions
│ │ │ ├── app.config
│ │ │ └── Properties
│ │ │ └── AssemblyInfo.cs
│ └── delegate_rendezes
│ │ └── delegate_rendezes
│ │ └── App.config
├── README.md
├── LA-00-adatbazisok
│ ├── sample-xml.xml
│ └── avengers.sql
├── LA-02-hazifeladat
│ └── keresofa
│ │ ├── keresofa.sln
│ │ └── keresofa
│ │ └── Properties
│ │ └── AssemblyInfo.cs
└── LA-01-hazifeladat
│ ├── komplex
│ ├── LA-01-hazifeladat.sln
│ └── LA-01-hazifeladat
│ │ └── Properties
│ │ └── AssemblyInfo.cs
│ └── egyszeru_feladatok
│ ├── egyszeru_feladatok.sln
│ └── egyszeru_feladatok
│ └── Properties
│ └── AssemblyInfo.cs
├── LA-07-unit-test
├── BlogSystem_mdf_ldf.zip
├── calculator
│ ├── Calculator
│ │ ├── Calculator.csproj
│ │ └── Calculator.cs
│ ├── Calculator.Tests
│ │ └── Calculator.Tests.csproj
│ └── .vscode
│ │ └── launch.json
├── logic
│ ├── StudentLogic
│ │ ├── StudentLogic.csproj
│ │ └── Model
│ │ │ └── Student.cs
│ ├── LectureLogic
│ │ └── LectureLogic.csproj
│ ├── LectureLogic.Tests
│ │ └── LectureLogic.Tests.csproj
│ └── StudentLogic.Tests
│ │ └── StudentLogic.Tests.csproj
├── BlogSystem
│ ├── BlogSystem.Repository
│ │ ├── BlogSystem.Repository.csproj
│ │ └── Interfaces.cs
│ ├── BlogSystem.Logic
│ │ └── BlogSystem.Logic.csproj
│ ├── BlogSystem.Client
│ │ └── BlogSystem.Client.csproj
│ ├── BlogSystem.Data
│ │ ├── Models
│ │ │ ├── CommentNumberPerCategory.cs
│ │ │ └── Comment.cs
│ │ └── BlogSystem.Data.csproj
│ └── BlogSystem.Tests
│ │ └── BlogSystem.Tests.csproj
└── README.md
├── _other-materials
├── old-results
│ ├── results.pdf
│ ├── HFT-JZH-RES.png
│ ├── retake-results.pdf
│ ├── HFT-MINFO-ZH-RES_v1.pdf
│ ├── HFT-MINFO-ZH-RES_v2.pdf
│ ├── vs-install-package.png
│ ├── HFT-MINFO-FF-results.pdf
│ ├── HFT-PROG3-ZH1-2021-res-v1.pdf
│ ├── HFT-LA03-04-FF-results-deadline-1.pdf
│ └── HFT-LA03-04-FF-results-deadline-2.pdf
├── HFT-LA-slides
│ ├── HFT-HU-intro.pdf
│ ├── P3HU_EA_01-Lambda.pdf
│ ├── P3HU_EA_02-Linq.pdf
│ ├── P3HU_EA_08_Tests.pdf
│ ├── P3HU_EA_09_MockDI.pdf
│ ├── P3HU_EA_07_DotNetGc.pdf
│ ├── P3HU_EA_04_LayeringORM.pdf
│ ├── P3HU_EA_05_ProjectWork.pdf
│ ├── P3HU_EA_12_ThreadSync.pdf
│ ├── P3HU_EA_03_DLLReflection.pdf
│ ├── P3HU_EA_10_Process_IPC_practice.pdf
│ ├── P3HU_EA_13_DataEncodingTransfer.pdf
│ └── P3HU_EA_11_Thread_Task_SimpleDemos.pdf
├── ADT-lecture-materials
│ ├── ADT_EN_EA_05_git.pdf
│ ├── ADT_EN_EA_05_unit.pdf
│ ├── ADT_EN_EA_06_mock.pdf
│ ├── ADT_EN_EA_07_webapi.pdf
│ ├── ADT_EN_EA_08_devops.pdf
│ ├── ADT_EN_EA_02_xmlLinq.pdf
│ ├── ADT_EN_EA_04_layering.pdf
│ ├── ADT_EN_EA_04_databaseORM.pdf
│ ├── ADT_EN_EA_09_parallel-1.pdf
│ ├── ADT_EN_EA_10_parallel-2.pdf
│ ├── ADT_EN_EA_11_parallel-3.pdf
│ ├── ADT_EN_EA_00_requirements.pdf
│ ├── ADT_EN_EA_03_dllReflection.pdf
│ ├── ADT_EN_EA_01_DelegateLambda.pdf
│ └── README.md
└── BPROF-parallel
│ ├── 04-task-file-processor
│ ├── DataTransfer.cs
│ └── 04-task-file-processor.csproj
│ ├── 03-thread-file-processor
│ ├── DataTransfer.cs
│ └── 03-thread-file-processor.csproj
│ ├── 05-task-file-processor-with-returns
│ ├── DataTransfer.cs
│ ├── 05-task-file-processor-with-returns.csproj
│ └── DataProcessor.cs
│ ├── 01-process
│ └── 01-process.csproj
│ └── 02-thread
│ └── 02-thread.csproj
├── LA-03-reflection
├── 02-dll-reflection
│ ├── main
│ │ ├── classes-dll.dll
│ │ ├── ReflectionPropertyHelper.dll
│ │ ├── reflection
│ │ │ └── reflection.csproj
│ │ └── reflection.sln
│ ├── ReflectionPropertyHelper
│ │ └── ReflectionPropertyHelper
│ │ │ ├── ReflectionPropertyHelper.csproj
│ │ │ └── PropertyHelper.cs
│ └── classes-dll
│ │ ├── classes-dll
│ │ ├── classes-dll.csproj
│ │ └── Class1.cs
│ │ └── classes-dll.sln
└── 01-reflection-use-cases
│ ├── 02-reflection-basics
│ ├── IMyObject.cs
│ ├── Person.cs
│ ├── Student.cs
│ ├── 02-reflection-basics.csproj
│ └── BScStudent.cs
│ ├── 08-reflection-xml-export
│ ├── MethodToXMLAttribute.cs
│ ├── ModelToXMLAttribute.cs
│ ├── Animal.cs
│ ├── Program.cs
│ ├── 08-reflection-xml-export.csproj
│ ├── Student.cs
│ ├── Car.cs
│ ├── Dog.cs
│ └── Cat.cs
│ ├── 04-reflection-attribute
│ ├── IMyObject.cs
│ ├── Person.cs
│ ├── CheckLengthAttribute.cs
│ ├── Student.cs
│ ├── 04-reflection-attribute.csproj
│ └── BScStudent.cs
│ ├── 03-reflection-random-types
│ ├── IMyObject.cs
│ ├── Person.cs
│ ├── CheckLengthAttribute.cs
│ ├── Student.cs
│ ├── 03-reflection-random-types.csproj
│ └── BScStudent.cs
│ ├── ConsoleApp1
│ ├── Program.cs
│ └── ConsoleApp1.csproj
│ ├── 01-attribute
│ └── 01-attribute.csproj
│ ├── 05-reflection-cloner
│ └── 05-reflection-cloner.csproj
│ ├── 07-reflection-tostring
│ └── 07-reflection-tostring.csproj
│ └── 06-reflection-serializer
│ └── 06-reflection-serializer.csproj
├── LA-11-api
├── README.md
└── BlogSystem
│ ├── BlogSystem.Endpoint
│ ├── appsettings.Development.json
│ ├── appsettings.json
│ ├── BlogSystem.Endpoint.csproj
│ ├── Program.cs
│ └── Properties
│ │ └── launchSettings.json
│ ├── BlogSystem.Repository
│ ├── BlogSystem.Repository.csproj
│ └── Interfaces.cs
│ ├── BlogSystem.Logic
│ └── BlogSystem.Logic.csproj
│ ├── BlogSystem.Client
│ └── BlogSystem.Client.csproj
│ ├── BlogSystem.Data
│ ├── Models
│ │ ├── CategoryAndCount.cs
│ │ ├── CommentNumberPerCategory.cs
│ │ └── Comment.cs
│ └── BlogSystem.Data.csproj
│ └── BlogSystem.Tests
│ └── BlogSystem.Tests.csproj
├── LA-01-delegate
├── 03-bstree-with-delegate
│ ├── README.md
│ ├── bstree
│ │ ├── App.config
│ │ └── KeyExistsException.cs
│ └── bstree.sln
├── 02-logger
│ └── 02-logger.csproj
└── 01-small-examples
│ ├── LA-01-delegate.csproj
│ └── .vscode
│ └── launch.json
├── LA-06.1-practice
├── ConsoleLoggerLibrary
│ ├── ConsoleLoggerLibrary.csproj
│ └── Class1.cs
├── whp-esti-zh1
│ └── App.config
├── copy-xml-files-to-bin-debug
│ └── workerClasses.xml
└── README.md
├── LA-02-linq-xml
├── 02-xml
│ ├── xml.csproj
│ └── .vscode
│ │ └── launch.json
├── 01-linq
│ ├── linq.csproj
│ └── .vscode
│ │ └── launch.json
└── 03-war-of-westeros
│ └── 03-war-of-westeros.csproj
├── LA-04-database
├── README.md
├── EmpDeptCodeFirst
│ └── EmpDeptCodeFirst
│ │ └── EmpDeptCodeFirst.csproj
├── 01-blog-basics
│ └── 01blogbasics.sln
└── 02-blog-advanced
│ └── 02blogadvanced.sln
├── LA-10-task
├── 04-continuation-example
│ ├── tasktest.csproj
│ └── .vscode
│ │ └── launch.json
├── 07-lock
│ ├── 07-lock.csproj
│ └── .vscode
│ │ └── launch.json
├── 01-basics
│ ├── LA-08-task.csproj
│ └── .vscode
│ │ └── launch.json
├── 02-rss-reader-v1
│ ├── 02-rss-reader-v1.csproj
│ └── .vscode
│ │ └── launch.json
├── 02-rss-reader-v2
│ ├── 02-rss-reader-v2.csproj
│ └── .vscode
│ │ └── launch.json
├── 03-cancellation-demo-with-exception
│ └── 03-cancellation-demo.csproj
├── 05-cancellation-with-exception-example
│ ├── 05-cancellation-with-exception-example.csproj
│ └── .vscode
│ │ └── launch.json
├── 06-cancellation-demo-with-continuation
│ ├── 06-cancellation-demo-with-continuation.csproj
│ └── .vscode
│ │ └── launch.json
├── parallel-example-wpf
│ └── parallel-example-wpf
│ │ ├── App.xaml.cs
│ │ ├── App.xaml
│ │ ├── parallel-example-wpf.csproj
│ │ ├── AssemblyInfo.cs
│ │ └── MainWindow.xaml
└── README.md
├── BPROF-HSZF
├── solutions
│ ├── solutions
│ │ ├── Program.cs
│ │ └── solutions.csproj
│ ├── 05-JSON
│ │ ├── Tweet.cs
│ │ ├── User.cs
│ │ └── 05-JSON.csproj
│ ├── 03-LINQ-03
│ │ ├── Subject.cs
│ │ ├── 03-LINQ-03.csproj
│ │ ├── Teacher.cs
│ │ └── Student.cs
│ ├── 04-XML
│ │ └── 04-XML.csproj
│ ├── 01-LINQ-01
│ │ └── 01-LINQ-01.csproj
│ └── 02-LINQ-02
│ │ ├── 02-LINQ-02.csproj
│ │ └── Employee.cs
└── workshop-01
│ ├── class-01.md
│ └── class-02.md
├── LA-05-layering
├── layering
│ ├── Blogging.Repository
│ │ ├── Blogging.Repository.csproj
│ │ └── Interfaces.cs
│ ├── Blogging.Logic
│ │ ├── IBlogLogic.cs
│ │ ├── Blogging.Logic.csproj
│ │ └── BlogLogic.cs
│ ├── layering
│ │ └── Blogging.Program.csproj
│ └── Blogging.Data
│ │ ├── Model
│ │ └── Comment.cs
│ │ └── Blogging.Data.csproj
└── README.md
├── LA-08-mock-test
├── BlogSystem
│ ├── BlogSystem.Repository
│ │ ├── BlogSystem.Repository.csproj
│ │ └── Interfaces.cs
│ ├── BlogSystem.Logic
│ │ └── BlogSystem.Logic.csproj
│ ├── BlogSystem.Data
│ │ ├── Models
│ │ │ ├── CategoryAndCount.cs
│ │ │ ├── CommentNumberPerCategory.cs
│ │ │ └── Comment.cs
│ │ └── BlogSystem.Data.csproj
│ ├── BlogSystem.Client
│ │ └── BlogSystem.Client.csproj
│ └── BlogSystem.Tests
│ │ └── BlogSystem.Tests.csproj
└── README.md
├── _repolog
├── LA-06.3-practice
└── README.md
├── LA-06.4-practice
└── README.md
└── LICENSE
/LA-09-thread/02-dataprocess/_output/temp.txt:
--------------------------------------------------------------------------------
1 | temp
--------------------------------------------------------------------------------
/LA-09-thread/02-dataprocess/_files/file3.txt:
--------------------------------------------------------------------------------
1 | DATE:2020
--------------------------------------------------------------------------------
/LA-09-thread/02-dataprocess/_output/save_file3.txt:
--------------------------------------------------------------------------------
1 | DATE:2020
2 |
--------------------------------------------------------------------------------
/LA-09-thread/02-dataprocess/_output/save_file1.txt:
--------------------------------------------------------------------------------
1 | DATE:2016
2 | DATE:2017
3 |
--------------------------------------------------------------------------------
/LA-09-thread/02-dataprocess/_output/save_file2.txt:
--------------------------------------------------------------------------------
1 | DATE:2019
2 | DATE:2018
3 |
--------------------------------------------------------------------------------
/LA-09-thread/02-dataprocess/_output/save_file4.txt:
--------------------------------------------------------------------------------
1 | DATE:2014
2 | DATE:2015
3 |
--------------------------------------------------------------------------------
/_archived/LA-09-process/parhuzamositas_process/_to-copy/file3.txt:
--------------------------------------------------------------------------------
1 | DATE:2020
--------------------------------------------------------------------------------
/LA-09-thread/02-dataprocess/_files/file2.txt:
--------------------------------------------------------------------------------
1 | Lorem ipsum
2 | DATE:2019
3 | Test sample here
4 | DATE:2018
--------------------------------------------------------------------------------
/LA-09-thread/02-dataprocess/_files/file1.txt:
--------------------------------------------------------------------------------
1 | lkajsdlasd
2 | élaksdkasd
3 | DATE:2016
4 | Test sample here
5 | DATE:2017
--------------------------------------------------------------------------------
/_archived/LA-09-process/parhuzamositas_process/_to-copy/file2.txt:
--------------------------------------------------------------------------------
1 | Lorem ipsum
2 | DATE:2019
3 | Test sample here
4 | DATE:2018
--------------------------------------------------------------------------------
/LA-07-unit-test/BlogSystem_mdf_ldf.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/LA-07-unit-test/BlogSystem_mdf_ldf.zip
--------------------------------------------------------------------------------
/_other-materials/old-results/results.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/_other-materials/old-results/results.pdf
--------------------------------------------------------------------------------
/_archived/LA-09-process/parhuzamositas_process/_to-copy/file1.txt:
--------------------------------------------------------------------------------
1 | lkajsdlasd
2 | élaksdkasd
3 | DATE:2016
4 | Test sample here
5 | DATE:2017
--------------------------------------------------------------------------------
/_other-materials/old-results/HFT-JZH-RES.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/_other-materials/old-results/HFT-JZH-RES.png
--------------------------------------------------------------------------------
/_archived/LA-05-dll/egyszeru-pelda/CalcLib.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/_archived/LA-05-dll/egyszeru-pelda/CalcLib.dll
--------------------------------------------------------------------------------
/_other-materials/HFT-LA-slides/HFT-HU-intro.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/_other-materials/HFT-LA-slides/HFT-HU-intro.pdf
--------------------------------------------------------------------------------
/_other-materials/old-results/retake-results.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/_other-materials/old-results/retake-results.pdf
--------------------------------------------------------------------------------
/_archived/LA-05-dll/log-feladat/LoggerLibrary.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/_archived/LA-05-dll/log-feladat/LoggerLibrary.dll
--------------------------------------------------------------------------------
/_archived/LA-05-dll/log-feladat/TXTLoggerLibrary.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/_archived/LA-05-dll/log-feladat/TXTLoggerLibrary.dll
--------------------------------------------------------------------------------
/_other-materials/HFT-LA-slides/P3HU_EA_01-Lambda.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/_other-materials/HFT-LA-slides/P3HU_EA_01-Lambda.pdf
--------------------------------------------------------------------------------
/_other-materials/HFT-LA-slides/P3HU_EA_02-Linq.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/_other-materials/HFT-LA-slides/P3HU_EA_02-Linq.pdf
--------------------------------------------------------------------------------
/_other-materials/HFT-LA-slides/P3HU_EA_08_Tests.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/_other-materials/HFT-LA-slides/P3HU_EA_08_Tests.pdf
--------------------------------------------------------------------------------
/_other-materials/HFT-LA-slides/P3HU_EA_09_MockDI.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/_other-materials/HFT-LA-slides/P3HU_EA_09_MockDI.pdf
--------------------------------------------------------------------------------
/_other-materials/old-results/HFT-MINFO-ZH-RES_v1.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/_other-materials/old-results/HFT-MINFO-ZH-RES_v1.pdf
--------------------------------------------------------------------------------
/_other-materials/old-results/HFT-MINFO-ZH-RES_v2.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/_other-materials/old-results/HFT-MINFO-ZH-RES_v2.pdf
--------------------------------------------------------------------------------
/_other-materials/old-results/vs-install-package.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/_other-materials/old-results/vs-install-package.png
--------------------------------------------------------------------------------
/_other-materials/HFT-LA-slides/P3HU_EA_07_DotNetGc.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/_other-materials/HFT-LA-slides/P3HU_EA_07_DotNetGc.pdf
--------------------------------------------------------------------------------
/_other-materials/old-results/HFT-MINFO-FF-results.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/_other-materials/old-results/HFT-MINFO-FF-results.pdf
--------------------------------------------------------------------------------
/LA-03-reflection/02-dll-reflection/main/classes-dll.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/LA-03-reflection/02-dll-reflection/main/classes-dll.dll
--------------------------------------------------------------------------------
/_other-materials/HFT-LA-slides/P3HU_EA_04_LayeringORM.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/_other-materials/HFT-LA-slides/P3HU_EA_04_LayeringORM.pdf
--------------------------------------------------------------------------------
/_other-materials/HFT-LA-slides/P3HU_EA_05_ProjectWork.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/_other-materials/HFT-LA-slides/P3HU_EA_05_ProjectWork.pdf
--------------------------------------------------------------------------------
/_other-materials/HFT-LA-slides/P3HU_EA_12_ThreadSync.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/_other-materials/HFT-LA-slides/P3HU_EA_12_ThreadSync.pdf
--------------------------------------------------------------------------------
/_other-materials/ADT-lecture-materials/ADT_EN_EA_05_git.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/_other-materials/ADT-lecture-materials/ADT_EN_EA_05_git.pdf
--------------------------------------------------------------------------------
/_other-materials/HFT-LA-slides/P3HU_EA_03_DLLReflection.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/_other-materials/HFT-LA-slides/P3HU_EA_03_DLLReflection.pdf
--------------------------------------------------------------------------------
/_other-materials/old-results/HFT-PROG3-ZH1-2021-res-v1.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/_other-materials/old-results/HFT-PROG3-ZH1-2021-res-v1.pdf
--------------------------------------------------------------------------------
/LA-09-thread/02-dataprocess/_output/final.txt:
--------------------------------------------------------------------------------
1 | DATE:2016
2 | DATE:2017
3 |
4 | DATE:2019
5 | DATE:2018
6 |
7 | DATE:2020
8 |
9 | DATE:2014
10 | DATE:2015
11 |
12 |
--------------------------------------------------------------------------------
/_other-materials/ADT-lecture-materials/ADT_EN_EA_05_unit.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/_other-materials/ADT-lecture-materials/ADT_EN_EA_05_unit.pdf
--------------------------------------------------------------------------------
/_other-materials/ADT-lecture-materials/ADT_EN_EA_06_mock.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/_other-materials/ADT-lecture-materials/ADT_EN_EA_06_mock.pdf
--------------------------------------------------------------------------------
/_other-materials/ADT-lecture-materials/ADT_EN_EA_07_webapi.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/_other-materials/ADT-lecture-materials/ADT_EN_EA_07_webapi.pdf
--------------------------------------------------------------------------------
/_other-materials/ADT-lecture-materials/ADT_EN_EA_08_devops.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/_other-materials/ADT-lecture-materials/ADT_EN_EA_08_devops.pdf
--------------------------------------------------------------------------------
/LA-11-api/README.md:
--------------------------------------------------------------------------------
1 | Full project can be found here without any ignored files: https://github.com/siposm/hft-api-full
2 |
3 | Init project: https://github.com/siposm/hft-api-init
4 |
--------------------------------------------------------------------------------
/_other-materials/ADT-lecture-materials/ADT_EN_EA_02_xmlLinq.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/_other-materials/ADT-lecture-materials/ADT_EN_EA_02_xmlLinq.pdf
--------------------------------------------------------------------------------
/_other-materials/ADT-lecture-materials/ADT_EN_EA_04_layering.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/_other-materials/ADT-lecture-materials/ADT_EN_EA_04_layering.pdf
--------------------------------------------------------------------------------
/_other-materials/ADT-lecture-materials/ADT_EN_EA_04_databaseORM.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/_other-materials/ADT-lecture-materials/ADT_EN_EA_04_databaseORM.pdf
--------------------------------------------------------------------------------
/_other-materials/ADT-lecture-materials/ADT_EN_EA_09_parallel-1.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/_other-materials/ADT-lecture-materials/ADT_EN_EA_09_parallel-1.pdf
--------------------------------------------------------------------------------
/_other-materials/ADT-lecture-materials/ADT_EN_EA_10_parallel-2.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/_other-materials/ADT-lecture-materials/ADT_EN_EA_10_parallel-2.pdf
--------------------------------------------------------------------------------
/_other-materials/ADT-lecture-materials/ADT_EN_EA_11_parallel-3.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/_other-materials/ADT-lecture-materials/ADT_EN_EA_11_parallel-3.pdf
--------------------------------------------------------------------------------
/_other-materials/HFT-LA-slides/P3HU_EA_10_Process_IPC_practice.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/_other-materials/HFT-LA-slides/P3HU_EA_10_Process_IPC_practice.pdf
--------------------------------------------------------------------------------
/_other-materials/HFT-LA-slides/P3HU_EA_13_DataEncodingTransfer.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/_other-materials/HFT-LA-slides/P3HU_EA_13_DataEncodingTransfer.pdf
--------------------------------------------------------------------------------
/_other-materials/old-results/HFT-LA03-04-FF-results-deadline-1.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/_other-materials/old-results/HFT-LA03-04-FF-results-deadline-1.pdf
--------------------------------------------------------------------------------
/_other-materials/old-results/HFT-LA03-04-FF-results-deadline-2.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/_other-materials/old-results/HFT-LA03-04-FF-results-deadline-2.pdf
--------------------------------------------------------------------------------
/LA-03-reflection/02-dll-reflection/main/ReflectionPropertyHelper.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/LA-03-reflection/02-dll-reflection/main/ReflectionPropertyHelper.dll
--------------------------------------------------------------------------------
/_other-materials/ADT-lecture-materials/ADT_EN_EA_00_requirements.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/_other-materials/ADT-lecture-materials/ADT_EN_EA_00_requirements.pdf
--------------------------------------------------------------------------------
/_other-materials/ADT-lecture-materials/ADT_EN_EA_03_dllReflection.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/_other-materials/ADT-lecture-materials/ADT_EN_EA_03_dllReflection.pdf
--------------------------------------------------------------------------------
/_other-materials/HFT-LA-slides/P3HU_EA_11_Thread_Task_SimpleDemos.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/_other-materials/HFT-LA-slides/P3HU_EA_11_Thread_Task_SimpleDemos.pdf
--------------------------------------------------------------------------------
/_other-materials/ADT-lecture-materials/ADT_EN_EA_01_DelegateLambda.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/siposm/oktatas-hft/HEAD/_other-materials/ADT-lecture-materials/ADT_EN_EA_01_DelegateLambda.pdf
--------------------------------------------------------------------------------
/_archived/LA-08-moq/mocking/mocking/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/LA-01-delegate/03-bstree-with-delegate/README.md:
--------------------------------------------------------------------------------
1 | # FIGYELEM!
2 |
3 | Ez a munka még .net Framework-ben készült!
4 | Ezt a példát mutattam be gyorsan (a delegáltas részre fókuszálva) a videó végefele.
5 |
--------------------------------------------------------------------------------
/_archived/LA-06-ff-demo/FF-demo/FF-demo/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/_archived/LA-07-unit-teszt/unittesting/NeptunTesting/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/LA-03-reflection/01-reflection-use-cases/02-reflection-basics/IMyObject.cs:
--------------------------------------------------------------------------------
1 | namespace _02_reflection_basics
2 | {
3 | interface IMyObject
4 | {
5 | // it is empty for a reason
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/LA-03-reflection/01-reflection-use-cases/08-reflection-xml-export/MethodToXMLAttribute.cs:
--------------------------------------------------------------------------------
1 | namespace _08_reflection_xml_export
2 | {
3 | class MethodToXMLAttribute : Attribute
4 | {
5 |
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/LA-03-reflection/01-reflection-use-cases/08-reflection-xml-export/ModelToXMLAttribute.cs:
--------------------------------------------------------------------------------
1 | namespace _08_reflection_xml_export
2 | {
3 | class ModelToXMLAttribute : Attribute
4 | {
5 |
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/_archived/LA-06-ff-demo/FF-demo/CarShop.Data/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/_archived/LA-06-ff-demo/FF-demo/CarShop.Logic/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/LA-03-reflection/01-reflection-use-cases/04-reflection-attribute/IMyObject.cs:
--------------------------------------------------------------------------------
1 | namespace _04_reflection_attribute
2 | {
3 | interface IMyObject
4 | {
5 | // it is empty for a reason
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/LA-03-reflection/01-reflection-use-cases/08-reflection-xml-export/Animal.cs:
--------------------------------------------------------------------------------
1 | namespace _08_reflection_xml_export
2 | {
3 | class Animal
4 | {
5 | public bool Herbivorous { get; set; }
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/_archived/LA-02-linq-xml/linq/linq/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/_archived/LA-02-linq-xml/xml/xml/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/_archived/LA-03-database-entity-framework/dbase/dbase/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/_archived/LA-06-ff-demo/FF-demo/CarShop.Repository/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/LA-03-reflection/01-reflection-use-cases/03-reflection-random-types/IMyObject.cs:
--------------------------------------------------------------------------------
1 | namespace _03_reflection_random_types
2 | {
3 | interface IMyObject
4 | {
5 | // it is empty for a reason
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/LA-07-unit-test/calculator/Calculator/Calculator.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netstandard2.0
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/LA-07-unit-test/logic/StudentLogic/StudentLogic.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netstandard2.0
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/LA-06.1-practice/ConsoleLoggerLibrary/ConsoleLoggerLibrary.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netstandard2.0
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/_archived/LA-04-reflexio/attributum/attributum/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/_archived/LA-05-dll/egyszeru-pelda/CalcLib/CalcLib/CalcLib.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netstandard2.0
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/LA-02-linq-xml/02-xml/xml.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | netcoreapp3.1
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/LA-06.1-practice/whp-esti-zh1/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/_archived/LA-12-database-code-first/code-first-example/code-first-example/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/LA-02-linq-xml/01-linq/linq.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | netcoreapp3.1
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/LA-04-database/README.md:
--------------------------------------------------------------------------------
1 | # Figyelem!
2 |
3 | A projektben található `.mdf` és `.ldf` állományokat KITÖRÖLTEM, így azokat újra kell csináljátok ha szükségetek van rá!
4 |
5 | A törlés oka igen egyszerű: ~100 MB körüli állományt nem akartam felrakni.
--------------------------------------------------------------------------------
/LA-10-task/04-continuation-example/tasktest.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net5.0
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/_archived/LA-04-hazifeladat/hazifeladat/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/LA-01-delegate/03-bstree-with-delegate/bstree/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/LA-03-reflection/01-reflection-use-cases/02-reflection-basics/Person.cs:
--------------------------------------------------------------------------------
1 | namespace _02_reflection_basics
2 | {
3 | class Person : IMyObject
4 | {
5 | public int ID { get; set; }
6 | public string? Name { get; set; }
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/_archived/LA-04-reflexio/attributum/attributum/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/_archived/LA-04-reflexio/reflexio/reflexio/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/_archived/LA-05-dll/log-feladat/logger/logger/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/_archived/LA-09-process/parhuzamositas_process/_to-copy/README.txt:
--------------------------------------------------------------------------------
1 | file1.txt
2 | file2.txt
3 | file3.txt
4 | file4.txt
5 | >> copy to 09-fileProcessor-main / bin / debug
6 |
7 | files-to-check
8 | >> copy (full folder) to 04-notepad / bin / debug
--------------------------------------------------------------------------------
/_archived/LA-10-thread-task/threads/02-webstat/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/_archived/LA-11-threadsync/threadSync/01-lock/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/BPROF-HSZF/solutions/solutions/Program.cs:
--------------------------------------------------------------------------------
1 | namespace solutions
2 | {
3 | internal class Program
4 | {
5 | static void Main(string[] args)
6 | {
7 | Console.WriteLine("Hello, World!");
8 | }
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/LA-03-reflection/01-reflection-use-cases/04-reflection-attribute/Person.cs:
--------------------------------------------------------------------------------
1 | namespace _04_reflection_attribute
2 | {
3 | class Person : IMyObject
4 | {
5 | public int ID { get; set; }
6 | public string Name { get; set; }
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/_archived/LA-04-hazifeladat-2/lancoltlistas_feladat/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/_archived/LA-05-hazifeladat/lista_dll/lista_dll/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/_archived/LA-07-unit-teszt/unittesting/unittesting/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/_archived/LA-10-thread-task/threads/03-task-alapok/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/_archived/LA-10-thread-task/threads/04-RSS-reader/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/_archived/LA-11-threadsync/threadSync/02-lock-2/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/_archived/LA-11-threadsync/threadSync/03-deadlock/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/_archived/LA-11-threadsync/threadSync/04-monitor/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/_archived/LA-11-threadsync/threadSync/05-feladat-1/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/_archived/LA-11-threadsync/threadSync/06-feladat-2/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/_archived/LA-11-threadsync/threadSync/07-parallel/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/BPROF-HSZF/solutions/05-JSON/Tweet.cs:
--------------------------------------------------------------------------------
1 | namespace _05_JSON
2 | {
3 | public class Tweet
4 | {
5 | public string Content { get; set; }
6 | public bool Flagged { get; set; }
7 | public int Year { get; set; }
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/_archived/LA-05-dll/egyszeru-pelda/dllKezelo/dllKezelo/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/_archived/LA-05-dll/log-feladat/logger-class-libs/LoggerLibrary/LoggerLibrary/LoggerLibrary.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netstandard2.0
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/_archived/LA-10-thread-task/threads/01-thread-alapok/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/_archived/LA-10-thread-task/threads/02-szoveges-allomany/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/_archived/LA-11-threadsync/threadSync/08-async-await/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/_archived/LA-11-threadsync/threadSync/09-async-await-2/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/LA-03-reflection/01-reflection-use-cases/03-reflection-random-types/Person.cs:
--------------------------------------------------------------------------------
1 | namespace _03_reflection_random_types
2 | {
3 | class Person : IMyObject
4 | {
5 | public int ID { get; set; }
6 | public string Name { get; set; }
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/_archived/LA-01-delegates-anonymous-functions/delegate_anonymous_functions/log_feladat/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/_archived/LA-09-process/parhuzamositas_process/02-counter/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/_archived/LA-09-process/parhuzamositas_process/04-notepad/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/BPROF-HSZF/solutions/05-JSON/User.cs:
--------------------------------------------------------------------------------
1 | namespace _05_JSON
2 | {
3 | public class User
4 | {
5 | public string UserName { get; set; }
6 | public string UserEmail { get; set; }
7 | public List Tweets { get; set; }
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/LA-11-api/BlogSystem/BlogSystem.Endpoint/appsettings.Development.json:
--------------------------------------------------------------------------------
1 | {
2 | "Logging": {
3 | "LogLevel": {
4 | "Default": "Information",
5 | "Microsoft": "Warning",
6 | "Microsoft.Hosting.Lifetime": "Information"
7 | }
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/_archived/LA-04-reflexio/reflexio_feladat-2-XML/reflexio_feladat-2/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/_archived/LA-09-process/parhuzamositas_process/01-chrome-basics/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/_archived/LA-09-process/parhuzamositas_process/03-process-array/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/_archived/LA-09-process/parhuzamositas_process/05-event_binding/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/_archived/LA-09-process/parhuzamositas_process/06-tracert_example/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/_archived/LA-09-process/parhuzamositas_process/07-nslookup_example/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/_archived/LA-09-process/parhuzamositas_process/08-fileProcessor/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/_archived/LA-04-reflexio/reflexio_feladat-1-VALIDATOR/reflexio_feladat/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/_archived/LA-09-process/parhuzamositas_process/09-fileProcessor-main/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/LA-03-reflection/01-reflection-use-cases/ConsoleApp1/Program.cs:
--------------------------------------------------------------------------------
1 | namespace ConsoleApp1
2 | {
3 | internal class Program
4 | {
5 | static void Main(string[] args)
6 | {
7 | Console.WriteLine("Hello, World!");
8 | }
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/_archived/LA-01-delegates-anonymous-functions/delegate_anonymous_functions/delegate_anonymous_functions/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/LA-11-api/BlogSystem/BlogSystem.Endpoint/appsettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "Logging": {
3 | "LogLevel": {
4 | "Default": "Information",
5 | "Microsoft": "Warning",
6 | "Microsoft.Hosting.Lifetime": "Information"
7 | }
8 | },
9 | "AllowedHosts": "*"
10 | }
11 |
--------------------------------------------------------------------------------
/_archived/LA-01-delegates-anonymous-functions/delegate_rendezes/delegate_rendezes/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/_archived/LA-07-unit-teszt/unittesting/StudentTesting/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/LA-10-task/07-lock/07-lock.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net5.0
6 | _07_lock
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/_archived/LA-07-unit-teszt/unittesting/CalculatorTesting/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/LA-09-thread/01-basics/01-basics.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | netcoreapp3.1
6 | _01_basics
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/LA-10-task/01-basics/LA-08-task.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | netcoreapp3.1
6 | LA_08_task
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/LA-03-reflection/01-reflection-use-cases/04-reflection-attribute/CheckLengthAttribute.cs:
--------------------------------------------------------------------------------
1 | namespace _04_reflection_attribute
2 | {
3 | [AttributeUsage(AttributeTargets.Property)]
4 | class CheckLengthAttribute : Attribute
5 | {
6 | public int MaxLength { get; set; }
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/LA-09-thread/03-webstat/03-webstat.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | netcoreapp3.1
6 | _03_webstat
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/_other-materials/BPROF-parallel/04-task-file-processor/DataTransfer.cs:
--------------------------------------------------------------------------------
1 | namespace _04_task_file_processor
2 | {
3 | class DataTransfer
4 | {
5 | public string OpenFile { get; set; }
6 | public string SaveAs { get; set; }
7 | public int TimeDelay { get; set; }
8 | }
9 | }
--------------------------------------------------------------------------------
/LA-01-delegate/02-logger/02-logger.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | netcoreapp2.1
6 | _02_logger
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/LA-03-reflection/01-reflection-use-cases/03-reflection-random-types/CheckLengthAttribute.cs:
--------------------------------------------------------------------------------
1 | namespace _03_reflection_random_types
2 | {
3 | [AttributeUsage(AttributeTargets.Property)]
4 | class CheckLengthAttribute : Attribute
5 | {
6 | public int MaxLength { get; set; }
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/_other-materials/BPROF-parallel/03-thread-file-processor/DataTransfer.cs:
--------------------------------------------------------------------------------
1 | namespace _03_thread_file_processor
2 | {
3 | class DataTransfer
4 | {
5 | public string OpenFile { get; set; }
6 | public string SaveAs { get; set; }
7 | public int TimeDelay { get; set; }
8 | }
9 | }
--------------------------------------------------------------------------------
/LA-09-thread/02-dataprocess/02-dataprocess.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | netcoreapp3.1
6 | _02_dataprocess
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/LA-03-reflection/01-reflection-use-cases/02-reflection-basics/Student.cs:
--------------------------------------------------------------------------------
1 | namespace _02_reflection_basics
2 | {
3 | class Student : Person
4 | {
5 | public string? Email { get; set; }
6 | public string? NeptunID { get; set; }
7 | public int Credits { get; set; }
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/LA-10-task/02-rss-reader-v1/02-rss-reader-v1.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net5.0
6 | _02_rss_reader_v1
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/LA-10-task/02-rss-reader-v2/02-rss-reader-v2.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net5.0
6 | _02_rss_reader_v2
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/LA-01-delegate/01-small-examples/LA-01-delegate.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | netcoreapp3.1
6 | LA_01_delegate
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/LA-02-linq-xml/03-war-of-westeros/03-war-of-westeros.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net5.0
6 | _03_war_of_westeros
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/_archived/LA-04-hazifeladat/hazifeladat/NotValidAvengerException.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace hazifeladat
8 | {
9 | class NotValidAvengerException : Exception
10 | {
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/_other-materials/BPROF-parallel/05-task-file-processor-with-returns/DataTransfer.cs:
--------------------------------------------------------------------------------
1 | namespace _05_task_file_processor_with_returns
2 | {
3 | class DataTransfer
4 | {
5 | public string OpenFile { get; set; }
6 | public string SaveAs { get; set; }
7 | public int TimeDelay { get; set; }
8 | }
9 | }
--------------------------------------------------------------------------------
/BPROF-HSZF/solutions/solutions/solutions.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net8.0
6 | enable
7 | enable
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/_archived/LA-04-hazifeladat/hazifeladat/NoSavedLivesAttributeException.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace hazifeladat
8 | {
9 | class NoSavedLivesAttributeException : Exception
10 | {
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/LA-10-task/03-cancellation-demo-with-exception/03-cancellation-demo.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | netcoreapp3.1
6 | _03_cancellation_demo
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/LA-07-unit-test/logic/LectureLogic/LectureLogic.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | netstandard2.0
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/_archived/LA-08-moq/mocking/mocking/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace mocking
8 | {
9 | class Program
10 | {
11 | static void Main(string[] args)
12 | {
13 |
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/LA-03-reflection/01-reflection-use-cases/ConsoleApp1/ConsoleApp1.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net8.0
6 | enable
7 | enable
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/LA-03-reflection/01-reflection-use-cases/08-reflection-xml-export/Program.cs:
--------------------------------------------------------------------------------
1 | namespace _08_reflection_xml_export
2 | {
3 |
4 | internal class Program
5 | {
6 | static void Main(string[] args)
7 | {
8 | DataFetcher df = new DataFetcher();
9 | df.FetchDataFromProgram();
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/LA-03-reflection/02-dll-reflection/ReflectionPropertyHelper/ReflectionPropertyHelper/ReflectionPropertyHelper.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net6.0
5 | enable
6 | enable
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/LA-05-layering/layering/Blogging.Repository/Blogging.Repository.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netcoreapp3.1
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/LA-11-api/BlogSystem/BlogSystem.Repository/BlogSystem.Repository.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net5.0
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/LA-07-unit-test/BlogSystem/BlogSystem.Repository/BlogSystem.Repository.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net5.0
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/LA-08-mock-test/BlogSystem/BlogSystem.Repository/BlogSystem.Repository.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net5.0
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/_archived/LA-07-unit-teszt/unittesting/unittesting/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace unittesting
8 | {
9 | class Program
10 | {
11 | static void Main(string[] args)
12 | {
13 | }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/BPROF-HSZF/solutions/03-LINQ-03/Subject.cs:
--------------------------------------------------------------------------------
1 | namespace _03_LINQ_03
2 | {
3 | public class Subject
4 | {
5 | public int Credit { get; set; }
6 | public string Name { get; set; }
7 | public string Code { get; set; }
8 | public bool HasExam { get; set; }
9 | public List Teachers { get; set; }
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/BPROF-HSZF/solutions/04-XML/04-XML.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net8.0
6 | _04_XML
7 | enable
8 | enable
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/BPROF-HSZF/solutions/05-JSON/05-JSON.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net8.0
6 | _05_JSON
7 | enable
8 | enable
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/LA-03-reflection/02-dll-reflection/classes-dll/classes-dll/classes-dll.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net6.0
5 | classes_dll
6 | enable
7 | enable
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/_other-materials/ADT-lecture-materials/README.md:
--------------------------------------------------------------------------------
1 | # Attention!
2 |
3 | This folder contains the **English** version (ADT) of the subject, which means that some of the topics compared to the Hungarian version (HFT) are different!
4 |
5 | # Figyelem!
6 |
7 | Ez a mappa a tárgy angol verziójához tartozó anyagokat tartalmazza, amely azt eredményezheti, hogy bizonyos részek eltérnek!
--------------------------------------------------------------------------------
/LA-03-reflection/01-reflection-use-cases/03-reflection-random-types/Student.cs:
--------------------------------------------------------------------------------
1 | namespace _03_reflection_random_types
2 | {
3 | class Student : Person
4 | {
5 | [CheckLength(MaxLength = 10)]
6 | public string Email { get; set; }
7 |
8 | public string NeptunID { get; set; }
9 |
10 | public int Credits { get; set; }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/LA-10-task/05-cancellation-with-exception-example/05-cancellation-with-exception-example.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net5.0
6 | _05_cancellation_with_exception_example
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/LA-10-task/06-cancellation-demo-with-continuation/06-cancellation-demo-with-continuation.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net5.0
6 | _06_cancellation_demo_with_continuation
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/BPROF-HSZF/solutions/01-LINQ-01/01-LINQ-01.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net8.0
6 | _01_LINQ_01
7 | enable
8 | enable
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/BPROF-HSZF/solutions/02-LINQ-02/02-LINQ-02.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net8.0
6 | _02_LINQ_02
7 | enable
8 | enable
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/BPROF-HSZF/solutions/03-LINQ-03/03-LINQ-03.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net8.0
6 | _03_LINQ_03
7 | enable
8 | enable
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/_other-materials/BPROF-parallel/01-process/01-process.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net6.0
6 | _01_process
7 | enable
8 | enable
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/_other-materials/BPROF-parallel/02-thread/02-thread.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net6.0
6 | _02_thread
7 | enable
8 | enable
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/LA-05-layering/layering/Blogging.Logic/IBlogLogic.cs:
--------------------------------------------------------------------------------
1 | using Blogging.Data;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.Text;
5 |
6 | namespace Blogging.Logic
7 | {
8 | public interface IBlogLogic
9 | {
10 | Blog GetBlogById(int id);
11 | void ChangeBlogTitle(int id, string newTitle);
12 | IList GetAllBlogs();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/LA-03-reflection/01-reflection-use-cases/01-attribute/01-attribute.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net8.0
6 | _01_attribute
7 | enable
8 | enable
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/LA-06.1-practice/ConsoleLoggerLibrary/Class1.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace ConsoleLoggerLibrary
4 | {
5 | public class ConsoleLogger
6 | {
7 | public void ConsoleLog(object o)
8 | {
9 | Console.Write("> LOG OUTPUT:");
10 | Console.WriteLine("\t" + o.ToString());
11 | Console.WriteLine("-------------");
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/_archived/README.md:
--------------------------------------------------------------------------------
1 | # 🔴 Archív tartalom 🔴
2 |
3 | - Korábbi félév(ek) anyagait átmozgattam ebbe a mappába.
4 | - Az itt található kódok .NET Framework-ben íródtak.
5 | - Az általam készített [jegyzetben](https://users.nik.uni-obuda.hu/siposm/lectures/WHP/WHP-SIPOSM-jegyzet.pdf) illetve feladatsorban található házi feladatok kódjai is ebben a mappában vannak.
6 | - Az új tartalmak a `root` mappába kerülnek.
7 |
--------------------------------------------------------------------------------
/LA-03-reflection/01-reflection-use-cases/04-reflection-attribute/Student.cs:
--------------------------------------------------------------------------------
1 | namespace _04_reflection_attribute
2 | {
3 | class Student : Person
4 | {
5 | [CheckLength(MaxLength = 10)]
6 | public string Email { get; set; }
7 | public string NeptunID { get; set; }
8 | public int Credits { get; set; }
9 | public bool? Approved { get; set; } = null;
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/_archived/LA-08-moq/mocking/mocking/AvengerExistsException.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace mocking
8 | {
9 | class AvengerExistsException : Exception
10 | {
11 | public AvengerExistsException(string message):base(message)
12 | {
13 |
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/_archived/LA-04-reflexio/reflexio_feladat-2-XML/reflexio_feladat-2/Attributes.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace reflexio_feladat_2
8 | {
9 | class ModelToXMLAttribute : Attribute
10 | {
11 |
12 | }
13 |
14 | class MethodToXMLAttribute : Attribute
15 | {
16 |
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/_other-materials/BPROF-parallel/04-task-file-processor/04-task-file-processor.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net6.0
6 | _04_task_file_processor
7 | enable
8 | enable
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/LA-03-reflection/01-reflection-use-cases/02-reflection-basics/02-reflection-basics.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net8.0
6 | _02_reflection_basics
7 | enable
8 | enable
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/LA-03-reflection/01-reflection-use-cases/05-reflection-cloner/05-reflection-cloner.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net8.0
6 | _05_reflection_cloner
7 | enable
8 | enable
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/LA-03-reflection/01-reflection-use-cases/07-reflection-tostring/07-reflection-tostring.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net8.0
6 | _07_reflection_tostring
7 | enable
8 | enable
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/LA-05-layering/layering/Blogging.Logic/Blogging.Logic.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netcoreapp3.1
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/LA-11-api/BlogSystem/BlogSystem.Logic/BlogSystem.Logic.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net5.0
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/_other-materials/BPROF-parallel/03-thread-file-processor/03-thread-file-processor.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net6.0
6 | _03_thread_file_processor
7 | enable
8 | enable
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/LA-01-delegate/03-bstree-with-delegate/bstree/KeyExistsException.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace bstree
8 | {
9 | class KeyExistsException : Exception
10 | {
11 | public KeyExistsException(string msg) : base(msg)
12 | {
13 | // ... do nothing
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/LA-03-reflection/01-reflection-use-cases/04-reflection-attribute/04-reflection-attribute.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net8.0
6 | _04_reflection_attribute
7 | enable
8 | enable
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/LA-03-reflection/01-reflection-use-cases/06-reflection-serializer/06-reflection-serializer.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net8.0
6 | _06_reflection_serializer
7 | enable
8 | enable
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/LA-03-reflection/01-reflection-use-cases/08-reflection-xml-export/08-reflection-xml-export.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net8.0
6 | _08_reflection_xml_export
7 | enable
8 | enable
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/LA-08-mock-test/README.md:
--------------------------------------------------------------------------------
1 | # Read me
2 |
3 | Initialization template can be found here for the BlogSystem: https://github.com/siposm/hft-mock-init
4 |
5 | BlogSystem with all the layers (like in the project work)
6 | - the `.mdf` and `.ldf` files can be found as a separate `.zip` here (https://github.com/siposm/oktatas-hft-20211/tree/master/LA-07-unit-test), the contents should be copied to the Data layer's root (`BlogSystem/BlogSystem.Data`)
7 |
--------------------------------------------------------------------------------
/LA-07-unit-test/BlogSystem/BlogSystem.Logic/BlogSystem.Logic.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net5.0
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/LA-08-mock-test/BlogSystem/BlogSystem.Logic/BlogSystem.Logic.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net5.0
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/LA-03-reflection/01-reflection-use-cases/03-reflection-random-types/03-reflection-random-types.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net8.0
6 | _03_reflection_random_types
7 | enable
8 | enable
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/_other-materials/BPROF-parallel/05-task-file-processor-with-returns/05-task-file-processor-with-returns.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net6.0
6 | _05_task_file_processor_with_returns
7 | enable
8 | enable
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/LA-10-task/parallel-example-wpf/parallel-example-wpf/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace parallel_example_wpf
10 | {
11 | ///
12 | /// Interaction logic for App.xaml
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/_archived/LA-05-dll/log-feladat/logger-class-libs/LoggerLibrary/TXTLoggerLibrary/TXTLoggerLibrary.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netstandard2.0
5 |
6 |
7 |
8 |
9 | ..\LoggerLibrary\bin\Debug\netstandard2.0\LoggerLibrary.dll
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/LA-03-reflection/02-dll-reflection/classes-dll/classes-dll/Class1.cs:
--------------------------------------------------------------------------------
1 | using System.Runtime.CompilerServices;
2 |
3 | [assembly: InternalsVisibleTo("classes-dll")]
4 |
5 | namespace classes_dll
6 | {
7 | public class Person
8 | {
9 | public int Age { get; set; }
10 | public string Name { get; set; }
11 | public Dog Dog { get; set; }
12 | }
13 | public class Dog
14 | {
15 | public string Name { get; set; }
16 | }
17 | }
--------------------------------------------------------------------------------
/LA-10-task/parallel-example-wpf/parallel-example-wpf/App.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/BPROF-HSZF/solutions/03-LINQ-03/Teacher.cs:
--------------------------------------------------------------------------------
1 | namespace _03_LINQ_03
2 | {
3 | public class Teacher
4 | {
5 | public string Name { get; set; }
6 | public string NeptunCode { get; set; }
7 | public int BirthYear { get; set; }
8 | public DateTime StartOfEmployment { get; set; }
9 | public bool HasPhd { get; set; }
10 |
11 | public override string ToString()
12 | {
13 | return this.Name;
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/_archived/LA-08-moq/mocking/mocking/Model1.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated from a template.
4 | //
5 | // Manual changes to this file may cause unexpected behavior in your application.
6 | // Manual changes to this file will be overwritten if the code is regenerated.
7 | //
8 | //------------------------------------------------------------------------------
9 |
10 |
--------------------------------------------------------------------------------
/LA-11-api/BlogSystem/BlogSystem.Client/BlogSystem.Client.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net5.0
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/_archived/LA-06-ff-demo/FF-demo/CarShop.Data/CarDataModel.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated from a template.
4 | //
5 | // Manual changes to this file may cause unexpected behavior in your application.
6 | // Manual changes to this file will be overwritten if the code is regenerated.
7 | //
8 | //------------------------------------------------------------------------------
9 |
10 |
--------------------------------------------------------------------------------
/LA-05-layering/layering/Blogging.Repository/Interfaces.cs:
--------------------------------------------------------------------------------
1 | using Blogging.Data;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.Linq;
5 | using System.Text;
6 |
7 | namespace Blogging.Repository
8 | {
9 | public interface IRepository where T : class
10 | {
11 | T GetOne(int id);
12 | IQueryable GetAll();
13 | }
14 |
15 | public interface IBlogRepository : IRepository
16 | {
17 | void ChangeTitle(int id, string newTitle);
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/_archived/LA-03-database-entity-framework/dbase/dbase/EDModel.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated from a template.
4 | //
5 | // Manual changes to this file may cause unexpected behavior in your application.
6 | // Manual changes to this file will be overwritten if the code is regenerated.
7 | //
8 | //------------------------------------------------------------------------------
9 |
10 |
--------------------------------------------------------------------------------
/_archived/LA-05-dll/log-feladat/logger-class-libs/LoggerLibrary/LoggerLibrary/Class1.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace LoggerLibrary
4 | {
5 | public interface ILogger
6 | {
7 | void Log(Student student);
8 | }
9 |
10 | public class Student
11 | {
12 | public string Name { get; set; }
13 | public DateTime RegistrationDate { get; set; }
14 |
15 | public Student()
16 | {
17 | this.RegistrationDate = DateTime.Now;
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/LA-10-task/parallel-example-wpf/parallel-example-wpf/parallel-example-wpf.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | WinExe
5 | net6.0-windows
6 | parallel_example_wpf
7 | enable
8 | true
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/LA-11-api/BlogSystem/BlogSystem.Endpoint/BlogSystem.Endpoint.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net5.0
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/_archived/LA-03-database-entity-framework/dbase/dbase/EmpDeptDataModel.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated from a template.
4 | //
5 | // Manual changes to this file may cause unexpected behavior in your application.
6 | // Manual changes to this file will be overwritten if the code is regenerated.
7 | //
8 | //------------------------------------------------------------------------------
9 |
10 |
--------------------------------------------------------------------------------
/BPROF-HSZF/solutions/03-LINQ-03/Student.cs:
--------------------------------------------------------------------------------
1 | namespace _03_LINQ_03
2 | {
3 | public class Student
4 | {
5 | public string Name { get; set; }
6 | public string NeptunCode { get; set; }
7 | public int BirthYear { get; set; }
8 | public int EnrollmentYear { get; set; }
9 | public int CompletedCredits { get; set; }
10 | public List Subjects { get; set; }
11 | public bool Absolved { get; set; }
12 | public bool Graduated { get; set; }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/LA-06.1-practice/copy-xml-files-to-bin-debug/workerClasses.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Worker
5 | 828626828
6 |
7 |
8 | ThirdFloorWorker
9 | 1242186213
10 |
11 |
12 | SecondFloorWorker
13 | -1077323712
14 |
15 |
16 | FirstFloorWorker
17 | -436007993
18 |
19 |
--------------------------------------------------------------------------------
/LA-11-api/BlogSystem/BlogSystem.Data/Models/CategoryAndCount.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace BlogSystem.Data.Models
8 | {
9 | public class CategoryAndCount
10 | {
11 | public string Category { get; set; }
12 | public int Count { get; set; }
13 |
14 | public override string ToString()
15 | {
16 | return $"{Category} - {Count}";
17 | }
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/LA-08-mock-test/BlogSystem/BlogSystem.Data/Models/CategoryAndCount.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace BlogSystem.Data.Models
8 | {
9 | public class CategoryAndCount
10 | {
11 | public string Category { get; set; }
12 | public int Count { get; set; }
13 |
14 | public override string ToString()
15 | {
16 | return $"{Category} - {Count}";
17 | }
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/_archived/LA-05-hazifeladat/lista_dll/mycompare_interface/MyCompare.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace mycompare_interface
8 | {
9 | public class ToInsertAttribute : Attribute
10 | {
11 |
12 | }
13 |
14 | public interface MyCompare : IComparable
15 | {
16 | [ToInsert]
17 | Comparison Comparison { get; set; }
18 | Predicate Predicate { get; set; }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/_archived/LA-08-moq/mocking/mocking/IRepository.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace mocking
8 | {
9 | public interface IRepository
10 | {
11 | // itt kéne előírni minden CRUD műveletet ideális esetben
12 |
13 | List GetAvengers();
14 | void AddAvenger(Avenger avenger);
15 | void GetRecursivelySomething();
16 | IEnumerable GetRealDatabaseRecords();
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/LA-07-unit-test/BlogSystem/BlogSystem.Client/BlogSystem.Client.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net5.0
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/LA-08-mock-test/BlogSystem/BlogSystem.Client/BlogSystem.Client.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net5.0
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/LA-11-api/BlogSystem/BlogSystem.Data/Models/CommentNumberPerCategory.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace BlogSystem.Data.Models
8 | {
9 | public class CommentNumberPerCategory
10 | {
11 | public string Category { get; set; }
12 | public int CommentCount { get; set; }
13 |
14 | public override string ToString()
15 | {
16 | return $"{Category} - {CommentCount}";
17 | }
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/LA-07-unit-test/BlogSystem/BlogSystem.Data/Models/CommentNumberPerCategory.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace BlogSystem.Data.Models
8 | {
9 | public class CommentNumberPerCategory
10 | {
11 | public string Category { get; set; }
12 | public int CommentCount { get; set; }
13 |
14 | public override string ToString()
15 | {
16 | return $"{Category} - {CommentCount}";
17 | }
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/LA-08-mock-test/BlogSystem/BlogSystem.Data/Models/CommentNumberPerCategory.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace BlogSystem.Data.Models
8 | {
9 | public class CommentNumberPerCategory
10 | {
11 | public string Category { get; set; }
12 | public int CommentCount { get; set; }
13 |
14 | public override string ToString()
15 | {
16 | return $"{Category} - {CommentCount}";
17 | }
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/_archived/LA-04-hazifeladat/hazifeladat/AvengerAttribute.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace hazifeladat
8 | {
9 | class AvengerAttribute : Attribute
10 | {
11 | public CurrentLocation Location { get; set; }
12 |
13 | public AvengerAttribute(CurrentLocation location)
14 | {
15 | this.Location = location;
16 | }
17 | }
18 |
19 | public enum CurrentLocation { Earth, Mars, Vormir, Titan }
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/LA-05-layering/layering/layering/Blogging.Program.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | netcoreapp3.1
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/_archived/LA-04-hazifeladat/hazifeladat/SavedLivesAttribute.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace hazifeladat
8 | {
9 | class SavedLivesAttribute : Attribute
10 | {
11 | public int Limit { get; set; }
12 | public string Percentage { get; set; }
13 |
14 | public SavedLivesAttribute(string percentage, int limit)
15 | {
16 | this.Percentage = percentage;
17 | this.Limit = limit;
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/LA-03-reflection/01-reflection-use-cases/02-reflection-basics/BScStudent.cs:
--------------------------------------------------------------------------------
1 | namespace _02_reflection_basics
2 | {
3 | class BScStudent : Student
4 | {
5 | // fields, not properties!
6 |
7 | public int enrollmentYear;
8 | private int activeSemesters_1; // private is not visible
9 | public int activeSemesters_2;
10 | public int activeSemesters_3;
11 | public int activeSemesters_4;
12 |
13 | public string Greeting()
14 | {
15 | return "Hi! I'm " + Name + ", nice to meet you!";
16 | }
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/LA-03-reflection/01-reflection-use-cases/04-reflection-attribute/BScStudent.cs:
--------------------------------------------------------------------------------
1 | namespace _04_reflection_attribute
2 | {
3 | class BScStudent : Student
4 | {
5 | // fields, not properties!
6 |
7 | public int enrollmentYear;
8 | private int activeSemesters_1; // private is not visible
9 | public int activeSemesters_2;
10 | public int activeSemesters_3;
11 | public int activeSemesters_4;
12 |
13 | public string Greeting()
14 | {
15 | return "Hi! I'm " + Name + ", nice to meet you!";
16 | }
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/_archived/LA-05-dll/egyszeru-pelda/dllKezelo/dllKezelo/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | using CalcLib; // saját dll usingolása!
8 |
9 | namespace dllKezelo
10 | {
11 | class Program
12 | {
13 | static void Main(string[] args)
14 | {
15 | Calculator calc = new Calculator();
16 |
17 | Console.WriteLine(calc.Addition(10, 25));
18 | Console.WriteLine(calc.Substraction(50,12));
19 |
20 |
21 | }
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/_repolog:
--------------------------------------------------------------------------------
1 | S|03.16. 08:30|A repo processort updateltem a HFT tavaszi félévnek megfelelően.
2 | W|03.19. 14:11|A Gitstats utoljára pár napja frissült (jelen állás szerint 17-én este), azóta nem, így erre figyeljetek amikor várjátok az új buildek eredményét! A hiba elhárítása folyamatban van.
3 | S|03.19. 17:16|Gitstats back on track. (Ettől függetlenül a build gép rosszalkodik, kimaradások előfordulhatnak.)
4 | D|05.19. 18:30|A "big results table"-ből eltűntek a prog3 rekordok, így itt sem jelenik meg semmi.
5 | S|05.24. 21:23|Prog3 records are back.
6 | D|06.19. 08:00|***A FÉLÉV ZÁRVA // THE SEMESTER IS CLOSED***
--------------------------------------------------------------------------------
/LA-03-reflection/01-reflection-use-cases/03-reflection-random-types/BScStudent.cs:
--------------------------------------------------------------------------------
1 | namespace _03_reflection_random_types
2 | {
3 | class BScStudent : Student
4 | {
5 | // fields, not properties!
6 |
7 | public int enrollmentYear;
8 | private int activeSemesters_1; // private is not visible
9 | public int activeSemesters_2;
10 | public int activeSemesters_3;
11 | public int activeSemesters_4;
12 |
13 | public string Greeting()
14 | {
15 | return "Hi! I'm " + Name + ", nice to meet you!";
16 | }
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/_archived/LA-05-dll/log-feladat/logger-class-libs/LoggerLibrary/TXTLoggerLibrary/Class1.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.IO;
3 | using LoggerLibrary;
4 |
5 | namespace TXTLoggerLibrary
6 | {
7 | public class LoggerForTXT : ILogger
8 | {
9 | public void Log(Student s)
10 | {
11 | StreamWriter sw = new StreamWriter("output_txt.txt");
12 | sw.WriteLine("GENERATED ON: " + DateTime.Now);
13 | sw.WriteLine(s.Name + " - " + s.Name.GetHashCode());
14 | sw.WriteLine(s.RegistrationDate);
15 | sw.Close();
16 | }
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/_archived/LA-09-process/parhuzamositas_process/_to-copy/files-to-check/folder_test/people.json:
--------------------------------------------------------------------------------
1 | [{"name":"John","age":35,"job":"Full-stack web developer","salary":4000},{"name":"Laura","age":22,"job":"Frontend web designer","salary":2000},{"name":"Steve","age":40,"job":"IT architect","salary":5000},{"name":"Peter","age":30,"job":"IT system administrator","salary":2000},{"name":"Kevin","age":25,"job":"Angular JS specialist","salary":2700},{"name":"Kate","age":28,"job":"Finance leader","salary":6000},{"name":"Paul","age":45,"job":"CEO & Founder","salary":10000},{"name":"Emma","age":27,"job":"Sales representative","salary":3000}]
--------------------------------------------------------------------------------
/LA-03-reflection/01-reflection-use-cases/08-reflection-xml-export/Student.cs:
--------------------------------------------------------------------------------
1 | namespace _08_reflection_xml_export
2 | {
3 | class Student
4 | {
5 | public string Name { get; set; }
6 | public string NeptunCode { get; set; }
7 | public bool Gender { get; set; }
8 | public DateTime DateOfBirth { get; set; }
9 |
10 | public void GoesToLecture() { }
11 |
12 | [MethodToXML]
13 | public void RegisterToSubject() { }
14 |
15 | [MethodToXML]
16 | public void SkipCourse() { }
17 |
18 | [MethodToXML]
19 | public void RegisterToExam() { }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/LA-03-reflection/02-dll-reflection/main/reflection/reflection.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net6.0
6 | enable
7 | enable
8 |
9 |
10 |
11 |
12 | ..\classes-dll.dll
13 |
14 |
15 | ..\ReflectionPropertyHelper.dll
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/LA-07-unit-test/calculator/Calculator.Tests/Calculator.Tests.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netcoreapp3.1
5 |
6 | false
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/LA-07-unit-test/logic/LectureLogic.Tests/LectureLogic.Tests.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netcoreapp3.1
5 |
6 | false
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/LA-07-unit-test/logic/StudentLogic.Tests/StudentLogic.Tests.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netcoreapp3.1
5 |
6 | false
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/LA-09-thread/03-webstat/output.json:
--------------------------------------------------------------------------------
1 | [{"Url":"http://microsoft.com","Byte":173172,"MilliSec":1501,"Speed":115.371},{"Url":"http://bing.com","Byte":79239,"MilliSec":604,"Speed":131.19},{"Url":"http://google.com","Byte":49794,"MilliSec":723,"Speed":68.871},{"Url":"http://uni-obuda.hu","Byte":52381,"MilliSec":625,"Speed":83.81},{"Url":"http://users.nik.uni-obuda.hu/siposm/","Byte":17247,"MilliSec":1627,"Speed":10.6},{"Url":"http://users.nik.uni-obuda.hu/prog3/","Byte":7812,"MilliSec":1516,"Speed":5.153},{"Url":"http://users.nik.uni-obuda.hu/gitstats/","Byte":5696,"MilliSec":1620,"Speed":3.516},{"Url":"http://users.nik.uni-obuda.hu/sztf2/","Byte":11365,"MilliSec":1628,"Speed":6.981}]
--------------------------------------------------------------------------------
/LA-03-reflection/01-reflection-use-cases/08-reflection-xml-export/Car.cs:
--------------------------------------------------------------------------------
1 | namespace _08_reflection_xml_export
2 | {
3 | [ModelToXML]
4 | class Car
5 | {
6 | public string License { get; set; } = string.Empty;
7 | public string OwnerName { get; set; } = string.Empty;
8 | public bool SportCar { get; set; }
9 | public DateTime RegistrationDate { get; set; }
10 |
11 | public void FuelUp() { }
12 |
13 | [MethodToXML]
14 | public void GoFaster() { }
15 |
16 | [MethodToXML]
17 | public void GoSlower() { }
18 |
19 | [MethodToXML]
20 | public void Repair() { }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/LA-07-unit-test/README.md:
--------------------------------------------------------------------------------
1 | # Read me
2 |
3 | Initialization template can be found here for the BlogSystem: https://github.com/siposm/hft-unit-init
4 |
5 | Additional notes:
6 | - 1st example: calculator
7 | - 2nd example: logic (without any repo or data layer!)
8 | - in this case the tested methods usually CRUD operations, which should NOT be tested! we accept the fact that a CRUD operation (read OR write) can be executed successfully!
9 | - 3rd example: BlogSystem with all the layers (like in the project work)
10 | - the `.mdf` and `.ldf` files can be found as a separate `.zip`, the contents should be copied to the Data layer's root (`BlogSystem/BlogSystem.Data`)
11 |
--------------------------------------------------------------------------------
/LA-03-reflection/01-reflection-use-cases/08-reflection-xml-export/Dog.cs:
--------------------------------------------------------------------------------
1 | namespace _08_reflection_xml_export
2 | {
3 | [ModelToXML]
4 | class Dog : Animal
5 | {
6 | public string Name { get; set; }
7 | public int Age { get; set; }
8 | public bool Female { get; set; }
9 |
10 | [MethodToXML]
11 | public int Bark()
12 | {
13 | return 10; // length of the barking in msp
14 | }
15 |
16 | public void Greet() { }
17 |
18 | [MethodToXML]
19 | public double Run() { return 4.009; }
20 |
21 | [MethodToXML]
22 | public double Walk() { return 432.114; }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/LA-06.3-practice/README.md:
--------------------------------------------------------------------------------
1 | # HFT gyakorló feladat 1.
2 |
3 | Készítettem egy gyakorló ZH feladatsort, amelyhez tartozik videós magyarázó/végigvezető anyag is.
4 |
5 | A feladatlap és a videó angol nyelvű.
6 |
7 | - kód: https://github.com/siposm/adt-demo-exam-1
8 | - feladatlap: a gyökérben található `README`-ben van
9 | - videó: https://youtu.be/xlvAIpY3BZs
10 |
11 | # ADT demo exam 1.
12 |
13 | I have created a practice exercise which has a step-by-step video walkthrough as well. Both of them are in english language.
14 |
15 | - code: https://github.com/siposm/adt-demo-exam-1
16 | - exercise sheet: a gyökérben található `README`-ben van
17 | - video: https://youtu.be/xlvAIpY3BZs
18 |
--------------------------------------------------------------------------------
/LA-06.4-practice/README.md:
--------------------------------------------------------------------------------
1 | # HFT gyakorló feladat 2.
2 |
3 | Készítettem egy gyakorló ZH feladatsort, amelyhez tartozik videós magyarázó/végigvezető anyag is.
4 |
5 | A feladatlap és a videó angol nyelvű.
6 |
7 | - kód: https://github.com/siposm/adt-demo-exam-2
8 | - feladatlap: a gyökérben található `README`-ben van
9 | - videó: https://youtu.be/t89p0l6p0TM
10 |
11 | # ADT demo exam 2.
12 |
13 | I have created a practice exercise which has a step-by-step video walkthrough as well. Both of them are in english language.
14 |
15 | - code: https://github.com/siposm/adt-demo-exam-2
16 | - exercise sheet: a gyökérben található `README`-ben van
17 | - video: https://youtu.be/t89p0l6p0TM
18 |
--------------------------------------------------------------------------------
/LA-10-task/parallel-example-wpf/parallel-example-wpf/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Windows;
2 |
3 | [assembly: ThemeInfo(
4 | ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
5 | //(used if a resource is not found in the page,
6 | // or application resource dictionaries)
7 | ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
8 | //(used if a resource is not found in the page,
9 | // app, or any theme specific resource dictionaries)
10 | )]
11 |
--------------------------------------------------------------------------------
/BPROF-HSZF/workshop-01/class-01.md:
--------------------------------------------------------------------------------
1 | ```csharp
2 | class Employee
3 | {
4 | public string name;
5 | public string email;
6 | public string department;
7 | public string job;
8 | public string phone;
9 | public string room;
10 | public int salary;
11 | public bool fullTime;
12 |
13 | public Employee(string name, string email, string department, string job = "", string phone = "", string room = "")
14 | {
15 | this.name = name;
16 | this.email = email;
17 | this.department = department;
18 | this.job = job;
19 | this.phone = phone;
20 | this.room = room;
21 | }
22 |
23 | public Employee() { }
24 | }
25 | ```
26 |
--------------------------------------------------------------------------------
/LA-07-unit-test/BlogSystem/BlogSystem.Tests/BlogSystem.Tests.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net5.0
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/_archived/LA-00-adatbazisok/sample-xml.xml:
--------------------------------------------------------------------------------
1 | ...
2 |
3 | Tony Stark
4 | tony.stark@nik.uni-obuda.hu
5 | Alkalmazott Matematikai Intezet
6 | polihisztor
7 | +36 (1) 666-1111
8 | BA.0.00
9 |
10 |
11 | Bruce Banner
12 | bruce.banner@gmail.com
13 | Alkalmazott Matematikai Intezet
14 | ...
15 |
16 |
17 | Dr. Sergyan Szabolcs
18 | sergyan.szabolcs@nik.uni-obuda.hu
19 | Alkalmazott Informatikai Intezet
20 | ...
21 |
22 |
23 |
24 | ...
--------------------------------------------------------------------------------
/_archived/LA-08-moq/mocking/mocking/Model1.edmx.diagram:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/LA-07-unit-test/BlogSystem/BlogSystem.Repository/Interfaces.cs:
--------------------------------------------------------------------------------
1 | using BlogSystem.Data;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.Linq;
5 | using System.Text;
6 | using System.Threading.Tasks;
7 |
8 | namespace BlogSystem.Repository
9 | {
10 | public interface IRepository where T : class
11 | {
12 | T GetOne(int id);
13 | IQueryable GetAll();
14 | }
15 |
16 | public interface IBlogRepository : IRepository
17 | {
18 | void ChangeTitle(int id, string newTitle);
19 | }
20 |
21 | public interface ICommentRepository : IRepository
22 | {
23 | void UpdateContent(int id, string newContent);
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/LA-08-mock-test/BlogSystem/BlogSystem.Repository/Interfaces.cs:
--------------------------------------------------------------------------------
1 | using BlogSystem.Data;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.Linq;
5 | using System.Text;
6 | using System.Threading.Tasks;
7 |
8 | namespace BlogSystem.Repository
9 | {
10 | public interface IRepository where T : class
11 | {
12 | T GetOne(int id);
13 | IQueryable GetAll();
14 | }
15 |
16 | public interface IBlogRepository : IRepository
17 | {
18 | void ChangeTitle(int id, string newTitle);
19 | }
20 |
21 | public interface ICommentRepository : IRepository
22 | {
23 | void UpdateContent(int id, string newContent);
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/LA-03-reflection/01-reflection-use-cases/08-reflection-xml-export/Cat.cs:
--------------------------------------------------------------------------------
1 | namespace _08_reflection_xml_export
2 | {
3 | class Cat : Animal
4 | {
5 | public Cat()
6 | {
7 | Herbivorous = false;
8 | }
9 |
10 | public string Name { get; set; } = string.Empty;
11 | public int Age { get; set; }
12 | public int NumberOfLives { get; set; }
13 |
14 | public string Greet() { return "szia"; }
15 |
16 | [MethodToXML]
17 | public void Meow() { }
18 |
19 | [MethodToXML]
20 | public int Walk() { return 0; }
21 |
22 | [MethodToXML]
23 | public double ClimbToTree(string a, bool b) { return 0.5; }
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/LA-05-layering/layering/Blogging.Data/Model/Comment.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel.DataAnnotations;
4 | using System.ComponentModel.DataAnnotations.Schema;
5 | using System.Text;
6 |
7 | namespace Blogging.Data
8 | {
9 | [Table("Comments")]
10 | public class Comment
11 | {
12 | [Key]
13 | [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
14 | public int CommentId { get; set; }
15 |
16 | [MaxLength(120)]
17 | public string Content { get; set; }
18 |
19 | [NotMapped]
20 | public virtual Blog Blog { get; set; }
21 |
22 | [ForeignKey(nameof(Blog))]
23 | public int BlogId { get; set; }
24 | }
25 |
26 | }
27 |
--------------------------------------------------------------------------------
/LA-11-api/BlogSystem/BlogSystem.Tests/BlogSystem.Tests.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net5.0
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/LA-08-mock-test/BlogSystem/BlogSystem.Tests/BlogSystem.Tests.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net5.0
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/_archived/LA-08-moq/avengers.sql:
--------------------------------------------------------------------------------
1 | IF OBJECT_ID('Avenger', 'U') IS NOT NULL DROP TABLE Avenger;
2 |
3 | CREATE TABLE Avenger
4 | (Name VARCHAR(30),
5 | Gender BIT,
6 | Superpower BIT,
7 | Strength NUMERIC(3),
8 | CONSTRAINT AVENGER_PRIMARY_KEY PRIMARY KEY (Name));
9 |
10 | INSERT INTO Avenger VALUES ('Captain America',1,1,31);
11 | INSERT INTO Avenger VALUES ('Thor',1,1,20);
12 | INSERT INTO Avenger VALUES ('Black Widow',0,0,5);
13 | INSERT INTO Avenger VALUES ('Scarlet Witch',0,1,18);
14 | INSERT INTO Avenger VALUES ('Spider-Man',1,1,13);
15 | INSERT INTO Avenger VALUES ('Ant-Man',1,0,9);
16 | INSERT INTO Avenger VALUES ('Vision',1,1,17);
17 | INSERT INTO Avenger VALUES ('Iron Man',1,0,16);
18 |
--------------------------------------------------------------------------------
/_archived/LA-00-adatbazisok/avengers.sql:
--------------------------------------------------------------------------------
1 | IF OBJECT_ID('Avenger', 'U') IS NOT NULL DROP TABLE Avenger;
2 |
3 | CREATE TABLE Avenger
4 | (Name VARCHAR(30),
5 | Gender BIT,
6 | Superpower BIT,
7 | Strength NUMERIC(3),
8 | CONSTRAINT AVENGER_PRIMARY_KEY PRIMARY KEY (Name));
9 |
10 | INSERT INTO Avenger VALUES ('Captain America',1,1,31);
11 | INSERT INTO Avenger VALUES ('Thor',1,1,20);
12 | INSERT INTO Avenger VALUES ('Black Widow',0,0,5);
13 | INSERT INTO Avenger VALUES ('Scarlet Witch',0,1,18);
14 | INSERT INTO Avenger VALUES ('Spider-Man',1,1,13);
15 | INSERT INTO Avenger VALUES ('Ant-Man',1,0,9);
16 | INSERT INTO Avenger VALUES ('Vision',1,1,17);
17 | INSERT INTO Avenger VALUES ('Iron Man',1,0,16);
18 |
--------------------------------------------------------------------------------
/_archived/LA-05-dll/egyszeru-pelda/CalcLib/CalcLib/Class1.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace CalcLib
4 | {
5 | // LÉPÉSEK
6 | //
7 | // 1. F6 >> BUILD SOLUTION
8 | // 2. DLL FÁJL MEGKERESÉSE
9 | // 3. DLL FÁJL BETALLÓZÁSA A MÁSIK PROJEKTBE (AHOL HASZNÁLNI AKARJUK)
10 |
11 |
12 |
13 | ///
14 | /// Calculator osztály, amellyel a .dll fájlok használata kerül bemutatásra.
15 | /// Metódusai: Addition, Substraction
16 | ///
17 | public class Calculator
18 | {
19 | public int Addition(int a, int b)
20 | {
21 | return a + b;
22 | }
23 |
24 | public int Substraction(int from, int what)
25 | {
26 | return from - what;
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/_archived/LA-09-process/parhuzamositas_process/02-counter/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace _02_counter
8 | {
9 | class Program
10 | {
11 | static void Main(string[] args)
12 | {
13 | int min = int.Parse(args[0]);
14 | int max = int.Parse(args[1]);
15 |
16 | int sum = 0;
17 | for (int i = min; i <= max; i++)
18 | {
19 | Console.WriteLine($"[{i}]");
20 | System.Threading.Thread.Sleep(250); // negyed msp
21 | sum += i;
22 | }
23 | Console.WriteLine(" > SUM: " + sum);
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/_archived/LA-08-moq/mocking/UnitTestAvengers/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | [assembly: AssemblyTitle("UnitTestAvengers")]
6 | [assembly: AssemblyDescription("")]
7 | [assembly: AssemblyConfiguration("")]
8 | [assembly: AssemblyCompany("")]
9 | [assembly: AssemblyProduct("UnitTestAvengers")]
10 | [assembly: AssemblyCopyright("Copyright © 2019")]
11 | [assembly: AssemblyTrademark("")]
12 | [assembly: AssemblyCulture("")]
13 |
14 | [assembly: ComVisible(false)]
15 |
16 | [assembly: Guid("db0d0a73-bb05-4a68-9699-7b0123067899")]
17 |
18 | // [assembly: AssemblyVersion("1.0.*")]
19 | [assembly: AssemblyVersion("1.0.0.0")]
20 | [assembly: AssemblyFileVersion("1.0.0.0")]
21 |
--------------------------------------------------------------------------------
/_archived/LA-08-moq/mocking/UnitTestAvengers/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/LA-03-reflection/02-dll-reflection/ReflectionPropertyHelper/ReflectionPropertyHelper/PropertyHelper.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 |
3 | namespace ReflectionPropertyHelper
4 | {
5 | public static class PropertyHelper
6 | {
7 | public static string GetPropertiesByAttribute(T type, Attribute attribute)
8 | {
9 | string x = "";
10 |
11 | foreach (var item in type.GetType().GetProperties()
12 | .Where(x => x.GetCustomAttribute(attribute.GetType()) != null)
13 | )
14 | {
15 | x += "\t";
16 | x += item.Name + "\t=> ";
17 | x += item.GetValue(type);
18 | x += "\n";
19 | }
20 |
21 | return x;
22 | }
23 | }
24 | }
--------------------------------------------------------------------------------
/_archived/LA-06-ff-demo/FF-demo/CarShop.Logic/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/_archived/LA-06-ff-demo/FF-demo/CarShop.Repository/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/_archived/LA-06-ff-demo/FF-demo/create.sql:
--------------------------------------------------------------------------------
1 | IF object_id('CAR', 'U') is not null DROP TABLE CAR;
2 | IF object_id('BRAND', 'U') is not null DROP TABLE BRAND;
3 | GO
4 |
5 | CREATE TABLE BRAND (
6 | brand_id int primary key, -- no IDENTITY!
7 | brand_name nvarchar(100)
8 | );
9 |
10 | CREATE TABLE CAR (
11 | car_id int primary key, -- no IDENTITY!
12 | car_brand int references BRAND(brand_id),
13 | car_model nvarchar(100),
14 | car_baseprice int,
15 | car_discountprice int
16 | );
17 |
18 | INSERT INTO BRAND VALUES (1, 'BMW');
19 | INSERT INTO BRAND VALUES (2, 'Audi');
20 |
21 | INSERT INTO CAR VALUES (1, 1, 'BMW 116d', 30000, 300);
22 | INSERT INTO CAR VALUES (2, 1, 'BMW i8', 90000, 770);
23 | INSERT INTO CAR VALUES (3, 2, 'Audi A2', 40000, 1000);
24 | INSERT INTO CAR VALUES (4, 2, 'Audi A4', 60000, 980);
--------------------------------------------------------------------------------
/BPROF-HSZF/solutions/02-LINQ-02/Employee.cs:
--------------------------------------------------------------------------------
1 | namespace _02_LINQ_02
2 | {
3 | class Employee
4 | {
5 | public string name;
6 | public string email;
7 | public string department;
8 | public string job;
9 | public string phone;
10 | public string room;
11 | public int salary;
12 | public bool fullTime;
13 |
14 | public Employee(string name, string email, string department, string job = "", string phone = "", string room = "")
15 | {
16 | this.name = name;
17 | this.email = email;
18 | this.department = department;
19 | this.job = job;
20 | this.phone = phone;
21 | this.room = room;
22 | }
23 |
24 | public Employee()
25 | {
26 |
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/_archived/LA-02-linq-xml/xml/xml.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 15
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "xml", "xml\xml.csproj", "{DE5F33E9-E327-4E93-8B57-E47D60C10C32}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|x86 = Debug|x86
9 | Release|x86 = Release|x86
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {DE5F33E9-E327-4E93-8B57-E47D60C10C32}.Debug|x86.ActiveCfg = Debug|x86
13 | {DE5F33E9-E327-4E93-8B57-E47D60C10C32}.Debug|x86.Build.0 = Debug|x86
14 | {DE5F33E9-E327-4E93-8B57-E47D60C10C32}.Release|x86.ActiveCfg = Release|x86
15 | {DE5F33E9-E327-4E93-8B57-E47D60C10C32}.Release|x86.Build.0 = Release|x86
16 | EndGlobalSection
17 | EndGlobal
18 |
--------------------------------------------------------------------------------
/_archived/LA-02-linq-xml/linq/linq.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 15
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "linq", "linq\linq.csproj", "{D735A667-086D-47D4-BEFE-BBC3D14AD9E9}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|x86 = Debug|x86
9 | Release|x86 = Release|x86
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {D735A667-086D-47D4-BEFE-BBC3D14AD9E9}.Debug|x86.ActiveCfg = Debug|x86
13 | {D735A667-086D-47D4-BEFE-BBC3D14AD9E9}.Debug|x86.Build.0 = Debug|x86
14 | {D735A667-086D-47D4-BEFE-BBC3D14AD9E9}.Release|x86.ActiveCfg = Release|x86
15 | {D735A667-086D-47D4-BEFE-BBC3D14AD9E9}.Release|x86.Build.0 = Release|x86
16 | EndGlobalSection
17 | EndGlobal
18 |
--------------------------------------------------------------------------------
/LA-11-api/BlogSystem/BlogSystem.Endpoint/Program.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.AspNetCore.Hosting;
2 | using Microsoft.Extensions.Configuration;
3 | using Microsoft.Extensions.Hosting;
4 | using Microsoft.Extensions.Logging;
5 | using System;
6 | using System.Collections.Generic;
7 | using System.Linq;
8 | using System.Threading.Tasks;
9 |
10 | namespace BlogSystem.Endpoint
11 | {
12 | public class Program
13 | {
14 | public static void Main(string[] args)
15 | {
16 | CreateHostBuilder(args).Build().Run();
17 | }
18 |
19 | public static IHostBuilder CreateHostBuilder(string[] args) =>
20 | Host.CreateDefaultBuilder(args)
21 | .ConfigureWebHostDefaults(webBuilder =>
22 | {
23 | webBuilder.UseStartup();
24 | });
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/_archived/LA-08-moq/mocking/mocking/Model1.Designer.cs:
--------------------------------------------------------------------------------
1 | // T4 code generation is enabled for model 'C:\Users\sm\Desktop\oktatas-whp-19201\LA-07-moq\mocking\mocking\Model1.edmx'.
2 | // To enable legacy code generation, change the value of the 'Code Generation Strategy' designer
3 | // property to 'Legacy ObjectContext'. This property is available in the Properties Window when the model
4 | // is open in the designer.
5 |
6 | // If no context and entity classes have been generated, it may be because you created an empty model but
7 | // have not yet chosen which version of Entity Framework to use. To generate a context class and entity
8 | // classes for your model, open the model in the designer, right-click on the designer surface, and
9 | // select 'Update Model from Database...', 'Generate Database from Model...', or 'Add Code Generation
10 | // Item...'.
--------------------------------------------------------------------------------
/_archived/LA-06-ff-demo/FF-demo/CarShop.Data/CarDataModel.Designer.cs:
--------------------------------------------------------------------------------
1 | // T4 code generation is enabled for model 'D:\CODES\oktatas-whp-19201\LA-06-ff-demo\FF-demo\CarShop.Data\CarDataModel.edmx'.
2 | // To enable legacy code generation, change the value of the 'Code Generation Strategy' designer
3 | // property to 'Legacy ObjectContext'. This property is available in the Properties Window when the model
4 | // is open in the designer.
5 |
6 | // If no context and entity classes have been generated, it may be because you created an empty model but
7 | // have not yet chosen which version of Entity Framework to use. To generate a context class and entity
8 | // classes for your model, open the model in the designer, right-click on the designer surface, and
9 | // select 'Update Model from Database...', 'Generate Database from Model...', or 'Add Code Generation
10 | // Item...'.
--------------------------------------------------------------------------------
/_archived/LA-09-process/parhuzamositas_process/_to-copy/files-to-check/test_folder_2/one_more/cars.sql:
--------------------------------------------------------------------------------
1 | IF object_id('CAR', 'U') is not null DROP TABLE CAR;
2 | IF object_id('BRAND', 'U') is not null DROP TABLE BRAND;
3 | GO
4 |
5 | CREATE TABLE BRAND (
6 | brand_id int primary key, -- no IDENTITY!
7 | brand_name nvarchar(100)
8 | );
9 |
10 | CREATE TABLE CAR (
11 | car_id int primary key, -- no IDENTITY!
12 | car_brand int references BRAND(brand_id),
13 | car_model nvarchar(100),
14 | car_baseprice int,
15 | car_discountprice int
16 | );
17 |
18 | INSERT INTO BRAND VALUES (1, 'BMW');
19 | INSERT INTO BRAND VALUES (2, 'Audi');
20 |
21 | INSERT INTO CAR VALUES (1, 1, 'BMW 116d', 30000, 300);
22 | INSERT INTO CAR VALUES (2, 1, 'BMW i8', 90000, 770);
23 | INSERT INTO CAR VALUES (3, 2, 'Audi A2', 40000, 1000);
24 | INSERT INTO CAR VALUES (4, 2, 'Audi A4', 60000, 980);
--------------------------------------------------------------------------------
/_archived/LA-02-hazifeladat/keresofa/keresofa.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 15
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "keresofa", "keresofa\keresofa.csproj", "{1F9C0613-3419-433E-B5EC-A7E638508B6B}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|x86 = Debug|x86
9 | Release|x86 = Release|x86
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {1F9C0613-3419-433E-B5EC-A7E638508B6B}.Debug|x86.ActiveCfg = Debug|x86
13 | {1F9C0613-3419-433E-B5EC-A7E638508B6B}.Debug|x86.Build.0 = Debug|x86
14 | {1F9C0613-3419-433E-B5EC-A7E638508B6B}.Release|x86.ActiveCfg = Release|x86
15 | {1F9C0613-3419-433E-B5EC-A7E638508B6B}.Release|x86.Build.0 = Release|x86
16 | EndGlobalSection
17 | EndGlobal
18 |
--------------------------------------------------------------------------------
/_archived/LA-04-hazifeladat/hazifeladat/Avenger.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace hazifeladat
8 | {
9 | class Avenger
10 | {
11 | public string Name { get; set; }
12 |
13 | [SavedLives("5%", 30)]
14 | public int SavedQuantity { get; set; }
15 |
16 | [Avenger(CurrentLocation.Titan)]
17 | public void Fight()
18 | {
19 |
20 | }
21 |
22 | public override string ToString()
23 | {
24 | return this.Name;
25 | }
26 | }
27 |
28 |
29 |
30 | class NotAvenger
31 | {
32 | public string Name { get; set; }
33 |
34 | public override string ToString()
35 | {
36 | return this.Name;
37 | }
38 | }
39 |
40 | }
41 |
--------------------------------------------------------------------------------
/LA-07-unit-test/calculator/Calculator/Calculator.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | /*
3 | STEP BY STEP LEÍRÁS
4 | https://docs.microsoft.com/en-us/dotnet/core/testing/unit-testing-with-nunit
5 |
6 | */
7 | namespace Calculator
8 | {
9 | public class Calculator
10 | {
11 | public int Add(int a, int b)
12 | {
13 | return a + b;
14 | }
15 |
16 | public int Sub(int a, int b)
17 | {
18 | return a - b;
19 | }
20 |
21 | public int Mul(int a, int b)
22 | {
23 | return a * b;
24 | }
25 |
26 | public double Div(int what, int with)
27 | {
28 | if (with == 0)
29 | throw new DivideByZeroException("ERR :: cannot divide by zero");
30 |
31 | return what / with;
32 | }
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/LA-11-api/BlogSystem/BlogSystem.Endpoint/Properties/launchSettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "iisSettings": {
3 | "windowsAuthentication": false,
4 | "anonymousAuthentication": true,
5 | "iisExpress": {
6 | "applicationUrl": "http://localhost:42773",
7 | "sslPort": 0
8 | }
9 | },
10 | "profiles": {
11 | "IIS Express": {
12 | "commandName": "IISExpress",
13 | "launchBrowser": true,
14 | "launchUrl": "blog",
15 | "environmentVariables": {
16 | "ASPNETCORE_ENVIRONMENT": "Development"
17 | }
18 | },
19 | "BlogSystem.Endpoint": {
20 | "commandName": "Project",
21 | "dotnetRunMessages": "true",
22 | "launchBrowser": true,
23 | "applicationUrl": "http://localhost:5000",
24 | "environmentVariables": {
25 | "ASPNETCORE_ENVIRONMENT": "Development"
26 | }
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/_archived/LA-03-database-entity-framework/dbase/dbase/EDModel.Designer.cs:
--------------------------------------------------------------------------------
1 | // T4 code generation is enabled for model 'D:\CODES\oktatas-whp-19201\LA-03-database-entity-framework\dbase\dbase\EDModel.edmx'.
2 | // To enable legacy code generation, change the value of the 'Code Generation Strategy' designer
3 | // property to 'Legacy ObjectContext'. This property is available in the Properties Window when the model
4 | // is open in the designer.
5 |
6 | // If no context and entity classes have been generated, it may be because you created an empty model but
7 | // have not yet chosen which version of Entity Framework to use. To generate a context class and entity
8 | // classes for your model, open the model in the designer, right-click on the designer surface, and
9 | // select 'Update Model from Database...', 'Generate Database from Model...', or 'Add Code Generation
10 | // Item...'.
--------------------------------------------------------------------------------
/_archived/LA-08-moq/mocking/mocking/Avenger.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated from a template.
4 | //
5 | // Manual changes to this file may cause unexpected behavior in your application.
6 | // Manual changes to this file will be overwritten if the code is regenerated.
7 | //
8 | //------------------------------------------------------------------------------
9 |
10 | namespace mocking
11 | {
12 | using System;
13 | using System.Collections.Generic;
14 |
15 | public partial class Avenger
16 | {
17 | public string Name { get; set; }
18 | public Nullable Gender { get; set; }
19 | public Nullable Superpower { get; set; }
20 | public Nullable Strength { get; set; }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/_archived/LA-03-database-entity-framework/dbase/dbase/EmpDeptDataModel.Designer.cs:
--------------------------------------------------------------------------------
1 | // T4 code generation is enabled for model 'C:\Users\sm\Desktop\oktatas-whp-19201\LA-03-database\dbase\dbase\EmpDeptDataModel.edmx'.
2 | // To enable legacy code generation, change the value of the 'Code Generation Strategy' designer
3 | // property to 'Legacy ObjectContext'. This property is available in the Properties Window when the model
4 | // is open in the designer.
5 |
6 | // If no context and entity classes have been generated, it may be because you created an empty model but
7 | // have not yet chosen which version of Entity Framework to use. To generate a context class and entity
8 | // classes for your model, open the model in the designer, right-click on the designer surface, and
9 | // select 'Update Model from Database...', 'Generate Database from Model...', or 'Add Code Generation
10 | // Item...'.
--------------------------------------------------------------------------------
/LA-05-layering/layering/Blogging.Logic/BlogLogic.cs:
--------------------------------------------------------------------------------
1 | using Blogging.Data;
2 | using Blogging.Repository;
3 | using System;
4 | using System.Collections.Generic;
5 | using System.Linq;
6 | using System.Text;
7 |
8 | namespace Blogging.Logic
9 | {
10 | public class BlogLogic : IBlogLogic
11 | {
12 | IBlogRepository blogRepo;
13 |
14 | public BlogLogic(IBlogRepository repo) // DEP. INJ.
15 | {
16 | this.blogRepo = repo;
17 | }
18 |
19 | public void ChangeBlogTitle(int id, string newTitle)
20 | {
21 | blogRepo.ChangeTitle(id, newTitle);
22 | }
23 |
24 | public IList GetAllBlogs()
25 | {
26 | return blogRepo.GetAll().ToList();
27 | }
28 |
29 | public Blog GetBlogById(int id)
30 | {
31 | return blogRepo.GetOne(id);
32 | }
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/_archived/LA-01-hazifeladat/komplex/LA-01-hazifeladat.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 15
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LA-01-hazifeladat", "LA-01-hazifeladat\LA-01-hazifeladat.csproj", "{53C43CA2-C375-4B1D-8E1F-8A1E3B934F20}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|x86 = Debug|x86
9 | Release|x86 = Release|x86
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {53C43CA2-C375-4B1D-8E1F-8A1E3B934F20}.Debug|x86.ActiveCfg = Debug|x86
13 | {53C43CA2-C375-4B1D-8E1F-8A1E3B934F20}.Debug|x86.Build.0 = Debug|x86
14 | {53C43CA2-C375-4B1D-8E1F-8A1E3B934F20}.Release|x86.ActiveCfg = Release|x86
15 | {53C43CA2-C375-4B1D-8E1F-8A1E3B934F20}.Release|x86.Build.0 = Release|x86
16 | EndGlobalSection
17 | EndGlobal
18 |
--------------------------------------------------------------------------------
/LA-10-task/README.md:
--------------------------------------------------------------------------------
1 | # Proposed order to see and understand the steps/topics
2 |
3 | 1. 04-continuation-example
4 | - how a simple continuation builds up and what is the execution/output order
5 | 2. 05-cancellation-with-exception-example
6 | - cancellation handled with exceptions and try-catch
7 | 3. 06-cancellation-demo-with-continuation
8 | - cancellation handled with continuation
9 | 4. 07-lock
10 | - simple lock problem and solution
11 | 5. 02-rss-reader-v1
12 | - complex exercise where RSS data is read in parallel, executed in parallel and opened randomly one. this process can be cancelled. if not cancelled, then continuation is used.
13 | 6. 02-rss-reader-v2
14 | - complex exercise where RSS data is read in parallel, executed in parallel and opened randomly one. this process can be cancelled. cancellation can be handled separately for each Task as well as the successful runs with continuation.
--------------------------------------------------------------------------------
/_archived/LA-01-hazifeladat/egyszeru_feladatok/egyszeru_feladatok.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 15
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "egyszeru_feladatok", "egyszeru_feladatok\egyszeru_feladatok.csproj", "{ABC17A3C-66C2-448A-BE13-054F93CCE1B0}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|x86 = Debug|x86
9 | Release|x86 = Release|x86
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {ABC17A3C-66C2-448A-BE13-054F93CCE1B0}.Debug|x86.ActiveCfg = Debug|x86
13 | {ABC17A3C-66C2-448A-BE13-054F93CCE1B0}.Debug|x86.Build.0 = Debug|x86
14 | {ABC17A3C-66C2-448A-BE13-054F93CCE1B0}.Release|x86.ActiveCfg = Release|x86
15 | {ABC17A3C-66C2-448A-BE13-054F93CCE1B0}.Release|x86.Build.0 = Release|x86
16 | EndGlobalSection
17 | EndGlobal
18 |
--------------------------------------------------------------------------------
/LA-04-database/EmpDeptCodeFirst/EmpDeptCodeFirst/EmpDeptCodeFirst.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net5.0
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 | all
15 | runtime; build; native; contentfiles; analyzers; buildtransitive
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/LA-11-api/BlogSystem/BlogSystem.Data/Models/Comment.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel.DataAnnotations;
4 | using System.ComponentModel.DataAnnotations.Schema;
5 | using System.Linq;
6 | using System.Text;
7 | using System.Threading.Tasks;
8 |
9 | namespace BlogSystem.Data
10 | {
11 | [Table("Comments")]
12 | public class Comment
13 | {
14 | [Key]
15 | [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
16 | public int CommentId { get; set; }
17 |
18 | [MaxLength(120)]
19 | public string Content { get; set; }
20 |
21 | [NotMapped]
22 | public virtual Blog Blog { get; set; }
23 |
24 | [ForeignKey(nameof(Blog))]
25 | public int BlogId { get; set; }
26 |
27 | public override string ToString()
28 | {
29 | return $"{this.CommentId} - {this.Content}";
30 | }
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/LA-07-unit-test/BlogSystem/BlogSystem.Data/Models/Comment.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel.DataAnnotations;
4 | using System.ComponentModel.DataAnnotations.Schema;
5 | using System.Linq;
6 | using System.Text;
7 | using System.Threading.Tasks;
8 |
9 | namespace BlogSystem.Data
10 | {
11 | [Table("Comments")]
12 | public class Comment
13 | {
14 | [Key]
15 | [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
16 | public int CommentId { get; set; }
17 |
18 | [MaxLength(120)]
19 | public string Content { get; set; }
20 |
21 | [NotMapped]
22 | public virtual Blog Blog { get; set; }
23 |
24 | [ForeignKey(nameof(Blog))]
25 | public int BlogId { get; set; }
26 |
27 | public override string ToString()
28 | {
29 | return $"{this.CommentId} - {this.Content}";
30 | }
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/LA-08-mock-test/BlogSystem/BlogSystem.Data/Models/Comment.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel.DataAnnotations;
4 | using System.ComponentModel.DataAnnotations.Schema;
5 | using System.Linq;
6 | using System.Text;
7 | using System.Threading.Tasks;
8 |
9 | namespace BlogSystem.Data
10 | {
11 | [Table("Comments")]
12 | public class Comment
13 | {
14 | [Key]
15 | [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
16 | public int CommentId { get; set; }
17 |
18 | [MaxLength(120)]
19 | public string Content { get; set; }
20 |
21 | [NotMapped]
22 | public virtual Blog Blog { get; set; }
23 |
24 | [ForeignKey(nameof(Blog))]
25 | public int BlogId { get; set; }
26 |
27 | public override string ToString()
28 | {
29 | return $"{this.CommentId} - {this.Content}";
30 | }
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/_archived/LA-06-ff-demo/FF-demo/CarShop.Data/CarDataModel.edmx.diagram:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/LA-10-task/06-cancellation-demo-with-continuation/.vscode/launch.json:
--------------------------------------------------------------------------------
1 | {
2 | // Use IntelliSense to learn about possible attributes.
3 | // Hover to view descriptions of existing attributes.
4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5 | "version": "0.2.0",
6 | "configurations": [
7 | {
8 | "name": ".NET Core Launch (console)",
9 | "type": "coreclr",
10 | "request": "launch",
11 | "preLaunchTask": "build",
12 | "program": "${workspaceFolder}/bin/Debug/net5.0/06-cancellation-demo-with-continuation.dll",
13 | "args": [],
14 | "cwd": "${workspaceFolder}",
15 | "console": "internalConsole",
16 | "stopAtEntry": false
17 | },
18 | {
19 | "name": ".NET Core Attach",
20 | "type": "coreclr",
21 | "request": "attach"
22 | }
23 | ]
24 | }
--------------------------------------------------------------------------------
/_other-materials/BPROF-parallel/05-task-file-processor-with-returns/DataProcessor.cs:
--------------------------------------------------------------------------------
1 | namespace _05_task_file_processor_with_returns
2 | {
3 | class DataProcessor
4 | {
5 | public static string[] Process(object o)
6 | {
7 | DataTransfer dt = o as DataTransfer;
8 |
9 | StreamReader sr = new StreamReader(dt.OpenFile);
10 | string full = sr.ReadToEnd();
11 | sr.Close();
12 |
13 | string saveStr = "";
14 | foreach (var item in full.Split("\r\n"))
15 | if (item.Contains("DATE:"))
16 | saveStr += item + "*";
17 |
18 | System.Threading.Thread.Sleep(dt.TimeDelay * 1000);
19 |
20 | return saveStr.Substring(0, saveStr.Length - 1).Split('*');
21 | }
22 |
23 | public static void CollectData(string[] outputs)
24 | {
25 | // TODO based on the tasks' results
26 | }
27 | }
28 | }
--------------------------------------------------------------------------------
/_archived/LA-05-hazifeladat/lista_dll/LancoltListaLibrary/ChainedList.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace LancoltListaLibrary
8 | {
9 | public class ChainedList
10 | {
11 | private ListItem head;
12 |
13 | class ListItem
14 | {
15 | public T content;
16 | public ListItem next;
17 | }
18 |
19 | public void Insert(T newContent)
20 | {
21 | ListItem x = new ListItem();
22 | x.content = newContent;
23 | x.next = head;
24 | head = x;
25 | }
26 |
27 | public void Process()
28 | {
29 | ListItem p = head;
30 | while(p != null)
31 | {
32 | Console.WriteLine(p.content);
33 | p = p.next;
34 | }
35 | }
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/_archived/LA-12-database-code-first/code-first-example/code-first-example/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/LA-11-api/BlogSystem/BlogSystem.Repository/Interfaces.cs:
--------------------------------------------------------------------------------
1 | using BlogSystem.Data;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.Linq;
5 | using System.Text;
6 | using System.Threading.Tasks;
7 |
8 | namespace BlogSystem.Repository
9 | {
10 | public interface IRepository where T : class
11 | {
12 | T GetOne(int id);
13 | IQueryable GetAll();
14 | }
15 |
16 | public interface IBlogRepository : IRepository
17 | {
18 | void ChangeTitle(int id, string newTitle);
19 | void AddNewBlog(Blog blog);
20 | void UpdateBlog(Blog blog);
21 | void DeleteBlogById(int id);
22 | }
23 |
24 | public interface ICommentRepository : IRepository
25 | {
26 | void UpdateContent(int id, string newContent);
27 | void AddNewComment(Comment comment);
28 | void UpdateComment(Comment comment);
29 | void DeleteCommentById(int id);
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/BPROF-HSZF/workshop-01/class-02.md:
--------------------------------------------------------------------------------
1 | ```csharp
2 | public class Teacher
3 | {
4 | public string Name { get; set; }
5 | public string NeptunCode { get; set; }
6 | public int BirthYear { get; set; }
7 | public DateTime StartOfEmployment { get; set; }
8 | public bool HasPhd { get; set; }
9 | }
10 |
11 | public class Subject
12 | {
13 | public int Credit { get; set; }
14 | public string Name { get; set; }
15 | public string Code { get; set; }
16 | public bool HasExam { get; set; }
17 | public List Teachers { get; set; }
18 | }
19 |
20 | public class Student
21 | {
22 | public string Name { get; set; }
23 | public string NeptunCode { get; set; }
24 | public int BirthYear { get; set; }
25 | public int EnrollmentYear { get; set; }
26 | public int CompletedCredits { get; set; }
27 | public List Subjects { get; set; }
28 | public bool Absolved { get; set; }
29 | public bool Graduated { get; set; }
30 | }
31 | ```
32 |
--------------------------------------------------------------------------------
/LA-10-task/parallel-example-wpf/parallel-example-wpf/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/_archived/LA-08-moq/mocking/mocking/AvengerRepository.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace mocking
8 | {
9 | public class AvengerRepository : IRepository
10 | {
11 | AvengerDatabaseEntities db;
12 |
13 | public AvengerRepository()
14 | {
15 | db = new AvengerDatabaseEntities();
16 | }
17 |
18 | public List GetAvengers()
19 | {
20 | return db.Avenger.ToList();
21 | }
22 |
23 | public void AddAvenger(Avenger avenger)
24 | {
25 | db.Avenger.Add(avenger);
26 | db.SaveChanges();
27 | }
28 |
29 | public void GetRecursivelySomething()
30 | {
31 | // do nothing
32 | }
33 |
34 | public IEnumerable GetRealDatabaseRecords()
35 | {
36 | return null;
37 | }
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/_archived/LA-06-ff-demo/FF-demo/CarShop.Data/CAR.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated from a template.
4 | //
5 | // Manual changes to this file may cause unexpected behavior in your application.
6 | // Manual changes to this file will be overwritten if the code is regenerated.
7 | //
8 | //------------------------------------------------------------------------------
9 |
10 | namespace CarShop.Data
11 | {
12 | using System;
13 | using System.Collections.Generic;
14 |
15 | public partial class CAR
16 | {
17 | public int car_id { get; set; }
18 | public Nullable car_brand { get; set; }
19 | public string car_model { get; set; }
20 | public Nullable car_baseprice { get; set; }
21 | public Nullable car_discountprice { get; set; }
22 |
23 | public virtual BRAND BRAND { get; set; }
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/_archived/LA-03-database-entity-framework/dbase/dbase/EDModel.edmx.diagram:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/LA-06.1-practice/README.md:
--------------------------------------------------------------------------------
1 | # Figyelem!
2 |
3 | - A kód .Net Framework-ben készült.
4 |
5 | - Bizonyos dolgok eltérhetnek, így kéretik erre tekintettel lenni és ennek függvényében dolgozni fel az anyagot.
6 |
7 | - Feladatsor: https://users.nik.uni-obuda.hu/siposm/lectures/WHP/WHP-SIPOSM-jegyzet.pdf (GyakZH I. rész)
8 |
9 | - Végigvezető videós anyag: https://www.youtube.com/watch?v=suvSg_wKL4Y&ab_channel=SIPOSM
10 |
11 | - Megoldás kód: jelenlegi aktuális mappa tartalma
12 |
13 | - Backup: https://github.com/siposm/whp-19201-esti-zh
14 |
15 |
16 | ---
17 |
18 |
19 | # Attention!
20 |
21 | - These codes were created in .Net framework, not in Core!
22 |
23 | - Based on this, some things may differ, so be careful.
24 |
25 | - Task list (**only** in Hungarian): https://users.nik.uni-obuda.hu/siposm/lectures/WHP/WHP-SIPOSM-jegyzet.pdf (GyakZH I. section)
26 |
27 | - Video tutorial: https://www.youtube.com/watch?v=suvSg_wKL4Y&ab_channel=SIPOSM
28 |
29 | - Solution codebase: this current folder
30 |
31 | - Backup: https://github.com/siposm/whp-19201-esti-zh
32 |
--------------------------------------------------------------------------------
/_archived/LA-03-database-entity-framework/dbase/dbase/EmpDeptDataModel.edmx.diagram:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/LA-07-unit-test/logic/StudentLogic/Model/Student.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 |
4 | /*
5 | * Note: model / entity class-okat nem szoktunk unit-tesztelni!
6 | */
7 |
8 | public class Student : IComparable
9 | {
10 | public string Name { get; set; }
11 | public int StartYear { get; set; }
12 |
13 | public char GetFirstCharacter
14 | {
15 | get { return char.ToUpper(this.Name[0]); }
16 | }
17 |
18 | public int CompareTo(object obj)
19 | {
20 | return this.StartYear.CompareTo((obj as Student).StartYear);
21 | }
22 |
23 | public int CountSemester()
24 | {
25 | return (DateTime.Now.Year - this.StartYear) * 2;
26 | }
27 |
28 | public void CreateInstanceFromString(string input)
29 | {
30 | if (input.Contains("#"))
31 | throw new FormatException("not valid format");
32 | else
33 | {
34 | // input = [name]%[year]
35 |
36 | this.Name = input.Split('%')[0];
37 | this.StartYear = int.Parse(input.Split('%')[1]);
38 | }
39 | }
40 | }
--------------------------------------------------------------------------------
/_archived/LA-09-process/parhuzamositas_process/08-fileProcessor/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.IO;
4 | using System.Linq;
5 | using System.Text;
6 | using System.Threading.Tasks;
7 |
8 | namespace _08_fileProcessor
9 | {
10 | class Program
11 | {
12 | static void Main(string[] args)
13 | {
14 | string open = args[0];
15 | string save = args[1];
16 | int timeDelay = int.Parse(args[2]);
17 |
18 | StreamReader sr = new StreamReader(open);
19 |
20 | string full = sr.ReadToEnd();
21 |
22 | string saveStr = "";
23 | foreach (var item in full.Split('\n'))
24 | {
25 | if(item.Contains("DATE:"))
26 | {
27 | saveStr += item;
28 | }
29 | }
30 |
31 | System.Threading.Thread.Sleep(timeDelay * 1000);
32 |
33 | StreamWriter sw = new StreamWriter(save);
34 | sw.Write(saveStr);
35 | sw.Close();
36 | }
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/_archived/LA-02-linq-xml/xml/xml/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 |
4 | // Information about this assembly is defined by the following attributes.
5 | // Change them to the values specific to your project.
6 |
7 | [assembly: AssemblyTitle("xml")]
8 | [assembly: AssemblyDescription("")]
9 | [assembly: AssemblyConfiguration("")]
10 | [assembly: AssemblyCompany("")]
11 | [assembly: AssemblyProduct("")]
12 | [assembly: AssemblyCopyright("")]
13 | [assembly: AssemblyTrademark("")]
14 | [assembly: AssemblyCulture("")]
15 |
16 | // The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
17 | // The form "{Major}.{Minor}.*" will automatically update the build and revision,
18 | // and "{Major}.{Minor}.{Build}.*" will update just the revision.
19 |
20 | [assembly: AssemblyVersion("1.0.*")]
21 |
22 | // The following attributes are used to specify the signing key for the assembly,
23 | // if desired. See the Mono documentation for more information about signing.
24 |
25 | //[assembly: AssemblyDelaySign(false)]
26 | //[assembly: AssemblyKeyFile("")]
27 |
--------------------------------------------------------------------------------
/_archived/LA-08-moq/mocking/mocking/Model1.Context.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated from a template.
4 | //
5 | // Manual changes to this file may cause unexpected behavior in your application.
6 | // Manual changes to this file will be overwritten if the code is regenerated.
7 | //
8 | //------------------------------------------------------------------------------
9 |
10 | namespace mocking
11 | {
12 | using System;
13 | using System.Data.Entity;
14 | using System.Data.Entity.Infrastructure;
15 |
16 | public partial class AvengerDatabaseEntities : DbContext
17 | {
18 | public AvengerDatabaseEntities()
19 | : base("name=AvengerDatabaseEntities")
20 | {
21 | }
22 |
23 | protected override void OnModelCreating(DbModelBuilder modelBuilder)
24 | {
25 | throw new UnintentionalCodeFirstException();
26 | }
27 |
28 | public virtual DbSet Avenger { get; set; }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/_archived/LA-02-linq-xml/linq/linq/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 |
4 | // Information about this assembly is defined by the following attributes.
5 | // Change them to the values specific to your project.
6 |
7 | [assembly: AssemblyTitle("linq")]
8 | [assembly: AssemblyDescription("")]
9 | [assembly: AssemblyConfiguration("")]
10 | [assembly: AssemblyCompany("")]
11 | [assembly: AssemblyProduct("")]
12 | [assembly: AssemblyCopyright("")]
13 | [assembly: AssemblyTrademark("")]
14 | [assembly: AssemblyCulture("")]
15 |
16 | // The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
17 | // The form "{Major}.{Minor}.*" will automatically update the build and revision,
18 | // and "{Major}.{Minor}.{Build}.*" will update just the revision.
19 |
20 | [assembly: AssemblyVersion("1.0.*")]
21 |
22 | // The following attributes are used to specify the signing key for the assembly,
23 | // if desired. See the Mono documentation for more information about signing.
24 |
25 | //[assembly: AssemblyDelaySign(false)]
26 | //[assembly: AssemblyKeyFile("")]
27 |
--------------------------------------------------------------------------------
/_archived/LA-02-hazifeladat/keresofa/keresofa/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 |
4 | // Information about this assembly is defined by the following attributes.
5 | // Change them to the values specific to your project.
6 |
7 | [assembly: AssemblyTitle("keresofa")]
8 | [assembly: AssemblyDescription("")]
9 | [assembly: AssemblyConfiguration("")]
10 | [assembly: AssemblyCompany("")]
11 | [assembly: AssemblyProduct("")]
12 | [assembly: AssemblyCopyright("")]
13 | [assembly: AssemblyTrademark("")]
14 | [assembly: AssemblyCulture("")]
15 |
16 | // The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
17 | // The form "{Major}.{Minor}.*" will automatically update the build and revision,
18 | // and "{Major}.{Minor}.{Build}.*" will update just the revision.
19 |
20 | [assembly: AssemblyVersion("1.0.*")]
21 |
22 | // The following attributes are used to specify the signing key for the assembly,
23 | // if desired. See the Mono documentation for more information about signing.
24 |
25 | //[assembly: AssemblyDelaySign(false)]
26 | //[assembly: AssemblyKeyFile("")]
27 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2020 Sipos Miklos
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/_archived/LA-01-hazifeladat/komplex/LA-01-hazifeladat/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 |
4 | // Information about this assembly is defined by the following attributes.
5 | // Change them to the values specific to your project.
6 |
7 | [assembly: AssemblyTitle("LA-01-hazifeladat")]
8 | [assembly: AssemblyDescription("")]
9 | [assembly: AssemblyConfiguration("")]
10 | [assembly: AssemblyCompany("")]
11 | [assembly: AssemblyProduct("")]
12 | [assembly: AssemblyCopyright("")]
13 | [assembly: AssemblyTrademark("")]
14 | [assembly: AssemblyCulture("")]
15 |
16 | // The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
17 | // The form "{Major}.{Minor}.*" will automatically update the build and revision,
18 | // and "{Major}.{Minor}.{Build}.*" will update just the revision.
19 |
20 | [assembly: AssemblyVersion("1.0.*")]
21 |
22 | // The following attributes are used to specify the signing key for the assembly,
23 | // if desired. See the Mono documentation for more information about signing.
24 |
25 | //[assembly: AssemblyDelaySign(false)]
26 | //[assembly: AssemblyKeyFile("")]
27 |
--------------------------------------------------------------------------------
/_archived/LA-01-hazifeladat/egyszeru_feladatok/egyszeru_feladatok/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 |
4 | // Information about this assembly is defined by the following attributes.
5 | // Change them to the values specific to your project.
6 |
7 | [assembly: AssemblyTitle("egyszeru_feladatok")]
8 | [assembly: AssemblyDescription("")]
9 | [assembly: AssemblyConfiguration("")]
10 | [assembly: AssemblyCompany("")]
11 | [assembly: AssemblyProduct("")]
12 | [assembly: AssemblyCopyright("")]
13 | [assembly: AssemblyTrademark("")]
14 | [assembly: AssemblyCulture("")]
15 |
16 | // The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
17 | // The form "{Major}.{Minor}.*" will automatically update the build and revision,
18 | // and "{Major}.{Minor}.{Build}.*" will update just the revision.
19 |
20 | [assembly: AssemblyVersion("1.0.*")]
21 |
22 | // The following attributes are used to specify the signing key for the assembly,
23 | // if desired. See the Mono documentation for more information about signing.
24 |
25 | //[assembly: AssemblyDelaySign(false)]
26 | //[assembly: AssemblyKeyFile("")]
27 |
--------------------------------------------------------------------------------
/_archived/LA-03-database-entity-framework/dbase/dbase/EDModel.Context.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated from a template.
4 | //
5 | // Manual changes to this file may cause unexpected behavior in your application.
6 | // Manual changes to this file will be overwritten if the code is regenerated.
7 | //
8 | //------------------------------------------------------------------------------
9 |
10 | namespace dbase
11 | {
12 | using System;
13 | using System.Data.Entity;
14 | using System.Data.Entity.Infrastructure;
15 |
16 | public partial class EDDatabaseEntities : DbContext
17 | {
18 | public EDDatabaseEntities()
19 | : base("name=EDDatabaseEntities")
20 | {
21 | }
22 |
23 | protected override void OnModelCreating(DbModelBuilder modelBuilder)
24 | {
25 | throw new UnintentionalCodeFirstException();
26 | }
27 |
28 | public virtual DbSet DEPT { get; set; }
29 | public virtual DbSet EMP { get; set; }
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/_archived/LA-03-database-entity-framework/dbase/dbase/EmpDeptDataModel.Context.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated from a template.
4 | //
5 | // Manual changes to this file may cause unexpected behavior in your application.
6 | // Manual changes to this file will be overwritten if the code is regenerated.
7 | //
8 | //------------------------------------------------------------------------------
9 |
10 | namespace dbase
11 | {
12 | using System;
13 | using System.Data.Entity;
14 | using System.Data.Entity.Infrastructure;
15 |
16 | public partial class EmpDeptEntities : DbContext
17 | {
18 | public EmpDeptEntities()
19 | : base("name=EmpDeptEntities")
20 | {
21 | }
22 |
23 | protected override void OnModelCreating(DbModelBuilder modelBuilder)
24 | {
25 | throw new UnintentionalCodeFirstException();
26 | }
27 |
28 | public virtual DbSet DEPT { get; set; }
29 | public virtual DbSet EMP { get; set; }
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/LA-10-task/07-lock/.vscode/launch.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": "0.2.0",
3 | "configurations": [
4 | {
5 | // Use IntelliSense to find out which attributes exist for C# debugging
6 | // Use hover for the description of the existing attributes
7 | // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
8 | "name": ".NET Core Launch (console)",
9 | "type": "coreclr",
10 | "request": "launch",
11 | "preLaunchTask": "build",
12 | // If you have changed target frameworks, make sure to update the program path.
13 | "program": "${workspaceFolder}/bin/Debug/net5.0/07-lock.dll",
14 | "args": [],
15 | "cwd": "${workspaceFolder}",
16 | // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
17 | "console": "internalConsole",
18 | "stopAtEntry": false
19 | },
20 | {
21 | "name": ".NET Core Attach",
22 | "type": "coreclr",
23 | "request": "attach"
24 | }
25 | ]
26 | }
--------------------------------------------------------------------------------
/_archived/LA-06-ff-demo/FF-demo/CarShop.Data/CarDataModel.Context.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated from a template.
4 | //
5 | // Manual changes to this file may cause unexpected behavior in your application.
6 | // Manual changes to this file will be overwritten if the code is regenerated.
7 | //
8 | //------------------------------------------------------------------------------
9 |
10 | namespace CarShop.Data
11 | {
12 | using System;
13 | using System.Data.Entity;
14 | using System.Data.Entity.Infrastructure;
15 |
16 | public partial class CarDatabaseEntities : DbContext
17 | {
18 | public CarDatabaseEntities()
19 | : base("name=CarDatabaseEntities")
20 | {
21 | }
22 |
23 | protected override void OnModelCreating(DbModelBuilder modelBuilder)
24 | {
25 | throw new UnintentionalCodeFirstException();
26 | }
27 |
28 | public virtual DbSet BRAND { get; set; }
29 | public virtual DbSet CAR { get; set; }
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/_archived/LA-01-delegates-anonymous-functions/delegate_anonymous_functions/log_feladat/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 |
4 | // Information about this assembly is defined by the following attributes.
5 | // Change them to the values specific to your project.
6 |
7 | [assembly: AssemblyTitle("log_feladat")]
8 | [assembly: AssemblyDescription("")]
9 | [assembly: AssemblyConfiguration("")]
10 | [assembly: AssemblyCompany("")]
11 | [assembly: AssemblyProduct("")]
12 | [assembly: AssemblyCopyright("")]
13 | [assembly: AssemblyTrademark("")]
14 | [assembly: AssemblyCulture("")]
15 |
16 | // The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
17 | // The form "{Major}.{Minor}.*" will automatically update the build and revision,
18 | // and "{Major}.{Minor}.{Build}.*" will update just the revision.
19 |
20 | [assembly: AssemblyVersion("1.0.*")]
21 |
22 | // The following attributes are used to specify the signing key for the assembly,
23 | // if desired. See the Mono documentation for more information about signing.
24 |
25 | //[assembly: AssemblyDelaySign(false)]
26 | //[assembly: AssemblyKeyFile("")]
27 |
--------------------------------------------------------------------------------
/LA-10-task/04-continuation-example/.vscode/launch.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": "0.2.0",
3 | "configurations": [
4 | {
5 | // Use IntelliSense to find out which attributes exist for C# debugging
6 | // Use hover for the description of the existing attributes
7 | // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
8 | "name": ".NET Core Launch (console)",
9 | "type": "coreclr",
10 | "request": "launch",
11 | "preLaunchTask": "build",
12 | // If you have changed target frameworks, make sure to update the program path.
13 | "program": "${workspaceFolder}/bin/Debug/net5.0/tasktest.dll",
14 | "args": [],
15 | "cwd": "${workspaceFolder}",
16 | // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
17 | "console": "internalConsole",
18 | "stopAtEntry": false
19 | },
20 | {
21 | "name": ".NET Core Attach",
22 | "type": "coreclr",
23 | "request": "attach"
24 | }
25 | ]
26 | }
--------------------------------------------------------------------------------
/LA-10-task/02-rss-reader-v1/.vscode/launch.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": "0.2.0",
3 | "configurations": [
4 | {
5 | // Use IntelliSense to find out which attributes exist for C# debugging
6 | // Use hover for the description of the existing attributes
7 | // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
8 | "name": ".NET Core Launch (console)",
9 | "type": "coreclr",
10 | "request": "launch",
11 | "preLaunchTask": "build",
12 | // If you have changed target frameworks, make sure to update the program path.
13 | "program": "${workspaceFolder}/bin/Debug/net5.0/02-rss-reader-v1.dll",
14 | "args": [],
15 | "cwd": "${workspaceFolder}",
16 | // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
17 | "console": "internalConsole",
18 | "stopAtEntry": false
19 | },
20 | {
21 | "name": ".NET Core Attach",
22 | "type": "coreclr",
23 | "request": "attach"
24 | }
25 | ]
26 | }
--------------------------------------------------------------------------------
/LA-10-task/02-rss-reader-v2/.vscode/launch.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": "0.2.0",
3 | "configurations": [
4 | {
5 | // Use IntelliSense to find out which attributes exist for C# debugging
6 | // Use hover for the description of the existing attributes
7 | // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
8 | "name": ".NET Core Launch (console)",
9 | "type": "coreclr",
10 | "request": "launch",
11 | "preLaunchTask": "build",
12 | // If you have changed target frameworks, make sure to update the program path.
13 | "program": "${workspaceFolder}/bin/Debug/net5.0/02-rss-reader-v2.dll",
14 | "args": [],
15 | "cwd": "${workspaceFolder}",
16 | // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
17 | "console": "internalConsole",
18 | "stopAtEntry": false
19 | },
20 | {
21 | "name": ".NET Core Attach",
22 | "type": "coreclr",
23 | "request": "attach"
24 | }
25 | ]
26 | }
--------------------------------------------------------------------------------
/_archived/LA-07-unit-teszt/unittesting/unittesting/Neptun.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace unittesting
8 | {
9 | public class Neptun
10 | {
11 | private List Students;
12 |
13 | public Neptun()
14 | {
15 | this.Students = new List();
16 | }
17 |
18 | public int GetStudentNumber
19 | {
20 | get { return this.Students.Count(); }
21 | }
22 |
23 | public void AddStudent(Student s)
24 | {
25 | this.Students.Add(s);
26 | }
27 |
28 | public void RemoveStudent(Student s)
29 | {
30 | this.Students.Remove(s);
31 | }
32 |
33 | public Student GetStudentByIndex(int index)
34 | {
35 | return this.Students[index];
36 | }
37 |
38 | public List GetStudentsByCriteria(Predicate pred)
39 | {
40 | return (from x in Students
41 | where pred(x.Name)
42 | select x).ToList();
43 | }
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/LA-02-linq-xml/01-linq/.vscode/launch.json:
--------------------------------------------------------------------------------
1 | {
2 | // Use IntelliSense to find out which attributes exist for C# debugging
3 | // Use hover for the description of the existing attributes
4 | // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
5 | "version": "0.2.0",
6 | "configurations": [
7 | {
8 | "name": ".NET Core Launch (console)",
9 | "type": "coreclr",
10 | "request": "launch",
11 | "preLaunchTask": "build",
12 | // If you have changed target frameworks, make sure to update the program path.
13 | "program": "${workspaceFolder}/bin/Debug/netcoreapp3.1/linq.dll",
14 | "args": [],
15 | "cwd": "${workspaceFolder}",
16 | // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
17 | "console": "internalConsole",
18 | "stopAtEntry": false
19 | },
20 | {
21 | "name": ".NET Core Attach",
22 | "type": "coreclr",
23 | "request": "attach",
24 | "processId": "${command:pickProcess}"
25 | }
26 | ]
27 | }
--------------------------------------------------------------------------------
/LA-02-linq-xml/02-xml/.vscode/launch.json:
--------------------------------------------------------------------------------
1 | {
2 | // Use IntelliSense to find out which attributes exist for C# debugging
3 | // Use hover for the description of the existing attributes
4 | // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
5 | "version": "0.2.0",
6 | "configurations": [
7 | {
8 | "name": ".NET Core Launch (console)",
9 | "type": "coreclr",
10 | "request": "launch",
11 | "preLaunchTask": "build",
12 | // If you have changed target frameworks, make sure to update the program path.
13 | "program": "${workspaceFolder}/bin/Debug/netcoreapp3.1/xml.dll",
14 | "args": [],
15 | "cwd": "${workspaceFolder}",
16 | // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
17 | "console": "internalConsole",
18 | "stopAtEntry": false
19 | },
20 | {
21 | "name": ".NET Core Attach",
22 | "type": "coreclr",
23 | "request": "attach",
24 | "processId": "${command:pickProcess}"
25 | }
26 | ]
27 | }
--------------------------------------------------------------------------------
/_archived/LA-06-ff-demo/FF-demo/CarShop.Data/BRAND.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated from a template.
4 | //
5 | // Manual changes to this file may cause unexpected behavior in your application.
6 | // Manual changes to this file will be overwritten if the code is regenerated.
7 | //
8 | //------------------------------------------------------------------------------
9 |
10 | namespace CarShop.Data
11 | {
12 | using System;
13 | using System.Collections.Generic;
14 |
15 | public partial class BRAND
16 | {
17 | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
18 | public BRAND()
19 | {
20 | this.CAR = new HashSet();
21 | }
22 |
23 | public int brand_id { get; set; }
24 | public string brand_name { get; set; }
25 |
26 | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
27 | public virtual ICollection CAR { get; set; }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/LA-09-thread/01-basics/.vscode/launch.json:
--------------------------------------------------------------------------------
1 | {
2 | // Use IntelliSense to find out which attributes exist for C# debugging
3 | // Use hover for the description of the existing attributes
4 | // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
5 | "version": "0.2.0",
6 | "configurations": [
7 | {
8 | "name": ".NET Core Launch (console)",
9 | "type": "coreclr",
10 | "request": "launch",
11 | "preLaunchTask": "build",
12 | // If you have changed target frameworks, make sure to update the program path.
13 | "program": "${workspaceFolder}/bin/Debug/netcoreapp3.1/01-basics.dll",
14 | "args": [],
15 | "cwd": "${workspaceFolder}",
16 | // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
17 | "console": "internalConsole",
18 | "stopAtEntry": false
19 | },
20 | {
21 | "name": ".NET Core Attach",
22 | "type": "coreclr",
23 | "request": "attach",
24 | "processId": "${command:pickProcess}"
25 | }
26 | ]
27 | }
--------------------------------------------------------------------------------
/LA-09-thread/03-webstat/.vscode/launch.json:
--------------------------------------------------------------------------------
1 | {
2 | // Use IntelliSense to find out which attributes exist for C# debugging
3 | // Use hover for the description of the existing attributes
4 | // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
5 | "version": "0.2.0",
6 | "configurations": [
7 | {
8 | "name": ".NET Core Launch (console)",
9 | "type": "coreclr",
10 | "request": "launch",
11 | "preLaunchTask": "build",
12 | // If you have changed target frameworks, make sure to update the program path.
13 | "program": "${workspaceFolder}/bin/Debug/netcoreapp3.1/03-webstat.dll",
14 | "args": [],
15 | "cwd": "${workspaceFolder}",
16 | // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
17 | "console": "internalConsole",
18 | "stopAtEntry": false
19 | },
20 | {
21 | "name": ".NET Core Attach",
22 | "type": "coreclr",
23 | "request": "attach",
24 | "processId": "${command:pickProcess}"
25 | }
26 | ]
27 | }
--------------------------------------------------------------------------------
/LA-10-task/01-basics/.vscode/launch.json:
--------------------------------------------------------------------------------
1 | {
2 | // Use IntelliSense to find out which attributes exist for C# debugging
3 | // Use hover for the description of the existing attributes
4 | // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
5 | "version": "0.2.0",
6 | "configurations": [
7 | {
8 | "name": ".NET Core Launch (console)",
9 | "type": "coreclr",
10 | "request": "launch",
11 | "preLaunchTask": "build",
12 | // If you have changed target frameworks, make sure to update the program path.
13 | "program": "${workspaceFolder}/bin/Debug/netcoreapp3.1/LA-08-task.dll",
14 | "args": [],
15 | "cwd": "${workspaceFolder}",
16 | // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
17 | "console": "internalConsole",
18 | "stopAtEntry": false
19 | },
20 | {
21 | "name": ".NET Core Attach",
22 | "type": "coreclr",
23 | "request": "attach",
24 | "processId": "${command:pickProcess}"
25 | }
26 | ]
27 | }
--------------------------------------------------------------------------------
/_archived/LA-01-delegates-anonymous-functions/delegate_anonymous_functions/delegate_anonymous_functions/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 |
4 | // Information about this assembly is defined by the following attributes.
5 | // Change them to the values specific to your project.
6 |
7 | [assembly: AssemblyTitle("delegate_anonymous_functions")]
8 | [assembly: AssemblyDescription("")]
9 | [assembly: AssemblyConfiguration("")]
10 | [assembly: AssemblyCompany("")]
11 | [assembly: AssemblyProduct("")]
12 | [assembly: AssemblyCopyright("")]
13 | [assembly: AssemblyTrademark("")]
14 | [assembly: AssemblyCulture("")]
15 |
16 | // The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
17 | // The form "{Major}.{Minor}.*" will automatically update the build and revision,
18 | // and "{Major}.{Minor}.{Build}.*" will update just the revision.
19 |
20 | [assembly: AssemblyVersion("1.0.*")]
21 |
22 | // The following attributes are used to specify the signing key for the assembly,
23 | // if desired. See the Mono documentation for more information about signing.
24 |
25 | //[assembly: AssemblyDelaySign(false)]
26 | //[assembly: AssemblyKeyFile("")]
27 |
--------------------------------------------------------------------------------
/LA-11-api/BlogSystem/BlogSystem.Data/BlogSystem.Data.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net5.0
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 | Always
15 |
16 |
17 | Always
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 | all
27 | runtime; build; native; contentfiles; analyzers; buildtransitive
28 |
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/LA-07-unit-test/BlogSystem/BlogSystem.Data/BlogSystem.Data.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net5.0
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 | Always
15 |
16 |
17 | Always
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 | all
27 | runtime; build; native; contentfiles; analyzers; buildtransitive
28 |
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/LA-08-mock-test/BlogSystem/BlogSystem.Data/BlogSystem.Data.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net5.0
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 | Always
15 |
16 |
17 | Always
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 | all
27 | runtime; build; native; contentfiles; analyzers; buildtransitive
28 |
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/LA-09-thread/02-dataprocess/.vscode/launch.json:
--------------------------------------------------------------------------------
1 | {
2 | // Use IntelliSense to find out which attributes exist for C# debugging
3 | // Use hover for the description of the existing attributes
4 | // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
5 | "version": "0.2.0",
6 | "configurations": [
7 | {
8 | "name": ".NET Core Launch (console)",
9 | "type": "coreclr",
10 | "request": "launch",
11 | "preLaunchTask": "build",
12 | // If you have changed target frameworks, make sure to update the program path.
13 | "program": "${workspaceFolder}/bin/Debug/netcoreapp3.1/02-dataprocess.dll",
14 | "args": [],
15 | "cwd": "${workspaceFolder}",
16 | // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
17 | "console": "internalConsole",
18 | "stopAtEntry": false
19 | },
20 | {
21 | "name": ".NET Core Attach",
22 | "type": "coreclr",
23 | "request": "attach",
24 | "processId": "${command:pickProcess}"
25 | }
26 | ]
27 | }
--------------------------------------------------------------------------------
/LA-01-delegate/01-small-examples/.vscode/launch.json:
--------------------------------------------------------------------------------
1 | {
2 | // Use IntelliSense to find out which attributes exist for C# debugging
3 | // Use hover for the description of the existing attributes
4 | // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
5 | "version": "0.2.0",
6 | "configurations": [
7 | {
8 | "name": ".NET Core Launch (console)",
9 | "type": "coreclr",
10 | "request": "launch",
11 | "preLaunchTask": "build",
12 | // If you have changed target frameworks, make sure to update the program path.
13 | "program": "${workspaceFolder}/bin/Debug/netcoreapp3.1/LA-01-delegate.dll",
14 | "args": [],
15 | "cwd": "${workspaceFolder}",
16 | // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
17 | "console": "internalConsole",
18 | "stopAtEntry": false
19 | },
20 | {
21 | "name": ".NET Core Attach",
22 | "type": "coreclr",
23 | "request": "attach",
24 | "processId": "${command:pickProcess}"
25 | }
26 | ]
27 | }
--------------------------------------------------------------------------------
/LA-01-delegate/03-bstree-with-delegate/bstree.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.29306.81
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "bstree", "bstree\bstree.csproj", "{62F584C7-D57C-4E2E-A3F3-E30118DDB9BE}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {62F584C7-D57C-4E2E-A3F3-E30118DDB9BE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {62F584C7-D57C-4E2E-A3F3-E30118DDB9BE}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {62F584C7-D57C-4E2E-A3F3-E30118DDB9BE}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {62F584C7-D57C-4E2E-A3F3-E30118DDB9BE}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {E640B554-1DE4-45CE-A1CC-3A4A49F90A6F}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/LA-05-layering/layering/Blogging.Data/Blogging.Data.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netcoreapp3.1
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 | Always
15 |
16 |
17 | Always
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 | all
27 | runtime; build; native; contentfiles; analyzers; buildtransitive
28 |
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/_archived/LA-04-reflexio/reflexio/reflexio.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.29009.5
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "reflexio", "reflexio\reflexio.csproj", "{45D8570C-2548-44F5-A9D2-514195297A66}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {45D8570C-2548-44F5-A9D2-514195297A66}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {45D8570C-2548-44F5-A9D2-514195297A66}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {45D8570C-2548-44F5-A9D2-514195297A66}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {45D8570C-2548-44F5-A9D2-514195297A66}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {125E4651-F2E8-4945-A4DA-E88233F279C9}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/_archived/LA-05-dll/log-feladat/logger/logger.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.29009.5
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "logger", "logger\logger.csproj", "{B05DAE2B-7AC4-4FCB-A5B0-104B1C82E4FE}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {B05DAE2B-7AC4-4FCB-A5B0-104B1C82E4FE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {B05DAE2B-7AC4-4FCB-A5B0-104B1C82E4FE}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {B05DAE2B-7AC4-4FCB-A5B0-104B1C82E4FE}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {B05DAE2B-7AC4-4FCB-A5B0-104B1C82E4FE}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {F34EDAF9-C5B8-45BD-832F-E53BDF09F15B}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/LA-10-task/05-cancellation-with-exception-example/.vscode/launch.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": "0.2.0",
3 | "configurations": [
4 | {
5 | // Use IntelliSense to find out which attributes exist for C# debugging
6 | // Use hover for the description of the existing attributes
7 | // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
8 | "name": ".NET Core Launch (console)",
9 | "type": "coreclr",
10 | "request": "launch",
11 | "preLaunchTask": "build",
12 | // If you have changed target frameworks, make sure to update the program path.
13 | "program": "${workspaceFolder}/bin/Debug/net5.0/05-cancellation-with-exception-example.dll",
14 | "args": [],
15 | "cwd": "${workspaceFolder}",
16 | // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
17 | "console": "internalConsole",
18 | "stopAtEntry": false
19 | },
20 | {
21 | "name": ".NET Core Attach",
22 | "type": "coreclr",
23 | "request": "attach"
24 | }
25 | ]
26 | }
--------------------------------------------------------------------------------
/_archived/LA-03-database-entity-framework/dbase/dbase.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.29009.5
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "dbase", "dbase\dbase.csproj", "{5EF76B61-864F-4FC3-ABA7-758F129D1AD3}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {5EF76B61-864F-4FC3-ABA7-758F129D1AD3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {5EF76B61-864F-4FC3-ABA7-758F129D1AD3}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {5EF76B61-864F-4FC3-ABA7-758F129D1AD3}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {5EF76B61-864F-4FC3-ABA7-758F129D1AD3}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {793816F6-31A1-4A15-84E3-F6ACAB9E6A06}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/_archived/LA-04-hazifeladat/hazifeladat.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.29009.5
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "hazifeladat", "hazifeladat\hazifeladat.csproj", "{2757A8F8-68FA-4BCE-86F5-71B868405E3F}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {2757A8F8-68FA-4BCE-86F5-71B868405E3F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {2757A8F8-68FA-4BCE-86F5-71B868405E3F}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {2757A8F8-68FA-4BCE-86F5-71B868405E3F}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {2757A8F8-68FA-4BCE-86F5-71B868405E3F}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {8B7FFF5E-1E8F-4469-B73F-DA30014EA4B1}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/_archived/LA-05-dll/egyszeru-pelda/CalcLib/CalcLib.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.29306.81
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CalcLib", "CalcLib\CalcLib.csproj", "{C88705C6-FA15-4AB1-8124-1852258754DF}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {C88705C6-FA15-4AB1-8124-1852258754DF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {C88705C6-FA15-4AB1-8124-1852258754DF}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {C88705C6-FA15-4AB1-8124-1852258754DF}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {C88705C6-FA15-4AB1-8124-1852258754DF}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {A38E8282-7235-45EE-84F0-6DD579F85C76}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/_archived/LA-04-reflexio/attributum/attributum.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.29009.5
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "attributum", "attributum\attributum.csproj", "{6053FE88-834D-4DBB-928A-DFB3361CE99F}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {6053FE88-834D-4DBB-928A-DFB3361CE99F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {6053FE88-834D-4DBB-928A-DFB3361CE99F}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {6053FE88-834D-4DBB-928A-DFB3361CE99F}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {6053FE88-834D-4DBB-928A-DFB3361CE99F}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {BAFCCE1E-8B04-4773-BE8D-875045FF701C}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/LA-03-reflection/02-dll-reflection/main/reflection.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 17
4 | VisualStudioVersion = 17.5.33414.496
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "reflection", "reflection\reflection.csproj", "{20A4A094-FE4E-4335-9F83-4C205D5770FD}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {20A4A094-FE4E-4335-9F83-4C205D5770FD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {20A4A094-FE4E-4335-9F83-4C205D5770FD}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {20A4A094-FE4E-4335-9F83-4C205D5770FD}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {20A4A094-FE4E-4335-9F83-4C205D5770FD}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {DE97D330-9CAB-4774-8951-439932BA9BF7}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/LA-04-database/01-blog-basics/01blogbasics.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.30517.126
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "01blogbasics", "01blogbasics\01blogbasics.csproj", "{70597B70-C4AF-4007-A886-DCBFC4C70F9F}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {70597B70-C4AF-4007-A886-DCBFC4C70F9F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {70597B70-C4AF-4007-A886-DCBFC4C70F9F}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {70597B70-C4AF-4007-A886-DCBFC4C70F9F}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {70597B70-C4AF-4007-A886-DCBFC4C70F9F}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {594E0606-6FDB-4A35-881F-ED9D9D732C6C}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/_archived/LA-05-dll/egyszeru-pelda/dllKezelo/dllKezelo.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.29009.5
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "dllKezelo", "dllKezelo\dllKezelo.csproj", "{2FE39C7B-F4EA-4DDC-BEC1-74CB329F604C}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {2FE39C7B-F4EA-4DDC-BEC1-74CB329F604C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {2FE39C7B-F4EA-4DDC-BEC1-74CB329F604C}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {2FE39C7B-F4EA-4DDC-BEC1-74CB329F604C}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {2FE39C7B-F4EA-4DDC-BEC1-74CB329F604C}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {6EF8D545-E968-43BA-9E63-40969E61F3B1}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/LA-05-layering/README.md:
--------------------------------------------------------------------------------
1 | # Attention!
2 |
3 | The full example can be downloaded with the `.mdf` and `.ldf` files can be downloaded from [here](http://users.nik.uni-obuda.hu/siposm/lectures/HFT/layering.zip) az one zip.
4 |
5 | The base for the lab exercise can be downloaded from here (https://github.com/siposm/hft-layering-init). Note that the solution's name a little different `BlogSystem` vs `Blogging`, but apart from that everything is the same. The steps below needed to be made in order to build up the full application.
6 |
7 | #### Steps:
8 |
9 | 1. create `BlogSystem.Data` layer with `.mdf` `.ldf` files (already seen in the previous lesson)
10 | 1. create `BlogSystem.UI` layer (Console Application) and add small test to make sure if DB works correctly
11 | 1. add following layers / projects as class libraries
12 | - BlogSystem.Repository
13 | - BlogSystem.Logic
14 | - BlogSystem.Tests
15 | 1. `BlogSystem.Repository` layer
16 | - add reference to data layer
17 | - create interfaces and classes
18 | 1. `BlogSystem.Logic` layer
19 | - add reference to data + repo
20 | - create interfaces and classes
21 | 1. `BlogSystem.UI` layer
22 | - add reference to logic and repo
23 | - write codes to use logic's functionalities
24 |
--------------------------------------------------------------------------------
/_archived/LA-03-database-entity-framework/dbase/dbase/DEPT.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated from a template.
4 | //
5 | // Manual changes to this file may cause unexpected behavior in your application.
6 | // Manual changes to this file will be overwritten if the code is regenerated.
7 | //
8 | //------------------------------------------------------------------------------
9 |
10 | namespace dbase
11 | {
12 | using System;
13 | using System.Collections.Generic;
14 |
15 | public partial class DEPT
16 | {
17 | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
18 | public DEPT()
19 | {
20 | this.EMP = new HashSet();
21 | }
22 |
23 | public decimal DEPTNO { get; set; }
24 | public string DNAME { get; set; }
25 | public string LOC { get; set; }
26 |
27 | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
28 | public virtual ICollection EMP { get; set; }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/LA-04-database/02-blog-advanced/02blogadvanced.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.30517.126
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "02blogadvanced", "02blogadvanced\02blogadvanced.csproj", "{A57A6935-951C-47AB-A5B5-66C4A1414C67}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {A57A6935-951C-47AB-A5B5-66C4A1414C67}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {A57A6935-951C-47AB-A5B5-66C4A1414C67}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {A57A6935-951C-47AB-A5B5-66C4A1414C67}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {A57A6935-951C-47AB-A5B5-66C4A1414C67}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {72FD0500-5978-4898-ACD8-8F4653E4CD00}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/LA-03-reflection/02-dll-reflection/classes-dll/classes-dll.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 17
4 | VisualStudioVersion = 17.5.33414.496
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "classes-dll", "classes-dll\classes-dll.csproj", "{D90322AE-AFE3-4E05-B4D0-3587247E4D79}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {D90322AE-AFE3-4E05-B4D0-3587247E4D79}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {D90322AE-AFE3-4E05-B4D0-3587247E4D79}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {D90322AE-AFE3-4E05-B4D0-3587247E4D79}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {D90322AE-AFE3-4E05-B4D0-3587247E4D79}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {D065946E-F218-486D-A42F-01D77B32EC4C}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/LA-07-unit-test/calculator/.vscode/launch.json:
--------------------------------------------------------------------------------
1 | {
2 | // Use IntelliSense to find out which attributes exist for C# debugging
3 | // Use hover for the description of the existing attributes
4 | // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
5 | "version": "0.2.0",
6 | "configurations": [
7 | {
8 | "name": ".NET Core Launch (console)",
9 | "type": "coreclr",
10 | "request": "launch",
11 | "preLaunchTask": "build",
12 | // If you have changed target frameworks, make sure to update the program path.
13 | "program": "${workspaceFolder}/Calculator.Tests/bin/Debug/netcoreapp3.1/Calculator.Tests.dll",
14 | "args": [],
15 | "cwd": "${workspaceFolder}/Calculator.Tests",
16 | // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
17 | "console": "internalConsole",
18 | "stopAtEntry": false
19 | },
20 | {
21 | "name": ".NET Core Attach",
22 | "type": "coreclr",
23 | "request": "attach",
24 | "processId": "${command:pickProcess}"
25 | }
26 | ]
27 | }
--------------------------------------------------------------------------------