C# Class 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.
Show file Open project: angelaHillier/KSUtil Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
GetMetadataAsText ( object>.IEnumerable metadata, bool isStreamMetadata ) : string

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

Method Details

FileData() public method

Initializes a new instance of the FileData class
public FileData ( ) : System
return System

FileData() public method

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
return System

GetFileDataAsText() public method

Retrieves a string representation of event file data which can be used in command output and logs
public GetFileDataAsText ( ) : string
return string