https://github.com/joshcamas/cached-reflection
Bite-sized reflection cacher for C# to make reflection speedy fast
https://github.com/joshcamas/cached-reflection
csharp reflection unity3d
Last synced: about 2 months ago
JSON representation
Bite-sized reflection cacher for C# to make reflection speedy fast
- Host: GitHub
- URL: https://github.com/joshcamas/cached-reflection
- Owner: joshcamas
- Created: 2019-03-24T22:48:11.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-24T23:26:30.000Z (over 7 years ago)
- Last Synced: 2025-07-19T08:08:41.651Z (12 months ago)
- Topics: csharp, reflection, unity3d
- Language: C#
- Size: 3.91 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cached-reflection
Bite-sized reflection cacher for C# to make reflection speedy fast by caching fields, methods, and properties.
I personally use it for my projects in Unity3D :)
### Usage
```C#
FieldInfo field = ReflectionCache.GetField(myType, fieldName);
MethodInfo method = ReflectionCache.GetMethod(myType, methodName);
PropertyInfo property = ReflectionCache.GetProperty(myType, propertyName);
```