Mercurial > pub > bltoolkit
comparison Source/Common/IOperable.cs @ 0:f990fcb411a9
Копия текущей версии из github
author | cin |
---|---|
date | Thu, 27 Mar 2014 21:46:09 +0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:f990fcb411a9 |
---|---|
1 using System; | |
2 | |
3 namespace BLToolkit.Common | |
4 { | |
5 public interface IOperable<T> | |
6 { | |
7 T Addition (T op1, T op2); | |
8 T Subtraction (T op1, T op2); | |
9 T Multiply (T op1, T op2); | |
10 T Division (T op1, T op2); | |
11 T Modulus (T op1, T op2); | |
12 | |
13 T BitwiseAnd (T op1, T op2); | |
14 T BitwiseOr (T op1, T op2); | |
15 T ExclusiveOr (T op1, T op2); | |
16 | |
17 T UnaryNegation (T op); | |
18 T OnesComplement (T op); | |
19 | |
20 bool Equality (T op1, T op2); | |
21 bool Inequality (T op1, T op2); | |
22 bool GreaterThan (T op1, T op2); | |
23 bool GreaterThanOrEqual(T op1, T op2); | |
24 bool LessThan (T op1, T op2); | |
25 bool LessThanOrEqual (T op1, T op2); | |
26 } | |
27 } | |
28 |