Table of Contents

Class FileMonitor

Namespace
Gio
Assembly
Gio-2.0.dll
public class FileMonitor : Object, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
Inheritance
FileMonitor
Implements
Inherited Members

Constructors

FileMonitor(bool, params ConstructArgument[])

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

Parameters

owned bool
constructArguments ConstructArgument[]

FileMonitor(IntPtr, bool)

protected FileMonitor(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

CancelledPropertyDefinition

public static readonly Property<bool, FileMonitor> CancelledPropertyDefinition

Field Value

Property<bool, FileMonitor>

ChangedSignal

Signal Descriptor for OnChanged.

public static readonly Signal<FileMonitor, FileMonitor.ChangedSignalArgs> ChangedSignal

Field Value

Signal<FileMonitor, FileMonitor.ChangedSignalArgs>

RateLimitPropertyDefinition

public static readonly Property<int, FileMonitor> RateLimitPropertyDefinition

Field Value

Property<int, FileMonitor>

Properties

Cancelled

public bool Cancelled { get; }

Property Value

bool

RateLimit

public int RateLimit { get; set; }

Property Value

int

Methods

Cancel()

public bool Cancel()

Returns

bool

EmitEvent(File, File, FileMonitorEvent)

public void EmitEvent(File child, File otherFile, FileMonitorEvent eventType)

Parameters

child File
otherFile File
eventType FileMonitorEvent

GetGType()

public static Type GetGType()

Returns

Type

IsCancelled()

public bool IsCancelled()

Returns

bool

SetRateLimit(int)

public void SetRateLimit(int limitMsecs)

Parameters

limitMsecs int

Events

OnChanged

public event SignalHandler<FileMonitor, FileMonitor.ChangedSignalArgs> OnChanged

Event Type

SignalHandler<FileMonitor, FileMonitor.ChangedSignalArgs>