C# Class RazorPad.Persistence.XmlRazorDocumentSource

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 ( System.Xml.Linq.XDocument source ) : RazorDocument
Load ( string uri ) : RazorDocument
Parse ( string document ) : RazorDocument
Save ( RazorDocument document, Stream stream ) : void
Save ( RazorDocument document, string uri ) : void

Private Methods

Method Description
XmlRazorDocumentSource ( ModelProviders modelProviders ) : 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 ( System.Xml.Linq.XDocument source ) : RazorDocument
source System.Xml.Linq.XDocument
return RazorDocument

Load() public method

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

Parse() public method

public Parse ( string document ) : RazorDocument
document 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