Click or drag to resize

AssemblyScannerScanMethodsTAttribute Method

Runs the scan for methods 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<(MethodInfo method, TAttribute )> ScanMethods<TAttribute>()
where TAttribute : Attribute

Type Parameters

TAttribute
The type of the attribute.

Return Value

Type: IEnumerableValueTupleMethodInfo, TAttribute
The found methods with their attribute of type TAttribute.
See Also