Show / Hide Table of Contents

Class IfUnmodifiedSinceHeader

Class that represents the HTTP If-Unmodified-Since header

Inheritance
Object
IfUnmodifiedSinceHeader
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace:FubarDev.WebDavServer.Model.Headers
Assembly:FubarDev.WebDavServer.dll
Syntax
public class IfUnmodifiedSinceHeader

Constructors

| Improve this Doc View Source

IfUnmodifiedSinceHeader(DateTime)

Initializes a new instance of the IfUnmodifiedSinceHeader class.

Declaration
public IfUnmodifiedSinceHeader(DateTime lastWriteTimeUtc)
Parameters
Type Name Description
DateTime lastWriteTimeUtc

The last time the defination was changed

Properties

| Improve this Doc View Source

LastWriteTimeUtc

Gets the last time the definition was changed

Declaration
public DateTime LastWriteTimeUtc { get; }
Property Value
Type Description
DateTime

Methods

| Improve this Doc View Source

IsMatch(DateTime)

Returns a value that indicates whether the lastWriteTimeUtc is not past the value in the If-Unmodified-Since header

Declaration
public bool IsMatch(DateTime lastWriteTimeUtc)
Parameters
Type Name Description
DateTime lastWriteTimeUtc

The last write time of the entry to compare with

Returns
Type Description
Boolean

true when the lastWriteTimeUtc is not past the value in the If-Modified-Since header

| Improve this Doc View Source

Parse(String)

Parses the header string to get a new instance of the IfUnmodifiedSinceHeader class

Declaration
public static IfUnmodifiedSinceHeader Parse(string s)
Parameters
Type Name Description
String s

The header string to parse

Returns
Type Description
IfUnmodifiedSinceHeader

The new instance of the IfUnmodifiedSinceHeader class

  • Improve this Doc
  • View Source
Back to top Copyright © 2016-2017 Fubar Development Junker
Generated by DocFX