Class FileAttributeMatcher
public class FileAttributeMatcher
- Inheritance
-
FileAttributeMatcher
- Inherited Members
Methods
EnumerateNamespace(FileAttributeMatcherHandle, NonNullableUtf8StringHandle)
Calls native method g_file_attribute_matcher_enumerate_namespace.
public static extern bool EnumerateNamespace(FileAttributeMatcherHandle matcher, NonNullableUtf8StringHandle ns)
Parameters
matcher
FileAttributeMatcherHandleTransfer ownership: None Nullable: False
ns
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
EnumerateNext(FileAttributeMatcherHandle)
Calls native method g_file_attribute_matcher_enumerate_next.
public static extern NullableUtf8StringUnownedHandle EnumerateNext(FileAttributeMatcherHandle matcher)
Parameters
matcher
FileAttributeMatcherHandleTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: True
GetGType()
Calls native function g_file_attribute_matcher_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
Matches(FileAttributeMatcherHandle, NonNullableUtf8StringHandle)
Calls native method g_file_attribute_matcher_matches.
public static extern bool Matches(FileAttributeMatcherHandle matcher, NonNullableUtf8StringHandle attribute)
Parameters
matcher
FileAttributeMatcherHandleTransfer ownership: None Nullable: False
attribute
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
MatchesOnly(FileAttributeMatcherHandle, NonNullableUtf8StringHandle)
Calls native method g_file_attribute_matcher_matches_only.
public static extern bool MatchesOnly(FileAttributeMatcherHandle matcher, NonNullableUtf8StringHandle attribute)
Parameters
matcher
FileAttributeMatcherHandleTransfer ownership: None Nullable: False
attribute
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
New(NonNullableUtf8StringHandle)
Calls native constructor g_file_attribute_matcher_new.
public static extern FileAttributeMatcherOwnedHandle New(NonNullableUtf8StringHandle attributes)
Parameters
attributes
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- FileAttributeMatcherOwnedHandle
Transfer ownership: Full Nullable: False
Ref(FileAttributeMatcherHandle)
Calls native method g_file_attribute_matcher_ref.
public static extern FileAttributeMatcherOwnedHandle Ref(FileAttributeMatcherHandle matcher)
Parameters
matcher
FileAttributeMatcherHandleTransfer ownership: None Nullable: False
Returns
- FileAttributeMatcherOwnedHandle
Transfer ownership: Full Nullable: False
Subtract(FileAttributeMatcherHandle, FileAttributeMatcherHandle)
Calls native method g_file_attribute_matcher_subtract.
public static extern FileAttributeMatcherOwnedHandle Subtract(FileAttributeMatcherHandle matcher, FileAttributeMatcherHandle subtract)
Parameters
matcher
FileAttributeMatcherHandleTransfer ownership: None Nullable: True
subtract
FileAttributeMatcherHandleTransfer ownership: None Nullable: True
Returns
- FileAttributeMatcherOwnedHandle
Transfer ownership: Full Nullable: True
ToString(FileAttributeMatcherHandle)
Calls native method g_file_attribute_matcher_to_string. Version: 2.32
[Version("2.32")]
public static extern NonNullableUtf8StringOwnedHandle ToString(FileAttributeMatcherHandle matcher)
Parameters
matcher
FileAttributeMatcherHandleTransfer ownership: None Nullable: True
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
Unref(FileAttributeMatcherHandle)
Calls native method g_file_attribute_matcher_unref.
public static extern void Unref(FileAttributeMatcherHandle matcher)
Parameters
matcher
FileAttributeMatcherHandleTransfer ownership: None Nullable: False