WIP
DirectOutput framework for virtual pinball cabinets WIP
Go to:
Overview
Main Page
Related Pages
Packages
Classes
Files
File List
File Members
ByteExtensions.cs
Go to the documentation of this file.
1
using
System
;
2
using
System
.Collections.Generic;
3
using
System
.
Linq
;
4
using
System
.Text;
5
6
10
public
static
class
byteExtensions
11
{
18
public
static
byte Limit(
this
byte d, byte MinValue, byte MaxValue)
19
{
20
if
(d < MinValue)
return
MinValue;
21
if
(d > MaxValue)
return
MaxValue;
22
return
d;
23
}
24
}
25
System.Linq
System
DirectOutput
Extensions
ByteExtensions.cs
Generated on Sat Nov 19 2016 19:32:46 for WIP by
1.8.9.1