Esempio n. 1
0
 public async Task <ResponseList <ViewedIssue> > GetRecentlyViewedIssuesAsync(OffsetParams @params = null, CancellationToken?token = default(CancellationToken?))
 {
     using (var response = await Get(BuildEndpoint($"users/myself/recentlyViewedIssues"), @params, token: token))
         using (var content = response.Content)
         {
             return(await Factory.CreateViewedIssueListAsync(response));
         }
 }
Esempio n. 2
0
 public async Task <ResponseList <Group> > GetGroupsAsync(OffsetParams @params = null, CancellationToken?token = default(CancellationToken?))
 {
     using (var response = await Get(BuildEndpoint($"groups"), @params, token: token))
         using (var content = response.Content)
         {
             return(await Factory.CreateGroupListAsync(response));
         }
 }
Esempio n. 3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Command != 0)
            {
                hash ^= Command.GetHashCode();
            }
            if (ImageRGB.Length != 0)
            {
                hash ^= ImageRGB.GetHashCode();
            }
            if (ImageDepth.Length != 0)
            {
                hash ^= ImageDepth.GetHashCode();
            }
            if (ImageIr.Length != 0)
            {
                hash ^= ImageIr.GetHashCode();
            }
            hash ^= cameraIds_.GetHashCode();
            if (ImageGrating.Length != 0)
            {
                hash ^= ImageGrating.GetHashCode();
            }
            if (CamIntri.Length != 0)
            {
                hash ^= CamIntri.GetHashCode();
            }
            if (OffsetParams.Length != 0)
            {
                hash ^= OffsetParams.GetHashCode();
            }
            if (CameraStatus.Length != 0)
            {
                hash ^= CameraStatus.GetHashCode();
            }
            if (StereoImages.Length != 0)
            {
                hash ^= StereoImages.GetHashCode();
            }
            if (IsLowBrightness != false)
            {
                hash ^= IsLowBrightness.GetHashCode();
            }
            if (RemapParams.Length != 0)
            {
                hash ^= RemapParams.GetHashCode();
            }
            if (ParameterValue.Length != 0)
            {
                hash ^= ParameterValue.GetHashCode();
            }
            if (Error.Length != 0)
            {
                hash ^= Error.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }