C# Класс System.Web.WebPages.TestUtils.TestFile

Показать файл Открыть проект

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

Метод Описание
Create ( string localResourceName ) : TestFile
OpenRead ( ) : Stream
ReadAllBytes ( ) : byte[]
ReadAllText ( ) : string
Save ( string filePath ) : void

Saves the file to the specified path.

TestFile ( string resName, Assembly asm ) : System.IO

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

Create() публичный статический Метод

public static Create ( string localResourceName ) : TestFile
localResourceName string
Результат TestFile

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

public OpenRead ( ) : Stream
Результат Stream

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

public ReadAllBytes ( ) : byte[]
Результат byte[]

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

public ReadAllText ( ) : string
Результат string

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

Saves the file to the specified path.
public Save ( string filePath ) : void
filePath string
Результат void

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

public TestFile ( string resName, Assembly asm ) : System.IO
resName string
asm System.Reflection.Assembly
Результат System.IO