Show / Hide Table of Contents

Interface IFileSystemCapabilities

Supplies capabilities for the file system. The implementation must be thread safe

Namespace: NFX.IO.FileSystem
Assembly: NFX.dll
Syntax
public interface IFileSystemCapabilities

Properties

IsReadonly

Indicates whether file system supports modification of its files and structure

Declaration
bool IsReadonly { get; }
Property Value
Type Description
System.Boolean

MaxDirectoryNameLength

Returns maximum allowed length of a directory name

Declaration
int MaxDirectoryNameLength { get; }
Property Value
Type Description
System.Int32

MaxFileNameLength

Returns maximum allowed length of a file name

Declaration
int MaxFileNameLength { get; }
Property Value
Type Description
System.Int32

MaxFilePathLength

Returns maximum allowed length of the whole path that includes directory name/s and/or separator chars and/or file name

Declaration
int MaxFilePathLength { get; }
Property Value
Type Description
System.Int32

MaxFileSize

Returns the maximum size of a file

Declaration
ulong MaxFileSize { get; }
Property Value
Type Description
System.UInt64

PathSeparatorCharacters

Returns understood path separator characters

Declaration
char[] PathSeparatorCharacters { get; }
Property Value
Type Description
System.Char[]

SupportsAsyncronousAPI

Defines if this FileSystem implements Async methods in real asynchronous manner. By default asynchronous methods are actually executed syncronously and return Task with execution result or exception

Declaration
bool SupportsAsyncronousAPI { get; }
Property Value
Type Description
System.Boolean

SupportsCreationTimestamps

Declaration
bool SupportsCreationTimestamps { get; }
Property Value
Type Description
System.Boolean

SupportsCreationUserNames

Declaration
bool SupportsCreationUserNames { get; }
Property Value
Type Description
System.Boolean

SupportsCustomMetadata

Indicates whether the file system supports custom metadata for files and folders

Declaration
bool SupportsCustomMetadata { get; }
Property Value
Type Description
System.Boolean

SupportsDirectoryRenaming

Declaration
bool SupportsDirectoryRenaming { get; }
Property Value
Type Description
System.Boolean

SupportsDirectorySizes

Declaration
bool SupportsDirectorySizes { get; }
Property Value
Type Description
System.Boolean

SupportsFileModification

Declaration
bool SupportsFileModification { get; }
Property Value
Type Description
System.Boolean

SupportsFileRenaming

Declaration
bool SupportsFileRenaming { get; }
Property Value
Type Description
System.Boolean

SupportsFileSizes

Declaration
bool SupportsFileSizes { get; }
Property Value
Type Description
System.Boolean

SupportsLastAccessTimestamps

Declaration
bool SupportsLastAccessTimestamps { get; }
Property Value
Type Description
System.Boolean

SupportsLastAccessUserNames

Declaration
bool SupportsLastAccessUserNames { get; }
Property Value
Type Description
System.Boolean

SupportsModificationTimestamps

Declaration
bool SupportsModificationTimestamps { get; }
Property Value
Type Description
System.Boolean

SupportsModificationUserNames

Declaration
bool SupportsModificationUserNames { get; }
Property Value
Type Description
System.Boolean

SupportsReadonlyDirectories

Declaration
bool SupportsReadonlyDirectories { get; }
Property Value
Type Description
System.Boolean

SupportsReadonlyFiles

Declaration
bool SupportsReadonlyFiles { get; }
Property Value
Type Description
System.Boolean

SupportsSecurity

Indicates whether the file system supports security permissions

Declaration
bool SupportsSecurity { get; }
Property Value
Type Description
System.Boolean

SupportsStreamSeek

Declaration
bool SupportsStreamSeek { get; }
Property Value
Type Description
System.Boolean

SupportsTransactions

Indicates whether a file system supports transactions

Declaration
bool SupportsTransactions { get; }
Property Value
Type Description
System.Boolean

SupportsVersioning

Indicates whether a file system supports versioning

Declaration
bool SupportsVersioning { get; }
Property Value
Type Description
System.Boolean

Extension Methods

MiscUtils.NonNull<T>(T, Func<Exception>, String)
ObjectValueConversion.AsString(Object, String, ConvertErrorHandling)
ObjectValueConversion.AsNonNullOrEmptyString(Object)
ObjectValueConversion.AsLaconicConfig(Object, ConfigSectionNode, String, ConvertErrorHandling)
ObjectValueConversion.AsJSONConfig(Object, ConfigSectionNode, String, ConvertErrorHandling)
ObjectValueConversion.AsXMLConfig(Object, ConfigSectionNode, ConvertErrorHandling)
ObjectValueConversion.AsChar(Object, Char, ConvertErrorHandling)
ObjectValueConversion.AsNullableChar(Object, Nullable<Char>, ConvertErrorHandling)
ObjectValueConversion.AsByte(Object, Byte, ConvertErrorHandling)
ObjectValueConversion.AsNullableByte(Object, Nullable<Byte>, ConvertErrorHandling)
ObjectValueConversion.AsSByte(Object, SByte, ConvertErrorHandling)
ObjectValueConversion.AsNullableSByte(Object, Nullable<SByte>, ConvertErrorHandling)
ObjectValueConversion.AsShort(Object, Int16, ConvertErrorHandling)
ObjectValueConversion.AsNullableShort(Object, Nullable<Int16>, ConvertErrorHandling)
ObjectValueConversion.AsUShort(Object, UInt16, ConvertErrorHandling)
ObjectValueConversion.AsNullableUShort(Object, Nullable<UInt16>, ConvertErrorHandling)
ObjectValueConversion.AsInt(Object, Int32, ConvertErrorHandling)
ObjectValueConversion.AsNullableInt(Object, Nullable<Int32>, ConvertErrorHandling)
ObjectValueConversion.AsUInt(Object, UInt32, ConvertErrorHandling)
ObjectValueConversion.AsNullableUInt(Object, Nullable<UInt32>, ConvertErrorHandling)
ObjectValueConversion.AsLong(Object, Int64, ConvertErrorHandling)
ObjectValueConversion.AsNullableLong(Object, Nullable<Int64>, ConvertErrorHandling)
ObjectValueConversion.AsULong(Object, UInt64, ConvertErrorHandling)
ObjectValueConversion.AsNullableULong(Object, Nullable<UInt64>, ConvertErrorHandling)
ObjectValueConversion.AsDouble(Object, Double, ConvertErrorHandling)
ObjectValueConversion.AsNullableDouble(Object, Nullable<Double>, ConvertErrorHandling)
ObjectValueConversion.AsFloat(Object, Single, ConvertErrorHandling)
ObjectValueConversion.AsNullableFloat(Object, Nullable<Single>, ConvertErrorHandling)
ObjectValueConversion.AsDecimal(Object, Decimal, ConvertErrorHandling)
ObjectValueConversion.AsNullableDecimal(Object, Nullable<Decimal>, ConvertErrorHandling)
ObjectValueConversion.AsBool(Object, Boolean, ConvertErrorHandling)
ObjectValueConversion.AsNullableBool(Object, Nullable<Boolean>, ConvertErrorHandling)
ObjectValueConversion.AsGUID(Object, Guid, ConvertErrorHandling)
ObjectValueConversion.AsNullableGUID(Object, Nullable<Guid>, ConvertErrorHandling)
ObjectValueConversion.AsDateTime(Object)
ObjectValueConversion.AsDateTime(Object, DateTime, ConvertErrorHandling)
ObjectValueConversion.AsNullableDateTime(Object, Nullable<DateTime>, ConvertErrorHandling)
ObjectValueConversion.AsGDID(Object)
ObjectValueConversion.AsGDID(Object, GDID, ConvertErrorHandling)
ObjectValueConversion.AsNullableGDID(Object, Nullable<GDID>, ConvertErrorHandling)
ObjectValueConversion.AsGDIDSymbol(Object)
ObjectValueConversion.AsGDIDSymbol(Object, GDIDSymbol, ConvertErrorHandling)
ObjectValueConversion.AsNullableGDIDSymbol(Object, Nullable<GDIDSymbol>, ConvertErrorHandling)
ObjectValueConversion.AsTimeSpan(Object)
ObjectValueConversion.AsTimeSpan(Object, TimeSpan, ConvertErrorHandling)
ObjectValueConversion.AsNullableTimeSpan(Object, Nullable<TimeSpan>, ConvertErrorHandling)
ObjectValueConversion.AsEnum<TEnum>(Object, TEnum, ConvertErrorHandling)
ObjectValueConversion.AsNullableEnum<TEnum>(Object, Nullable<TEnum>, ConvertErrorHandling)
ObjectValueConversion.AsUri(Object, Uri, ConvertErrorHandling)
JSONExtensions.ToJSON(Object, JSONWritingOptions)
JSONExtensions.ToJSON(Object, TextWriter, JSONWritingOptions)
JSONExtensions.ToJSON(Object, Stream, JSONWritingOptions, Encoding)
ErlObject.ToErlObject(Object)
ErlObject.ToErlObject(Object, ErlTypeOrder, Boolean)
Back to top Copyright © 2006-2018 Agnicore Inc
Generated by DocFX