Show / Hide Table of Contents

    Class ModelWithCache

    Inheritance
    Object
    ModelWithCache
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace:Microsoft.DocAsCode.Plugins
    Assembly:Microsoft.DocAsCode.Plugins.dll
    Syntax
    public sealed class ModelWithCache : IDisposable

    Constructors

    ModelWithCache(Object, IFormatter)

    Declaration
    public ModelWithCache(object content, IFormatter serializer = null)
    Parameters
    Type Name Description
    Object content
    IFormatter serializer

    Properties

    Content

    Declaration
    public object Content { get; set; }
    Property Value
    Type Description
    Object

    File

    Declaration
    public string File { get; set; }
    Property Value
    Type Description
    String

    Serializer

    Declaration
    public IFormatter Serializer { get; set; }
    Property Value
    Type Description
    IFormatter

    Methods

    Deserialize()

    Declaration
    public bool Deserialize()
    Returns
    Type Description
    Boolean

    Dispose()

    Declaration
    public void Dispose()
    Implements
    IDisposable.Dispose()

    Serialize()

    Declaration
    public bool Serialize()
    Returns
    Type Description
    Boolean

    Events

    ContentAccessed

    Declaration
    public event EventHandler ContentAccessed
    Event Type
    Type Description
    EventHandler

    Extension Methods

    JsonUtility.ToJsonString(Object, Formatting, JsonSerializer)
    Back to top Copyright © 2015-2017 Microsoft
    Generated by DocFX