C# Class Test.Writer.Applications.Documents.MockDocumentType

Inheritance: Waf.Writer.Applications.Documents.DocumentType
显示文件 Open project: jbe2277/waf Class Usage Examples

Public Methods

Method Description
CanNew ( ) : bool
CanOpen ( ) : bool
CanSave ( IDocument document ) : bool
Clear ( ) : void
MockDocumentType ( string description, string fileExtension ) : System

Protected Methods

Method Description
NewCore ( ) : IDocument
OpenCore ( string fileName ) : IDocument
SaveCore ( IDocument document, string fileName ) : void

Private Methods

Method Description
CheckThrowException ( ) : void

Method Details

CanNew() public method

public CanNew ( ) : bool
return bool

CanOpen() public method

public CanOpen ( ) : bool
return bool

CanSave() public method

public CanSave ( IDocument document ) : bool
document IDocument
return bool

Clear() public method

public Clear ( ) : void
return void

MockDocumentType() public method

public MockDocumentType ( string description, string fileExtension ) : System
description string
fileExtension string
return System

NewCore() protected method

protected NewCore ( ) : IDocument
return IDocument

OpenCore() protected method

protected OpenCore ( string fileName ) : IDocument
fileName string
return IDocument

SaveCore() protected method

protected SaveCore ( IDocument document, string fileName ) : void
document IDocument
fileName string
return void