< Summary

Class:Azure.RequestConditions
Assembly:Azure.Core
File(s):C:\Git\azure-sdk-for-net\sdk\core\Azure.Core\src\RequestConditions.cs
Covered lines:0
Uncovered lines:2
Coverable lines:2
Total lines:25
Line coverage:0% (0 of 2)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
get_IfModifiedSince()-0%100%
get_IfUnmodifiedSince()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\core\Azure.Core\src\RequestConditions.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4using System;
 5
 6namespace Azure
 7{
 8    /// <summary>
 9    /// Specifies HTTP options for conditional requests based on modification time.
 10    /// </summary>
 11    public class RequestConditions : MatchConditions
 12    {
 13        /// <summary>
 14        /// Optionally limit requests to resources that have only been
 15        /// modified since this point in time.
 16        /// </summary>
 017        public DateTimeOffset? IfModifiedSince { get; set; }
 18
 19        /// <summary>
 20        /// Optionally limit requests to resources that have remained
 21        /// unmodified.
 22        /// </summary>
 023        public DateTimeOffset? IfUnmodifiedSince { get; set; }
 24    }
 25}