Inheritance
System.Object
Locale
public class Locale : IEquatable<Locale>
Constructors
Declaration
public Locale(string languageCode, string countryCode = null)
Parameters
Type |
Name |
Description |
System.String |
languageCode |
|
System.String |
countryCode |
|
Properties
Declaration
public string countryCode { get; }
Property Value
Type |
Description |
System.String |
|
Declaration
public string languageCode { get; }
Property Value
Type |
Description |
System.String |
|
Methods
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
Declaration
public bool Equals(Locale other)
Parameters
Type |
Name |
Description |
Locale |
other |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Operators
Declaration
public static bool operator ==(Locale left, Locale right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool operator !=(Locale left, Locale right)
Parameters
Returns
Type |
Description |
System.Boolean |
|