Table of Contents

Class Collection

Namespace
Secret
Assembly
Secret-1.dll
public class Collection : DBusProxy, AsyncInitable, DBusInterface, Initable, NativeObject, IDisposable, GTypeProvider, InstanceFactory
Inheritance
Collection
Implements
Inherited Members

Constructors

Collection(params ConstructArgument[])

public Collection(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

Collection(CollectionHandle)

public Collection(CollectionHandle handle)

Parameters

handle CollectionHandle

Fields

CreatedPropertyDefinition

public static readonly Property<ulong, Collection> CreatedPropertyDefinition

Field Value

Property<ulong, Collection>

FlagsPropertyDefinition

public static readonly Property<CollectionFlags, Collection> FlagsPropertyDefinition

Field Value

Property<CollectionFlags, Collection>

LabelPropertyDefinition

public static readonly Property<string?, Collection> LabelPropertyDefinition

Field Value

Property<string, Collection>

LockedPropertyDefinition

public static readonly Property<bool, Collection> LockedPropertyDefinition

Field Value

Property<bool, Collection>

ModifiedPropertyDefinition

public static readonly Property<ulong, Collection> ModifiedPropertyDefinition

Field Value

Property<ulong, Collection>

ServicePropertyDefinition

public static readonly Property<Service?, Collection> ServicePropertyDefinition

Field Value

Property<Service, Collection>

Properties

Created

public ulong Created { get; set; }

Property Value

ulong

Flags

public CollectionFlags Flags { get; }

Property Value

CollectionFlags

Label

public string? Label { get; set; }

Property Value

string

Locked

public bool Locked { get; }

Property Value

bool

Modified

public ulong Modified { get; set; }

Property Value

ulong

Service

public Service? Service { get; }

Property Value

Service

Methods

CreateFinish(AsyncResult)

public static Collection CreateFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

Collection

CreateSync(Service?, string, string?, CollectionCreateFlags, Cancellable?)

public static Collection CreateSync(Service? service, string label, string? alias, CollectionCreateFlags flags, Cancellable? cancellable)

Parameters

service Service
label string
alias string
flags CollectionCreateFlags
cancellable Cancellable

Returns

Collection

DeleteFinish(AsyncResult)

public bool DeleteFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

bool

DeleteSync(Cancellable?)

public bool DeleteSync(Cancellable? cancellable)

Parameters

cancellable Cancellable

Returns

bool

DupObject()

[Version("2.32")]
public DBusObject? DupObject()

Returns

DBusObject

ForAliasFinish(AsyncResult)

public static Collection? ForAliasFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

Collection

ForAliasSync(Service?, string, CollectionFlags, Cancellable?)

public static Collection? ForAliasSync(Service? service, string alias, CollectionFlags flags, Cancellable? cancellable)

Parameters

service Service
alias string
flags CollectionFlags
cancellable Cancellable

Returns

Collection

GetCreated()

public ulong GetCreated()

Returns

ulong

GetFlags()

public CollectionFlags GetFlags()

Returns

CollectionFlags

GetGType()

public static Type GetGType()

Returns

Type

GetItems()

public List GetItems()

Returns

List

GetLabel()

public string GetLabel()

Returns

string

GetLocked()

public bool GetLocked()

Returns

bool

GetModified()

public ulong GetModified()

Returns

ulong

GetObject()

[Version("2.30")]
public DBusObject? GetObject()

Returns

DBusObject

GetService()

public Service GetService()

Returns

Service

Init(Cancellable?)

[Version("2.22")]
public bool Init(Cancellable? cancellable)

Parameters

cancellable Cancellable

Returns

bool

InitFinish(AsyncResult)

[Version("2.22")]
public bool InitFinish(AsyncResult res)

Parameters

res AsyncResult

Returns

bool

LoadItemsFinish(AsyncResult)

public bool LoadItemsFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

bool

LoadItemsSync(Cancellable?)

public bool LoadItemsSync(Cancellable? cancellable)

Parameters

cancellable Cancellable

Returns

bool

NewForDbusPathFinish(AsyncResult)

public static Collection NewForDbusPathFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

Collection

NewForDbusPathSync(Service?, string, CollectionFlags, Cancellable?)

public static Collection NewForDbusPathSync(Service? service, string collectionPath, CollectionFlags flags, Cancellable? cancellable)

Parameters

service Service
collectionPath string
flags CollectionFlags
cancellable Cancellable

Returns

Collection

Refresh()

public void Refresh()

SearchFinish(AsyncResult)

public List SearchFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

List

SearchForDbusPathsFinish(AsyncResult)

public string[] SearchForDbusPathsFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

string[]

SearchForDbusPathsSync(Schema?, HashTable, Cancellable?)

public string[] SearchForDbusPathsSync(Schema? schema, HashTable attributes, Cancellable? cancellable)

Parameters

schema Schema
attributes HashTable
cancellable Cancellable

Returns

string[]

SearchSync(Schema?, HashTable, SearchFlags, Cancellable?)

public List SearchSync(Schema? schema, HashTable attributes, SearchFlags flags, Cancellable? cancellable)

Parameters

schema Schema
attributes HashTable
flags SearchFlags
cancellable Cancellable

Returns

List

SetLabelFinish(AsyncResult)

public bool SetLabelFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

bool

SetLabelSync(string, Cancellable?)

public bool SetLabelSync(string label, Cancellable? cancellable)

Parameters

label string
cancellable Cancellable

Returns

bool

SetObject(DBusObject?)

[Version("2.30")]
public void SetObject(DBusObject? @object)

Parameters

object DBusObject