ObserverRef IActorSystem.ObserverOf(ObserverPath path) { if (path == ObserverPath.Empty) { throw new ArgumentException("ObserverPath is empty", "path"); } return(new ObserverRef(path, ObserverEndpoint.Proxy(path))); }
public bool Equals(ObserverPath other) { return(path.Equals(other)); }
internal ObserverRef(ObserverPath path, IObserverEndpoint endpoint) : this(path) { this.endpoint = endpoint; }
protected ObserverRef(ObserverPath path) { this.path = path; }
public static ObserverRef Resolve(string path) { return(ActorSystem.Instance.ObserverOf(ObserverPath.From(path))); }