We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2364e30 commit cfc160dCopy full SHA for cfc160d
Syllabore/Syllabore/IRandomizable.cs
@@ -0,0 +1,23 @@
1
+using System;
2
+
3
+namespace Syllabore
4
+{
5
+ /// <summary>
6
+ /// Represents an entity that simulates
7
+ /// randomness using system class <see cref="System.Random"/>.
8
+ /// <para>
9
+ /// The purpose of this interface is to make the entity's
10
+ /// instance of <see cref="System.Random"/>
11
+ /// available for retrieval and modification. This is important
12
+ /// for controlling seeds during testing.
13
+ /// </para>
14
+ /// </summary>
15
+ public interface IRandomizable
16
+ {
17
18
+ /// The instance of <see cref="System.Random"/> used to
19
+ /// simulate randomness.
20
21
+ Random Random { get; set; }
22
+ }
23
+}
0 commit comments