C# Class RazorPad.Persistence.RazorDocumentManager

Inheritance: IRazorDocumentSource
Mostra file Open project: RazorPad/RazorPad Class Usage Examples

Public Methods

Method Description
CanLoad ( Stream stream ) : bool
CanLoad ( string uri ) : bool
CanSave ( RazorDocument document, Stream stream ) : bool
CanSave ( RazorDocument document, string uri ) : bool
Load ( Stream stream ) : RazorDocument
Load ( string uri ) : RazorDocument
Parse ( string content ) : RazorDocument
Save ( RazorDocument document, Stream stream ) : void
Save ( RazorDocument document, string uri ) : void

Private Methods

Method Description
RazorDocumentManager ( ) : System

Method Details

CanLoad() public method

public CanLoad ( Stream stream ) : bool
stream Stream
return bool

CanLoad() public method

public CanLoad ( string uri ) : bool
uri string
return bool

CanSave() public method

public CanSave ( RazorDocument document, Stream stream ) : bool
document RazorDocument
stream Stream
return bool

CanSave() public method

public CanSave ( RazorDocument document, string uri ) : bool
document RazorDocument
uri string
return bool

Load() public method

public Load ( Stream stream ) : RazorDocument
stream Stream
return RazorDocument

Load() public method

public Load ( string uri ) : RazorDocument
uri string
return RazorDocument

Parse() public method

public Parse ( string content ) : RazorDocument
content string
return RazorDocument

Save() public method

public Save ( RazorDocument document, Stream stream ) : void
document RazorDocument
stream Stream
return void

Save() public method

public Save ( RazorDocument document, string uri ) : void
document RazorDocument
uri string
return void