Show / Hide Table of Contents

Class IfModifiedSinceHeader

Class that represents the HTTP If-Modified-Since header

Inheritance
Object
IfModifiedSinceHeader
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 IfModifiedSinceHeader

Constructors

| Improve this Doc View Source

IfModifiedSinceHeader(DateTime)

Initializes a new instance of the IfModifiedSinceHeader class.

Declaration
public IfModifiedSinceHeader(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 past the value in the If-Modified-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 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 IfModifiedSinceHeader class

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

The header string to parse

Returns
Type Description
IfModifiedSinceHeader

The new instance of the IfModifiedSinceHeader class

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