 | ActorSystemImplTryGetExtensionT Method (T) |
Tries to retrieve an extension with the specified type.
Namespace:
Akka.Actor.Internal
Assembly:
Akka (in Akka.dll) Version: 1.2.3.129 (1.2.3.129)
Syntaxpublic override bool TryGetExtension<T>(
out T extension
)
where T : class, IExtension
abstract TryGetExtension :
extension : 'T byref -> bool when 'T : not struct and IExtension
override TryGetExtension :
extension : 'T byref -> bool when 'T : not struct and IExtension
Parameters
- extension
- Type: T
The extension that is retrieved if successful
Type Parameters
- T
- The type of extension to retrieve
Return Value
Type:
Booleantrue if the retrieval was successful; otherwise
false.
See Also