C# Класс KSUtil.FileData

Demonstrates how to get metadata and stream information from an event file with the KStudioEventFile class. Properties are gathered for display in the UI and/or output to the command window.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
FileData ( ) : System

Initializes a new instance of the FileData class

FileData ( KStudioEventFile eventFile ) : System

Initializes a new instance of the FileData class and sets all properties to the values found within the KStudioEventFile object

GetFileDataAsText ( ) : string

Retrieves a string representation of event file data which can be used in command output and logs

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

Метод Описание
GetMetadataAsText ( object>.IEnumerable metadata, bool isStreamMetadata ) : string

Returns all key/value pairs in a metadata object as a single string

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

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

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

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

Initializes a new instance of the FileData class and sets all properties to the values found within the KStudioEventFile object
public FileData ( KStudioEventFile eventFile ) : System
eventFile KStudioEventFile A KStudioEventFile that is currently opened for read access
Результат System

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

Retrieves a string representation of event file data which can be used in command output and logs
public GetFileDataAsText ( ) : string
Результат string