Show / Hide Table of Contents

Class InMemoryFileSystemFactory

An in-memory implementation of the IFileSystemFactory

Inheritance
Object
InMemoryFileSystemFactory
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.InMemory
Assembly:FubarDev.WebDavServer.FileSystem.InMemory.dll
Syntax
public class InMemoryFileSystemFactory : IFileSystemFactory

Constructors

| Improve this Doc View Source

InMemoryFileSystemFactory(IPathTraversalEngine, ISystemClock, ILockManager, IPropertyStoreFactory)

Initializes a new instance of the InMemoryFileSystemFactory class.

Declaration
public InMemoryFileSystemFactory([NotNull] IPathTraversalEngine pathTraversalEngine, [NotNull] ISystemClock systemClock, ILockManager lockManager = null, IPropertyStoreFactory propertyStoreFactory = null)
Parameters
Type Name Description
IPathTraversalEngine pathTraversalEngine

The engine to traverse paths

ISystemClock systemClock

Interface for the access to the systems clock

ILockManager lockManager

The global lock manager

IPropertyStoreFactory propertyStoreFactory

The store for dead properties

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

InitializeFileSystem(ICollection, IPrincipal, InMemoryFileSystem)

Called when file system will be initialized

Declaration
protected virtual void InitializeFileSystem([CanBeNull] ICollection mountPoint, [NotNull] IPrincipal principal, [NotNull] InMemoryFileSystem fileSystem)
Parameters
Type Name Description
ICollection mountPoint

The mount point

IPrincipal principal

The principal the file system was created for

InMemoryFileSystem fileSystem

The created file system

| Improve this Doc View Source

UpdateFileSystem(ICollection, IPrincipal, InMemoryFileSystem)

Called when the file system will be updated

Declaration
protected virtual void UpdateFileSystem([CanBeNull] ICollection mountPoint, [NotNull] IPrincipal principal, [NotNull] InMemoryFileSystem fileSystem)
Parameters
Type Name Description
ICollection mountPoint

The mount point

IPrincipal principal

The principal the file system was created for

InMemoryFileSystem fileSystem

The created file system

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