Class TruthValue
Inheritance
System.Object
TruthValue
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ClingoSharp.CoreServices.Types
Assembly: ClingoSharp.CoreServices.dll
Syntax
public sealed class TruthValue : IClingoObject
Properties
| Improve this Doc View SourceValue
Declaration
public int Value { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Operators
| Improve this Doc View SourceImplicit(TruthValue to Int32)
Convert a truth value object into the basic type.
Declaration
public static implicit operator int (TruthValue literal)
Parameters
Type | Name | Description |
---|---|---|
TruthValue | literal |
Returns
Type | Description |
---|---|
System.Int32 |
Implicit(Int32 to TruthValue)
Convert a basic type into a truth value object.
Declaration
public static implicit operator TruthValue(int value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | value |
Returns
Type | Description |
---|---|
TruthValue |