Struct StyleInt
Style value that can be either an integer or a StyleKeyword.
Syntax
public struct StyleInt : IStyleValue<int>, IEquatable<StyleInt>
Constructors
StyleInt(Int32)
Declaration
Parameters
Type |
Name |
Description |
Int32 |
v |
|
StyleInt(StyleKeyword)
Declaration
public StyleInt(StyleKeyword keyword)
Parameters
Properties
keyword
Declaration
public StyleKeyword keyword { get; set; }
Property Value
value
Declaration
public int value { get; set; }
Property Value
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Equals(StyleInt)
Declaration
public bool Equals(StyleInt other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
ToString()
Declaration
public override string ToString()
Returns
Operators
Equality(StyleInt, StyleInt)
Declaration
public static bool operator ==(StyleInt lhs, StyleInt rhs)
Parameters
Returns
Implicit(Int32 to StyleInt)
Declaration
public static implicit operator StyleInt(int v)
Parameters
Type |
Name |
Description |
Int32 |
v |
|
Returns
Implicit(StyleKeyword to StyleInt)
Declaration
public static implicit operator StyleInt(StyleKeyword keyword)
Parameters
Returns
Inequality(StyleInt, StyleInt)
Declaration
public static bool operator !=(StyleInt lhs, StyleInt rhs)
Parameters
Returns