C# Класс Microsoft.CodeAnalysis.Sarif.Driver.TempFile

Temporary file class; implements IDisposable to ensure an effort is made to delete the temporary file in the face of exceptions. If you need a directory or set of files instead of a file, use the TempDirectory class instead.
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

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

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

Creates temporary path name.

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Makes a best-effort attempt to delete the temporary file.

TempFile ( ) : System

Initializes a new instance of the TempFile class.

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

Метод Описание
DisposeImplementation ( ) : void
TempFile ( string requestedExtension ) : System

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

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

Creates temporary path name.
public static CreateTempName ( ) : string
Результат string

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

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Makes a best-effort attempt to delete the temporary file.
public Dispose ( ) : void
Результат void

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

Initializes a new instance of the TempFile class.
public TempFile ( ) : System
Результат System