C# Class Microsoft.DocAsCode.Plugins.ModelWithCache

Inheritance: IDisposable
Show file Open project: dotnet/docfx Class Usage Examples

Public Methods

Method Description
Deserialize ( ) : bool
Dispose ( ) : void
ModelWithCache ( object content, IFormatter serializer = null ) : System
Serialize ( ) : bool

Private Methods

Method Description
CreateTempFile ( ) : FileStream
OnContentAccessed ( ) : void

Method Details

Deserialize() public method

public Deserialize ( ) : bool
return bool

Dispose() public method

public Dispose ( ) : void
return void

ModelWithCache() public method

public ModelWithCache ( object content, IFormatter serializer = null ) : System
content object
serializer IFormatter
return System

Serialize() public method

public Serialize ( ) : bool
return bool