Class Language
Namespace: HarfBuzzSharp
Assembly: VelloSharp.HarfBuzzSharp.dll
public sealed class Language : IEquatable<Language>
Inheritance
Implements
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Language(string)
public Language(string name)
Parameters
name
string
Language(CultureInfo)
public Language(CultureInfo culture)
Parameters
culture
CultureInfo
Properties
Name
public string Name { get; }
Property Value
Methods
Equals(Language?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Language? other)
Parameters
other
Language?
An object to compare with this object.
Returns
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
true if the specified object is equal to the current object; otherwise, false.
FromBcp47(string)
public static Language FromBcp47(string name)
Parameters
name
string
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
A hash code for the current object.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
A string that represents the current object.