{"id":20774388,"url":"https://github.com/arxone/persistence","last_synced_at":"2026-04-01T20:30:38.476Z","repository":{"id":35779411,"uuid":"40059375","full_name":"ArxOne/Persistence","owner":"ArxOne","description":"Allows to mark properties with a simple attribute and persist them in registry.","archived":false,"fork":false,"pushed_at":"2024-01-22T12:20:09.000Z","size":1501,"stargazers_count":7,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-30T15:17:59.801Z","etag":null,"topics":["attribute","persistence"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ArxOne.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2015-08-01T20:38:58.000Z","updated_at":"2024-09-09T12:16:22.000Z","dependencies_parsed_at":"2024-11-18T00:15:10.194Z","dependency_job_id":null,"html_url":"https://github.com/ArxOne/Persistence","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/ArxOne%2FPersistence","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArxOne%2FPersistence/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArxOne%2FPersistence/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArxOne%2FPersistence/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ArxOne","download_url":"https://codeload.github.com/ArxOne/Persistence/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251729735,"owners_count":21634281,"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":["attribute","persistence"],"created_at":"2024-11-17T12:29:19.230Z","updated_at":"2025-10-06T11:27:13.779Z","avatar_url":"https://github.com/ArxOne.png","language":"C#","readme":"# Persistence\nAllows to mark properties with a simple attribute and persist them in registry.\n\n## How it works\n\nMarking a property as persistent:\n```csharp\n[Persistent(\"MyPersistedProperty\", DefaultValue=1)] // the DefaultValue is optional\npublic int MyProperty { get; set; }\n```\n\nSetting the application registry node:\n```csharp\n[assembly: RegistryPersistence(@\"Software\\MyApplication\", CurrentUser = true)]\n```\n\n## Things to be considered\n\nWhen two properties from different instances or different types use the same persistence name, their value always stays synchronized (changing a value in an instance changes it everywhere).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farxone%2Fpersistence","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farxone%2Fpersistence","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farxone%2Fpersistence/lists"}