Header menu logo F# Compiler Guide

FSharpFileSnapshot Type

A snapshot of an F# source file.

Constructors

Constructor Description

FSharpFileSnapshot(FileName, Version, GetSource)

Full Usage: FSharpFileSnapshot(FileName, Version, GetSource)

Parameters:
Returns: FSharpFileSnapshot
FileName : string
Version : string
GetSource : unit -> Task<ISourceTextNew>
Returns: FSharpFileSnapshot

Instance members

Instance member Description

this.FileName

Full Usage: this.FileName

Returns: string
Returns: string

this.GetFileName

Full Usage: this.GetFileName

Returns: string
Returns: string

this.GetSource

Full Usage: this.GetSource

Returns: Task<ISourceTextNew>

this.IsSignatureFile

Full Usage: this.IsSignatureFile

Returns: bool
Returns: bool

this.Version

Full Usage: this.Version

Returns: string
Returns: string

Static members

Static member Description

FSharpFileSnapshot.Create(fileName, version, getSource)

Full Usage: FSharpFileSnapshot.Create(fileName, version, getSource)

Parameters:
Returns: FSharpFileSnapshot
fileName : string
version : string
getSource : unit -> Task<ISourceTextNew>
Returns: FSharpFileSnapshot

FSharpFileSnapshot.CreateFromDocumentSource(fileName, documentSource)

Full Usage: FSharpFileSnapshot.CreateFromDocumentSource(fileName, documentSource)

Parameters:
Returns: FSharpFileSnapshot
fileName : string
documentSource : DocumentSource
Returns: FSharpFileSnapshot

FSharpFileSnapshot.CreateFromFileSystem(fileName)

Full Usage: FSharpFileSnapshot.CreateFromFileSystem(fileName)

Parameters:
    fileName : string

Returns: FSharpFileSnapshot
fileName : string
Returns: FSharpFileSnapshot

FSharpFileSnapshot.CreateFromString(filename, content)

Full Usage: FSharpFileSnapshot.CreateFromString(filename, content)

Parameters:
    filename : string
    content : string

Returns: FSharpFileSnapshot
filename : string
content : string
Returns: FSharpFileSnapshot

Type something to start searching.