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
Methods
Copy()
[Version("2.70")]
public PatternSpec Copy()
Returns
Equal(PatternSpec)
public bool Equal(PatternSpec pspec2)
Parameters
pspec2
PatternSpec
Returns
Equals(PatternSpec?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(PatternSpec? other)
Parameters
other
PatternSpecAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
Free()
public void Free()
GetGType()
public static Type GetGType()
Returns
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
Returns
MatchString(string)
[Version("2.70")]
public bool MatchString(string @string)
Parameters
string
string
Returns
New(string)
public static PatternSpec New(string pattern)
Parameters
pattern
string