{"id":18572772,"url":"https://github.com/truecodersio/factory-pattern","last_synced_at":"2025-05-16T12:10:03.741Z","repository":{"id":71454579,"uuid":"533567913","full_name":"truecodersio/Factory-Pattern","owner":"truecodersio","description":".NET 6.0 template project for the Factory Pattern exercise at TrueCoders","archived":false,"fork":false,"pushed_at":"2025-03-28T19:17:20.000Z","size":114,"stargazers_count":0,"open_issues_count":0,"forks_count":368,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-31T10:06:15.390Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/truecodersio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-07T02:03:12.000Z","updated_at":"2025-03-28T19:17:25.000Z","dependencies_parsed_at":"2023-02-24T20:45:21.134Z","dependency_job_id":null,"html_url":"https://github.com/truecodersio/Factory-Pattern","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truecodersio%2FFactory-Pattern","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truecodersio%2FFactory-Pattern/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truecodersio%2FFactory-Pattern/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truecodersio%2FFactory-Pattern/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/truecodersio","download_url":"https://codeload.github.com/truecodersio/Factory-Pattern/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247640465,"owners_count":20971557,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T23:07:11.766Z","updated_at":"2025-04-07T11:09:52.691Z","avatar_url":"https://github.com/truecodersio.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"Complete the console app to utilize factory pattern by taking a user’s input of how many tires are on a vehicle and, based on their input, creates that type of vehicle. Complete this using an interface. You must have at least 2 subclasses. For instance, if I type 4 into the console, the program would create a car or truck, or if someone types 2 it would create a motorcycle.\n\nFeel free to use something other than vehicles if you want to be creative, but the other constraints still apply!\n\n\n+ Create an Interface named IVehicle that has a stubbed out public void Drive method.\n+ Create 2 new public classes that will conform to IVehicle.\n    + Example) Car, Motorcycle, BigRig\n    \n\u003e Note: These classes must conform to IVehicle and implement the Drive() method - which will just Console.WriteLine(“Building a new Car!”)\n\nNow we will make our static VehicleFactory class.\nIt will contain a static method GetVehicle(), that will return an IVehicle based on the amount of tires it’s given as a parameter\nCall this functionality in the Main method.\n\nPossible Answer:\nhttps://github.com/mvdoyle/FactoryPattern\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftruecodersio%2Ffactory-pattern","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftruecodersio%2Ffactory-pattern","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftruecodersio%2Ffactory-pattern/lists"}