C# Класс CmisSync.Lib.Storage.FileSystem.FileSystemInfoWrapper

Wrapper for DirectoryInfo
Наследование: IFileSystemInfo
Показать файл Открыть проект

Открытые методы

Метод Описание
GetExtendedAttribute ( string key ) : string

Gets the extended attribute.

IsExtendedAttributeAvailable ( ) : bool

Determines whether instance is able to save extended attributes.

Refresh ( ) : void

Refresh the loaded information of this instance.

SetExtendedAttribute ( string key, string value, bool restoreModificationDate = false ) : void

Sets the extended attribute.

Защищенные методы

Метод Описание
FileSystemInfoWrapper ( FileSystemInfo original ) : System

Initializes a new instance of the CmisSync.Lib.Storage.FileSystem.FileSystemInfoWrapper class.

Приватные методы

Метод Описание
AddReadOnlyAclsToOriginal ( ) : void
FileSystemInfoWrapper ( ) : System
RemoveReadOnlyAclsFromOriginal ( ) : void

Описание методов

FileSystemInfoWrapper() защищенный Метод

Initializes a new instance of the CmisSync.Lib.Storage.FileSystem.FileSystemInfoWrapper class.
protected FileSystemInfoWrapper ( FileSystemInfo original ) : System
original System.IO.FileSystemInfo original internal instance.
Результат System

GetExtendedAttribute() публичный Метод

Gets the extended attribute.
public GetExtendedAttribute ( string key ) : string
key string Attribute name.
Результат string

IsExtendedAttributeAvailable() публичный Метод

Determines whether instance is able to save extended attributes.
public IsExtendedAttributeAvailable ( ) : bool
Результат bool

Refresh() публичный Метод

Refresh the loaded information of this instance.
public Refresh ( ) : void
Результат void

SetExtendedAttribute() публичный Метод

Sets the extended attribute.
public SetExtendedAttribute ( string key, string value, bool restoreModificationDate = false ) : void
key string Attribute name.
value string Attribute value.
restoreModificationDate bool Restore the modification date of the file after setting ea.
Результат void