 | AttributesGetFirstAttributeTAttr Method (TAttr) |
Get the first (least specific) attribute of a given type or subtype thereof.
If no such attribute exists the default value is returned.
Namespace:
Akka.Streams
Assembly:
Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.42 (1.2.3.42)
Syntaxpublic TAttr GetFirstAttribute<TAttr>(
TAttr defaultIfNotFound
)
where TAttr : class, AttributesIAttribute
member GetFirstAttribute :
defaultIfNotFound : 'TAttr -> 'TAttr when 'TAttr : not struct and AttributesIAttribute
Parameters
- defaultIfNotFound
- Type: TAttr
TBD
Type Parameters
- TAttr
- TBD
Return Value
Type:
TAttrTBD
See Also