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
boolconstructArguments
ConstructArgument[]
FileLoader(IntPtr, bool)
protected FileLoader(IntPtr ptr, bool ownedRef)
Parameters
Fields
BufferPropertyDefinition
public static readonly Property<Buffer?, FileLoader> BufferPropertyDefinition
Field Value
FilePropertyDefinition
public static readonly Property<File?, FileLoader> FilePropertyDefinition
Field Value
InputStreamPropertyDefinition
public static readonly Property<InputStream?, FileLoader> InputStreamPropertyDefinition
Field Value
LocationPropertyDefinition
public static readonly Property<File, FileLoader> LocationPropertyDefinition
Field Value
Properties
Buffer
public Buffer? Buffer { get; }
Property Value
File
public File? File { get; }
Property Value
InputStream
public InputStream? InputStream { get; }
Property Value
Location
public File Location { get; }
Property Value
Methods
GetBuffer()
public Buffer GetBuffer()
Returns
GetCompressionType()
public CompressionType GetCompressionType()
Returns
GetEncoding()
public Encoding GetEncoding()
Returns
GetFile()
public File GetFile()
Returns
GetGType()
public static Type GetGType()
Returns
GetInputStream()
public InputStream? GetInputStream()
Returns
GetLocation()
public File? GetLocation()
Returns
GetNewlineType()
public NewlineType GetNewlineType()
Returns
LoadFinish(AsyncResult)
public bool LoadFinish(AsyncResult result)
Parameters
result
AsyncResult
Returns
New(Buffer, File)
public static FileLoader New(Buffer buffer, File file)
Parameters
Returns
NewFromStream(Buffer, File, InputStream)
public static FileLoader NewFromStream(Buffer buffer, File file, InputStream stream)
Parameters
buffer
Bufferfile
Filestream
InputStream
Returns
SetCandidateEncodings(SList)
public void SetCandidateEncodings(SList candidateEncodings)
Parameters
candidateEncodings
SList