Class ModelWithCache
Inheritance
ModelWithCache
Namespace:Microsoft.DocAsCode.Plugins
Assembly:Microsoft.DocAsCode.Plugins.dll
Syntax
public sealed class ModelWithCache : IDisposable
Constructors
Declaration
public ModelWithCache(object content, IFormatter serializer = null)
Parameters
Properties
Content
Declaration
public object Content { get; set; }
Property Value
File
Declaration
public string File { get; set; }
Property Value
Serializer
Declaration
public IFormatter Serializer { get; set; }
Property Value
Methods
Deserialize()
Declaration
public bool Deserialize()
Returns
Dispose()
Declaration
Implements
Serialize()
Declaration
Returns
Events
ContentAccessed
Declaration
public event EventHandler ContentAccessed
Event Type
Extension Methods