1 | import {bind, provide, Provider} from 'angular2/src/core/di';
|
2 | import {BaseException, WrappedException} from 'angular2/src/facade/exceptions';
|
3 |
|
4 | import {MeasureValues} from './measure_values';
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 | export abstract class Validator {
|
12 | static bindTo(delegateToken): Provider[] {
|
13 | return [bind(Validator).toFactory((delegate) => delegate, [delegateToken])];
|
14 | }
|
15 |
|
16 | |
17 |
|
18 |
|
19 | validate(completeSample: MeasureValues[]): MeasureValues[] { throw new BaseException('NYI'); }
|
20 |
|
21 | |
22 |
|
23 |
|
24 |
|
25 | describe(): {[key: string]: any} { throw new BaseException('NYI'); }
|
26 | }
|