C# Class Rebel.Framework.Persistence.Model.IO.File

Inheritance: TypedEntity
Afficher le fichier Open project: RebelCMS/rebelcmsxu5 Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

File() public méthode

public File ( ) : System
Résultat System

File() public méthode

public File ( HiveId id ) : System
id HiveId
Résultat System

File() public méthode

public File ( TypedEntity fromEntity ) : System
fromEntity TypedEntity
Résultat System

File() public méthode

Creates a new file object with byte contents.
public File ( string fileName, byte contentBytes ) : System
fileName string
contentBytes byte
Résultat System

File() public méthode

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
Résultat System

SetContentStreamFactory() public méthode

public SetContentStreamFactory ( Stream>.Func streamFactory ) : void
streamFactory Stream>.Func
Résultat void