This repository has been archived by the owner on Dec 25, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated TypeValidator and improved test coverage.
- Loading branch information
electricessence
committed
May 27, 2016
1 parent
6a1b9af
commit eb94236
Showing
125 changed files
with
2,902 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.