USGReflection Class
- Namespace
- SatorImaging.UnitySourceGenerator
public static class USGReflection
- Inheritance
-
USGReflection
Fields
Methods
- GetAllPublicInstanceFieldAndProperty(Type, params string[])
Note that constructor (
.ctor
) is always ignored.
- GetEnumNamesAndValuesAsDictionary<TValue>(Type)
Enum names and values as a dictionary.
- GetEnumNamesAndValuesAsTuple<TValue>(Type)
Enum names and values as a tuple.
- TryGetFieldOrPropertyType(MemberInfo, out Type)
Try get value type of field or property.