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-local+709673996c0cc3c0733358a87691d1009326afa7
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