{"id":17621494,"url":"https://github.com/sql-mistermagoo/blazorpartialconstraint","last_synced_at":"2026-03-06T10:03:32.455Z","repository":{"id":91797714,"uuid":"227738433","full_name":"SQL-MisterMagoo/BlazorPartialConstraint","owner":"SQL-MisterMagoo","description":"Demonstrate Generic Component with Type Constraint","archived":false,"fork":false,"pushed_at":"2020-06-15T16:17:45.000Z","size":209,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-07T14:41:11.200Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/SQL-MisterMagoo.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":"2019-12-13T02:27:36.000Z","updated_at":"2020-09-23T03:04:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"4b573dd8-a95a-40c1-817e-60a900b89da1","html_url":"https://github.com/SQL-MisterMagoo/BlazorPartialConstraint","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SQL-MisterMagoo/BlazorPartialConstraint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SQL-MisterMagoo%2FBlazorPartialConstraint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SQL-MisterMagoo%2FBlazorPartialConstraint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SQL-MisterMagoo%2FBlazorPartialConstraint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SQL-MisterMagoo%2FBlazorPartialConstraint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SQL-MisterMagoo","download_url":"https://codeload.github.com/SQL-MisterMagoo/BlazorPartialConstraint/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SQL-MisterMagoo%2FBlazorPartialConstraint/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30171656,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T07:56:45.623Z","status":"ssl_error","status_checked_at":"2026-03-06T07:55:55.621Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-10-22T20:43:37.626Z","updated_at":"2026-03-06T10:03:31.758Z","avatar_url":"https://github.com/SQL-MisterMagoo.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"Sample project demonstrates a constraint on a generic component\n\nPlease look at ConstrainedComponent in the Shared folder and its usage in Index.razor.\n\nThe compiler may not infer the type so you can specify the type as demonstrated here\n\n``` HTML\n\u003cConstrainedComponent SomeThing=\"Dummy\" TItem=\"DateTime\"\u003e\u003c/ConstrainedComponent\u003e\n```\n\nNote: TItem=\"DateTime\" tells the compiler that your generic type is a DateTime.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsql-mistermagoo%2Fblazorpartialconstraint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsql-mistermagoo%2Fblazorpartialconstraint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsql-mistermagoo%2Fblazorpartialconstraint/lists"}