Skip to content

Commit a987ba8

Browse files
authored
add csharp examples to doxygen (#3148)
Co-authored-by: Alex Koksin <alex.koksin@meshinspector.com>
1 parent 912d151 commit a987ba8

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

doxygen/HowToExamples.dox

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ This page contains some examples of using MeshLib
1010

1111
\subpage CppCodeExamples
1212

13+
\subpage CSharpCodeExamples
14+
1315
\subpage PythonCodeExamples
1416

1517
\subpage CCodeExamples
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/**
2+
\page CSharpCodeExamples C# Basic Examples
3+
4+
\subpage ExampleCSharpMeshBoolean
5+
*/

examples/c--sharp-example/MeshBoolean.cs renamed to examples/c--sharp-example/MeshBoolean.dox.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
using MR.DotNet;
1+
/// \page ExampleCSharpMeshBoolean Mesh boolean
2+
///
3+
/// Example of Boolean operation
4+
///
5+
/// \code
6+
using MR.DotNet;
27
using System;
38
using System.Reflection;
49

@@ -36,3 +41,4 @@ static void Main(string[] args)
3641
}
3742
}
3843
}
44+
/// \endcode

0 commit comments

Comments
 (0)