ExtendedActorSystem..::..WithExtension<(Of <(<'T, TI>)>)> Method (ActorSystem)
Registers a type and returns it if one doesn't yet exist
Namespace:
Akka.ActorAssembly: Akka (in Akka.dll)
Syntax
public static T WithExtension<T, TI>( this ActorSystem system ) where T : IExtension where TI : IExtensionId
<ExtensionAttribute> _ Public Shared Function WithExtension(Of T As IExtension, TI As IExtensionId) ( _ system As ActorSystem _ ) As T
[ExtensionAttribute] public: generic<typename T, typename TI> where T : IExtension where TI : IExtensionId static T WithExtension( ActorSystem^ system )
Type Parameters
- T
- TI
Parameters
- system
- Type: Akka.Actor..::..ActorSystem