Click or drag to resize
Akka.NETTestActorRefBaseTActor Class
This is the base class for TestActorRefs
Inheritance Hierarchy

Namespace:  Akka.TestKit
Assembly:  Akka.TestKit (in Akka.TestKit.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public abstract class TestActorRefBase<TActor> : ICanTell, 
	IEquatable<IActorRef>, IInternalActorRef, IActorRef, IComparable<IActorRef>, 
	ISurrogated, IComparable, IActorRefScope
where TActor : ActorBase

Type Parameters

TActor
The type of actor

The TestActorRefBaseTActor type exposes the following members.

Constructors
Properties
  NameDescription
Protected propertyInternalRef
TBD
Public propertyPath
Gets the path of this instance
Public propertyRef
TBD
Public propertyUnderlyingActor
TBD
Top
Methods
  NameDescription
Public methodCompareTo
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object).)
Public methodEquals(IActorRef)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodForward
Forwards a message to this actor. If this call is made from within an actor, the current actor will be the sender. If the call is made from a test class that is based on TestKit, TestActor will will be the sender;
Public methodGetHashCode
Serves as the default hash function.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReceive
Directly inject messages into actor receive behavior. Any exceptions thrown will be available to you, while still being able to use become/unbecome.
Public methodSendSystemMessage(ISystemMessage)
TBD
Public methodSendSystemMessage(ISystemMessage, IActorRef)
TBD
Public methodTell(Object)
Sends a message to this actor. If this call is made from within an actor, the current actor will be the sender. If the call is made from a test class that is based on TestKit, TestActor will will be the sender; otherwise NoSender will be set as sender.
Public methodTell(Object, IActorRef)
Sends a message to this actor with the specified sender.
Public methodStatic memberToActorRef
TBD
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Public methodUnwatch
Deregisters this actor from being a death monitor of the provided ActorRef This means that this actor will not get a Terminated()-message when the provided actor is permanently terminated. Returns the same ActorRef that is provided to it, to allow for cleaner invocations.
Public methodWatch
Registers this actor to be a death monitor of the provided ActorRef This means that this actor will get a Terminated()-message when the provided actor is permanently terminated. Returns the same ActorRef that is provided to it, to allow for cleaner invocations.
Top
Operators
  NameDescription
Public operatorStatic memberEquality(IActorRef, TestActorRefBaseTActor)
Compares a specified IActorRef to an TestActorRefBaseTActor for equality.
Public operatorStatic memberEquality(TestActorRefBaseTActor, IActorRef)
Compares a specified TestActorRefBaseTActor to an IActorRef for equality.
Public operatorStatic memberInequality(IActorRef, TestActorRefBaseTActor)
Compares a specified IActorRef to an TestActorRefBaseTActor for inequality.
Public operatorStatic memberInequality(TestActorRefBaseTActor, IActorRef)
Compares a specified TestActorRefBaseTActor to an IActorRef for inequality.
Top
Extension Methods
  NameDescription
Public Extension MethodAsInstanceOfT
TBD
(Defined by Extensions.)
Public Extension MethodAsk(Object, NullableTimeSpan)Overloaded.
TBD
(Defined by Futures.)
Public Extension MethodAsk(Object, CancellationToken)Overloaded.
TBD
(Defined by Futures.)
Public Extension MethodAsk(Object, NullableTimeSpan, CancellationToken)Overloaded.
TBD
(Defined by Futures.)
Public Extension MethodAskT(Object, NullableTimeSpan)Overloaded.
TBD
(Defined by Futures.)
Public Extension MethodAskT(Object, CancellationToken)Overloaded.
TBD
(Defined by Futures.)
Public Extension MethodAskT(Object, NullableTimeSpan, CancellationToken)Overloaded.
TBD
(Defined by Futures.)
Public Extension MethodForward
Forwards the message using the current Sender
(Defined by ActorRefImplicitSenderExtensions.)
Public Extension MethodGracefulStop(TimeSpan)Overloaded.
TBD
(Defined by GracefulStopSupport.)
Public Extension MethodGracefulStop(TimeSpan, Object)Overloaded.
TBD
(Defined by GracefulStopSupport.)
Public Extension MethodIsNobody
If we call a method such as
Context.Child(name)
and don't receive a valid result in return, this method will indicate whether or not the actor we received is valid.
(Defined by ActorRefExtensions.)
Public Extension MethodMatchOverloaded.
Matches the specified target.
(Defined by PatternMatch.)
Public Extension MethodMatchTOverloaded.
Matches the specified target and return a result of target processing.
(Defined by PatternMatch.)
Public Extension MethodTell
Asynchronously tells a message to an IActorRef.
(Defined by ActorRefImplicitSenderExtensions.)
Top
See Also