Click or drag to resize
ActorSystemWithExtensionsWithExtensionT Method (ActorSystem)
Loads the extension and casts it to the expected type if it's already registered

Namespace: Akka.Actor
Assembly: Akka (in Akka.dll) Version: 0.8.0.0 (0.8.0.0)
Syntax
public static T WithExtension<T>(
	this ActorSystem system
)
where T : class, IExtension

Parameters

system
Type: Akka.ActorActorSystem

[Missing <param name="system"/> documentation for "M:Akka.Actor.ActorSystemWithExtensions.WithExtension``1(Akka.Actor.ActorSystem)"]

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:Akka.Actor.ActorSystemWithExtensions.WithExtension``1(Akka.Actor.ActorSystem)"]

Return Value

Type: T

[Missing <returns> documentation for "M:Akka.Actor.ActorSystemWithExtensions.WithExtension``1(Akka.Actor.ActorSystem)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ActorSystem. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also