C# Class Waf.Writer.Applications.Documents.DocumentType

Inheritance: System.Waf.Foundation.Model, IDocumentType
显示文件 Open project: jbe2277/waf Class Usage Examples

Public Methods

Method Description
CanNew ( ) : bool
CanOpen ( ) : bool
CanSave ( IDocument document ) : bool
New ( ) : IDocument
Open ( string fileName ) : IDocument
Save ( IDocument document, string fileName ) : void

Protected Methods

Method Description
DocumentType ( string description, string fileExtension ) : System
NewCore ( ) : IDocument
OpenCore ( string fileName ) : IDocument
SaveCore ( IDocument document, string fileName ) : 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

DocumentType() protected method

protected DocumentType ( string description, string fileExtension ) : System
description string
fileExtension string
return System

New() public method

public New ( ) : IDocument
return IDocument

NewCore() protected method

protected NewCore ( ) : IDocument
return IDocument

Open() public method

public Open ( string fileName ) : IDocument
fileName string
return IDocument

OpenCore() protected method

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

Save() public method

public Save ( IDocument document, string fileName ) : void
document IDocument
fileName string
return void

SaveCore() protected method

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