protected void RaisePercentCompleted(int i) { //currentContext.Send(state => //{ PercentCompleted?.Invoke(i); //}, this); }
public override int GetHashCode() { int hash = 1; if (Code != global::Clarifai.Api.Status.StatusCode.Zero) { hash ^= Code.GetHashCode(); } if (Description.Length != 0) { hash ^= Description.GetHashCode(); } if (Details.Length != 0) { hash ^= Details.GetHashCode(); } hash ^= stackTrace_.GetHashCode(); if (PercentCompleted != 0) { hash ^= PercentCompleted.GetHashCode(); } if (TimeRemaining != 0) { hash ^= TimeRemaining.GetHashCode(); } if (ReqId.Length != 0) { hash ^= ReqId.GetHashCode(); } if (InternalDetails.Length != 0) { hash ^= InternalDetails.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
protected static void NotifyPercentCompleted(FileSystemEventArgs e) { PercentCompleted?.Invoke(e); }