/// <summary> /// 最新の情報を非同期で取得 /// </summary> /// <returns>処理毎の識別トークン</returns> public ResolveToken ResolveAsync() { if (null == peerNameResolver) { throw new ObjectDisposedException(nameof(Resolver <T>)); } var token = new ResolveToken(); peerNameResolver.ResolveAsync(peerName, cloud, token); return(token); }
public bool Equals(ResolveToken other) { if (other == null) { return(false); } if (object.ReferenceEquals(this, other)) { return(true); } return(this.ID == other.ID); }