root / trunk / hammock / src / net35 / Hammock / Specifications / CompositeSpecificationBase.cs @ 0eea575a
History | View | Annotate | Download (419 Bytes)
1 |
namespace Hammock.Specifications |
---|---|
2 |
{ |
3 |
internal abstract class CompositeSpecificationBase<T> : HammockSpecification<T> |
4 |
{ |
5 |
protected CompositeSpecificationBase(ISpecification<T> one, ISpecification<T> other) |
6 |
{ |
7 |
One = one; |
8 |
Other = other; |
9 |
} |
10 |
|
11 |
public ISpecification<T> One { get; private set; } |
12 |
public ISpecification<T> Other { get; private set; } |
13 |
} |
14 |
} |