Skip to content

Commit 9a14cc5

Browse files
committed
C#: Document missing c# class/methods
Signed-off-by: Robin Getz <[email protected]>
1 parent 5fb5d4a commit 9a14cc5

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

bindings/csharp/Context.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ private static extern IntPtr iio_create_context_from_uri(
100100

101101
/// <summary>Retrieve a human-readable information string about the current context.</summary>
102102
public readonly string description;
103+
/// <summary>Retrieve a information about the version context.</summary>
103104
public readonly Version library_version, backend_version;
104105

105106
/// <summary>A <c>List</c> of all the IIO devices present on the current context.</summary>

bindings/csharp/IOBuffer.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ public void push(uint samples_count)
103103
circular_buffer_pushed = true;
104104
}
105105

106+
/// <summary>Submit all the samples contained in this buffer to the hardware.</summary>
106107
public void push()
107108
{
108109
push(this.samples_count);

bindings/csharp/Trigger.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,13 @@ public ulong get_rate()
5454
throw new Exception("Trigger has no frequency?");
5555
}
5656

57+
/// <summary>Set Trigger.</summary>
5758
public new void set_trigger(Trigger trig)
5859
{
5960
throw new InvalidComObjectException("Device is already a trigger");
6061
}
6162

63+
/// <summary>Get trigger.</summary>
6264
public new Trigger get_trigger()
6365
{
6466
throw new InvalidComObjectException("Device is already a trigger");

0 commit comments

Comments
 (0)