Class SolveHandle
Handle for solve calls.
Inheritance
System.Object
SolveHandle
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
Assembly: ClingoSharp.dll
Syntax
public sealed class SolveHandle : IEnumerable<Model>, IEnumerable
Constructors
| Improve this Doc View SourceSolveHandle(SolveHandle)
Declaration
public SolveHandle(SolveHandle clingoSolveHandle)
Parameters
Type | Name | Description |
---|---|---|
SolveHandle | clingoSolveHandle |
Methods
| Improve this Doc View SourceCancel()
Declaration
public void Cancel()
Get()
Declaration
public SolveResult Get()
Returns
Type | Description |
---|---|
SolveResult |
GetEnumerator()
Declaration
public IEnumerator<Model> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<Model> |
Resume()
Declaration
public void Resume()
Wait(Nullable<Single>)
Declaration
public bool Wait(float? timeout = default(float? ))
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Single> | timeout |
Returns
Type | Description |
---|---|
System.Boolean |
Operators
| Improve this Doc View SourceImplicit(SolveHandle to SolveHandle)
Declaration
public static implicit operator SolveHandle(SolveHandle clingoSolveHandle)
Parameters
Type | Name | Description |
---|---|---|
SolveHandle | clingoSolveHandle |
Returns
Type | Description |
---|---|
SolveHandle |
Implicit(SolveHandle to SolveHandle)
Declaration
public static implicit operator SolveHandle(SolveHandle solveHandle)
Parameters
Type | Name | Description |
---|---|---|
SolveHandle | solveHandle |
Returns
Type | Description |
---|---|
SolveHandle |
Explicit Interface Implementations
| Improve this Doc View SourceIEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable