Exemplo n.º 1
0
 public ICompletes <T> ActorOf <T>(Address address) => directoryScanner.ActorOf <T>(address);
Exemplo n.º 2
0
 /// <summary>
 /// Answers the <c>ICompletes&lt;T&gt;</c> that will eventually complete with the <typeparamref name="T"/> protocol
 /// of the backing <c>Actor</c> of the given <paramref name="address"/>, or <c>null</c> if not found.
 /// </summary>
 /// <typeparam name="T">The protocol supported by the backing <c>Actor</c>.</typeparam>
 /// <param name="address">The <c>IAddress</c> of the <c>Actor</c> to find.</param>
 /// <returns>ICompletes&lt;T&gt; of the backing actor found by the address. <c>null</c> if not found.</returns>
 public ICompletes <T> ActorOf <T>(IAddress address) => directoryScanner.ActorOf <T>(address).AndThen(default(T), proxy => proxy);