Exemple #1
0
 internal static bool IsFalse(this Interop.SciterGraphics.GRAPHIN_RESULT result, Interop.SciterGraphics.GRAPHIN_RESULT value)
 {
     return(!result.IsTrue(value));
 }
Exemple #2
0
 internal static bool IsFalse(this Interop.SciterGraphics.GRAPHIN_RESULT result, params Interop.SciterGraphics.GRAPHIN_RESULT[] values)
 {
     return(!IsTrue(result, values));
 }
Exemple #3
0
 internal static bool IsTrue(this Interop.SciterGraphics.GRAPHIN_RESULT result, Interop.SciterGraphics.GRAPHIN_RESULT value)
 {
     return(result == value);
 }
Exemple #4
0
 internal static bool IsTrue(this Interop.SciterGraphics.GRAPHIN_RESULT result, params Interop.SciterGraphics.GRAPHIN_RESULT[] values)
 {
     return(values?.Contains(result) == true);
 }
Exemple #5
0
 internal static bool IsNotSupported(this Interop.SciterGraphics.GRAPHIN_RESULT result)
 {
     return(result.IsTrue(Interop.SciterGraphics.GRAPHIN_RESULT.GRAPHIN_NOTSUPPORTED));
 }
Exemple #6
0
 internal static bool IsBadParameter(this Interop.SciterGraphics.GRAPHIN_RESULT result)
 {
     return(result.IsTrue(Interop.SciterGraphics.GRAPHIN_RESULT.GRAPHIN_BAD_PARAM));
 }
Exemple #7
0
 internal static bool IsFailure(this Interop.SciterGraphics.GRAPHIN_RESULT result)
 {
     return(result.IsTrue(Interop.SciterGraphics.GRAPHIN_RESULT.GRAPHIN_FAILURE));
 }
Exemple #8
0
 internal static bool IsPanic(this Interop.SciterGraphics.GRAPHIN_RESULT result)
 {
     return(result.IsTrue(Interop.SciterGraphics.GRAPHIN_RESULT.GRAPHIN_PANIC));
 }
Exemple #9
0
 internal static bool IsOk(this Interop.SciterGraphics.GRAPHIN_RESULT result)
 {
     return(result.IsTrue(Interop.SciterGraphics.GRAPHIN_RESULT.GRAPHIN_OK));
 }