C# Class TagTool.Layouts.TagLayoutWriter

Base for a class which can write tag layouts to files.
显示文件 Open project: TheGuardians/TagTool

Public Methods

Method Description
GetSuggestedFileName ( TagLayout layout ) : string

Gets the suggested filename for a layout.

WriteLayout ( TagLayout layout, TextWriter writer ) : void

Writes a layout to a stream.

WriteLayout ( TagLayout layout, string path ) : void

Writes a layout to a file.

Method Details

GetSuggestedFileName() public abstract method

Gets the suggested filename for a layout.
public abstract GetSuggestedFileName ( TagLayout layout ) : string
layout TagLayout The layout.
return string

WriteLayout() public abstract method

Writes a layout to a stream.
public abstract WriteLayout ( TagLayout layout, TextWriter writer ) : void
layout TagLayout The layout to write.
writer System.IO.TextWriter The writer to write to.
return void

WriteLayout() public method

Writes a layout to a file.
public WriteLayout ( TagLayout layout, string path ) : void
layout TagLayout The layout to write.
path string The path to write to.
return void