/*! * @author electricessence / https://github.com/electricessence/ * Licensing: MIT https://github.com/electricessence/TypeScript.NET/blob/master/LICENSE.md */ import { ILazy } from "./ILazy"; import { Func } from "./FunctionTypes"; import { ResolverBase } from "./ResolverBase"; export declare class Lazy extends ResolverBase implements ILazy { constructor(valueFactory: Func, trapExceptions?: boolean, allowReset?: boolean); readonly isValueCreated: boolean; readonly value: T; equals(other: Lazy): boolean; valueEquals(other: Lazy): boolean; static create(valueFactory: Func, trapExceptions?: boolean, allowReset?: boolean): Lazy; } export declare class ResettableLazy extends Lazy { constructor(valueFactory: Func, trapExceptions?: boolean); static create(valueFactory: Func, trapExceptions?: boolean): ResettableLazy; } export default Lazy;