Search Results for

    Show / Hide Table of Contents

    Class EmbeddedText

    Inheritance
    object
    EmbeddedText
    Inherited Members
    object.GetType()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Microsoft.CodeAnalysis
    Assembly: Microsoft.CodeAnalysis.dll
    Syntax
    public sealed class EmbeddedText

    Properties

    Checksum

    Declaration
    public ImmutableArray<byte> Checksum { get; }
    Property Value
    Type Description
    ImmutableArray<byte>

    ChecksumAlgorithm

    Declaration
    public SourceHashAlgorithm ChecksumAlgorithm { get; }
    Property Value
    Type Description
    SourceHashAlgorithm

    FilePath

    Declaration
    public string FilePath { get; }
    Property Value
    Type Description
    string

    Methods

    FromBytes(string, ArraySegment<byte>, SourceHashAlgorithm)

    Declaration
    public static EmbeddedText FromBytes(string filePath, ArraySegment<byte> bytes, SourceHashAlgorithm checksumAlgorithm = SourceHashAlgorithm.Sha1)
    Parameters
    Type Name Description
    string filePath
    ArraySegment<byte> bytes
    SourceHashAlgorithm checksumAlgorithm
    Returns
    Type Description
    EmbeddedText

    FromSource(string, SourceText)

    Declaration
    public static EmbeddedText FromSource(string filePath, SourceText text)
    Parameters
    Type Name Description
    string filePath
    SourceText text
    Returns
    Type Description
    EmbeddedText

    FromStream(string, Stream, SourceHashAlgorithm)

    Declaration
    public static EmbeddedText FromStream(string filePath, Stream stream, SourceHashAlgorithm checksumAlgorithm = SourceHashAlgorithm.Sha1)
    Parameters
    Type Name Description
    string filePath
    Stream stream
    SourceHashAlgorithm checksumAlgorithm
    Returns
    Type Description
    EmbeddedText
    In this article
    Back to top Generated by DocFX | Copyright (c) 2018- The NUnit Project - Licensed under CC BY-NC-SA 4.0