Click or drag to resize

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
Syntax
C#
public IEnumerable<(FieldInfo field, TAttribute )> ScanFields<TAttribute>()
where TAttribute : Attribute

Type Parameters

TAttribute
The type of the attribute.

Return Value

Type: IEnumerableValueTupleFieldInfo, TAttribute
The found fields with their attribute of type TAttribute.
See Also