You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creates an injector from previously resolved bindings. This bypasses resolution and flattening. This API is the
100
100
recommended way to construct injectors in performance-sensitive parts.
101
-
101
+
102
102
103
103
104
104
@@ -107,14 +107,14 @@ p.location-badge.
107
107
.l-sub-section
108
108
h3 get
109
109
110
-
110
+
111
111
pre.prettyprint
112
112
code.
113
113
get(token, [object Object])
114
-
114
+
115
115
:markdown
116
116
Retrieves an instance from the injector.
117
-
117
+
118
118
119
119
120
120
@@ -123,14 +123,14 @@ p.location-badge.
123
123
.l-sub-section
124
124
h3 getOptional
125
125
126
-
126
+
127
127
pre.prettyprint
128
128
code.
129
129
getOptional(token, [object Object])
130
-
130
+
131
131
:markdown
132
132
Retrieves an instance from the injector.
133
-
133
+
134
134
135
135
136
136
@@ -139,18 +139,18 @@ p.location-badge.
139
139
.l-sub-section
140
140
h3 resolve
141
141
142
-
142
+
143
143
pre.prettyprint
144
144
code.
145
145
resolve(bindings:List, [object Object])
146
-
146
+
147
147
:markdown
148
148
Turns a list of binding definitions into an internal resolved list of resolved bindings.
149
-
149
+
150
150
A resolution is a process of flattening multiple nested lists and converting individual bindings into a
151
151
list of <a href="angular2/di/ResolvedBinding-class"><code>ResolvedBinding</code></a>s. The resolution can be cached by `resolve` for the <a href="angular2/di/Injector-class"><code>Injector</code></a> for
Creates a child injector and loads a new set of bindings into it.
189
-
189
+
190
190
A resolution is a process of flattening multiple nested lists and converting individual bindings into a
191
191
list of <a href="angular2/di/ResolvedBinding-class"><code>ResolvedBinding</code></a>s. The resolution can be cached by `resolve` for the <a href="angular2/di/Injector-class"><code>Injector</code></a> for
0 commit comments