This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class EntityCopy | |
{ | |
public static void UpdateEntity<T>(T source, T destination) | |
where T : class | |
{ | |
var properties = PropertyAccessorCache.GetCachedProperties<T>(); | |
foreach (var property in properties.Where(property => property is { CanRead: true, CanWrite: true })) | |
{ | |
property.SetValue(destination, property.GetValue(source)); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"manifest_version": 3, | |
"name": "Repomix Helper", | |
"version": "1.0", | |
"description": "Generate repomix output from GitHub repositories with advanced configuration", | |
"permissions": [ | |
"activeTab", | |
"scripting", | |
"storage" | |
], |
OlderNewer