C# Класс Rebel.Framework.Persistence.Model.IO.File

Наследование: TypedEntity
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
File ( ) : System
File ( HiveId id ) : System
File ( TypedEntity fromEntity ) : System
File ( string fileName, byte contentBytes ) : System

Creates a new file object with byte contents.

File ( string fileName, string textContent ) : System

Creates a new file object with string contents. textContent will be encoded as UTF32.

SetContentStreamFactory ( Stream>.Func streamFactory ) : void

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

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

public File ( ) : System
Результат System

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

public File ( HiveId id ) : System
id HiveId
Результат System

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

public File ( TypedEntity fromEntity ) : System
fromEntity TypedEntity
Результат System

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

Creates a new file object with byte contents.
public File ( string fileName, byte contentBytes ) : System
fileName string
contentBytes byte
Результат System

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

Creates a new file object with string contents. textContent will be encoded as UTF32.
public File ( string fileName, string textContent ) : System
fileName string
textContent string
Результат System

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

public SetContentStreamFactory ( Stream>.Func streamFactory ) : void
streamFactory Stream>.Func
Результат void