AssemblyScannerScanFieldsTAttribute Method |
Runs the scan for fields and provides the attribute TAttribute in the results.
Namespace:
SampSharp.Entities.Utilities
Assembly:
SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntaxpublic IEnumerable<(FieldInfo field, TAttribute )> ScanFields<TAttribute>()
where TAttribute : Attribute
Type Parameters
- TAttribute
- The type of the attribute.
Return Value
Type:
IEnumerableValueTupleFieldInfo,
TAttributeThe found fields with their attribute of type
TAttribute.
See Also