Show / Hide Table of Contents

Class UnlockHandler

The implementation of the IUnlockHandler interface

Inheritance
Object
UnlockHandler
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace:FubarDev.WebDavServer.Handlers.Impl
Assembly:FubarDev.WebDavServer.dll
Syntax
public class UnlockHandler : IUnlockHandler, IClass2Handler, IHandler

Constructors

| Improve this Doc View Source

UnlockHandler(IWebDavContext, ILockManager)

Initializes a new instance of the UnlockHandler class.

Declaration
public UnlockHandler([NotNull] IWebDavContext context, [CanBeNull] ILockManager lockManager = null)
Parameters
Type Name Description
IWebDavContext context

The WebDAV request context

ILockManager lockManager

The global lock manager

Properties

| Improve this Doc View Source

HttpMethods

Gets the HTTP methods that are processed by this handler

Declaration
public IEnumerable<string> HttpMethods { get; }
Property Value
Type Description
IEnumerable<String>
Implements
IHandler.HttpMethods

Methods

| Improve this Doc View Source

UnlockAsync(String, LockTokenHeader, CancellationToken)

Removes a LOCK with the given stateToken from the given path

Declaration
public Task<IWebDavResult> UnlockAsync(string path, LockTokenHeader stateToken, CancellationToken cancellationToken)
Parameters
Type Name Description
String path

The path to remove the lock for

LockTokenHeader stateToken

The state token of the lock to remove

CancellationToken cancellationToken

The cancellcation token

Returns
Type Description
Task<IWebDavResult>

The result of the operation

Implements
IUnlockHandler.UnlockAsync(String, LockTokenHeader, CancellationToken)
  • Improve this Doc
  • View Source
Back to top Copyright © 2016-2017 Fubar Development Junker
Generated by DocFX