Table of Contents

Class PatternSpec

Namespace
GLib
Assembly
GLib-2.0.dll
public sealed class PatternSpec : BoxedRecord, IEquatable<PatternSpec>
Inheritance
PatternSpec
Implements
Inherited Members

Constructors

PatternSpec(PatternSpecOwnedHandle)

public PatternSpec(PatternSpecOwnedHandle handle)

Parameters

handle PatternSpecOwnedHandle

Properties

Handle

public PatternSpecOwnedHandle Handle { get; }

Property Value

PatternSpecOwnedHandle

Methods

Copy()

[Version("2.70")]
public PatternSpec Copy()

Returns

PatternSpec

Equal(PatternSpec)

public bool Equal(PatternSpec pspec2)

Parameters

pspec2 PatternSpec

Returns

bool

Equals(PatternSpec?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(PatternSpec? other)

Parameters

other PatternSpec

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

Free()

public void Free()

GetGType()

public static Type GetGType()

Returns

Type

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

Match(nuint, string, string?)

[Version("2.70")]
public bool Match(nuint stringLength, string @string, string? stringReversed)

Parameters

stringLength nuint
string string
stringReversed string

Returns

bool

MatchString(string)

[Version("2.70")]
public bool MatchString(string @string)

Parameters

string string

Returns

bool

New(string)

public static PatternSpec New(string pattern)

Parameters

pattern string

Returns

PatternSpec