Show / Hide Table of Contents

    Class FileAndType

    Inheritance
    Object
    FileAndType
    Inherited Members
    Object.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace:Microsoft.DocAsCode.Plugins
    Assembly:Microsoft.DocAsCode.Plugins.dll
    Syntax
    public sealed class FileAndType : IEquatable<FileAndType>

    Constructors

    | Improve this Doc View Source

    FileAndType(String, String, DocumentType, Func<String, String>)

    Declaration
    public FileAndType(string baseDir, string file, DocumentType type, Func<string, string> pathRewriter)
    Parameters
    Type Name Description
    String baseDir
    String file
    DocumentType type
    Func<String, String> pathRewriter

    Properties

    | Improve this Doc View Source

    BaseDir

    Declaration
    public string BaseDir { get; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    File

    Declaration
    public string File { get; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    FullPath

    Declaration
    public string FullPath { get; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    PathRewriter

    Declaration
    public Func<string, string> PathRewriter { get; }
    Property Value
    Type Description
    Func<String, String>
    | Improve this Doc View Source

    StringComparer

    Declaration
    public StringComparer StringComparer { get; }
    Property Value
    Type Description
    StringComparer
    | Improve this Doc View Source

    Type

    Declaration
    public DocumentType Type { get; }
    Property Value
    Type Description
    DocumentType

    Methods

    | Improve this Doc View Source

    ChangeType(DocumentType)

    Declaration
    public FileAndType ChangeType(DocumentType type)
    Parameters
    Type Name Description
    DocumentType type
    Returns
    Type Description
    FileAndType
    | Improve this Doc View Source

    Equals(FileAndType)

    Declaration
    public bool Equals(FileAndType other)
    Parameters
    Type Name Description
    FileAndType other
    Returns
    Type Description
    Boolean
    Implements
    IEquatable<FileAndType>.Equals(FileAndType)
    | Improve this Doc View Source

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    Boolean
    Overrides
    Object.Equals(Object)
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    Object.GetHashCode()

    Operators

    | Improve this Doc View Source

    Equality(FileAndType, FileAndType)

    Declaration
    public static bool operator ==(FileAndType left, FileAndType right)
    Parameters
    Type Name Description
    FileAndType left
    FileAndType right
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    Inequality(FileAndType, FileAndType)

    Declaration
    public static bool operator !=(FileAndType left, FileAndType right)
    Parameters
    Type Name Description
    FileAndType left
    FileAndType right
    Returns
    Type Description
    Boolean

    Extension Methods

    JsonUtility.ToJsonString(Formatting, JsonSerializer)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2015-2016 Microsoft
    Generated by DocFX