resolve method
T
resolve()
Call this method to get the current provider of this resolver. Note
that it's usually not necessary to call this method; the provider
resolution is done automatically by @EzDIProvider
.
Implementation
T resolve() {
if (this._current == null) {
throw "cannot resolve. current provider is null.";
}
return this._current!;
}