Skip to content
This repository has been archived by the owner on Dec 25, 2018. It is now read-only.

Commit

Permalink
Updated TypeValidator and improved test coverage.
Browse files Browse the repository at this point in the history
  • Loading branch information
electricessence committed May 27, 2016
1 parent 6a1b9af commit eb94236
Show file tree
Hide file tree
Showing 125 changed files with 2,902 additions and 52 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "typescript-dotnet",
"version": "2.16.5",
"version": "2.16.6",
"ignore": [
".bowercc",
".gitignore",
Expand Down
22 changes: 22 additions & 0 deletions dist/amd/System/ResolverBase.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*!
* @author electricessence / https://github.com/electricessence/
* Licensing: MIT https://github.com/electricessence/TypeScript.NET/blob/master/LICENSE.md
*/
import { DisposableBase } from "./Disposable/DisposableBase";
import { Func } from "./FunctionTypes";
export declare abstract class ResolverBase<T> extends DisposableBase {
protected _valueFactory: Func<T>;
private _trapExceptions;
private _allowReset;
protected _isValueCreated: boolean;
protected _value: T;
constructor(_valueFactory: Func<T>, _trapExceptions: boolean, _allowReset?: boolean);
protected _error: any;
protected getError(): any;
error: any;
getValue(): T;
canReset: boolean;
protected _onDispose(): void;
tryReset(): boolean;
}
export default ResolverBase;
6 changes: 6 additions & 0 deletions dist/amd/System/ResolverBase.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/amd/System/ResolverBase.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions dist/amd/System/Threading/Tasks/Task.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/*!
* @author electricessence / https://github.com/electricessence/
* Licensing: MIT https://github.com/electricessence/TypeScript.NET/blob/master/LICENSE.md
*/
import { TaskHandlerBase } from "./TaskHandlerBase";
import { Func } from "../../FunctionTypes";
import { ITaskState } from "./ITaskState";
export declare class Task<T> extends TaskHandlerBase {
private _result;
constructor(valueFactory: Func<T>);
protected _onExecute(): void;
protected getResult(): T;
protected getState(): ITaskState<T>;
start(defer?: number): void;
runSynchronously(): void;
state: ITaskState<T>;
result: T;
error: any;
protected _onDispose(): void;
}
export default Task;
6 changes: 6 additions & 0 deletions dist/amd/System/Threading/Tasks/Task.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit eb94236

Please sign in to comment.