Class EmbeddedText
Assembly: Microsoft.CodeAnalysis.dll
Syntax
public sealed class EmbeddedText
Properties
Checksum
Declaration
public ImmutableArray<byte> Checksum { get; }
Property Value
ChecksumAlgorithm
Declaration
public SourceHashAlgorithm ChecksumAlgorithm { get; }
Property Value
FilePath
Declaration
public string FilePath { get; }
Property Value
Methods
FromBytes(string, ArraySegment<byte>, SourceHashAlgorithm)
Declaration
public static EmbeddedText FromBytes(string filePath, ArraySegment<byte> bytes, SourceHashAlgorithm checksumAlgorithm = SourceHashAlgorithm.Sha1)
Parameters
Returns
FromSource(string, SourceText)
Declaration
public static EmbeddedText FromSource(string filePath, SourceText text)
Parameters
Returns
FromStream(string, Stream, SourceHashAlgorithm)
Declaration
public static EmbeddedText FromStream(string filePath, Stream stream, SourceHashAlgorithm checksumAlgorithm = SourceHashAlgorithm.Sha1)
Parameters
Returns