Table of Contents

Class FileLoader

Namespace
GtkSource
Assembly
GtkSource-5.dll
public class FileLoader : Object, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
Inheritance
FileLoader
Implements
Inherited Members

Constructors

FileLoader(bool, params ConstructArgument[])

protected FileLoader(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

FileLoader(IntPtr, bool)

protected FileLoader(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

BufferPropertyDefinition

public static readonly Property<Buffer?, FileLoader> BufferPropertyDefinition

Field Value

Property<Buffer, FileLoader>

FilePropertyDefinition

public static readonly Property<File?, FileLoader> FilePropertyDefinition

Field Value

Property<File, FileLoader>

InputStreamPropertyDefinition

public static readonly Property<InputStream?, FileLoader> InputStreamPropertyDefinition

Field Value

Property<InputStream, FileLoader>

LocationPropertyDefinition

public static readonly Property<File, FileLoader> LocationPropertyDefinition

Field Value

Property<File, FileLoader>

Properties

Buffer

public Buffer? Buffer { get; }

Property Value

Buffer

File

public File? File { get; }

Property Value

File

InputStream

public InputStream? InputStream { get; }

Property Value

InputStream

Location

public File Location { get; }

Property Value

File

Methods

GetBuffer()

public Buffer GetBuffer()

Returns

Buffer

GetCompressionType()

public CompressionType GetCompressionType()

Returns

CompressionType

GetEncoding()

public Encoding GetEncoding()

Returns

Encoding

GetFile()

public File GetFile()

Returns

File

GetGType()

public static Type GetGType()

Returns

Type

GetInputStream()

public InputStream? GetInputStream()

Returns

InputStream

GetLocation()

public File? GetLocation()

Returns

File

GetNewlineType()

public NewlineType GetNewlineType()

Returns

NewlineType

LoadFinish(AsyncResult)

public bool LoadFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

bool

New(Buffer, File)

public static FileLoader New(Buffer buffer, File file)

Parameters

buffer Buffer
file File

Returns

FileLoader

NewFromStream(Buffer, File, InputStream)

public static FileLoader NewFromStream(Buffer buffer, File file, InputStream stream)

Parameters

buffer Buffer
file File
stream InputStream

Returns

FileLoader

SetCandidateEncodings(SList)

public void SetCandidateEncodings(SList candidateEncodings)

Parameters

candidateEncodings SList