Show / Hide Table of Contents

Class DotNetFileSystemFactory

The factory creating/getting the file systems that use System.IO for its implementation

Inheritance
Object
DotNetFileSystemFactory
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace:FubarDev.WebDavServer.FileSystem.DotNet
Assembly:FubarDev.WebDavServer.FileSystem.DotNet.dll
Syntax
public class DotNetFileSystemFactory : IFileSystemFactory

Constructors

| Improve this Doc View Source

DotNetFileSystemFactory(IOptions<DotNetFileSystemOptions>, IPathTraversalEngine, IPropertyStoreFactory, ILockManager)

Initializes a new instance of the DotNetFileSystemFactory class.

Declaration
public DotNetFileSystemFactory([NotNull] IOptions<DotNetFileSystemOptions> options, [NotNull] IPathTraversalEngine pathTraversalEngine, IPropertyStoreFactory propertyStoreFactory = null, ILockManager lockManager = null)
Parameters
Type Name Description
Microsoft.Extensions.Options.IOptions<DotNetFileSystemOptions> options

The options for this file system

IPathTraversalEngine pathTraversalEngine

The engine to traverse paths

IPropertyStoreFactory propertyStoreFactory

The store for dead properties

ILockManager lockManager

The global lock manager

Methods

| Improve this Doc View Source

CreateFileSystem(ICollection, IPrincipal)

Gets the IFileSystem instance for the given principal

Declaration
public virtual IFileSystem CreateFileSystem(ICollection mountPoint, IPrincipal principal)
Parameters
Type Name Description
ICollection mountPoint

The mount point where this file system should be included

IPrincipal principal

The current principal to get the IFileSystem instance for

Returns
Type Description
IFileSystem

The IFileSystem instance for the principal

Implements
IFileSystemFactory.CreateFileSystem(ICollection, IPrincipal)
  • Improve this Doc
  • View Source
Back to top Copyright © 2016-2017 Fubar Development Junker
Generated by DocFX