Click or drag to resize

AssemblyScannerScanTypesTAttribute 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<(Type type, TAttribute )> ScanTypes<TAttribute>()
where TAttribute : Attribute

Type Parameters

TAttribute
The type of the attribute.

Return Value

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