Struct RuntimePlatformInfo
- Namespace
- Avalonia.Platform
- Assembly
- Avalonia.Base.dll
[PrivateApi]
public struct RuntimePlatformInfo : IEquatable<RuntimePlatformInfo>
- Implements
-
- Inherited Members
-
Properties
public FormFactorType FormFactor { get; }
Property Value
- FormFactorType
public bool IsDesktop { readonly get; set; }
Property Value
- bool
public bool IsMobile { readonly get; set; }
Property Value
- bool
public bool IsTV { readonly get; set; }
Property Value
- bool
Methods
public readonly bool Equals(RuntimePlatformInfo other)
Parameters
other
RuntimePlatformInfo
Returns
- bool
public override readonly bool Equals(object obj)
Parameters
obj
object
Returns
- bool
public override readonly int GetHashCode()
Returns
- int
public override string ToString()
Returns
- string
Operators
public static bool operator ==(RuntimePlatformInfo left, RuntimePlatformInfo right)
Parameters
left
RuntimePlatformInfo
right
RuntimePlatformInfo
Returns
- bool
public static bool operator !=(RuntimePlatformInfo left, RuntimePlatformInfo right)
Parameters
left
RuntimePlatformInfo
right
RuntimePlatformInfo
Returns
- bool