root/UnityWeb/UnityWeb/Library/StructureMap/StructureMap.xml
| 80 | 82 | ||
|---|---|---|---|
4 | <name>StructureMap</name> | 4 | <name>StructureMap</name> |
5 | </assembly> | 5 | </assembly> |
6 | <members> | 6 | <members> |
7 | <member name="M:StructureMap.IContext.GetInstance``1"> | 7 | <member name="M:StructureMap.Graph.TypeRules.CanBeCast(System.Type,System.Type)"> |
8 | <summary> | 8 | <summary> |
9 | Get the object of type T that is valid for this build session. | 9 | Determines if the pluggedType can be upcast to the pluginType |
10 | </summary> | 10 | </summary> |
11 | <param name="pluginType"></param> | ||
12 | <param name="pluggedType"></param> | ||
13 | <returns></returns> | ||
14 | </member> | ||
15 | <member name="M:StructureMap.Graph.TypeRules.IsExplicitlyMarkedAsPlugin(System.Type,System.Type)"> | ||
16 | <summary> | ||
17 | Determines if the PluggedType is a valid Plugin into the | ||
18 | PluginType | ||
19 | </summary> | ||
20 | <param name="pluginType"></param> | ||
21 | <param name="pluggedType"></param> | ||
22 | <returns></returns> | ||
23 | </member> | ||
24 | <member name="T:StructureMap.ObjectFactory"> | ||
25 | <summary> | ||
26 | The main static Facade for the StructureMap container | ||
27 | </summary> | ||
28 | </member> | ||
29 | <member name="M:StructureMap.ObjectFactory.Reset"> | ||
30 | <summary> | ||
31 | Restarts ObjectFactory and blows away all Singleton's and cached instances. Use with caution. | ||
32 | </summary> | ||
33 | </member> | ||
34 | <member name="M:StructureMap.ObjectFactory.Inject(System.Type,System.Object)"> | ||
35 | <summary> | ||
36 | Injects the given object into a Container as the default for the designated | ||
37 | pluginType. Mostly used for temporarily setting up return values of the Container | ||
38 | to introduce mocks or stubs during automated testing scenarios | ||
39 | </summary> | ||
40 | <param name="pluginType"></param> | ||
41 | <param name="instance"></param> | ||
42 | </member> | ||
43 | <member name="M:StructureMap.ObjectFactory.Inject``1(``0)"> | ||
44 | <summary> | ||
45 | Injects the given object into a Container as the default for the designated | ||
46 | PLUGINTYPE. Mostly used for temporarily setting up return values of the Container | ||
47 | to introduce mocks or stubs during automated testing scenarios | ||
48 | </summary> | ||
49 | <typeparam name="PLUGINTYPE"></typeparam> | ||
50 | <param name="instance"></param> | ||
51 | </member> | ||
52 | <member name="M:StructureMap.ObjectFactory.Inject``1(System.String,``0)"> | ||
53 | <summary> | ||
54 | Injects the given object into a Container by name for the designated | ||
55 | pluginType. Mostly used for temporarily setting up return values of the Container | ||
56 | to introduce mocks or stubs during automated testing scenarios | ||
57 | </summary> | ||
58 | <typeparam name="PLUGINTYPE"></typeparam> | ||
59 | <param name="name"></param> | ||
60 | <param name="instance"></param> | ||
61 | </member> | ||
62 | <member name="M:StructureMap.ObjectFactory.WhatDoIHave"> | ||
63 | <summary> | ||
64 | Returns a report detailing the complete configuration of all PluginTypes and Instances | ||
65 | </summary> | ||
66 | <returns></returns> | ||
67 | </member> | ||
68 | <member name="M:StructureMap.ObjectFactory.AssertConfigurationIsValid"> | ||
69 | <summary> | ||
70 | Use with caution! Does a full environment test of the configuration of this container. Will try to create every configured | ||
71 | instance and afterward calls any methods marked with the [ValidationMethod] attribute | ||
72 | </summary> | ||
73 | </member> | ||
74 | <member name="M:StructureMap.ObjectFactory.GetInstance(System.Type)"> | ||
75 | <summary> | ||
76 | Creates or finds the default instance of the pluginType | ||
77 | </summary> | ||
78 | <param name="pluginType"></param> | ||
79 | <returns></returns> | ||
80 | </member> | ||
81 | <member name="M:StructureMap.ObjectFactory.GetInstance``1"> | ||
82 | <summary> | ||
83 | Creates or finds the default instance of type T | ||
84 | </summary> | ||
85 | <typeparam name="PLUGINTYPE"></typeparam> | ||
86 | <returns></returns> | ||
87 | </member> | ||
88 | <member name="M:StructureMap.ObjectFactory.GetInstance(System.Type,StructureMap.Pipeline.Instance)"> | ||
89 | <summary> | ||
90 | Creates a new instance of the requested type using the supplied Instance. Mostly used internally | ||
91 | </summary> | ||
92 | <param name="targetType"></param> | ||
93 | <param name="instance"></param> | ||
94 | <returns></returns> | ||
95 | </member> | ||
96 | <member name="M:StructureMap.ObjectFactory.GetInstance``1(StructureMap.Pipeline.Instance)"> | ||
97 | <summary> | ||
98 | Creates a new instance of the requested type T using the supplied Instance. Mostly used internally | ||
99 | </summary> | ||
100 | <param name="instance"></param> | ||
101 | <returns></returns> | ||
102 | </member> | ||
103 | <member name="M:StructureMap.ObjectFactory.GetNamedInstance(System.Type,System.String)"> | ||
104 | <summary> | ||
105 | Creates or finds the named instance of the pluginType | ||
106 | </summary> | ||
107 | <param name="pluginType"></param> | ||
108 | <param name="name"></param> | ||
109 | <returns></returns> | ||
110 | </member> | ||
111 | <member name="M:StructureMap.ObjectFactory.GetNamedInstance``1(System.String)"> | ||
112 | <summary> | ||
113 | Creates or finds the named instance of T | ||
114 | </summary> | ||
115 | <typeparam name="PLUGINTYPE"></typeparam> | ||
116 | <param name="name"></param> | ||
117 | <returns></returns> | ||
118 | </member> | ||
119 | <member name="M:StructureMap.ObjectFactory.GetAllInstances(System.Type)"> | ||
120 | <summary> | ||
121 | Creates or resolves all registered instances of the pluginType | ||
122 | </summary> | ||
123 | <param name="pluginType"></param> | ||
124 | <returns></returns> | ||
125 | </member> | ||
126 | <member name="M:StructureMap.ObjectFactory.GetAllInstances``1"> | ||
127 | <summary> | ||
128 | Creates or resolves all registered instances of type T | ||
129 | </summary> | ||
130 | <typeparam name="PLUGINTYPE"></typeparam> | ||
131 | <returns></returns> | ||
132 | </member> | ||
133 | <member name="M:StructureMap.ObjectFactory.With``1(``0)"> | ||
134 | <summary> | ||
135 | Starts a request for an instance or instances with explicitly configured arguments. Specifies that any dependency | ||
136 | of type T should be "arg" | ||
137 | </summary> | ||
11 | <typeparam name="T"></typeparam> | 138 | <typeparam name="T"></typeparam> |
139 | <param name="arg"></param> | ||
12 | <returns></returns> | 140 | <returns></returns> |
13 | </member> | 141 | </member> |
14 | <member name="M:StructureMap.IContext.GetInstance``1(System.String)"> | 142 | <member name="M:StructureMap.ObjectFactory.With(System.String)"> |
15 | <summary> | 143 | <summary> |
16 | Get the object of type T that is valid for this build session by name. | 144 | Starts a request for an instance or instances with explicitly configured arguments. Specifies that any dependency or primitive argument |
145 | with the designated name should be the next value. | ||
17 | </summary> | 146 | </summary> |
147 | <param name="argName"></param> | ||
148 | <returns></returns> | ||
149 | </member> | ||
150 | <member name="M:StructureMap.ObjectFactory.EjectAllInstancesOf``1"> | ||
151 | <summary> | ||
152 | Removes all configured instances of type T from the Container. Use with caution! | ||
153 | </summary> | ||
18 | <typeparam name="T"></typeparam> | 154 | <typeparam name="T"></typeparam> |
155 | </member> | ||
156 | <member name="M:StructureMap.ObjectFactory.Configure(System.Action{StructureMap.ConfigurationExpression})"> | ||
157 | <summary> | ||
158 | Used to add additional configuration to a Container *after* the initialization. | ||
159 | </summary> | ||
160 | <param name="configure"></param> | ||
161 | </member> | ||
162 | <member name="M:StructureMap.ObjectFactory.TryGetInstance(System.Type,System.String)"> | ||
163 | <summary> | ||
164 | Creates or finds the named instance of the pluginType. Returns null if the named instance is not known to the container. | ||
165 | </summary> | ||
166 | <param name="pluginType"></param> | ||
167 | <param name="instanceKey"></param> | ||
19 | <returns></returns> | 168 | <returns></returns> |
20 | </member> | 169 | </member> |
21 | <member name="M:StructureMap.IContext.RegisterDefault(System.Type,System.Object)"> | 170 | <member name="M:StructureMap.ObjectFactory.TryGetInstance(System.Type)"> |
22 | <summary> | 171 | <summary> |
23 | Register a default object for the given PluginType that will | 172 | Creates or finds the default instance of the pluginType. Returns null if the pluginType is not known to the container. |
24 | be used throughout the rest of the current object request | ||
25 | </summary> | 173 | </summary> |
26 | <param name="pluginType"></param> | 174 | <param name="pluginType"></param> |
27 | <param name="defaultObject"></param> | 175 | <returns></returns> |
28 | </member> | 176 | </member> |
29 | <member name="M:StructureMap.IContext.TryGetInstance``1"> | 177 | <member name="M:StructureMap.ObjectFactory.TryGetInstance``1"> |
30 | <summary> | 178 | <summary> |
31 | Same as GetInstance, but can gracefully return null if | 179 | Creates or finds the default instance of type T. Returns the default value of T if it is not known to the container. |
32 | the Type does not already exist | ||
33 | </summary> | 180 | </summary> |
34 | <typeparam name="T"></typeparam> | 181 | <typeparam name="T"></typeparam> |
35 | <returns></returns> | 182 | <returns></returns> |
36 | </member> | 183 | </member> |
37 | <member name="M:StructureMap.IContext.TryGetInstance``1(System.String)"> | 184 | <member name="M:StructureMap.ObjectFactory.TryGetInstance``1(System.String)"> |
38 | <summary> | 185 | <summary> |
39 | Same as GetInstance(name), but can gracefully return null if | 186 | Creates or finds the named instance of type T. Returns the default value of T if the named instance is not known to the container. |
40 | the Type and name does not already exist | ||
41 | </summary> | 187 | </summary> |
42 | <typeparam name="T"></typeparam> | 188 | <typeparam name="T"></typeparam> |
43 | <param name="name"></param> | 189 | <param name="instanceKey"></param> |
44 | <returns></returns> | 190 | <returns></returns> |
45 | </member> | 191 | </member> |
46 | <member name="P:StructureMap.IContext.BuildStack"> | 192 | <member name="M:StructureMap.ObjectFactory.BuildUp(System.Object)"> |
47 | <summary> | 193 | <summary> |
48 | Gets a reference to the <see cref="P:StructureMap.IContext.BuildStack">BuildStack</see> for this build session | 194 | The "BuildUp" method takes in an already constructed object |
195 | and uses Setter Injection to push in configured dependencies | ||
196 | of that object | ||
49 | </summary> | 197 | </summary> |
198 | <param name="target"></param> | ||
50 | </member> | 199 | </member> |
51 | <member name="P:StructureMap.IContext.ParentType"> | 200 | <member name="M:StructureMap.ObjectFactory.ForGenericType(System.Type)"> |
52 | <summary> | 201 | <summary> |
53 | The concrete type of the immediate parent object in the object graph | 202 | Convenience method to request an object using an Open Generic |
203 | Type and its parameter Types | ||
54 | </summary> | 204 | </summary> |
205 | <param name="templateType"></param> | ||
206 | <returns></returns> | ||
207 | <example> | ||
208 | IFlattener flattener1 = container.ForGenericType(typeof (IFlattener<>)) | ||
209 | .WithParameters(typeof (Address)).GetInstanceAs<IFlattener>(); | ||
210 | </example> | ||
55 | </member> | 211 | </member> |
56 | <member name="P:StructureMap.IContext.Root"> | 212 | <member name="P:StructureMap.ObjectFactory.Model"> |
57 | <summary> | 213 | <summary> |
58 | Gets the root "frame" of the object request | 214 | Provides queryable access to the configured PluginType's and Instances of the inner Container |
59 | </summary> | 215 | </summary> |
60 | </member> | 216 | </member> |
61 | <member name="P:StructureMap.IContext.RequestedName"> | 217 | <member name="P:StructureMap.ObjectFactory.Profile"> |
62 | <summary> | 218 | <summary> |
63 | The requested instance name of the object graph | 219 | Sets the default instance for all PluginType's to the designated Profile. |
64 | </summary> | 220 | </summary> |
65 | </member> | 221 | </member> |
66 | <member name="T:StructureMap.Configuration.DSL.Expressions.GenericFamilyExpression"> | 222 | <member name="T:StructureMap.Emitting.Parameters.EnumParameterEmitter"> |
67 | <summary> | 223 | <summary> |
224 | Implementation of ParameterEmitter for enumeration types | ||
225 | </summary> | ||
226 | </member> | ||
227 | <member name="T:StructureMap.Emitting.Parameters.ParameterEmitter"> | ||
228 | <summary> | ||
229 | Abstract class to provide a template for emitting the instructions for retrieving | ||
230 | one constructor function argument from an InstanceMemento and feeding into the | ||
231 | constructor function | ||
232 | </summary> | ||
233 | </member> | ||
234 | <member name="T:StructureMap.Configuration.XmlConstants"> | ||
235 | <summary> | ||
236 | Constants for the names of Xml nodes and attributes in the StructureMap.config | ||
237 | file | ||
238 | </summary> | ||
239 | </member> | ||
240 | <member name="T:StructureMap.Emitting.Parameters.ChildParameterEmitter"> | ||
241 | <summary> | ||
242 | Implementation of ParameterEmitter for a non-primitive, non-array | ||
243 | constructor argument | ||
244 | </summary> | ||
245 | </member> | ||
246 | <member name="T:StructureMap.Configuration.DSL.Expressions.CreatePluginFamilyExpression`1"> | ||
247 | <summary> | ||
68 | Expression Builder that has grammars for defining policies at the | 248 | Expression Builder that has grammars for defining policies at the |
69 | PluginType level. This expression is used for registering | 249 | PluginType level |
70 | open generic types | ||
71 | </summary> | 250 | </summary> |
72 | </member> | 251 | </member> |
73 | <member name="M:StructureMap.Configuration.DSL.Expressions.GenericFamilyExpression.TheDefaultIsConcreteType(System.Type)"> | 252 | <member name="M:StructureMap.Configuration.DSL.Expressions.CreatePluginFamilyExpression`1.AddInstances(System.Action{StructureMap.Configuration.DSL.Expressions.IInstanceExpression{`0}})"> |
74 | <summary> | 253 | <summary> |
75 | Convenience method that sets the default concrete type of the PluginType. The "concreteType" | 254 | Add multiple Instance's to this PluginType |
76 | can only accept types that do not have any primitive constructor arguments. | ||
77 | StructureMap has to know how to construct all of the constructor argument types. | ||
78 | </summary> | 255 | </summary> |
79 | <param name="concreteType"></param> | 256 | <param name="action"></param> |
80 | <returns></returns> | 257 | <returns></returns> |
81 | </member> | 258 | </member> |
82 | <member name="M:StructureMap.Configuration.DSL.Expressions.GenericFamilyExpression.AddType(System.Type)"> | 259 | <member name="M:StructureMap.Configuration.DSL.Expressions.CreatePluginFamilyExpression`1.TheDefaultIsConcreteType``1"> |
83 | <summary> | 260 | <summary> |
84 | Shortcut method to add an additional Instance to this Plugin Type | 261 | Convenience method that sets the default concrete type of the PluginType. Type T |
85 | as just a Concrete Type. This will only work if the Concrete Type | 262 | can only accept types that do not have any primitive constructor arguments. |
86 | has no primitive constructor or mandatory Setter arguments. | 263 | StructureMap has to know how to construct all of the constructor argument types. |
87 | </summary> | 264 | </summary> |
88 | <param name="concreteType"></param> | 265 | <typeparam name="CONCRETETYPE"></typeparam> |
89 | <returns></returns> | 266 | <returns></returns> |
90 | </member> | 267 | </member> |
91 | <member name="M:StructureMap.Configuration.DSL.Expressions.GenericFamilyExpression.CacheBy(StructureMap.Attributes.InstanceScope)"> | 268 | <member name="M:StructureMap.Configuration.DSL.Expressions.CreatePluginFamilyExpression`1.CacheBy(StructureMap.Attributes.InstanceScope)"> |
92 | <summary> | 269 | <summary> |
93 | Sets the object creation of the instances of the PluginType. For example: PerRequest, | 270 | Sets the object creation of the instances of the PluginType. For example: PerRequest, |
94 | Singleton, ThreadLocal, HttpContext, or Hybrid | 271 | Singleton, ThreadLocal, HttpContext, or Hybrid |
... | ... | ||
96 | <param name="scope"></param> | 273 | <param name="scope"></param> |
97 | <returns></returns> | 274 | <returns></returns> |
98 | </member> | 275 | </member> |
99 | <member name="M:StructureMap.Configuration.DSL.Expressions.GenericFamilyExpression.OnCreation(System.Action{System.Object})"> | 276 | <member name="M:StructureMap.Configuration.DSL.Expressions.CreatePluginFamilyExpression`1.AsSingletons"> |
100 | <summary> | 277 | <summary> |
278 | Convenience method to mark a PluginFamily as a Singleton | ||
279 | </summary> | ||
280 | <returns></returns> | ||
281 | </member> | ||
282 | <member name="M:StructureMap.Configuration.DSL.Expressions.CreatePluginFamilyExpression`1.OnCreation(System.Action{`0})"> | ||
283 | <summary> | ||
101 | Register an Action to run against any object of this PluginType immediately after | 284 | Register an Action to run against any object of this PluginType immediately after |
102 | it is created, but before the new object is passed back to the caller | 285 | it is created, but before the new object is passed back to the caller |
103 | </summary> | 286 | </summary> |
104 | <param name="action"></param> | 287 | <param name="handler"></param> |
105 | <returns></returns> | 288 | <returns></returns> |
106 | </member> | 289 | </member> |
107 | <member name="M:StructureMap.Configuration.DSL.Expressions.GenericFamilyExpression.EnrichWith(System.Func{System.Object,System.Object})"> | 290 | <member name="M:StructureMap.Configuration.DSL.Expressions.CreatePluginFamilyExpression`1.InterceptWith(StructureMap.Interceptors.InstanceInterceptor)"> |
108 | <summary> | 291 | <summary> |
292 | Adds an Interceptor to only this PluginType | ||
293 | </summary> | ||
294 | <param name="interceptor"></param> | ||
295 | <returns></returns> | ||
296 | </member> | ||
297 | <member
name="M:StructureMap.Configuration.DSL.Expressions.CreatePluginFamilyExpression`1.OnCreation(System.Action{StructureMap.IContext,`0})"> | ||
298 | <summary> | ||
299 | Register an Action to run against any object of this PluginType immediately after | ||
300 | it is created, but before the new object is passed back to the caller | ||
301 | </summary> | ||
302 | <param name="handler"></param> | ||
303 | <returns></returns> | ||
304 | </member> | ||
305 | <member
name="M:StructureMap.Configuration.DSL.Expressions.CreatePluginFamilyExpression`1.EnrichWith(StructureMap.Interceptors.EnrichmentHandler{`0})"> | ||
306 | <summary> | ||
109 | Register a Func to run against any object of this PluginType immediately after it is created, | 307 | Register a Func to run against any object of this PluginType immediately after it is created, |
110 | but before the new object is passed back to the caller. Unlike <see cref="M:StructureMap.Configuration.DSL.Expressions.GenericFamilyExpression.OnCreation(System.Action{System.Object})">OnCreation()</see>, | 308 | but before the new object is passed back to the caller. Unlike <see cref="M:StructureMap.Configuration.DSL.Expressions.CreatePluginFamilyExpression`1.OnCreation(System.Action{`0})">OnCreation()</see>, |
111 | EnrichWith() gives the the ability to return a different object. Use this method for runtime AOP | 309 | EnrichWith() gives the the ability to return a different object. Use this method for runtime AOP |
112 | scenarios or to return a decorator. | 310 | scenarios or to return a decorator. |
113 | </summary> | 311 | </summary> |
114 | <param name="func"></param> | 312 | <param name="handler"></param> |
115 | <returns></returns> | 313 | <returns></returns> |
116 | </member> | 314 | </member> |
117 | <member name="M:StructureMap.Configuration.DSL.Expressions.GenericFamilyExpression.EnrichWith(System.Func{StructureMap.IContext,System.Object,System.Object})"> | 315 | <member name="M:StructureMap.Configuration.DSL.Expressions.CreatePluginFamilyExpression`1.EnrichWith(StructureMap.Interceptors.ContextEnrichmentHandler{`0})"> |
118 | <summary> | 316 | <summary> |
119 | Register a Func to run against any object of this PluginType immediately after it is created, | 317 | Register a Func to run against any object of this PluginType immediately after it is created, |
120 | but before the new object is passed back to the caller. Unlike <see cref="M:StructureMap.Configuration.DSL.Expressions.GenericFamilyExpression.OnCreation(System.Action{System.Object})">OnCreation()</see>, | 318 | but before the new object is passed back to the caller. Unlike <see cref="M:StructureMap.Configuration.DSL.Expressions.CreatePluginFamilyExpression`1.OnCreation(System.Action{StructureMap.IContext,`0})">OnCreation()</see>, |
121 | EnrichWith() gives the the ability to return a different object. Use this method for runtime AOP | 319 | EnrichWith() gives the the ability to return a different object. Use this method for runtime AOP |
122 | scenarios or to return a decorator. | 320 | scenarios or to return a decorator. |
123 | </summary> | 321 | </summary> |
124 | <param name="func"></param> | 322 | <param name="handler"></param> |
125 | <returns></returns> | 323 | <returns></returns> |
126 | </member> | 324 | </member> |
127 | <member name="M:StructureMap.Configuration.DSL.Expressions.GenericFamilyExpression.InterceptConstructionWith(StructureMap.Pipeline.IBuildInterceptor)"> | 325 | <member name="M:StructureMap.Configuration.DSL.Expressions.CreatePluginFamilyExpression`1.AddConcreteType``1"> |
128 | <summary> | 326 | <summary> |
327 | Shortcut method to add an additional Instance to this Plugin Type | ||
328 | as just a Concrete Type. This will only work if the Concrete Type | ||
329 | has no primitive constructor or mandatory Setter arguments. | ||
330 | </summary> | ||
331 | <typeparam name="PLUGGEDTYPE"></typeparam> | ||
332 | <returns></returns> | ||
333 | </member> | ||
334 | <member name="M:StructureMap.Configuration.DSL.Expressions.CreatePluginFamilyExpression`1.InterceptConstructionWith(StructureMap.Pipeline.IBuildInterceptor)"& gt; | ||
335 | <summary> | ||
129 | Registers an IBuildInterceptor for this Plugin Type that executes before | 336 | Registers an IBuildInterceptor for this Plugin Type that executes before |
130 | any object of this PluginType is created. IBuildInterceptor's can be | 337 | any object of this PluginType is created. IBuildInterceptor's can be |
131 | used to create a custom scope | 338 | used to create a custom scope |
... | ... | ||
133 | <param name="interceptor"></param> | 340 | <param name="interceptor"></param> |
134 | <returns></returns> | 341 | <returns></returns> |
135 | </member> | 342 | </member> |
136 | <member name="M:StructureMap.Configuration.DSL.Expressions.GenericFamilyExpression.AddConcreteType(System.Type)"> | 343 | <member name="M:StructureMap.Configuration.DSL.Expressions.CreatePluginFamilyExpression`1.BuildPolicyIs(StructureMap.Pipeline.IBuildInterceptor)"> |
137 | <summary> | 344 | <summary> |
138 | Shortcut method to add an additional Instance to this Plugin Type | 345 | Registers an IBuildInterceptor for this Plugin Type that executes before |
139 | as just a Concrete Type. You can also chain other declarations after | 346 | any object of this PluginType is created. IBuildInterceptor's can be |
140 | this method to add constructor and setter arguments | 347 | used to create a custom scope |
141 | </summary> | 348 | </summary> |
142 | <param name="concreteType"></param> | 349 | <param name="interceptor"></param> |
143 | <returns></returns> | 350 | <returns></returns> |
144 | </member> | 351 | </member> |
145 | <member name="M:StructureMap.Configuration.DSL.Expressions.GenericFamilyExpression.AddConcreteType(System.Type,System.String)"> | 352 | <member name="M:StructureMap.Configuration.DSL.Expressions.CreatePluginFamilyExpression`1.AddInstancesFrom(StructureMap.MementoSource)"> |
146 | <summary> | 353 | <summary> |
147 | Shortcut method to add an additional Instance to this Plugin Type | 354 | Largely deprecated and unnecessary with the ability to add Xml configuration files |
148 | as just a Concrete Type by a specified name. You can also chain other declarations after | ||
149 | this method to add constructor and setter arguments | ||
150 | </summary> | 355 | </summary> |
151 | <param name="concreteType"></param> | 356 | <param name="source"></param> |
152 | <param name="instanceName"></param> | ||
153 | <returns></returns> | 357 | <returns></returns> |
154 | </member> | 358 | </member> |
155 | <member name="M:StructureMap.IExplicitProperty.EqualTo(System.Object)"> | 359 | <member name="M:StructureMap.Configuration.DSL.Expressions.CreatePluginFamilyExpression`1.AlwaysUnique"> |
156 | <summary> | 360 | <summary> |
157 | Specify the value of this explicit argument | 361 | Forces StructureMap to always use a unique instance to |
362 | stop the "BuildSession" caching | ||
158 | </summary> | 363 | </summary> |
159 | <param name="value"></param> | ||
160 | <returns></returns> | 364 | <returns></returns> |
161 | </member> | 365 | </member> |
162 | <member name="M:StructureMap.ExplicitArgsExpression.With``1(``0)"> | 366 | <member name="P:StructureMap.Configuration.DSL.Expressions.CreatePluginFamilyExpression`1.TheDefault"> |
163 | <summary> | 367 | <summary> |
164 | Pass in additional arguments by type T | 368 | Define the Default Instance for this PluginType |
165 | </summary> | 369 | </summary> |
166 | <typeparam name="T"></typeparam> | ||
167 | <param name="arg"></param> | ||
168 | <returns></returns> | ||
169 | </member> | 370 | </member> |
170 | <member name="M:StructureMap.ExplicitArgsExpression.With(System.String)"> | 371 | <member name="M:StructureMap.IContext.GetInstance``1"> |
171 | <summary> | 372 | <summary> |
172 | Pass in additional arguments by name | 373 | Get the object of type T that is valid for this build session. |
173 | </summary> | 374 | </summary> |
174 | <param name="argName"></param> | 375 | <typeparam name="T"></typeparam> |
175 | <returns></returns> | 376 | <returns></returns> |
176 | </member> | 377 | </member> |
177 | <member name="M:StructureMap.ExplicitArgsExpression.GetInstance``1"> | 378 | <member name="M:StructureMap.IContext.GetInstance``1(System.String)"> |
178 | <summary> | 379 | <summary> |
179 | Gets the default instance of type T using the explicitly configured arguments from the "args" | 380 | Get the object of type T that is valid for this build session by name. |
180 | </summary> | 381 | </summary> |
181 | <typeparam name="T"></typeparam> | 382 | <typeparam name="T"></typeparam> |
182 | <param name="args"></param> | ||
183 | <returns></returns> | 383 | <returns></returns> |
184 | </member> | 384 | </member> |
185 | <member name="M:StructureMap.ExplicitArgsExpression.GetInstance(System.Type)"> | 385 | <member name="M:StructureMap.IContext.RegisterDefault(System.Type,System.Object)"> |
186 | <summary> | 386 | <summary> |
187 | Gets the default instance of the pluginType using the explicitly configured arguments from the "args" | 387 | Register a default object for the given PluginType that will |
388 | be used throughout the rest of the current object request | ||
188 | </summary> | 389 | </summary> |
189 | <param name="pluginType"></param> | 390 | <param name="pluginType"></param> |
190 | <param name="args"></param> | 391 | <param name="defaultObject"></param> |
191 | <returns></returns> | ||
192 | </member> | 392 | </member> |
193 | <member name="M:StructureMap.ExplicitArgsExpression.GetAllInstances``1"> | 393 | <member name="M:StructureMap.IContext.TryGetInstance``1"> |
194 | <summary> | 394 | <summary> |
195 | Gets all configured instances of type T using explicitly configured arguments | 395 | Same as GetInstance, but can gracefully return null if |
396 | the Type does not already exist | ||
196 | </summary> | 397 | </summary> |
197 | <typeparam name="T"></typeparam> | 398 | <typeparam name="T"></typeparam> |
198 | <returns></returns> | 399 | <returns></returns> |
199 | </member> | 400 | </member> |
200 | <member name="M:StructureMap.Graph.TypeRules.CanBeCast(System.Type,System.Type)"> | 401 | <member name="M:StructureMap.IContext.TryGetInstance``1(System.String)"> |
201 | <summary> | 402 | <summary> |
202 | Determines if the pluggedType can be upcast to the pluginType | 403 | Same as GetInstance(name), but can gracefully return null if |
404 | the Type and name does not already exist | ||
203 | </summary> | 405 | </summary> |
204 | <param name="pluginType"></param> | 406 | <typeparam name="T"></typeparam> |
205 | <param name="pluggedType"></param> | 407 | <param name="name"></param> |
206 | <returns></returns> | 408 | <returns></returns> |
207 | </member> | 409 | </member> |
208 | <member name="M:StructureMap.Graph.TypeRules.IsExplicitlyMarkedAsPlugin(System.Type,System.Type)"> | 410 | <member name="P:StructureMap.IContext.BuildStack"> |
209 | <summary> | 411 | <summary> |
210 | Determines if the PluggedType is a valid Plugin into the | 412 | Gets a reference to the <see cref="P:StructureMap.IContext.BuildStack">BuildStack</see> for this build session |
211 | PluginType | ||
212 | </summary> | 413 | </summary> |
213 | <param name="pluginType"></param> | ||
214 | <param name="pluggedType"></param> | ||
215 | <returns></returns> | ||
216 | </member> | 414 | </member> |
217 | <member name="M:StructureMap.Graph.Constructor.GetConstructor(System.Type)"> | 415 | <member name="P:StructureMap.IContext.ParentType"> |
218 | <summary> | 416 | <summary> |
219 | Returns the System.Reflection.ConstructorInfo for the PluggedType. Uses either | 417 | The concrete type of the immediate parent object in the object graph |
220 | the "greediest" constructor with the most arguments or the constructor function | ||
221 | marked with the [DefaultConstructor] | ||
222 | </summary> | 418 | </summary> |
223 | <returns></returns> | ||
224 | </member> | 419 | </member> |
225 | <member name="P:StructureMap.Graph.IPluginFamily.DefaultInstanceKey"> | 420 | <member name="P:StructureMap.IContext.Root"> |
226 | <summary> | 421 | <summary> |
227 | The InstanceKey of the default instance of the PluginFamily | 422 | Gets the root "frame" of the object request |
228 | </summary> | 423 | </summary> |
229 | </member> | 424 | </member> |
230 | <member name="P:StructureMap.Graph.IPluginFamily.PluginType"> | 425 | <member name="P:StructureMap.IContext.RequestedName"> |
231 | <summary> | 426 | <summary> |
232 | The CLR Type that defines the "Plugin" interface for the PluginFamily | 427 | The requested instance name of the object graph |
233 | </summary> | 428 | </summary> |
234 | </member> | 429 | </member> |
235 | <member name="M:StructureMap.Graph.IAssemblyScanner.Assembly(System.Reflection.Assembly)"> | 430 | <member name="T:StructureMap.MemoryInstanceMemento"> |
236 | <summary> | 431 | <summary> |
237 | Add an Assembly to the scanning operation | 432 | An in-memory implementation of InstanceMemento. |
238 | </summary> | 433 | </summary> |
239 | <param name="assembly"></param> | ||
240 | </member> | 434 | </member> |
241 | <member name="M:StructureMap.Graph.IAssemblyScanner.Assembly(System.String)"> | 435 | <member name="T:StructureMap.InstanceMemento"> |
242 | <summary> | 436 | <summary> |
243 | Add an Assembly by name to the scanning operation | 437 | GoF Memento representing an Object Instance |
244 | </summary> | 438 | </summary> |
245 | <param name="assemblyName"></param> | ||
246 | </member> | 439 | </member> |
247 | <member name="M:StructureMap.Graph.IAssemblyScanner.TheCallingAssembly"> | 440 | <member name="M:StructureMap.InstanceMemento.GetProperty(System.String)"> |
248 | <summary> | 441 | <summary> |
249 | Add the currently executing Assembly to the scanning operation | 442 | Retrieves the named property value as a string |
250 | </summary> | 443 | </summary> |
444 | <param name="Key"></param> | ||
445 | <returns></returns> | ||
251 | </member> | 446 | </member> |
252 | <member name="M:StructureMap.Graph.IAssemblyScanner.AssemblyContainingType``1"> | 447 | <member name="M:StructureMap.InstanceMemento.getPropertyValue(System.String)"> |
253 | <summary> | 448 | <summary> |
254 | Add the Assembly that contains type T to the scanning operation | 449 | Template method for implementation specific retrieval of the named property |
255 | </summary> | 450 | </summary> |
256 | <typeparam name="T"></typeparam> | 451 | <param name="Key"></param> |
452 | <returns></returns> | ||
257 | </member> | 453 | </member> |
258 | <member name="M:StructureMap.Graph.IAssemblyScanner.AssemblyContainingType(System.Type)"> | 454 | <member name="M:StructureMap.InstanceMemento.GetChildMemento(System.String)"> |
259 | <summary> | 455 | <summary> |
260 | Add the Assembly that contains type to the scanning operation | 456 | Returns the named child InstanceMemento |
261 | </summary> | 457 | </summary> |
262 | <param name="type"></param> | 458 | <param name="Key"></param> |
459 | <returns></returns> | ||
263 | </member> | 460 | </member> |
264 | <member name="M:StructureMap.Graph.IAssemblyScanner.AssembliesFromPath(System.String)"> | 461 | <member name="M:StructureMap.InstanceMemento.getChild(System.String)"> |
265 | <summary> | 462 | <summary> |
266 | Sweep the designated path and add any Assembly's found in this folder to the | 463 | Template method for implementation specific retrieval of the named property |
267 | scanning operation | ||
268 | </summary> | 464 | </summary> |
269 | <param name="path"></param> | 465 | <param name="Key"></param> |
466 | <returns></returns> | ||
270 | </member> | 467 | </member> |
271 | <member name="M:StructureMap.Graph.IAssemblyScanner.AssembliesFromPath(System.String,System.Predicate{System.Reflection.Assembly})"> | 468 | <member name="M:StructureMap.InstanceMemento.GetChildrenArray(System.String)"> |
272 | <summary> | 469 | <summary> |
273 | Sweep the designated path and add any Assembly's found in this folder to the | 470 | This method is made public for testing. It is not necessary for normal usage. |
274 | scanning operation. The assemblyFilter can be used to filter or limit the | ||
275 | Assembly's that are picked up. | ||
276 | </summary> | 471 | </summary> |
277 | <param name="path"></param> | 472 | <returns></returns> |
278 | <param name="assemblyFilter"></param> | ||
279 | </member> | 473 | </member> |
280 | <member name="M:StructureMap.Graph.IAssemblyScanner.With(StructureMap.Graph.ITypeScanner)"> | 474 | <member name="M:StructureMap.InstanceMemento.Substitute(StructureMap.InstanceMemento)"> |
281 | <summary> | 475 | <summary> |
282 | Adds an ITypeScanner object to the scanning operation | 476 | Used to create a templated InstanceMemento |
283 | </summary> | 477 | </summary> |
284 | <param name="scanner"></param> | 478 | <param name="memento"></param> |
479 | <returns></returns> | ||
285 | </member> | 480 | </member> |
286 | <member name="M:StructureMap.Graph.IAssemblyScanner.WithDefaultConventions"> | 481 | <member name="P:StructureMap.InstanceMemento.ConcreteKey"> |
287 | <summary> | 482 | <summary> |
288 | Adds the DefaultConventionScanner to the scanning operations. I.e., a concrete | 483 | The named type of the object instance represented by the InstanceMemento. Translates to a concrete |
289 | class named "Something" that implements "ISomething" will be automatically | 484 | type |
290 | added to PluginType "ISomething" | ||
291 | </summary> | 485 | </summary> |
292 | </member> | 486 | </member> |
293 | <member name="M:StructureMap.Graph.IAssemblyScanner.With``1"> | 487 | <member name="P:StructureMap.InstanceMemento.InstanceKey"> |
294 | <summary> | 488 | <summary> |
295 | Creates and adds a new ITypeScanner of type T to this scanning operation | 489 | The named key of the object instance represented by the InstanceMemento |
296 | </summary> | 490 | </summary> |
297 | <typeparam name="T"></typeparam> | ||
298 | </member> | 491 | </member> |
299 | <member name="M:StructureMap.Graph.IAssemblyScanner.LookForRegistries"> | 492 | <member name="P:StructureMap.InstanceMemento.TemplateName"> |
300 | <summary> | 493 | <summary> |
301 | Directs the scanning operation to automatically detect and include any Registry | 494 | Gets the referred template name |
302 | classes found in the Assembly's being scanned | ||
303 | </summary> | 495 | </summary> |
496 | <returns></returns> | ||
304 | </member> | 497 | </member> |
305 | <member name="M:StructureMap.Graph.IAssemblyScanner.AddAllTypesOf``1"> | 498 | <member name="P:StructureMap.InstanceMemento.IsReference"> |
306 | <summary> | 499 | <summary> |
307 | Add all concrete types of the Plugin Type as Instances of Plugin Type | 500 | Template pattern property specifying whether the InstanceMemento is simply a reference |
501 | to another named instance. Useful for child objects. | ||
308 | </summary> | 502 | </summary> |
309 | <typeparam name="PLUGINTYPE"></typeparam> | ||
310 | </member> | 503 | </member> |
311 | <member name="M:StructureMap.Graph.IAssemblyScanner.AddAllTypesOf(System.Type)"> | 504 | <member name="P:StructureMap.InstanceMemento.ReferenceKey"> |
312 | <summary> | 505 | <summary> |
313 | Add all concrete types of the Plugin Type as Instances of Plugin Type | 506 | Template pattern property specifying the instance key that the InstanceMemento refers to |
314 | </summary> | 507 | </summary> |
315 | <param name="pluginType"></param> | ||
316 | </member> | 508 | </member> |
317 | <member name="M:StructureMap.Graph.IAssemblyScanner.IgnoreStructureMapAttributes"> | 509 | <member name="P:StructureMap.InstanceMemento.IsDefault"> |
318 | <summary> | 510 | <summary> |
319 | Makes this scanning operation ignore all [PluginFamily] and [Pluggable] attributes | 511 | Is the InstanceMemento a reference to the default instance of the plugin type? |
320 | </summary> | 512 | </summary> |
321 | </member> | 513 | </member> |
322 | <member name="M:StructureMap.Graph.IAssemblyScanner.Exclude(System.Predicate{System.Type})"> | 514 | <member name="M:StructureMap.MemoryInstanceMemento.CreateReferencedInstanceMemento(System.String)"> |
323 | <summary> | 515 | <summary> |
324 | Exclude types that match the Predicate from being scanned | 516 | Creates an instance of MemoryInstanceMemento that represents a reference to another |
517 | instance. | ||
325 | </summary> | 518 | </summary> |
326 | <param name="exclude"></param> | 519 | <param name="referenceKey">The referenced instance key to another instance</param> |
520 | <returns></returns> | ||
327 | </member> | 521 | </member> |
328 | <member name="M:StructureMap.Graph.IAssemblyScanner.ExcludeNamespace(System.String)"> | 522 | <member name="M:StructureMap.MemoryInstanceMemento.CreateDefaultInstanceMemento"> |
329 | <summary> | 523 | <summary> |
330 | Exclude all types in this nameSpace or its children from the scanning operation | 524 | Creates a MemoryInstanceMemento that represents a reference to the default instance |
525 | of a plugin type. | ||
331 | </summary> | 526 | </summary> |
332 | <param name="nameSpace"></param> | 527 | <returns></returns> |
333 | </member> | 528 | </member> |
334 | <member name="M:StructureMap.Graph.IAssemblyScanner.ExcludeNamespaceContainingType``1"> | 529 | <member name="M:StructureMap.MemoryInstanceMemento.#ctor(System.String,System.String)"> |
335 | <summary> | 530 | <summary> |
336 | Exclude all types in this nameSpace or its children from the scanning operation | 531 | Constructs a MemoryInstanceMemento without properties |
337 | </summary> | 532 | </summary> |
338 | <typeparam name="T"></typeparam> | 533 | <param name="concreteKey">The concrete key of the plugin type</param> |
534 | <param name="instanceKey">The identifying instance key</param> | ||
339 | </member> | 535 | </member> |
340 | <member name="M:StructureMap.Graph.IAssemblyScanner.Include(System.Predicate{System.Type})"> | 536 | <member name="M:StructureMap.MemoryInstanceMemento.#ctor(System.String,System.String,System.Collections.Specialized.NameValueCollection)"> |
341 | <summary> | 537 | <summary> |
342 | Only include types matching the Predicate in the scanning operation. You can | 538 | Constructs a MemoryInstanceMemento with properties |
343 | use multiple Include() calls in a single scanning operation | ||
344 | </summary> | 539 | </summary> |
345 | <param name="predicate"></param> | 540 | <param name="concreteKey">The concrete key of the plugin type</param> |
541 | <param name="instanceKey">The identifying instance key</param> | ||
542 | <param name="properties">NameValueCollection of instance properties</param> | ||
346 | </member> | 543 | </member> |
347 | <member name="M:StructureMap.Graph.IAssemblyScanner.IncludeNamespace(System.String)"> | 544 | <member name="M:StructureMap.MemoryInstanceMemento.SetProperty(System.String,System.String)"> |
348 | <summary> | 545 | <summary> |
349 | Only include types from this nameSpace or its children in the scanning operation. You can | 546 | Sets the value of the named property |
350 | use multiple Include() calls in a single scanning operation | ||
351 | </summary> | 547 | </summary> |
352 | <param name="nameSpace"></param> | 548 | <param name="name"></param> |
549 | <param name="value"></param> | ||
353 | </member> | 550 | </member> |
354 | <member name="M:StructureMap.Graph.IAssemblyScanner.IncludeNamespaceContainingType``1"> | 551 | <member name="M:StructureMap.MemoryInstanceMemento.RemoveProperty(System.String)"> |
355 | <summary> | 552 | <summary> |
356 | Only include types from this nameSpace or its children in the scanning operation. You can | 553 | Deletes a named property from the DefaultInstanceMemento |
357 | use multiple Include() calls in a single scanning operation | ||
358 | </summary> | 554 | </summary> |
359 | <typeparam name="T"></typeparam> | 555 | <param name="Name"></param> |
360 | </member> | 556 | </member> |
361 | <member name="M:StructureMap.Graph.IAssemblyScanner.ExcludeType``1"> | 557 | <member name="M:StructureMap.MemoryInstanceMemento.AddChild(System.String,StructureMap.InstanceMemento)"> |
362 | <summary> | 558 | <summary> |
363 | Exclude this specific type from the scanning operation | 559 | Links a child InstanceMemento as a named property |
364 | </summary> | 560 | </summary> |
365 | <typeparam name="T"></typeparam> | 561 | <param name="name"></param> |
562 | <param name="Memento"></param> | ||
366 | </member> | 563 | </member> |
367 | <member name="T:StructureMap.Interceptors.TypeInterceptor"> | 564 | <member name="M:StructureMap.MemoryInstanceMemento.AddChildArray(System.String,StructureMap.InstanceMemento[])"> |
368 | <summary> | 565 | <summary> |
369 | A TypeInterceptor that is only applied if the MatchesType() | 566 | Links an array of InstanceMemento's to a named array property |
370 | method is true for a given Type | ||
371 | </summary> | 567 | </summary> |
568 | <param name="name"></param> | ||
569 | <param name="childMementos"></param> | ||
372 | </member> | 570 | </member> |
373 | <member name="T:StructureMap.Interceptors.InstanceInterceptor"> | 571 | <member name="M:StructureMap.MemoryInstanceMemento.GetChildrenArray(System.String)"> |
374 | <summary> | 572 | <summary> |
375 | An InstanceInterceptor can be registered on a per-Instance basis | 573 | See <cref>InstanceMemento</cref> |
376 | to act on, or even replace, the object that is created before | ||
377 | it is passed back to the caller. This is primarily a hook | ||
378 | for runtime AOP scenarios. | ||
379 | </summary> | 574 | </summary> |
380 | </member> | 575 | </member> |
381 | <member name="M:StructureMap.Interceptors.TypeInterceptor.MatchesType(System.Type)"> | 576 | <member name="P:StructureMap.MemoryInstanceMemento.innerConcreteKey"> |
382 | <summary> | 577 | <summary> |
383 | Does this TypeInterceptor apply to the given type? | 578 | See <cref>InstanceMemento</cref> |
384 | </summary> | 579 | </summary> |
385 | <param name="type"></param> | ||
386 | <returns></returns> | ||
387 | </member> | 580 | </member> |
388 | <member name="M:StructureMap.Interceptors.MatchedTypeInterceptor.InterceptWith(System.Func{System.Object,System.Object})"> | 581 | <member name="P:StructureMap.MemoryInstanceMemento.innerInstanceKey"> |
389 | <summary> | 582 | <summary> |
390 | Specify how objects matching the Type predicate | 583 | See <cref>InstanceMemento</cref> |
391 | will be intercepted | ||
392 | </summary> | 584 | </summary> |
393 | <param name="interception"></param> | ||
394 | </member> | 585 | </member> |
395 | <member name="M:StructureMap.Interceptors.MatchedTypeInterceptor.InterceptWith(System.Func{StructureMap.IContext,System.Object,System.Object})"> | 586 | <member name="P:StructureMap.MemoryInstanceMemento.IsReference"> |
396 | <summary> | 587 | <summary> |
397 | Specify how objects matching the Type predicate | 588 | See <cref>InstanceMemento</cref> |
398 | will be intercepted | ||
399 | </summary> | 589 | </summary> |
400 | <param name="interception"></param> | ||
401 | </member> | 590 | </member> |
402 | <member name="T:StructureMap.Pipeline.IBuildPolicy"> | 591 | <member name="P:StructureMap.MemoryInstanceMemento.ReferenceKey"> |
403 | <summary> | 592 | <summary> |
404 | An object that specifies a "Policy" about how Instance's are invoked. | 593 | See <cref>InstanceMemento</cref> |
405 | </summary> | 594 | </summary> |
406 | </member> | 595 | </member> |
407 | <member name="T:StructureMap.Pipeline.IBuildInterceptor"> | 596 | <member name="T:StructureMap.Interceptors.TypeInterceptor"> |
408 | <summary> | 597 | <summary> |
409 | Plugin interface to create custom build or lifecycle policies for a Plugin Type | 598 | A TypeInterceptor that is only applied if the MatchesType() |
599 | method is true for a given Type | ||
410 | </summary> | 600 | </summary> |
411 | </member> | 601 | </member> |
412 | <member name="T:StructureMap.Pipeline.ConfiguredInstance"> | 602 | <member name="T:StructureMap.Interceptors.InstanceInterceptor"> |
413 | <summary> | 603 | <summary> |
414 | An Instance class that builds objects by calling a constructor function on a concrete type | 604 | An InstanceInterceptor can be registered on a per-Instance basis |
415 | and filling setter properties. ConfiguredInstance should only be used for open generic types. | 605 | to act on, or even replace, the object that is created before |
416 | Favor <see cref="T:StructureMap.Pipeline.SmartInstance`1">SmartInstance{T}</see> for all other usages. | 606 | it is passed back to the caller. This is primarily a hook |
607 | for runtime AOP scenarios. | ||
417 | </summary> | 608 | </summary> |
418 | </member> | 609 | </member> |
419 | <member name="P:StructureMap.Pipeline.IInstance.ConcreteType"> | 610 | <member name="M:StructureMap.Interceptors.TypeInterceptor.MatchesType(System.Type)"> |
420 | <summary> | 611 | <summary> |
421 | The actual concrete type of this Instance. Not every type of IInstance | 612 | Does this TypeInterceptor apply to the given type? |
422 | can determine the ConcreteType | ||
423 | </summary> | 613 | </summary> |
614 | <param name="type"></param> | ||
615 | <returns></returns> | ||
424 | </member> | 616 | </member> |
425 | <member name="M:StructureMap.Pipeline.ConfiguredInstance.OnCreation``1(System.Action{``0})"> | 617 | <member name="T:StructureMap.Interceptors.PluginTypeInterceptor"> |
426 | <summary> | 618 | <summary> |
427 | Register an Action to perform on the object created by this Instance | 619 | A TypeInterceptor that always applies to all Instances of a given Plugin Type |
428 | before it is returned to the caller | ||
429 | </summary> | 620 | </summary> |
430 | <typeparam name="TYPE"></typeparam> | ||
431 | <param name="handler"></param> | ||
432 | <returns></returns> | ||
433 | </member> | 621 | </member> |
434 | <member name="M:StructureMap.Pipeline.ConfiguredInstance.OnCreation``1(System.Action{StructureMap.IContext,``0})"> | 622 | <member name="T:StructureMap.IContainer"> |
435 | <summary> | 623 | <summary> |
436 | Register an Action to perform on the object created by this Instance | 624 | The main "container" object that implements the Service Locator pattern |
437 | before it is returned to the caller | ||
438 | </summary> | 625 | </summary> |
439 | <typeparam name="TYPE"></typeparam> | ||
440 | <param name="handler"></param> | ||
441 | <returns></returns> | ||
442 | </member> | 626 | </member> |
443 | <member name="M:StructureMap.Pipeline.ConfiguredInstance.EnrichWith``1(StructureMap.Interceptors.EnrichmentHandler{``0})"> | 627 | <member name="M:StructureMap.IContainer.GetInstance(System.Type,System.String)"> |
444 | <summary> | 628 | <summary> |
445 | Register a Func to potentially enrich or substitute for the object | 629 | Creates or finds the named instance of the pluginType |
446 | created by this Instance before it is returned to the caller | ||
447 | </summary> | 630 | </summary> |
448 | <param name="handler"></param> | 631 | <param name="pluginType"></param> |
632 | <param name="instanceKey"></param> | ||
449 | <returns></returns> | 633 | <returns></returns> |
450 | </member> | 634 | </member> |
451 | <member name="M:StructureMap.Pipeline.ConfiguredInstance.EnrichWith``1(StructureMap.Interceptors.ContextEnrichmentHandler{``0})"> | 635 | <member name="M:StructureMap.IContainer.GetInstance(System.Type)"> |
452 | <summary> | 636 | <summary> |
453 | Register a Func to potentially enrich or substitute for the object | 637 | Creates or finds the default instance of the pluginType |
454 | created by this Instance before it is returned to the caller | ||
455 | </summary> | 638 | </summary> |
456 | <param name="handler"></param> | 639 | <param name="pluginType"></param> |
457 | <returns></returns> | 640 | <returns></returns> |
458 | </member> | 641 | </member> |
459 | <member name="M:StructureMap.Pipeline.ConfiguredInstance.ChildArray``1(System.String)"> | 642 | <member name="M:StructureMap.IContainer.GetInstance(System.Type,StructureMap.Pipeline.Instance)"> |
460 | <summary> | 643 | <summary> |
461 | Inline definition of a dependency array like IService[] or IHandler[] | 644 | Creates a new instance of the requested type using the supplied Instance. Mostly used internally |
462 | </summary> | 645 | </summary> |
463 | <typeparam name="PLUGINTYPE"></typeparam> | 646 | <param name="pluginType"></param> |
464 | <param name="propertyName"></param> | 647 | <param name="instance"></param> |
465 | <returns></returns> | 648 | <returns></returns> |
466 | </member> | 649 | </member> |
467 | <member name="M:StructureMap.Pipeline.ConfiguredInstance.ChildArray(System.String)"> | 650 | <member name="M:StructureMap.IContainer.GetInstance``1(System.String)"> |
468 | <summary> | 651 | <summary> |
469 | Inline definition of a dependency array like IService[] or IHandler[] | 652 | Creates or finds the named instance of T |
470 | </summary> | 653 | </summary> |
471 | <param name="propertyName"></param> | 654 | <typeparam name="T"></typeparam> |
655 | <param name="instanceKey"></param> | ||
472 | <returns></returns> | 656 | <returns></returns> |
473 | </member> | 657 | </member> |
474 | <member name="M:StructureMap.Pipeline.ConfiguredInstance.ChildArray``1"> | 658 | <member name="M:StructureMap.IContainer.GetInstance``1"> |
475 | <summary> | 659 | <summary> |
476 | Inline definition of a dependency array like IService[] or IHandler[] | 660 | Creates or finds the default instance of type T |
477 | </summary> | 661 | </summary> |
478 | <typeparam name="PLUGINTYPE"></typeparam> | 662 | <typeparam name="T"></typeparam> |
479 | <returns></returns> | 663 | <returns></returns> |
480 | </member> | 664 | </member> |
481 | <member name="M:StructureMap.Pipeline.ConfiguredInstance.Child``1"> | 665 | <member name="M:StructureMap.IContainer.GetInstance``1(StructureMap.Pipeline.Instance)"> |
482 | <summary> | 666 | <summary> |
483 | Start the definition of a child instance for type CONSTRUCTORARGUMENTTYPE | 667 | Creates a new instance of the requested type T using the supplied Instance. Mostly used internally |
484 | </summary> | 668 | </summary> |
485 | <typeparam name="CONSTRUCTORARGUMENTTYPE"></typeparam> | 669 | <param name="instance"></param> |
486 | <returns></returns> | 670 | <returns></returns> |
487 | </member> | 671 | </member> |
488 | <member name="M:StructureMap.Pipeline.ConfiguredInstance.Child(System.String)"> | 672 | <member name="M:StructureMap.IContainer.GetAllInstances``1"> |
489 | <summary> | 673 | <summary> |
490 | Inline definition of a constructor or a setter property dependency | 674 | Creates or resolves all registered instances of type T |
491 | </summary> | 675 | </summary> |
492 | <param name="propertyName"></param> | 676 | <typeparam name="T"></typeparam> |
493 | <returns></returns> | 677 | <returns></returns> |
494 | </member> | 678 | </member> |
495 | <member name="M:StructureMap.Pipeline.ConfiguredInstance.Child``1(System.String)"> | 679 | <member name="M:StructureMap.IContainer.GetAllInstances(System.Type)"> |
496 | <summary> | 680 | <summary> |
497 | Starts the definition of a child instance specifying the argument name | 681 | Creates or resolves all registered instances of the pluginType |
498 | in the case of a constructor function that consumes more than one argument | ||
499 | of type T | ||
500 | </summary> | 682 | </summary> |
501 | <typeparam name="CONSTRUCTORARGUMENTTYPE"></typeparam> | 683 | <param name="pluginType"></param> |
502 | <param name="propertyName"></param> | ||
503 | <returns></returns> | 684 | <returns></returns> |
504 | </member> | 685 | </member> |
505 | <member name="M:StructureMap.Pipeline.ConfiguredInstance.CtorDependency``1(System.String)"> | 686 | <member name="M:StructureMap.IContainer.TryGetInstance(System.Type,System.String)"> |
506 | <summary> | 687 | <summary> |
507 | Inline definition of a constructor dependency | 688 | Creates or finds the named instance of the pluginType. Returns null if the named instance is not known to the container. |
508 | </summary> | 689 | </summary> |
509 | <typeparam name="CONSTRUCTORARGUMENTTYPE"></typeparam> | 690 | <param name="pluginType"></param> |
510 | <param name="propertyName"></param> | 691 | <param name="instanceKey"></param> |
511 | <returns></returns> | 692 | <returns></returns> |
512 | </member> | 693 | </member> |
513 | <member name="M:StructureMap.Pipeline.ConfiguredInstance.SetterDependency``1(System.String)"> | 694 | <member name="M:StructureMap.IContainer.TryGetInstance(System.Type)"> |
514 | <summary> | 695 | <summary> |
515 | Inline definition of a setter dependency | 696 | Creates or finds the default instance of the pluginType. Returns null if the pluginType is not known to the container. |
516 | </summary> | 697 | </summary> |
517 | <typeparam name="CONSTRUCTORARGUMENTTYPE"></typeparam> | 698 | <param name="pluginType"></param> |
518 | <param name="propertyName"></param> | ||
519 | <returns></returns> | 699 | <returns></returns> |
520 | </member> | 700 | </member> |
521 | <member name="M:StructureMap.Pipeline.ConfiguredInstance.WithProperty(System.String)"> | 701 | <member name="M:StructureMap.IContainer.TryGetInstance``1"> |
522 | <summary> | 702 | <summary> |
523 | Start the definition of a primitive argument to a constructor argument | 703 | Creates or finds the default instance of type T. Returns the default value of T if it is not known to the container. |
524 | </summary> | 704 | </summary> |
525 | <param name="propertyName"></param> | 705 | <typeparam name="T"></typeparam> |
526 | <returns></returns> | 706 | <returns></returns> |
527 | </member> | 707 | </member> |
528 | <member name="M:StructureMap.Pipeline.ConfiguredInstance.WithCtorArg(System.String)"> | 708 | <member name="M:StructureMap.IContainer.TryGetInstance``1(System.String)"> |
529 | <summary> | 709 | <summary> |
530 | Configure a primitive constructor argument | 710 | Creates or finds the named instance of type T. Returns the default value of T if the named instance is not known to the container. |
531 | </summary> | 711 | </summary> |
532 | <param name="propertyName"></param> | 712 | <typeparam name="T"></typeparam> |
533 | <returns></returns> | 713 | <returns></returns> |
534 | </member> | 714 | </member> |
535 | <member name="M:StructureMap.Pipeline.ConfiguredInstance.ChildArrayExpression.Contains(StructureMap.Pipeline.Instance[])"> | 715 | <member name="M:StructureMap.IContainer.Configure(System.Action{StructureMap.ConfigurationExpression})"> |
536 | <summary> | 716 | <summary> |
537 | Configures an array of Instance's for the array dependency | 717 | Used to add additional configuration to a Container *after* the initialization. |
538 | </summary> | 718 | </summary> |
539 | <param name="instances"></param> | 719 | <param name="configure"></param> |
540 | <returns></returns> | ||
541 | </member> | 720 | </member> |
542 | <member name="T:StructureMap.Pipeline.ConfiguredInstance.ChildInstanceExpression"> | 721 | <member name="M:StructureMap.IContainer.Inject``1(``0)"> |
543 | <summary> | 722 | <summary> |
544 | Part of the Fluent Interface, represents a nonprimitive argument to a | 723 | Injects the given object into a Container as the default for the designated |
545 | constructure function | 724 | PLUGINTYPE. Mostly used for temporarily setting up return values of the Container |
725 | to introduce mocks or stubs during automated testing scenarios | ||
546 | </summary> | 726 | </summary> |
727 | <typeparam name="PLUGINTYPE"></typeparam> | ||
728 | <param name="instance"></param> | ||
547 | </member> | 729 | </member> |
548 | <member name="M:StructureMap.Pipeline.ConfiguredInstance.ChildInstanceExpression.IsNamedInstance(System.String)"> | 730 | <member name="M:StructureMap.IContainer.Inject(System.Type,System.Object)"> |
549 | <summary> | 731 | <summary> |
550 | Use a previously configured and named instance for the child | 732 | Injects the given object into a Container as the default for the designated |
733 | pluginType. Mostly used for temporarily setting up return values of the Container | ||
734 | to introduce mocks or stubs during automated testing scenarios | ||
551 | </summary> | 735 | </summary> |
552 | <param name="instanceKey"></param> | 736 | <param name="pluginType"></param> |
553 | <returns></returns> | 737 | <param name="stub"></param> |
554 | </member> | 738 | </member> |
555 | <member name="M:StructureMap.Pipeline.ConfiguredInstance.ChildInstanceExpression.IsConcreteType``1"> | 739 | <member name="M:StructureMap.IContainer.Inject``1(System.String,``0)"> |
556 | <summary> | 740 | <summary> |
557 | Start the definition of a child instance by defining the concrete type | 741 | Injects the given object into a Container by name for the designated |
742 | pluginType. Mostly used for temporarily setting up return values of the Container | ||
743 | to introduce mocks or stubs during automated testing scenarios | ||
558 | </summary> | 744 | </summary> |
559 | <typeparam name="T"></typeparam> | 745 | <typeparam name="T"></typeparam> |
560 | <returns></returns> | 746 | <param name="name"></param> |
747 | <param name="instance"></param> | ||
561 | </member> | 748 | </member> |
562 | <member name="M:StructureMap.Pipeline.ConfiguredInstance.ChildInstanceExpression.Is(StructureMap.Pipeline.Instance)"> | 749 | <member name="M:StructureMap.IContainer.SetDefaultsToProfile(System.String)"> |
563 | <summary> | 750 | <summary> |
564 | Registers a configured instance to use as the argument to the parent's | 751 | Sets the default instance for all PluginType's to the designated Profile. |
565 | constructor | ||
566 | </summary> | 752 | </summary> |
567 | <param name="child"></param> | 753 | <param name="profile"></param> |
568 | <returns></returns> | ||
569 | </member> | 754 | </member> |
570 | <member name="M:StructureMap.Pipeline.ConfiguredInstance.ChildInstanceExpression.IsAutoFilled"> | 755 | <member name="M:StructureMap.IContainer.WhatDoIHave"> |
571 | <summary> | 756 | <summary> |
572 | Directs StructureMap to fill this dependency with the Default Instance of the | 757 | Returns a report detailing the complete configuration of all PluginTypes and Instances |
573 | constructor or property type | ||
574 | </summary> | 758 | </summary> |
575 | <returns></returns> | 759 | <returns></returns> |
576 | </member> | 760 | </member> |
577 | <member name="T:StructureMap.Pipeline.ExpressedInstance`1"> | 761 | <member name="M:StructureMap.IContainer.AssertConfigurationIsValid"> |
578 | <summary> | 762 | <summary> |
579 | Base class for many of the Instance subclasses to support | 763 | Use with caution! Does a full environment test of the configuration of this container. Will try to create every configured |
580 | method chaining in the Registry DSL for common options | 764 | instance and afterward calls any methods marked with the [ValidationMethod] attribute |
581 | </summary> | 765 | </summary> |
582 | <typeparam name="T"></typeparam> | ||
583 | </member> | 766 | </member> |
584 | <member name="M:StructureMap.Pipeline.ExpressedInstance`1.WithName(System.String)"> | 767 | <member name="M:StructureMap.IContainer.GetAllInstances``1(StructureMap.Pipeline.ExplicitArguments)"> |
585 | <summary> | 768 | <summary> |
586 | Set the name of this Instance | 769 | Gets all configured instances of type T using explicitly configured arguments from the "args" |
587 | </summary> | 770 | </summary> |
588 | <param name="instanceKey"></param> | 771 | <typeparam name="T"></typeparam> |
772 | <param name="args"></param> | ||
589 | <returns></returns> | 773 | <returns></returns> |
590 | </member> | 774 | </member> |
591 | <member name="M:StructureMap.Pipeline.ExpressedInstance`1.OnCreation``1(System.Action{``0})"> | 775 | <member name="M:StructureMap.IContainer.GetAllInstances(System.Type,StructureMap.Pipeline.ExplicitArguments)"> |
592 | <summary> | 776 | <summary> |
593 | Register an Action to perform on the object created by this Instance | 777 | Gets the default instance of type T using the explicitly configured arguments from the "args" |
594 | before it is returned to the caller | ||
595 | </summary> | 778 | </summary> |
596 | <typeparam name="TYPE"></typeparam> | 779 | <param name="type"></param> |
597 | <param name="handler"></param> | 780 | <param name="args"></param> |
598 | <returns></returns> | 781 | <returns></returns> |
599 | </member> | 782 | </member> |
600 | <member name="M:StructureMap.Pipeline.ExpressedInstance`1.EnrichWith``1(StructureMap.Interceptors.EnrichmentHandler{``0})"> | 783 | <member name="M:StructureMap.IContainer.With``1(``0)"> |
601 | <summary> | 784 | <summary> |
602 | Register a Func to potentially enrich or substitute for the object | 785 | Starts a request for an instance or instances with explicitly configured arguments. Specifies that any dependency |
603 | created by this Instance before it is returned to the caller | 786 | of type T should be "arg" |
604 | </summary> | 787 | </summary> |
605 | <typeparam name="TYPE"></typeparam> | 788 | <typeparam name="T"></typeparam> |
606 | <param name="handler"></param> | 789 | <param name="arg"></param> |
607 | <returns></returns> | 790 | <returns></returns> |
608 | </member> | 791 | </member> |
609 | <member name="M:StructureMap.Pipeline.ExpressedInstance`1.EnrichWith``1(StructureMap.Interceptors.ContextEnrichmentHandler{``0})"> | 792 | <member name="M:StructureMap.IContainer.With(System.String)"> |
610 | <summary> | 793 | <summary> |
611 | Register a Func to potentially enrich or substitute for the object | 794 | Starts a request for an instance or instances with explicitly configured arguments. Specifies that any dependency or primitive argument |
612 | created by this Instance before it is returned to the caller | 795 | with the designated name should be the next value. |
613 | </summary> | 796 | </summary> |
614 | <typeparam name="TYPE"></typeparam> | 797 | <param name="argName"></param> |
615 | <param name="handler"></param> | ||
616 | <returns></returns> | 798 | <returns></returns> |
617 | </member> | 799 | </member> |
618 | <member name="M:StructureMap.Pipeline.ExpressedInstance`1.InterceptWith(StructureMap.Interceptors.InstanceInterceptor)"> | 800 | <member name="M:StructureMap.IContainer.GetInstance(System.Type,StructureMap.Pipeline.ExplicitArguments)"> |
619 | <summary> | 801 | <summary> |
620 | Register an <see cref="T:StructureMap.Interceptors.InstanceInterceptor">InstanceInterceptor</see> with this Instance | 802 | Gets the default instance of the pluginType using the explicitly configured arguments from the "args" |
621 | </summary> | 803 | </summary> |
622 | <param name="interceptor"></param> | 804 | <param name="pluginType"></param> |
805 | <param name="args"></param> | ||
623 | <returns></returns> | 806 | <returns></returns> |
624 | </member> | 807 | </member> |
625 | <member name="T:StructureMap.DefaultConstructorAttribute"> | 808 | <member name="M:StructureMap.IContainer.EjectAllInstancesOf``1"> |
626 | <summary> | 809 | <summary> |
627 | Used to override the constructor of a class to be used by StructureMap to create | 810 | Removes all configured instances of type T from the Container. Use with caution! |
628 | a Pluggable object | ||
629 | </summary> | 811 | </summary> |
812 | <typeparam name="T"></typeparam> | ||
630 | </member> | 813 | </member> |
631 | <member name="M:StructureMap.DefaultConstructorAttribute.GetConstructor(System.Type)"> | 814 | <member name="M:StructureMap.IContainer.BuildUp(System.Object)"> |
632 | <summary> | 815 | <summary> |
633 | Examines a System.Type object and determines the ConstructorInfo to use in creating | 816 | The "BuildUp" method takes in an already constructed object |
634 | instances of the Type | 817 | and uses Setter Injection to push in configured dependencies |
818 | of that object | ||
635 | </summary> | 819 | </summary> |
636 | <param name="ExportedType"></param> | 820 | <param name="target"></param> |
637 | <returns></returns> | ||
638 | </member> | 821 | </member> |
639 | <member name="T:StructureMap.PluggableAttribute"> | 822 | <member name="M:StructureMap.IContainer.ForGenericType(System.Type)"> |
640 | <summary> | 823 | <summary> |
641 | Used to implicitly mark a class as a Plugin candidate for StructureMap | 824 | Convenience method to request an object using an Open Generic |
825 | Type and its parameter Types | ||
642 | </summary> | 826 | </summary> |
643 | </member> | 827 | <param name="templateType"></param> |
644 | <member name="M:StructureMap.PluggableAttribute.InstanceOf(System.Type)"> | ||
645 | <summary> | ||
646 | Gets an instance of PluggableAttribute from a Type object | ||
647 | </summary> | ||
648 | <param name="objectType"></param> | ||
649 | <returns></returns> | 828 | <returns></returns> |
829 | <example> | ||
830 | IFlattener flattener1 = container.ForGenericType(typeof (IFlattener<>)) | ||
831 | .WithParameters(typeof (Address)).GetInstanceAs<IFlattener>(); | ||
832 | </example> | ||
650 | </member> | 833 | </member> |
651 | <member name="M:StructureMap.PluggableAttribute.MarkedAsPluggable(System.Type)"> | 834 | <member name="M:StructureMap.IContainer.GetInstance``1(StructureMap.Pipeline.ExplicitArguments,System.String)"> |
652 | <summary> | 835 | <summary> |
653 | Determines whether a Type object is marked as Pluggable | 836 | Gets the named instance of the pluginType using the explicitly configured arguments from the "args" |
654 | </summary> | 837 | </summary> |
655 | <param name="objectType"></param> | 838 | <typeparam name="T"></typeparam> |
839 | <param name="args"></param> | ||
840 | <param name="name"></param> | ||
656 | <returns></returns> | 841 | <returns></returns> |
657 | </member> | 842 | </member> |
658 | <member name="P:StructureMap.PluggableAttribute.ConcreteKey"> | 843 | <member name="P:StructureMap.IContainer.Model"> |
659 | <summary> | 844 | <summary> |
660 | The ConcreteKey alias of the Type | 845 | Provides queryable access to the configured PluginType's and Instances of this Container |
661 | </summary> | 846 | </summary> |
662 | </member> | 847 | </member> |
663 | <member name="T:StructureMap.PluginFamilyAttribute"> | 848 | <member name="T:StructureMap.Emitting.ClassBuilder"> |
664 | <summary> | 849 | <summary> |
665 | Declares a class, abstract class, or interface to be the target of a PluginFamily in the container | 850 | Emits the IL for a new class Type |
666 | </summary> | 851 | </summary> |
667 | </member> | 852 | </member> |
668 | <member name="M:StructureMap.PluginFamilyAttribute.MarkedAsPluginFamily(System.Type)"> | 853 | <member name="T:StructureMap.Pipeline.ConfiguredInstance"> |
669 | <summary> | 854 | <summary> |
670 | Determines if a Type object is marked as a PluginFamily | 855 | An Instance class that builds objects by calling a constructor function on a concrete type |
856 | and filling setter properties. ConfiguredInstance should only be used for open generic types. | ||
857 | Favor <see cref="T:StructureMap.Pipeline.SmartInstance`1">SmartInstance{T}</see> for all other usages. | ||
671 | </summary> | 858 | </summary> |
672 | <param name="objectType"></param> | ||
673 | <returns></returns> | ||
674 | </member> | 859 | </member> |
675 | <member name="P:StructureMap.PluginFamilyAttribute.Scope"> | 860 | <member name="P:StructureMap.Pipeline.IInstance.ConcreteType"> |
676 | <summary> | 861 | <summary> |
677 | If set, determines the shared "scope" of the instance -- PerRequest, Singleton, ThreadLocal, | 862 | The actual concrete type of this Instance. Not every type of IInstance |
678 | HttpContext, etc. | 863 | can determine the ConcreteType |
679 | </summary> | 864 | </summary> |
680 | </member> | 865 | </member> |
681 | <member name="P:StructureMap.PluginFamilyAttribute.DefaultKey"> | 866 | <member name="M:StructureMap.Pipeline.ConfiguredInstance.OnCreation``1(System.Action{``0})"> |
682 | <summary> | 867 | <summary> |
683 | InstanceKey of the default instance. Used to implicitly define the default without | 868 | Register an Action to perform on the object created by this Instance |
684 | declaring the instance in StructureMap.config | 869 | before it is returned to the caller |
685 | </summary> | 870 | </summary> |
871 | <typeparam name="TYPE"></typeparam> | ||
872 | <param name="handler"></param> | ||
873 | <returns></returns> | ||
686 | </member> | 874 | </member> |
687 | <member name="P:StructureMap.PluginFamilyAttribute.IsSingleton"> | 875 | <member name="M:StructureMap.Pipeline.ConfiguredInstance.OnCreation``1(System.Action{StructureMap.IContext,``0})"> |
688 | <summary> | 876 | <summary> |
689 | Declares the target to be built by StructureMap as a Singleton. One object instance will | 877 | Register an Action to perform on the object created by this Instance |
690 | be created for each named instance | 878 | before it is returned to the caller |
691 | </summary> | 879 | </summary> |
880 | <typeparam name="TYPE"></typeparam> | ||
881 | <param name="handler"></param> | ||
882 | <returns></returns> | ||
692 | </member> | 883 | </member> |
693 | <member name="T:StructureMap.Attributes.SetterPropertyAttribute"> | 884 | <member name="M:StructureMap.Pipeline.ConfiguredInstance.EnrichWith``1(StructureMap.Interceptors.EnrichmentHandler{``0})"> |
694 | <summary> | 885 | <summary> |
695 | Marks a Property in a Pluggable class as filled by setter injection | 886 | Register a Func to potentially enrich or substitute for the object |
887 | created by this Instance before it is returned to the caller | ||
696 | </summary> | 888 | </summary> |
889 | <param name="handler"></param> | ||
890 | <returns></returns> | ||
697 | </member> | 891 | </member> |
698 | <member name="T:StructureMap.ValidationMethodAttribute"> | 892 | <member name="M:StructureMap.Pipeline.ConfiguredInstance.EnrichWith``1(StructureMap.Interceptors.ContextEnrichmentHandler{``0})"> |
699 | <summary> | 893 | <summary> |
700 | Marks a method with no parameters as a method that validates an instance. StructureMap | 894 | Register a Func to potentially enrich or substitute for the object |
701 | uses this method to validate the configuration file. If the method does not throw an | 895 | created by this Instance before it is returned to the caller |
702 | exception, the object is assumed to be valid. | ||
703 | </summary> | 896 | </summary> |
897 | <param name="handler"></param> | ||
898 | <returns></returns> | ||
704 | </member> | 899 | </member> |
705 | <member name="M:StructureMap.ValidationMethodAttribute.GetValidationMethods(System.Type)"> | 900 | <member name="M:StructureMap.Pipeline.ConfiguredInstance.ChildArray``1(System.String)"> |
706 | <summary> | 901 | <summary> |
707 | Returns an array of any MethodInfo's on a Type that are marked as ValidationMethod | 902 | Inline definition of a dependency array like IService[] or IHandler[] |
708 | </summary> | 903 | </summary> |
709 | <param name="objectType">CLR Type to search for validation methods</param> | 904 | <typeparam name="PLUGINTYPE"></typeparam> |
905 | <param name="propertyName"></param> | ||
710 | <returns></returns> | 906 | <returns></returns> |
711 | </member> | 907 | </member> |
712 | <member name="T:StructureMap.Configuration.XmlConstants"> | 908 | <member name="M:StructureMap.Pipeline.ConfiguredInstance.ChildArray(System.String)"> |
713 | <summary> | 909 | <summary> |
714 | Constants for the names of Xml nodes and attributes in the StructureMap.config | 910 | Inline definition of a dependency array like IService[] or IHandler[] |
715 | file | ||
716 | </summary> | 911 | </summary> |
912 | <param name="propertyName"></param> | ||
913 | <returns></returns> | ||
717 | </member> | 914 | </member> |
718 | <member name="F:StructureMap.Configuration.ConfigurationParserBuilder.DefaultConfigurationFilename"> | 915 | <member name="M:StructureMap.Pipeline.ConfiguredInstance.ChildArray``1"> |
719 | <summary> | 916 | <summary> |
720 | The name of the default configuration file. The value is always <c>StructurMap.config</c> | 917 | Inline definition of a dependency array like IService[] or IHandler[] |
721 | </summary> | 918 | </summary> |
919 | <typeparam name="PLUGINTYPE"></typeparam> | ||
920 | <returns></returns> | ||
722 | </member> | 921 | </member> |
723 | <member name="M:StructureMap.Configuration.ConfigurationParserBuilder.GetStructureMapConfigurationPath"> | 922 | <member name="M:StructureMap.Pipeline.ConfiguredInstance.Child``1"> |
724 | <summary> | 923 | <summary> |
725 | Returns the absolute path to the StructureMap.config file | 924 | Start the definition of a child instance for type CONSTRUCTORARGUMENTTYPE |
726 | </summary> | 925 | </summary> |
926 | <typeparam name="CONSTRUCTORARGUMENTTYPE"></typeparam> | ||
727 | <returns></returns> | 927 | <returns></returns> |
728 | </member> | 928 | </member> |
729 | <member name="T:StructureMap.Configuration.DSL.Expressions.CreatePluginFamilyExpression`1"> | 929 | <member name="M:StructureMap.Pipeline.ConfiguredInstance.Child(System.String)"> |
730 | <summary> | 930 | <summary> |
731 | Expression Builder that has grammars for defining policies at the | 931 | Inline definition of a constructor or a setter property dependency |
732 | PluginType level | ||
733 | </summary> | 932 | </summary> |
933 | <param name="propertyName"></param> | ||
934 | <returns></returns> | ||
734 | </member> | 935 | </member> |
735 | <member name="M:StructureMap.Configuration.DSL.Expressions.CreatePluginFamilyExpression`1.AddInstances(System.Action{StructureMap.Configuration.DSL.Expressions.IInstanceExpression{`0}})"> | 936 | <member name="M:StructureMap.Pipeline.ConfiguredInstance.Child``1(System.String)"> |
736 | <summary> | 937 | <summary> |
737 | Add multiple Instance's to this PluginType | 938 | Starts the definition of a child instance specifying the argument name |
939 | in the case of a constructor function that consumes more than one argument | ||
940 | of type T | ||
738 | </summary> | 941 | </summary> |
739 | <param name="action"></param> | 942 | <typeparam name="CONSTRUCTORARGUMENTTYPE"></typeparam> |
943 | <param name="propertyName"></param> | ||
740 | <returns></returns> | 944 | <returns></returns> |
741 | </member> | 945 | </member> |
742 | <member name="M:StructureMap.Configuration.DSL.Expressions.CreatePluginFamilyExpression`1.TheDefaultIsConcreteType``1"> | 946 | <member name="M:StructureMap.Pipeline.ConfiguredInstance.CtorDependency``1(System.String)"> |
743 | <summary> | 947 | <summary> |
744 | Convenience method that sets the default concrete type of the PluginType. Type T | 948 | Inline definition of a constructor dependency |
745 | can only accept types that do not have any primitive constructor arguments. | ||
746 | StructureMap has to know how to construct all of the constructor argument types. | ||
747 | </summary> | 949 | </summary> |
748 | <typeparam name="CONCRETETYPE"></typeparam> | 950 | <typeparam name="CONSTRUCTORARGUMENTTYPE"></typeparam> |
951 | <param name="propertyName"></param> | ||
749 | <returns></returns> | 952 | <returns></returns> |
750 | </member> | 953 | </member> |
751 | <member name="M:StructureMap.Configuration.DSL.Expressions.CreatePluginFamilyExpression`1.CacheBy(StructureMap.Attributes.InstanceScope)"> | 954 | <member name="M:StructureMap.Pipeline.ConfiguredInstance.SetterDependency``1(System.String)"> |
752 | <summary> | 955 | <summary> |
753 | Sets the object creation of the instances of the PluginType. For example: PerRequest, | 956 | Inline definition of a setter dependency |
754 | Singleton, ThreadLocal, HttpContext, or Hybrid | ||
755 | </summary> | 957 | </summary> |
756 | <param name="scope"></param> | 958 | <typeparam name="CONSTRUCTORARGUMENTTYPE"></typeparam> |
959 | <param name="propertyName"></param> | ||
757 | <returns></returns> | 960 | <returns></returns> |
758 | </member> | 961 | </member> |
759 | <member name="M:StructureMap.Configuration.DSL.Expressions.CreatePluginFamilyExpression`1.AsSingletons"> | 962 | <member name="M:StructureMap.Pipeline.ConfiguredInstance.WithProperty(System.String)"> |
760 | <summary> | 963 | <summary> |
761 | Convenience method to mark a PluginFamily as a Singleton | 964 | Start the definition of a primitive argument to a constructor argument |
762 | </summary> | 965 | </summary> |
966 | <param name="propertyName"></param> | ||
763 | <returns></returns> | 967 | <returns></returns> |
764 | </member> | 968 | </member> |
765 | <member name="M:StructureMap.Configuration.DSL.Expressions.CreatePluginFamilyExpression`1.OnCreation(System.Action{`0})"> | 969 | <member name="M:StructureMap.Pipeline.ConfiguredInstance.WithCtorArg(System.String)"> |
766 | <summary> | 970 | <summary> |
767 | Register an Action to run against any object of this PluginType immediately after | 971 | Configure a primitive constructor argument |
768 | it is created, but before the new object is passed back to the caller | ||
769 | </summary> | 972 | </summary> |
770 | <param name="handler"></param> | 973 | <param name="propertyName"></param> |
771 | <returns></returns> | 974 | <returns></returns> |
772 | </member> | 975 | </member> |
773 | <member name="M:StructureMap.Configuration.DSL.Expressions.CreatePluginFamilyExpression`1.OnCreation(System.Action{StructureMap.IContext,`0})"> | 976 | <member name="M:StructureMap.Pipeline.ConfiguredInstance.ChildArrayExpression.Contains(StructureMap.Pipeline.Instance[])"> |
774 | <summary> | 977 | <summary> |
775 | Register an Action to run against any object of this PluginType immediately after | 978 | Configures an array of Instance's for the array dependency |
776 | it is created, but before the new object is passed back to the caller | ||
777 | </summary> | 979 | </summary> |
778 | <param name="handler"></param> | 980 | <param name="instances"></param> |
779 | <returns></returns> | 981 | <returns></returns> |
780 | </member> | 982 | </member> |
781 | <member name="M:StructureMap.Configuration.DSL.Expressions.CreatePluginFamilyExpression`1.EnrichWith(StructureMap.Interceptors.EnrichmentHandler{`0})"> | 983 | <member name="T:StructureMap.Pipeline.ConfiguredInstance.ChildInstanceExpression"> |
782 | <summary> | 984 | <summary> |
783 | Register a Func to run against any object of this PluginType immediately after it is created, | 985 | Part of the Fluent Interface, represents a nonprimitive argument to a |
784 | but before the new object is passed back to the caller. Unlike <see cref="M:StructureMap.Configuration.DSL.Expressions.CreatePluginFamilyExpression`1.OnCreation(System.Action{`0})">OnCreation()</see>, | 986 | constructure function |
785 | EnrichWith() gives the the ability to return a different object. Use this method for runtime AOP | ||
786 | scenarios or to return a decorator. | ||
787 | </summary> | 987 | </summary> |
788 | <param name="handler"></param> | ||
789 | <returns></returns> | ||
790 | </member> | 988 | </member> |
791 | <member name="M:StructureMap.Configuration.DSL.Expressions.CreatePluginFamilyExpression`1.EnrichWith(StructureMap.Interceptors.ContextEnrichmentHandler{`0})"> | 989 | <member name="M:StructureMap.Pipeline.ConfiguredInstance.ChildInstanceExpression.IsNamedInstance(System.String)"> |
792 | <summary> | 990 | <summary> |
793 | Register a Func to run against any object of this PluginType immediately after it is created, | 991 | Use a previously configured and named instance for the child |
794 | but before the new object is passed back to the caller. Unlike <see cref="M:StructureMap.Configuration.DSL.Expressions.CreatePluginFamilyExpression`1.OnCreation(System.Action{`0})">OnCreation()</see>, | ||
795 | EnrichWith() gives the the ability to return a different object. Use this method for runtime AOP | ||
796 | scenarios or to return a decorator. | ||
797 | </summary> | 992 | </summary> |
798 | <param name="handler"></param> | 993 | <param name="instanceKey"></param> |
799 | <returns></returns> | 994 | <returns></returns> |
800 | </member> | 995 | </member> |
801 | <member name="M:StructureMap.Configuration.DSL.Expressions.CreatePluginFamilyExpression`1.AddConcreteType``1"> | 996 | <member name="M:StructureMap.Pipeline.ConfiguredInstance.ChildInstanceExpression.IsConcreteType``1"> |
802 | <summary> | 997 | <summary> |
803 | Shortcut method to add an additional Instance to this Plugin Type | 998 | Start the definition of a child instance by defining the concrete type |
804 | as just a Concrete Type. This will only work if the Concrete Type | ||
805 | has no primitive constructor or mandatory Setter arguments. | ||
806 | </summary> | 999 | </summary> |
807 | <typeparam name="PLUGGEDTYPE"></typeparam> | 1000 | <typeparam name="T"></typeparam> |
808 | <returns></returns> | 1001 | <returns></returns> |
809 | </member> | 1002 | </member> |
810 | <member name="M:StructureMap.Configuration.DSL.Expressions.CreatePluginFamilyExpression`1.InterceptConstructionWith(StructureMap.Pipeline.IBuildInterceptor)"> | 1003 | <member name="M:StructureMap.Pipeline.ConfiguredInstance.ChildInstanceExpression.Is(StructureMap.Pipeline.Instance)"> |
811 | <summary> | 1004 | <summary> |
812 | Registers an IBuildInterceptor for this Plugin Type that executes before | 1005 | Registers a configured instance to use as the argument to the parent's |
813 | any object of this PluginType is created. IBuildInterceptor's can be | 1006 | constructor |
814 | used to create a custom scope | ||
815 | </summary> | 1007 | </summary> |
816 | <param name="interceptor"></param> | 1008 | <param name="child"></param> |
817 | <returns></returns> | 1009 | <returns></returns> |
818 | </member> | 1010 | </member> |
819 | <member name="M:StructureMap.Configuration.DSL.Expressions.CreatePluginFamilyExpression`1.BuildPolicyIs(StructureMap.Pipeline.IBuildInterceptor)"> | 1011 | <member name="M:StructureMap.Pipeline.ConfiguredInstance.ChildInstanceExpression.IsAutoFilled"> |
820 | <summary> | 1012 | <summary> |
821 | Registers an IBuildInterceptor for this Plugin Type that executes before | 1013 | Directs StructureMap to fill this dependency with the Default Instance of the |
822 | any object of this PluginType is created. IBuildInterceptor's can be | 1014 | constructor or property type |
823 | used to create a custom scope | ||
824 | </summary> | 1015 | </summary> |
825 | <param name="interceptor"></param> | ||
826 | <returns></returns> | 1016 | <returns></returns> |
827 | </member> | 1017 | </member> |
828 | <member name="M:StructureMap.Configuration.DSL.Expressions.CreatePluginFamilyExpression`1.AddInstancesFrom(StructureMap.MementoSource)"> | 1018 | <member name="T:StructureMap.Pipeline.IBuildPolicy"> |
829 | <summary> | 1019 | <summary> |
830 | Largely deprecated and unnecessary with the ability to add Xml configuration files | 1020 | An object that specifies a "Policy" about how Instance's are invoked. |
831 | </summary> | 1021 | </summary> |
832 | <param name="source"></param> | ||
833 | <returns></returns> | ||
834 | </member> | 1022 | </member> |
835 | <member name="P:StructureMap.Configuration.DSL.Expressions.CreatePluginFamilyExpression`1.TheDefault"> | 1023 | <member name="T:StructureMap.Pipeline.UniquePerRequestInterceptor"> |
836 | <summary> | 1024 | <summary> |
837 | Define the Default Instance for this PluginType | 1025 | Makes sure that every request for this object returns a unique object |
838 | </summary> | 1026 | </summary> |
839 | </member> | 1027 | </member> |
840 | <member name="T:StructureMap.Configuration.DSL.Expressions.ProfileExpression"> | 1028 | <member name="T:StructureMap.Pipeline.IBuildInterceptor"> |
841 | <summary> | 1029 | <summary> |
842 | Expression class to help define a runtime Profile | 1030 | Plugin interface to create custom build or lifecycle policies for a Plugin Type |
843 | </summary> | 1031 | </summary> |
844 | </member> | 1032 | </member> |
845 | <member name="M:StructureMap.Configuration.DSL.Expressions.ProfileExpression.For``1"> | 1033 | <member name="T:StructureMap.Source.XmlMementoSource"> |
846 | <summary> | 1034 | <summary> |
847 | Starts the definition of the default instance for the containing Profile. This is | 1035 | Base class for all MementoSource classes that store InstanceMemento's as |
848 | still valid, but Type() is recommended | 1036 | node-normalized Xml |
849 | </summary> | 1037 | </summary> |
850 | <typeparam name="T"></typeparam> | ||
851 | <returns></returns> | ||
852 | </member> | 1038 | </member> |
853 | <member name="M:StructureMap.Configuration.DSL.Expressions.ProfileExpression.Type``1"> | 1039 | <member name="T:StructureMap.MementoSource"> |
854 | <summary> | 1040 | <summary> |
855 | Designate or define the Instance for a type within | 1041 | Abstract class that is the supertype of all storage and retrieval mechanisms of |
856 | this Profile | 1042 | InstanceMemento instances |
857 | </summary> | 1043 | </summary> |
858 | <typeparam name="T"></typeparam> | ||
859 | <returns></returns> | ||
860 | </member> | 1044 | </member> |
861 | <member name="M:StructureMap.Configuration.DSL.Expressions.ProfileExpression.For(System.Type)"> | 1045 | <member name="M:StructureMap.MementoSource.GetMemento(System.String)"> |
862 | <summary> | 1046 | <summary> |
863 | Use statement to define the Profile defaults for a Generic type | 1047 | Retrieves the named InstanceMemento |
864 | </summary> | 1048 | </summary> |
865 | <param name="pluginType"></param> | 1049 | <param name="instanceKey">The instanceKey of the requested InstanceMemento</param> |
866 | <returns></returns> | 1050 | <returns></returns> |
867 | </member> | 1051 | </member> |
868 | <member name="T:StructureMap.Configuration.DSL.Expressions.ProfileExpression.GenericDefaultExpression"> | 1052 | <member name="M:StructureMap.MementoSource.GetAllMementos"> |
869 | <summary> | 1053 | <summary> |
870 | Expression Builder inside of a Profile creation for | 1054 | Retrieves an array of all InstanceMemento's stored by this MementoSource |
871 | open generic types | ||
872 | </summary> | 1055 | </summary> |
1056 | <returns></returns> | ||
873 | </member> | 1057 | </member> |
874 | <member name="M:StructureMap.Configuration.DSL.Expressions.ProfileExpression.GenericDefaultExpression.UseConcreteType(System.Type)"> | 1058 | <member name="M:StructureMap.MementoSource.containsKey(System.String)"> |
875 | <summary> | 1059 | <summary> |
876 | Use this concreteType for the Instance of this Profile for the PluginType | 1060 | Template pattern method. Determines if the MementoSource contains a definition for the |
1061 | requested instanceKey. | ||
877 | </summary> | 1062 | </summary> |
878 | <param name="concreteType"></param> | 1063 | <param name="instanceKey"></param> |
879 | <returns></returns> | 1064 | <returns></returns> |
880 | </member> | 1065 | </member> |
881 | <member name="M:StructureMap.Configuration.DSL.Expressions.ProfileExpression.GenericDefaultExpression.Use(StructureMap.Pipeline.Instance)"> | 1066 | <member name="M:StructureMap.MementoSource.retrieveMemento(System.String)"> |
882 | <summary> | 1067 | <summary> |
883 | Use this Instance for the Profile Instance of this Plugin Type | 1068 | Template pattern method. Retrieves an InstanceMemento for the instanceKey |
884 | </summary> | 1069 | </summary> |
885 | <param name="instance"></param> | 1070 | <param name="instanceKey"></param> |
886 | <returns></returns> | 1071 | <returns></returns> |
887 | </member> | 1072 | </member> |
888 | <member name="M:StructureMap.Configuration.DSL.Expressions.ProfileExpression.GenericDefaultExpression.UseNamedInstance(System.String)"> | 1073 | <member name="P:StructureMap.MementoSource.SourceType"> |
889 | <summary> | 1074 | <summary> |
890 | Use the named Instance as the Profile Instance for this PluginType | 1075 | The type of MementoSource |
891 | </summary> | 1076 | </summary> |
892 | <param name="name"></param> | ||
893 | <returns></returns> | ||
894 | </member> | 1077 | </member> |
895 | <member name="T:StructureMap.Configuration.DSL.Expressions.ProfileExpression.InstanceDefaultExpression`1"> | 1078 | <member name="P:StructureMap.MementoSource.Description"> |
896 | <summary> | 1079 | <summary> |
897 | Expression Builder within defining a Profile | 1080 | String description of the MementoSource. Used in the StructureMap-Client UI. |
898 | </summary> | 1081 | </summary> |
899 | <typeparam name="T"></typeparam> | ||
900 | </member> | 1082 | </member> |
901 | <member name="M:StructureMap.Configuration.DSL.Expressions.ProfileExpression.InstanceDefaultExpression`1.UseNamedInstance(System.String)"> | 1083 | <member name="T:StructureMap.Source.XmlAttributeFileMementoSource"> |
902 | <summary> | 1084 | <summary> |
903 | Use a named, preconfigured instance as the default instance for this profile | 1085 | Stores Attribute-normalized InstanceMemento's in an external file |
904 | </summary> | 1086 | </summary> |
905 | <param name="instanceKey"></param> | ||
906 | <returns></returns> | ||
907 | </member> | 1087 | </member> |
908 | <member name="M:StructureMap.Configuration.DSL.Expressions.ProfileExpression.InstanceDefaultExpression`1.Use(StructureMap.Pipeline.Instance)"> | 1088 | <member name="T:StructureMap.Source.XmlFileMementoSource"> |
909 | <summary> | 1089 | <summary> |
910 | Define the default instance of the PluginType for the containing Profile | 1090 | Implementation of XmlMementoSource that reads InstanceMemento's from an external file. |
1091 | Useful to break the StructureMap.config file into smaller pieces. | ||
911 | </summary> | 1092 | </summary> |
912 | <param name="mementoBuilder"></param> | ||
913 | <returns></returns> | ||
914 | </member> | 1093 | </member> |
915 | <member name="M:StructureMap.Configuration.DSL.Expressions.ProfileExpression.InstanceDefaultExpression`1.Use(System.Func{`0})"> | 1094 | <member name="M:StructureMap.Source.XmlFileMementoSource.#ctor(System.String,System.String,System.String)"> |
916 | <summary> | 1095 | <summary> |
917 | For this Profile, use an Instance with this Func | 1096 | Default constructor |
918 | </summary> | 1097 | </summary> |
919 | <param name="func"></param> | 1098 | <param name="FilePath">Path to the xml file that contains the instance configuration</param> |
920 | <returns></returns> | 1099 | <param name="XPath">XPath expression to the parent node that contains the InstanceMemento nodes. |
1100 | If empty, it defaults to the top node</param> | ||
1101 | <param name="NodeName">The name of the nodes that are InstanceMemento nodes. Useful to store | ||
1102 | different types of instances in the same file</param> | ||
921 | </member> | 1103 | </member> |
922 | <member name="M:StructureMap.Configuration.DSL.Expressions.ProfileExpression.InstanceDefaultExpression`1.Use(`0)"> | 1104 | <member name="T:StructureMap.Source.MemoryMementoSource"> |
923 | <summary> | 1105 | <summary> |
924 | For this Profile, use this object | 1106 | An in-memory MementoSource |
925 | </summary> | 1107 | </summary> |
926 | <param name="t"></param> | ||
927 | <returns></returns> | ||
928 | </member> | 1108 | </member> |
929 | <member name="M:StructureMap.Configuration.DSL.Expressions.ProfileExpression.InstanceDefaultExpression`1.UseConcreteType``1"> | 1109 | <member name="T:StructureMap.Source.BasicXmlMementoSource"> |
930 | <summary> | 1110 | <summary> |
931 | For this Profile, use the Concrete Type | 1111 | Generic implementation of an XmlMementoSource |
932 | </summary> | 1112 | </summary> |
933 | <typeparam name="CONCRETETYPE"></typeparam> | ||
934 | <returns></returns> | ||
935 | </member> | 1113 | </member> |
936 | <member name="M:StructureMap.Configuration.DSL.IRegistry.SelectConstructor``1(System.Linq.Expressions.Expression{System.Func{``0}})"> | 1114 | <member name="M:StructureMap.Configuration.DSL.IRegistry.SelectConstructor``1(System.Linq.Expressions.Expression{System.Func{``0}})"> |
937 | <summary> | 1115 | <summary> |
... | ... | ||
939 | class. Applies globally to all Containers in a single AppDomain. | 1117 | class. Applies globally to all Containers in a single AppDomain. |
940 | </summary> | 1118 | </summary> |
941 | <typeparam name="T"></typeparam> | 1119 | <typeparam name="T"></typeparam> |
942 | <param name="func"></param> | 1120 | <param name="expression"></param> |
943 | </member> | 1121 | </member> |
944 | <member name="T:StructureMap.Configuration.DSL.Registry"> | 1122 | <member name="T:StructureMap.Configuration.DSL.Registry"> |
945 | <summary> | 1123 | <summary> |
... | ... | ||
998 | <typeparam name="PLUGINTYPE"></typeparam> | 1176 | <typeparam name="PLUGINTYPE"></typeparam> |
999 | <returns></returns> | 1177 | <returns></returns> |
1000 | </member> | 1178 | </member> |
1179 | <member name="M:StructureMap.Configuration.DSL.Registry.ForSingletonOf``1"> | ||
1180 | <summary> | ||
1181 | Convenience method. Equivalent of ForRequestedType[PluginType]().AsSingletons() | ||
1182 | </summary> | ||
1183 | <typeparam name="PLUGINTYPE"></typeparam> | ||
1184 | <returns></returns> | ||
1185 | </member> | ||
1001 | <member name="M:StructureMap.Configuration.DSL.Registry.Build"> | 1186 | <member name="M:StructureMap.Configuration.DSL.Registry.Build"> |
1002 | <summary> | 1187 | <summary> |
1003 | Uses the configuration expressions of this Registry to create a PluginGraph | 1188 | Uses the configuration expressions of this Registry to create a PluginGraph |
... | ... | ||
1083 | class. Applies globally to all Containers in a single AppDomain. | 1268 | class. Applies globally to all Containers in a single AppDomain. |
1084 | </summary> | 1269 | </summary> |
1085 | <typeparam name="T"></typeparam> | 1270 | <typeparam name="T"></typeparam> |
1086 | <param name="func"></param> | 1271 | <param name="expression"></param> |
1087 | </member> | 1272 | </member> |
1088 | <member name="T:StructureMap.Configuration.DSL.Registry.BuildWithExpression`1"> | 1273 | <member name="T:StructureMap.Configuration.DSL.Registry.BuildWithExpression`1"> |
1089 | <summary> | 1274 | <summary> |
... | ... | ||
1091 | </summary> | 1276 | </summary> |
1092 | <typeparam name="T"></typeparam> | 1277 | <typeparam name="T"></typeparam> |
1093 | </member> | 1278 | </member> |
1094 | <member name="T:StructureMap.Emitting.BuildInstanceMethod"> | 1279 | <member name="T:StructureMap.Pipeline.ExpressedInstance`1"> |
1095 | <summary> | 1280 | <summary> |
1096 | Emits the IL for the InstanceBuilder.BuildInstance(InstanceMemento) method of an | 1281 | Base class for many of the Instance subclasses to support |
1097 | InstanceBuilder | 1282 | method chaining in the Registry DSL for common options |
1098 | </summary> | 1283 | </summary> |
1284 | <typeparam name="T"></typeparam> | ||
1099 | </member> | 1285 | </member> |
1100 | <member name="T:StructureMap.Emitting.Method"> | 1286 | <member name="M:StructureMap.Pipeline.ExpressedInstance`1.WithName(System.String)"> |
1101 | <summary> | 1287 | <summary> |
1102 | Emits the IL for one method | 1288 | Set the name of this Instance |
1103 | </summary> | 1289 | </summary> |
1290 | <param name="instanceKey"></param> | ||
1291 | <returns></returns> | ||
1104 | </member> | 1292 | </member> |
1105 | <member name="T:StructureMap.Emitting.ClassBuilder"> | 1293 | <member name="M:StructureMap.Pipeline.ExpressedInstance`1.OnCreation``1(System.Action{``0})"> |
1106 | <summary> | 1294 | <summary> |
1107 | Emits the IL for a new class Type | 1295 | Register an Action to perform on the object created by this Instance |
1296 | before it is returned to the caller | ||
1108 | </summary> | 1297 | </summary> |
1298 | <typeparam name="TYPE"></typeparam> | ||
1299 | <param name="handler"></param> | ||
1300 | <returns></returns> | ||
1109 | </member> | 1301 | </member> |
1110 | <member name="T:StructureMap.Emitting.DynamicAssembly"> | 1302 | <member name="M:StructureMap.Pipeline.ExpressedInstance`1.EnrichWith``1(StructureMap.Interceptors.EnrichmentHandler{``0})"> |
1111 | <summary> | 1303 | <summary> |
1112 | Helper class to use to create a dynamically emitted assembly | 1304 | Register a Func to potentially enrich or substitute for the object |
1305 | created by this Instance before it is returned to the caller | ||
1113 | </summary> | 1306 | </summary> |
1307 | <typeparam name="TYPE"></typeparam> | ||
1308 | <param name="handler"></param> | ||
1309 | <returns></returns> | ||
1114 | </member> | 1310 | </member> |
1115 | <member name="T:StructureMap.Emitting.InstanceBuilderAssembly"> | 1311 | <member name="M:StructureMap.Pipeline.ExpressedInstance`1.EnrichWith``1(StructureMap.Interceptors.ContextEnrichmentHandler{``0})"> |
1116 | <summary> | 1312 | <summary> |
1117 | Manages the IL emitting of a dynamic assembly of InstanceBuilder classes | 1313 | Register a Func to potentially enrich or substitute for the object |
1314 | created by this Instance before it is returned to the caller | ||
1118 | </summary> | 1315 | </summary> |
1316 | <typeparam name="TYPE"></typeparam> | ||
1317 | <param name="handler"></param> | ||
1318 | <returns></returns> | ||
1119 | </member> | 1319 | </member> |
1120 | <member name="M:StructureMap.Emitting.InstanceBuilderAssembly.getInstanceBuilderClassName(System.Type)"> | 1320 | <member name="M:StructureMap.Pipeline.ExpressedInstance`1.InterceptWith(StructureMap.Interceptors.InstanceInterceptor)"> |
1121 | <summary> | 1321 | <summary> |
1122 | Gets a class name for the InstanceBuilder that will be emitted for this Plugin | 1322 | Register an <see cref="T:StructureMap.Interceptors.InstanceInterceptor">InstanceInterceptor</see> with this Instance |
1123 | </summary> | 1323 | </summary> |
1324 | <param name="interceptor"></param> | ||
1124 | <returns></returns> | 1325 | <returns></returns> |
1125 | </member> | 1326 | </member> |
1126 | <member name="T:StructureMap.Emitting.Parameters.ChildArrayParameterEmitter"> | 1327 | <member name="T:StructureMap.ConfigurationExpression"> |
1127 | <summary> | 1328 | <summary> |
1128 | Implementation of ParameterEmitter for a constructor argument like | 1329 | Used as the argument in the Container.Configure() method to describe |
1129 | MyClass(IStrategy[] strategies) | 1330 | configuration directives and specify the sources of configuration for |
1331 | a Container | ||
1130 | </summary> | 1332 | </summary> |
1131 | </member> | 1333 | </member> |
1132 | <member name="T:StructureMap.Emitting.Parameters.ParameterEmitter"> | 1334 | <member name="M:StructureMap.ConfigurationExpression.AddRegistry``1"> |
1133 | <summary> | 1335 | <summary> |
1134 | Abstract class to provide a template for emitting the instructions for retrieving | 1336 | Creates and adds a Registry object of type T. |
1135 | one constructor function argument from an InstanceMemento and feeding into the | ||
1136 | constructor function | ||
1137 | </summary> | 1337 | </summary> |
1338 | <typeparam name="T">The Registry Type</typeparam> | ||
1138 | </member> | 1339 | </member> |
1139 | <member name="T:StructureMap.Emitting.Parameters.ChildParameterEmitter"> | 1340 | <member name="M:StructureMap.ConfigurationExpression.AddRegistry(StructureMap.Configuration.DSL.Registry)"> |
1140 | <summary> | 1341 | <summary> |
1141 | Implementation of ParameterEmitter for a non-primitive, non-array | 1342 | Imports all the configuration from a Registry object |
1142 | constructor argument | ||
1143 | </summary> | 1343 | </summary> |
1344 | <param name="registry"></param> | ||
1144 | </member> | 1345 | </member> |
1145 | <member name="T:StructureMap.Emitting.Parameters.EnumParameterEmitter"> | 1346 | <member name="M:StructureMap.ConfigurationExpression.AddConfigurationFromXmlFile(System.String)"> |
1146 | <summary> | 1347 | <summary> |
1147 | Implementation of ParameterEmitter for enumeration types | 1348 | Imports configuration from an Xml file. The fileName |
1349 | must point to an Xml file with valid StructureMap | ||
1350 | configuration | ||
1148 | </summary> | 1351 | </summary> |
1352 | <param name="fileName"></param> | ||
1149 | </member> | 1353 | </member> |
1150 | <member name="T:StructureMap.Emitting.Parameters.PrimitiveParameterEmitter"> | 1354 | <member name="M:StructureMap.ConfigurationExpression.AddConfigurationFromNode(System.Xml.XmlNode)"> |
1151 | <summary> | 1355 | <summary> |
1152 | Implementation of ParameterEmitter for primitive types other than strings. | 1356 | Imports configuration directly from an XmlNode. This |
1357 | method was intended for scenarios like Xml being embedded | ||
1358 | into an assembly. The node must be a 'StructureMap' node | ||
1153 | </summary> | 1359 | </summary> |
1360 | <param name="node"></param> | ||
1154 | </member> | 1361 | </member> |
1155 | <member name="T:StructureMap.Emitting.Parameters.StringParameterEmitter"> | 1362 | <member name="P:StructureMap.ConfigurationExpression.IncludeConfigurationFromConfigFile"> |
1156 | <summary> | 1363 | <summary> |
1157 | Implementation of ParameterEmitter for string type constructor arguments | 1364 | If true, directs StructureMap to look for configuration in the App.config. |
1365 | The default value is false. | ||
1158 | </summary> | 1366 | </summary> |
1159 | </member> | 1367 | </member> |
1160 | <member name="T:StructureMap.Exceptions.InstancePropertyValueException"> | 1368 | <member name="T:StructureMap.Graph.PluginFamilyCollection"> |
1161 | <summary> | 1369 | <summary> |
1162 | Thrown by IProperty classes when an invalid value is applied to | 1370 | Custom collection class for PluginFamily's |
1163 | a property of an InstanceGraph | ||
1164 | </summary> | 1371 | </summary> |
1165 | </member> | 1372 | </member> |
1166 | <member name="T:StructureMap.StructureMapException"> | 1373 | <member name="T:StructureMap.PluggableAttribute"> |
1167 | <summary> | 1374 | <summary> |
1168 | Main exception for StructureMap. Use the ErrorCode to aid in troubleshooting | 1375 | Used to implicitly mark a class as a Plugin candidate for StructureMap |
1169 | StructureMap problems | ||
1170 | </summary> | 1376 | </summary> |
1171 | </member> | 1377 | </member> |
1172 | <member name="T:StructureMap.Graph.Plugin"> | 1378 | <member name="M:StructureMap.PluggableAttribute.InstanceOf(System.Type)"> |
1173 | <summary> | 1379 | <summary> |
1174 | Represents a concrete class that can be built by StructureMap as an instance of the parent | 1380 | Gets an instance of PluggableAttribute from a Type object |
1175 | PluginFamily’s PluginType. The properties of a Plugin are the CLR Type of the concrete class, | ||
1176 | and the human-friendly concrete key that StructureMap will use to identify the Type. | ||
1177 | </summary> | 1381 | </summary> |
1382 | <param name="objectType"></param> | ||
1383 | <returns></returns> | ||
1178 | </member> | 1384 | </member> |
1179 | <member name="P:StructureMap.Graph.Plugin.ConcreteKey"> | 1385 | <member name="M:StructureMap.PluggableAttribute.MarkedAsPluggable(System.Type)"> |
1180 | <summary> | 1386 | <summary> |
1181 | The ConcreteKey that identifies the Plugin within a PluginFamily | 1387 | Determines whether a Type object is marked as Pluggable |
1182 | </summary> | 1388 | </summary> |
1389 | <param name="objectType"></param> | ||
1390 | <returns></returns> | ||
1183 | </member> | 1391 | </member> |
1184 | <member name="P:StructureMap.Graph.Plugin.PluggedType"> | 1392 | <member name="P:StructureMap.PluggableAttribute.ConcreteKey"> |
1185 | <summary> | 1393 | <summary> |
1186 | The concrete CLR Type represented by the Plugin | 1394 | The ConcreteKey alias of the Type |
1187 | </summary> | 1395 | </summary> |
1188 | </member> | 1396 | </member> |
1189 | <member name="P:StructureMap.Graph.Plugin.Setters"> | 1397 | <member name="M:StructureMap.Graph.Constructor.GetConstructor(System.Type)"> |
1190 | <summary> | 1398 | <summary> |
1191 | Property's that will be filled by setter injection | 1399 | Returns the System.Reflection.ConstructorInfo for the PluggedType. Uses either |
1400 | the "greediest" constructor with the most arguments or the constructor function | ||
1401 | marked with the [DefaultConstructor] | ||
1192 | </summary> | 1402 | </summary> |
1403 | <returns></returns> | ||
1193 | </member> | 1404 | </member> |
1194 | <member name="T:StructureMap.Graph.PluginFamily"> | 1405 | <member name="M:StructureMap.Source.TemplatedMementoSource.#ctor(StructureMap.MementoSource,StructureMap.MementoSource)"> |
1195 | <summary> | 1406 | <summary> |
1196 | Conceptually speaking, a PluginFamily object represents a point of abstraction or variability in | 1407 | Default Constructor |
1197 | the system. A PluginFamily defines a CLR Type that StructureMap can build, and all of the possible | ||
1198 | Plugin’s implementing the CLR Type. | ||
1199 | </summary> | 1408 | </summary> |
1409 | <param name="innerSource">MementoSource that contains the Memento Templates</param> | ||
1410 | <param name="templateSource">MementoSource that contains instances consisting of Template valuee</param> | ||
1200 | </member> | 1411 | </member> |
1201 | <member name="P:StructureMap.Graph.PluginFamily.PluginType"> | 1412 | <member name="T:StructureMap.Configuration.DSL.Expressions.ProfileExpression"> |
1202 | <summary> | 1413 | <summary> |
1203 | The CLR Type that defines the "Plugin" interface for the PluginFamily | 1414 | Expression class to help define a runtime Profile |
1204 | </summary> | 1415 | </summary> |
1205 | </member> | 1416 | </member> |
1206 | <member name="P:StructureMap.Graph.PluginFamily.DefaultInstanceKey"> | 1417 | <member name="M:StructureMap.Configuration.DSL.Expressions.ProfileExpression.For``1"> |
1207 | <summary> | 1418 | <summary> |
1208 | The InstanceKey of the default instance of the PluginFamily | 1419 | Starts the definition of the default instance for the containing Profile. This is |
1420 | still valid, but Type() is recommended | ||
1209 | </summary> | 1421 | </summary> |
1422 | <typeparam name="T"></typeparam> | ||
1423 | <returns></returns> | ||
1210 | </member> | 1424 | </member> |
1211 | <member name="T:StructureMap.Graph.PluginFamilyCollection"> | 1425 | <member name="M:StructureMap.Configuration.DSL.Expressions.ProfileExpression.Type``1"> |
1212 | <summary> | 1426 | <summary> |
1213 | Custom collection class for PluginFamily's | 1427 | Designate or define the Instance for a type within |
1428 | this Profile | ||
1214 | </summary> | 1429 | </summary> |
1430 | <typeparam name="T"></typeparam> | ||
1431 | <returns></returns> | ||
1215 | </member> | 1432 | </member> |
1216 | <member name="M:StructureMap.Graph.IPluginGraph.AddType(System.Type,System.Type)"> | 1433 | <member name="M:StructureMap.Configuration.DSL.Expressions.ProfileExpression.For(System.Type)"> |
1217 | <summary> | 1434 | <summary> |
1218 | Adds the concreteType as an Instance of the pluginType | 1435 | Use statement to define the Profile defaults for a Generic type |
1219 | </summary> | 1436 | </summary> |
1220 | <param name="pluginType"></param> | 1437 | <param name="pluginType"></param> |
1221 | <param name="concreteType"></param> | 1438 | <returns></returns> |
1222 | </member> | 1439 | </member> |
1223 | <member name="M:StructureMap.Graph.IPluginGraph.AddType(System.Type,System.Type,System.String)"> | 1440 | <member name="T:StructureMap.Configuration.DSL.Expressions.ProfileExpression.GenericDefaultExpression"> |
1224 | <summary> | 1441 | <summary> |
1225 | Adds the concreteType as an Instance of the pluginType with a name | 1442 | Expression Builder inside of a Profile creation for |
1443 | open generic types | ||
1226 | </summary> | 1444 | </summary> |
1227 | <param name="pluginType"></param> | ||
1228 | <param name="concreteType"></param> | ||
1229 | <param name="name"></param> | ||
1230 | </member> | 1445 | </member> |
1231 | <member name="M:StructureMap.Graph.IPluginGraph.AddType(System.Type)"> | 1446 | <member name="M:StructureMap.Configuration.DSL.Expressions.ProfileExpression.GenericDefaultExpression.UseConcreteType(System.Type)"> |
1232 | <summary> | 1447 | <summary> |
1233 | Add the pluggedType as an instance to any configured pluginType where pluggedType | 1448 | Use this concreteType for the Instance of this Profile for the PluginType |
1234 | could be assigned to the pluginType | ||
1235 | </summary> | 1449 | </summary> |
1236 | <param name="pluggedType"></param> | 1450 | <param name="concreteType"></param> |
1451 | <returns></returns> | ||
1237 | </member> | 1452 | </member> |
1238 | <member name="T:StructureMap.Graph.PluginGraph"> | 1453 | <member name="M:StructureMap.Configuration.DSL.Expressions.ProfileExpression.GenericDefaultExpression.Use(StructureMap.Pipeline.Instance)"> |
1239 | <summary> | 1454 | <summary> |
1240 | Models the runtime configuration of a StructureMap Container | 1455 | Use this Instance for the Profile Instance of this Plugin Type |
1241 | </summary> | 1456 | </summary> |
1457 | <param name="instance"></param> | ||
1458 | <returns></returns> | ||
1242 | </member> | 1459 | </member> |
1243 | <member name="M:StructureMap.Graph.PluginGraph.Seal"> | 1460 | <member name="M:StructureMap.Configuration.DSL.Expressions.ProfileExpression.GenericDefaultExpression.UseNamedInstance(System.String)"> |
1244 | <summary> | 1461 | <summary> |
1245 | Closes the PluginGraph for adding or removing members. Runs all the <see cref="T:StructureMap.Graph.AssemblyScanner"> AssemblyScanner's</see> | 1462 | Use the named Instance as the Profile Instance for this PluginType |
1246 | and attempts to attach concrete types to the proper plugin types. Calculates the Profile defaults. | ||
1247 | </summary> | 1463 | </summary> |
1464 | <param name="name"></param> | ||
1465 | <returns></returns> | ||
1248 | </member> | 1466 | </member> |
1249 | <member name="M:StructureMap.Graph.PluginGraph.Scan(System.Action{StructureMap.Graph.AssemblyScanner})"> | 1467 | <member name="T:StructureMap.Configuration.DSL.Expressions.ProfileExpression.InstanceDefaultExpression`1"> |
1250 | <summary> | 1468 | <summary> |
1251 | Adds an AssemblyScanner to the PluginGraph. Used for Testing. | 1469 | Expression Builder within defining a Profile |
1252 | </summary> | 1470 | </summary> |
1253 | <param name="action"></param> | 1471 | <typeparam name="T"></typeparam> |
1254 | </member> | 1472 | </member> |
1255 | <member name="M:StructureMap.Graph.PluginGraph.AddType(System.Type,System.Type)"> | 1473 | <member name="M:StructureMap.Configuration.DSL.Expressions.ProfileExpression.InstanceDefaultExpression`1.UseNamedInstance(System.String)"> |
1256 | <summary> | 1474 | <summary> |
1257 | Adds the concreteType as an Instance of the pluginType | 1475 | Use a named, preconfigured instance as the default instance for this profile |
1258 | </summary> | 1476 | </summary> |
1259 | <param name="pluginType"></param> | 1477 | <param name="instanceKey"></param> |
1260 | <param name="concreteType"></param> | 1478 | <returns></returns> |
1261 | </member> | 1479 | </member> |
1262 | <member name="M:StructureMap.Graph.PluginGraph.AddType(System.Type,System.Type,System.String)"> | 1480 | <member name="M:StructureMap.Configuration.DSL.Expressions.ProfileExpression.InstanceDefaultExpression`1.Use(StructureMap.Pipeline.Instance)"> |
1263 | <summary> | 1481 | <summary> |
1264 | Adds the concreteType as an Instance of the pluginType with a name | 1482 | Define the default instance of the PluginType for the containing Profile |
1265 | </summary> | 1483 | </summary> |
1266 | <param name="pluginType"></param> | 1484 | <param name="instance"></param> |
1267 | <param name="concreteType"></param> | 1485 | <returns></returns> |
1268 | <param name="name"></param> | ||
1269 | </member> | 1486 | </member> |
1270 | <member name="M:StructureMap.Graph.PluginGraph.AddType(System.Type)"> | 1487 | <member name="M:StructureMap.Configuration.DSL.Expressions.ProfileExpression.InstanceDefaultExpression`1.Use(System.Func{`0})"> |
1271 | <summary> | 1488 | <summary> |
1272 | Add the pluggedType as an instance to any configured pluginType where pluggedType | 1489 | For this Profile, use an Instance with this Func |
1273 | could be assigned to the pluginType | ||
1274 | </summary> | 1490 | </summary> |
1275 | <param name="pluggedType"></param> | 1491 | <param name="func"></param> |
1492 | <returns></returns> | ||
1276 | </member> | 1493 | </member> |
1277 | <member name="M:StructureMap.Graph.PluginGraph.Configure(System.Action{StructureMap.Configuration.DSL.Registry})"> | 1494 | <member name="M:StructureMap.Configuration.DSL.Expressions.ProfileExpression.InstanceDefaultExpression`1.Use(`0)"> |
1278 | <summary> | 1495 | <summary> |
1279 | Add configuration to a PluginGraph with the Registry DSL | 1496 | For this Profile, use this object |
1280 | </summary> | 1497 | </summary> |
1281 | <param name="action"></param> | 1498 | <param name="t"></param> |
1499 | <returns></returns> | ||
1282 | </member> | 1500 | </member> |
1283 | <member name="P:StructureMap.Graph.PluginGraph.IsSealed"> | 1501 | <member name="M:StructureMap.Configuration.DSL.Expressions.ProfileExpression.InstanceDefaultExpression`1.UseConcreteType``1"> |
1284 | <summary> | 1502 | <summary> |
1285 | Designates whether a PluginGraph has been "Sealed." | 1503 | For this Profile, use the Concrete Type |
1286 | </summary> | 1504 | </summary> |
1505 | <typeparam name="CONCRETETYPE"></typeparam> | ||
1506 | <returns></returns> | ||
1287 | </member> | 1507 | </member> |
1288 | <member name="T:StructureMap.Graph.SetterProperty"> | 1508 | <member name="T:StructureMap.PluginTypeConfiguration"> |
1289 | <summary> | 1509 | <summary> |
1290 | Represents a PropertyInfo of a Plugin.PluggedType that is filled by Setter Injection | 1510 | Metadata describing the registration of a PluginType |
1291 | </summary> | 1511 | </summary> |
1292 | </member> | 1512 | </member> |
1293 | <member name="T:StructureMap.Graph.SetterPropertyCollection"> | 1513 | <member name="P:StructureMap.PluginTypeConfiguration.Default"> |
1294 | <summary> | 1514 | <summary> |
1295 | Custom collection class for SetterProperty objects | 1515 | The "instance" that will be used when Container.GetInstance(PluginType) is called. |
1516 | See <see cref="T:StructureMap.Pipeline.IInstance">IInstance</see> for more information | ||
1296 | </summary> | 1517 | </summary> |
1297 | </member> | 1518 | </member> |
1298 | <member name="T:StructureMap.Graph.TypePath"> | 1519 | <member name="P:StructureMap.PluginTypeConfiguration.Policy"> |
1299 | <summary> | 1520 | <summary> |
1300 | Designates a CLR type that is loaded by name. | 1521 | The build "policy" for this PluginType. Used by the WhatDoIHave() diagnostics methods |
1301 | </summary> | 1522 | </summary> |
1302 | </member> | 1523 | </member> |
1303 | <member name="T:StructureMap.IInstanceFactory"> | 1524 | <member name="P:StructureMap.PluginTypeConfiguration.Instances"> |
1304 | <summary> | 1525 | <summary> |
1305 | Interface for a "Factory" pattern class that creates object instances of the PluginType | 1526 | All of the <see cref="T:StructureMap.Pipeline.IInstance">IInstance</see>'s registered |
1527 | for this PluginType | ||
1306 | </summary> | 1528 | </summary> |
1307 | </member> | 1529 | </member> |
1308 | <member name="T:StructureMap.IContainer"> | 1530 | <member name="T:StructureMap.IModel"> |
1309 | <summary> | 1531 | <summary> |
1310 | The main "container" object that implements the Service Locator pattern | 1532 | Models the state of a Container or ObjectFactory. Can be used to query for the |
1533 | existence of types registered with StructureMap | ||
1311 | </summary> | 1534 | </summary> |
1312 | </member> | 1535 | </member> |
1313 | <member name="M:StructureMap.IContainer.GetInstance(System.Type,System.String)"> | 1536 | <member name="M:StructureMap.IModel.HasDefaultImplementationFor(System.Type)"> |
1314 | <summary> | 1537 | <summary> |
1315 | Creates or finds the named instance of the pluginType | 1538 | Can StructureMap fulfill a request to ObjectFactory.GetInstance(pluginType) from the |
1539 | current configuration. This does not include concrete classes that could be auto-configured | ||
1540 | upon demand | ||
1316 | </summary> | 1541 | </summary> |
1317 | <param name="pluginType"></param> | 1542 | <param name="pluginType"></param> |
1318 | <param name="instanceKey"></param> | ||
1319 | <returns></returns> | 1543 | <returns></returns> |
1320 | </member> | 1544 | </member> |
1321 | <member name="M:StructureMap.IContainer.GetInstance(System.Type)"> | 1545 | <member name="M:StructureMap.IModel.HasDefaultImplementationFor``1"> |
1322 | <summary> | 1546 | <summary> |
1323 | Creates or finds the default instance of the pluginType | 1547 | Can StructureMap fulfill a request to ObjectFactory.GetInstance<T>() from the |
1548 | current configuration. This does not include concrete classes that could be auto-configured | ||
1549 | upon demand | ||
1324 | </summary> | 1550 | </summary> |
1325 | <param name="pluginType"></param> | 1551 | <typeparam name="T"></typeparam> |
1326 | <returns></returns> | 1552 | <returns></returns> |
1327 | </member> | 1553 | </member> |
1328 | <member name="M:StructureMap.IContainer.GetInstance(System.Type,StructureMap.Pipeline.Instance)"> | 1554 | <member name="M:StructureMap.IModel.InstancesOf(System.Type)"> |
1329 | <summary> | 1555 | <summary> |
1330 | Creates a new instance of the requested type using the supplied Instance. Mostly used internally | 1556 | Queryable access to all of the <see cref="T:StructureMap.Pipeline.IInstance">IInstance</see> for a given PluginType |
1331 | </summary> | 1557 | </summary> |
1332 | <param name="pluginType"></param> | 1558 | <param name="pluginType"></param> |
1333 | <param name="instance"></param> | ||
1334 | <returns></returns> | 1559 | <returns></returns> |
1335 | </member> | 1560 | </member> |
1336 | <member name="M:StructureMap.IContainer.GetInstance``1(System.String)"> | 1561 | <member name="M:StructureMap.IModel.InstancesOf``1"> |
1337 | <summary> | 1562 | <summary> |
1338 | Creates or finds the named instance of T | 1563 | Queryable access to all of the <see cref="T:StructureMap.Pipeline.IInstance">IInstance</see> for a given PluginType |
1339 | </summary> | 1564 | </summary> |
1340 | <typeparam name="T"></typeparam> | ||
1341 | <param name="instanceKey"></param> | ||
1342 | <returns></returns> | 1565 | <returns></returns> |
1343 | </member> | 1566 | </member> |
1344 | <member name="M:StructureMap.IContainer.GetInstance``1"> | 1567 | <member name="M:StructureMap.IModel.HasImplementationsFor(System.Type)"> |
1345 | <summary> | 1568 | <summary> |
1346 | Creates or finds the default instance of type T | 1569 | Does the current container have existing configuration for the "pluginType" |
1347 | </summary> | 1570 | </summary> |
1348 | <typeparam name="T"></typeparam> | 1571 | <param name="pluginType"></param> |
1349 | <returns></returns> | 1572 | <returns></returns> |
1350 | </member> | 1573 | </member> |
1351 | <member name="M:StructureMap.IContainer.GetInstance``1(StructureMap.Pipeline.Instance)"> | 1574 | <member name="M:StructureMap.IModel.HasImplementationsFor``1"> |
1352 | <summary> | 1575 | <summary> |
1353 | Creates a new instance of the requested type T using the supplied Instance. Mostly used internally | 1576 | Does the current container have existing configuration for the type T |
1354 | </summary> | 1577 | </summary> |
1355 | <param name="instance"></param> | ||
1356 | <returns></returns> | 1578 | <returns></returns> |
1357 | </member> | 1579 | </member> |
1358 | <member name="M:StructureMap.IContainer.GetAllInstances``1"> | 1580 | <member name="P:StructureMap.IModel.PluginTypes"> |
1359 | <summary> | 1581 | <summary> |
1360 | Creates or resolves all registered instances of type T | 1582 | Access to all the <seealso cref="T:StructureMap.PluginTypeConfiguration">Plugin Type</seealso> registrations |
1361 | </summary> | 1583 | </summary> |
1362 | <typeparam name="T"></typeparam> | ||
1363 | <returns></returns> | ||
1364 | </member> | 1584 | </member> |
1365 | <member name="M:StructureMap.IContainer.GetAllInstances(System.Type)"> | 1585 | <member name="M:StructureMap.Source.EmbeddedFolderXmlMementoSource.#ctor(StructureMap.Source.XmlMementoStyle,System.String,System.String,System.String)"> |
1366 | <summary> | 1586 | <summary> |
1367 | Creates or resolves all registered instances of the pluginType | 1587 | Implementation of MementoSource that stores and retrieves an XmlInstanceMemento per Embedded Resource file |
1588 | in a named namespace. EmbeddedFolderXmlMementoSource is meant to simplify complicated object graph configurations | ||
1589 | by isolating each instance to a separate | ||
1590 | editable file. | ||
1368 | </summary> | 1591 | </summary> |
1369 | <param name="pluginType"></param> | 1592 | <param name="style">NodeNormalized or AttributeNormalized</param> |
1370 | <returns></returns> | 1593 | <param name="assemblyName">The name of the Assembly with the embedded resources</param> |
1594 | <param name="folderPath">The root namespace of all of the mementos.</param> | ||
1595 | <param name="extension">The file extension of the memento files - "xml"</param> | ||
1371 | </member> | 1596 | </member> |
1372 | <member name="M:StructureMap.IContainer.TryGetInstance(System.Type,System.String)"> | 1597 | <member name="T:StructureMap.Graph.TypePath"> |
1373 | <summary> | 1598 | <summary> |
1374 | Creates or finds the named instance of the pluginType. Returns null if the named instance is not known to the container. | 1599 | Designates a CLR type that is loaded by name. |
1375 | </summary> | 1600 | </summary> |
1376 | <param name="pluginType"></param> | 1601 | </member> |
1377 | <param name="instanceKey"></param> | 1602 | <member name="T:StructureMap.Emitting.Method"> |
1603 | <summary> | ||
1604 | Emits the IL for one method | ||
1605 | </summary> | ||
1606 | </member> | ||
1607 | <member name="T:StructureMap.ExpressionVisitorBase"> | ||
1608 | <summary> | ||
1609 | Provides virtual methods that can be used by subclasses to parse an expression tree. | ||
1610 | </summary> | ||
1611 | <remarks> | ||
1612 | This class actually already exists in the System.Core assembly...as an internal class. | ||
1613 | I can only speculate as to why it is internal, but it is obviously much too dangerous | ||
1614 | for anyone outside of Microsoft to be using... | ||
1615 | </remarks> | ||
1616 | </member> | ||
1617 | <member name="M:StructureMap.Source.SingleEmbeddedXmlMementoSource.#ctor(System.String,StructureMap.Source.XmlMementoStyle,System.String,System.String)"> | ||
1618 | <summary> | ||
1619 | Retrieves Xml InstanceMemento's from an xml file stored as an embedded resource in an assembly. | ||
1620 | </summary> | ||
1621 | <param name="nodeName">Designates the nodes that are memento nodes</param> | ||
1622 | <param name="style">NodeNormalized or AttributeNormalized</param> | ||
1623 | <param name="assemblyName">The name of the Assembly the file is embedded into</param> | ||
1624 | <param name="path">The path to the embedded resource within the file</param> | ||
1625 | </member> | ||
1626 | <member name="T:StructureMap.Emitting.Parameters.ChildArrayParameterEmitter"> | ||
1627 | <summary> | ||
1628 | Implementation of ParameterEmitter for a constructor argument like | ||
1629 | MyClass(IStrategy[] strategies) | ||
1630 | </summary> | ||
1631 | </member> | ||
1632 | <member name="T:StructureMap.Emitting.InstanceBuilderAssembly"> | ||
1633 | <summary> | ||
1634 | Manages the IL emitting of a dynamic assembly of InstanceBuilder classes | ||
1635 | </summary> | ||
1636 | </member> | ||
1637 | <member name="M:StructureMap.Emitting.InstanceBuilderAssembly.getInstanceBuilderClassName(System.Type)"> | ||
1638 | <summary> | ||
1639 | Gets a class name for the InstanceBuilder that will be emitted for this Plugin | ||
1640 | </summary> | ||
1378 | <returns></returns> | 1641 | <returns></returns> |
1379 | </member> | 1642 | </member> |
1380 | <member name="M:StructureMap.IContainer.TryGetInstance(System.Type)"> | 1643 | <member name="F:StructureMap.Configuration.ConfigurationParserBuilder.DefaultConfigurationFilename"> |
1381 | <summary> | 1644 | <summary> |
1382 | Creates or finds the default instance of the pluginType. Returns null if the pluginType is not known to the container. | 1645 | The name of the default configuration file. The value is always <c>StructurMap.config</c> |
1383 | </summary> | 1646 | </summary> |
1384 | <param name="pluginType"></param> | 1647 | </member> |
1648 | <member name="M:StructureMap.Configuration.ConfigurationParserBuilder.GetStructureMapConfigurationPath"> | ||
1649 | <summary> | ||
1650 | Returns the absolute path to the StructureMap.config file | ||
1651 | </summary> | ||
1385 | <returns></returns> | 1652 | <returns></returns> |
1386 | </member> | 1653 | </member> |
1387 | <member name="M:StructureMap.IContainer.TryGetInstance``1"> | 1654 | <member name="T:StructureMap.Pipeline.BuildStack"> |
1388 | <summary> | 1655 | <summary> |
1389 | Creates or finds the default instance of type T. Returns the default value of T if it is not known to the container. | 1656 | Provides metadata about the object graph being constructed. More or less a stack trace of the GetInstance() pipeline |
1657 | that can be used for "contextual" object construction | ||
1390 | </summary> | 1658 | </summary> |
1391 | <typeparam name="T"></typeparam> | 1659 | </member> |
1660 | <member name="P:StructureMap.Pipeline.BuildStack.Root"> | ||
1661 | <summary> | ||
1662 | The top level of the object graph. Describes the original requested instance | ||
1663 | </summary> | ||
1664 | </member> | ||
1665 | <member name="P:StructureMap.Pipeline.BuildStack.Current"> | ||
1666 | <summary> | ||
1667 | The current BuildFrame | ||
1668 | </summary> | ||
1669 | </member> | ||
1670 | <member name="P:StructureMap.Pipeline.BuildStack.Parent"> | ||
1671 | <summary> | ||
1672 | The immediate parent BuildFrame | ||
1673 | </summary> | ||
1674 | </member> | ||
1675 | <member name="T:StructureMap.IInstanceFactory"> | ||
1676 | <summary> | ||
1677 | Interface for a "Factory" pattern class that creates object instances of the PluginType | ||
1678 | </summary> | ||
1679 | </member> | ||
1680 | <member name="T:StructureMap.InstanceBuilder"> | ||
1681 | <summary> | ||
1682 | Base class for creating an object instance from an InstanceMemento. SubClasses are | ||
1683 | emitted for each concrete Plugin with constructor parameters. | ||
1684 | </summary> | ||
1685 | </member> | ||
1686 | <member name="T:StructureMap.Emitting.Parameters.StringParameterEmitter"> | ||
1687 | <summary> | ||
1688 | Implementation of ParameterEmitter for string type constructor arguments | ||
1689 | </summary> | ||
1690 | </member> | ||
1691 | <member name="T:StructureMap.ValidationMethodAttribute"> | ||
1692 | <summary> | ||
1693 | Marks a method with no parameters as a method that validates an instance. StructureMap | ||
1694 | uses this method to validate the configuration file. If the method does not throw an | ||
1695 | exception, the object is assumed to be valid. | ||
1696 | </summary> | ||
1697 | </member> | ||
1698 | <member name="M:StructureMap.ValidationMethodAttribute.GetValidationMethods(System.Type)"> | ||
1699 | <summary> | ||
1700 | Returns an array of any MethodInfo's on a Type that are marked as ValidationMethod | ||
1701 | </summary> | ||
1702 | <param name="objectType">CLR Type to search for validation methods</param> | ||
1392 | <returns></returns> | 1703 | <returns></returns> |
1393 | </member> | 1704 | </member> |
1394 | <member name="M:StructureMap.IContainer.TryGetInstance``1(System.String)"> | 1705 | <member name="T:StructureMap.Configuration.DSL.SetterConvention"> |
1395 | <summary> | 1706 | <summary> |
1396 | Creates or finds the named instance of type T. Returns the default value of T if the named instance is not known to the container. | 1707 | Used as an expression builder to specify setter injection policies |
1397 | </summary> | 1708 | </summary> |
1709 | </member> | ||
1710 | <member name="M:StructureMap.Configuration.DSL.SetterConvention.OfType``1"> | ||
1711 | <summary> | ||
1712 | Directs StructureMap to treat all public setters of type T as | ||
1713 | mandatory properties | ||
1714 | </summary> | ||
1398 | <typeparam name="T"></typeparam> | 1715 | <typeparam name="T"></typeparam> |
1399 | <returns></returns> | ||
1400 | </member> | 1716 | </member> |
1401 | <member name="M:StructureMap.IContainer.Configure(System.Action{StructureMap.ConfigurationExpression})"> | 1717 | <member name="M:StructureMap.Configuration.DSL.SetterConvention.TypeMatches(System.Predicate{System.Type})"> |
1402 | <summary> | 1718 | <summary> |
1403 | Used to add additional configuration to a Container *after* the initialization. | 1719 | Directs StructureMap to tread all public setters with |
1720 | a PropertyType that matches the predicate as a | ||
1721 | mandatory setter | ||
1404 | </summary> | 1722 | </summary> |
1405 | <param name="configure"></param> | 1723 | <param name="predicate"></param> |
1406 | </member> | 1724 | </member> |
1407 | <member name="M:StructureMap.IContainer.Inject``1(``0)"> | 1725 | <member name="M:StructureMap.Configuration.DSL.SetterConvention.Matching(System.Predicate{System.Reflection.PropertyInfo})"> |
1408 | <summary> | 1726 | <summary> |
1409 | Injects the given object into a Container as the default for the designated | 1727 | Directs StructureMap to treat all public setters that match the |
1410 | PLUGINTYPE. Mostly used for temporarily setting up return values of the Container | 1728 | rule as mandatory properties |
1411 | to introduce mocks or stubs during automated testing scenarios | ||
1412 | </summary> | 1729 | </summary> |
1413 | <typeparam name="PLUGINTYPE"></typeparam> | 1730 | <param name="rule"></param> |
1414 | <param name="instance"></param> | ||
1415 | </member> | 1731 | </member> |
1416 | <member name="M:StructureMap.IContainer.Inject(System.Type,System.Object)"> | 1732 | <member name="M:StructureMap.Configuration.DSL.SetterConvention.WithAnyTypeFromNamespace(System.String)"> |
1417 | <summary> | 1733 | <summary> |
1418 | Injects the given object into a Container as the default for the designated | 1734 | Directs StructureMap to treat all public setters with a property |
1419 | pluginType. Mostly used for temporarily setting up return values of the Container | 1735 | type in the specified namespace as mandatory properties |
1420 | to introduce mocks or stubs during automated testing scenarios | ||
1421 | </summary> | 1736 | </summary> |
1422 | <param name="pluginType"></param> | 1737 | <param name="nameSpace"></param> |
1423 | <param name="stub"></param> | ||
1424 | </member> | 1738 | </member> |
1425 | <member name="M:StructureMap.IContainer.Inject``1(System.String,``0)"> | 1739 | <member name="M:StructureMap.Configuration.DSL.SetterConvention.WithAnyTypeFromNamespaceContainingType``1"> |
1426 | <summary> | 1740 | <summary> |
1427 | Injects the given object into a Container by name for the designated | 1741 | Directs StructureMap to treat all public setters with a property |
1428 | pluginType. Mostly used for temporarily setting up return values of the Container | 1742 | type in the specified namespace as mandatory properties |
1429 | to introduce mocks or stubs during automated testing scenarios | ||
1430 | </summary> | 1743 | </summary> |
1431 | <typeparam name="T"></typeparam> | 1744 | <typeparam name="T"></typeparam> |
1432 | <param name="name"></param> | ||
1433 | <param name="instance"></param> | ||
1434 | </member> | 1745 | </member> |
1435 | <member name="M:StructureMap.IContainer.SetDefaultsToProfile(System.String)"> | 1746 | <member name="M:StructureMap.Configuration.DSL.SetterConvention.NameMatches(System.Predicate{System.String})"> |
1436 | <summary> | 1747 | <summary> |
1437 | Sets the default instance for all PluginType's to the designated Profile. | 1748 | Directs StructureMap to treat all public setters where to property name |
1749 | matches the specified rule as a mandatory property | ||
1438 | </summary> | 1750 | </summary> |
1439 | <param name="profile"></param> | 1751 | <param name="rule"></param> |
1440 | </member> | 1752 | </member> |
1441 | <member name="M:StructureMap.IContainer.WhatDoIHave"> | 1753 | <member name="M:StructureMap.StructureMapConfiguration.IncludeConfigurationFromNode(System.Xml.XmlNode,System.String)"> |
1442 | <summary> | 1754 | <summary> |
1443 | Returns a report detailing the complete configuration of all PluginTypes and Instances | 1755 | Programmatically adds a <StructureMap> node containing Xml configuration |
1444 | </summary> | 1756 | </summary> |
1757 | <param name="node"></param> | ||
1758 | <param name="description">A description of this node source for troubleshooting purposes</param> | ||
1759 | </member> | ||
1760 | <member name="M:StructureMap.StructureMapConfiguration.GetStructureMapConfigurationPath"> | ||
1761 | <summary> | ||
1762 | Returns the path to the StructureMap.config file | ||
1763 | </summary> | ||
1445 | <returns></returns> | 1764 | <returns></returns> |
1446 | </member> | 1765 | </member> |
1447 | <member name="M:StructureMap.IContainer.AssertConfigurationIsValid"> | 1766 | <member name="M:StructureMap.StructureMapConfiguration.ResetAll"> |
1448 | <summary> | 1767 | <summary> |
1449 | Use with caution! Does a full environment test of the configuration of this container. Will try to create every configured | 1768 | Clears StructureMapConfiguration of all configuration options. Returns StructureMap |
1450 | instance and afterward calls any methods marked with the [ValidationMethod] attribute | 1769 | to only using the default StructureMap.config file for configuration. |
1451 | </summary> | 1770 | </summary> |
1452 | </member> | 1771 | </member> |
1453 | <member name="M:StructureMap.IContainer.GetAllInstances``1(StructureMap.Pipeline.ExplicitArguments)"> | 1772 | <member name="M:StructureMap.StructureMapConfiguration.GetPluginGraph"> |
1454 | <summary> | 1773 | <summary> |
1455 | Gets all configured instances of type T using explicitly configured arguments from the "args" | 1774 | Builds a PluginGraph object for the current configuration. Used by ObjectFactory. |
1456 | </summary> | 1775 | </summary> |
1457 | <typeparam name="T"></typeparam> | ||
1458 | <param name="args"></param> | ||
1459 | <returns></returns> | 1776 | <returns></returns> |
1460 | </member> | 1777 | </member> |
1461 | <member name="M:StructureMap.IContainer.GetAllInstances(System.Type,StructureMap.Pipeline.ExplicitArguments)"> | 1778 | <member name="M:StructureMap.StructureMapConfiguration.IncludeConfigurationFromFile(System.String)"> |
1462 | <summary> | 1779 | <summary> |
1463 | Gets the default instance of type T using the explicitly configured arguments from the "args" | 1780 | Directs StructureMap to include Xml configuration information from a separate file |
1464 | </summary> | 1781 | </summary> |
1465 | <param name="type"></param> | 1782 | <param name="filename"></param> |
1466 | <param name="args"></param> | 1783 | </member> |
1784 | <member name="M:StructureMap.StructureMapConfiguration.Scan(System.Action{StructureMap.Graph.IAssemblyScanner})"> | ||
1785 | <summary> | ||
1786 | Programmatically determine Assembly's to be scanned for attribute configuration | ||
1787 | </summary> | ||
1467 | <returns></returns> | 1788 | <returns></returns> |
1468 | </member> | 1789 | </member> |
1469 | <member name="M:StructureMap.IContainer.With``1(``0)"> | 1790 | <member name="M:StructureMap.StructureMapConfiguration.BuildInstancesOf``1"> |
1470 | <summary> | 1791 | <summary> |
1471 | Starts a request for an instance or instances with explicitly configured arguments. Specifies that any dependency | 1792 | Direct StructureMap to create instances of Type T |
1472 | of type T should be "arg" | ||
1473 | </summary> | 1793 | </summary> |
1474 | <typeparam name="T"></typeparam> | 1794 | <typeparam name="PLUGINTYPE">The Type to build</typeparam> |
1475 | <param name="arg"></param> | ||
1476 | <returns></returns> | 1795 | <returns></returns> |
1477 | </member> | 1796 | </member> |
1478 | <member name="M:StructureMap.IContainer.With(System.String)"> | 1797 | <member name="M:StructureMap.StructureMapConfiguration.ForRequestedType``1"> |
1479 | <summary> | 1798 | <summary> |
1480 | Starts a request for an instance or instances with explicitly configured arguments. Specifies that any dependency or primitive argument | 1799 | Direct StructureMap to create instances of Type T |
1481 | with the designated name should be the next value. | ||
1482 | </summary> | 1800 | </summary> |
1483 | <param name="argName"></param> | 1801 | <typeparam name="PLUGINTYPE">The Type to build</typeparam> |
1484 | <returns></returns> | 1802 | <returns></returns> |
1485 | </member> | 1803 | </member> |
1486 | <member name="M:StructureMap.IContainer.GetInstance(System.Type,StructureMap.Pipeline.ExplicitArguments)"> | 1804 | <member name="M:StructureMap.StructureMapConfiguration.CreateProfile(System.String)"> |
1487 | <summary> | 1805 | <summary> |
1488 | Gets the default instance of the pluginType using the explicitly configured arguments from the "args" | 1806 | Starts the definition of a configuration Profile. |
1489 | </summary> | 1807 | </summary> |
1490 | <param name="pluginType"></param> | 1808 | <param name="profileName"></param> |
1491 | <param name="args"></param> | ||
1492 | <returns></returns> | 1809 | <returns></returns> |
1493 | </member> | 1810 | </member> |
1494 | <member name="M:StructureMap.IContainer.EjectAllInstancesOf``1"> | 1811 | <member name="M:StructureMap.StructureMapConfiguration.AddRegistry(StructureMap.Configuration.DSL.Registry)"> |
1495 | <summary> | 1812 | <summary> |
1496 | Removes all configured instances of type T from the Container. Use with caution! | 1813 | Directs StructureMap to use a Registry class to construct the |
1814 | PluginGraph | ||
1497 | </summary> | 1815 | </summary> |
1498 | <typeparam name="T"></typeparam> | 1816 | <param name="registry"></param> |
1499 | </member> | 1817 | </member> |
1500 | <member name="M:StructureMap.IContainer.BuildUp(System.Object)"> | 1818 | <member name="P:StructureMap.StructureMapConfiguration.UseDefaultStructureMapConfigFile"> |
1501 | <summary> | 1819 | <summary> |
1502 | The "BuildUp" method takes in an already constructed object | 1820 | Flag to enable or disable the usage of the default StructureMap.config |
1503 | and uses Setter Injection to push in configured dependencies | 1821 | If set to false, StructureMap will not look for a StructureMap.config file |
1504 | of that object | ||
1505 | </summary> | 1822 | </summary> |
1506 | <param name="target"></param> | ||
1507 | </member> | 1823 | </member> |
1508 | <!-- Badly formed XML comment ignored for member "M:StructureMap.IContainer.ForGenericType(System.Type)" --> | 1824 | <member name="T:StructureMap.PluginGraphBuilder"> |
1509 | <member name="P:StructureMap.IContainer.Model"> | ||
1510 | <summary> | 1825 | <summary> |
1511 | Provides queryable access to the configured PluginType's and Instances of this Container | 1826 | Reads configuration XML documents and builds the structures necessary to initialize |
1827 | the Container/IInstanceFactory/InstanceBuilder/ObjectInstanceActivator objects | ||
1512 | </summary> | 1828 | </summary> |
1513 | </member> | 1829 | </member> |
1514 | <member name="T:StructureMap.InstanceBuilder"> | 1830 | <member name="M:StructureMap.PluginGraphBuilder.Build"> |
1515 | <summary> | 1831 | <summary> |
1516 | Base class for creating an object instance from an InstanceMemento. SubClasses are | 1832 | Reads the configuration information and returns the PluginGraph definition of |
1517 | emitted for each concrete Plugin with constructor parameters. | 1833 | plugin families and plugin's |
1518 | </summary> | 1834 | </summary> |
1835 | <returns></returns> | ||
1519 | </member> | 1836 | </member> |
1520 | <member name="T:StructureMap.InstanceFactory"> | 1837 | <member name="T:StructureMap.InstanceFactory"> |
1521 | <summary> | 1838 | <summary> |
... | ... | ||
1528 | </summary> | 1845 | </summary> |
1529 | <param name="family"></param> | 1846 | <param name="family"></param> |
1530 | </member> | 1847 | </member> |
1848 | <member name="T:StructureMap.Emitting.BuildInstanceMethod"> | ||
1849 | <summary> | ||
1850 | Emits the IL for the InstanceBuilder.BuildInstance(InstanceMemento) method of an | ||
1851 | InstanceBuilder | ||
1852 | </summary> | ||
1853 | </member> | ||
1854 | <member name="P:StructureMap.Pipeline.IBuildFrame.RequestedType"> | ||
1855 | <summary> | ||
1856 | The requested PluginType of the Instance being create | ||
1857 | </summary> | ||
1858 | </member> | ||
1859 | <member name="P:StructureMap.Pipeline.IBuildFrame.Name"> | ||
1860 | <summary> | ||
1861 | The Name of the Instance being created | ||
1862 | </summary> | ||
1863 | </member> | ||
1864 | <member name="P:StructureMap.Pipeline.IBuildFrame.ConcreteType"> | ||
1865 | <summary> | ||
1866 | The actual ConcreteType being created. This will not always | ||
1867 | be available | ||
1868 | </summary> | ||
1869 | </member> | ||
1870 | <member name="T:StructureMap.Pipeline.BuildFrame"> | ||
1871 | <summary> | ||
1872 | Models the current place in an object graph during the construction of | ||
1873 | an instance. Provides contextual information that can be used | ||
1874 | to alter the desired construction of child objects | ||
1875 | </summary> | ||
1876 | </member> | ||
1877 | <member name="P:StructureMap.Pipeline.BuildFrame.RequestedType"> | ||
1878 | <summary> | ||
1879 | The requested PluginType of the Instance being create | ||
1880 | </summary> | ||
1881 | </member> | ||
1882 | <member name="P:StructureMap.Pipeline.BuildFrame.Name"> | ||
1883 | <summary> | ||
1884 | The Name of the Instance being created | ||
1885 | </summary> | ||
1886 | </member> | ||
1887 | <member name="P:StructureMap.Pipeline.BuildFrame.ConcreteType"> | ||
1888 | <summary> | ||
1889 | The actual ConcreteType being created. This will not always | ||
1890 | be available | ||
1891 | </summary> | ||
1892 | </member> | ||
1893 | <member name="T:StructureMap.Source.XmlNodeInstanceMemento"> | ||
1894 | <summary> | ||
1895 | Implementation of InstanceMemento that stores information in a node-normalized | ||
1896 | Xml format. | ||
1897 | </summary> | ||
1898 | </member> | ||
1531 | <member name="M:StructureMap.Container.#ctor(StructureMap.Graph.PluginGraph)"> | 1899 | <member name="M:StructureMap.Container.#ctor(StructureMap.Graph.PluginGraph)"> |
1532 | <summary> | 1900 | <summary> |
1533 | Constructor to create an Container | 1901 | Constructor to create an Container |
... | ... | ||
1736 | <param name="pluginType"></param> | 2104 | <param name="pluginType"></param> |
1737 | <param name="instance"></param> | 2105 | <param name="instance"></param> |
1738 | </member> | 2106 | </member> |
1739 | <!-- Badly formed XML comment ignored for member "M:StructureMap.Container.ForGenericType(System.Type)" --> | 2107 | <member name="M:StructureMap.Container.ForGenericType(System.Type)"> |
1740 | <member name="P:StructureMap.Container.Model"> | ||
1741 | <summary> | 2108 | <summary> |
1742 | Provides queryable access to the configured PluginType's and Instances of this Container | 2109 | Convenience method to request an object using an Open Generic |
2110 | Type and its parameter Types | ||
1743 | </summary> | 2111 | </summary> |
1744 | </member> | 2112 | <param name="templateType"></param> |
1745 | <member name="T:StructureMap.InstanceMemento"> | ||
1746 | <summary> | ||
1747 | GoF Memento representing an Object Instance | ||
1748 | </summary> | ||
1749 | </member> | ||
1750 | <member name="M:StructureMap.InstanceMemento.GetProperty(System.String)"> | ||
1751 | <summary> | ||
1752 | Retrieves the named property value as a string | ||
1753 | </summary> | ||
1754 | <param name="Key"></param> | ||
1755 | <returns></returns> | 2113 | <returns></returns> |
2114 | <example> | ||
2115 | IFlattener flattener1 = container.ForGenericType(typeof (IFlattener<>)) | ||
2116 | .WithParameters(typeof (Address)).GetInstanceAs<IFlattener>(); | ||
2117 | </example> | ||
1756 | </member> | 2118 | </member> |
1757 | <member name="M:StructureMap.InstanceMemento.getPropertyValue(System.String)"> | 2119 | <member name="P:StructureMap.Container.Model"> |
1758 | <summary> | 2120 | <summary> |
1759 | Template method for implementation specific retrieval of the named property | 2121 | Provides queryable access to the configured PluginType's and Instances of this Container |
1760 | </summary> | 2122 | </summary> |
1761 | <param name="Key"></param> | ||
1762 | <returns></returns> | ||
1763 | </member> | 2123 | </member> |
1764 | <member name="M:StructureMap.InstanceMemento.GetChildMemento(System.String)"> | 2124 | <member name="M:StructureMap.Graph.IPluginGraph.AddType(System.Type,System.Type)"> |
1765 | <summary> | 2125 | <summary> |
1766 | Returns the named child InstanceMemento | 2126 | Adds the concreteType as an Instance of the pluginType |
1767 | </summary> | 2127 | </summary> |
1768 | <param name="Key"></param> | 2128 | <param name="pluginType"></param> |
1769 | <returns></returns> | 2129 | <param name="concreteType"></param> |
1770 | </member> | 2130 | </member> |
1771 | <member name="M:StructureMap.InstanceMemento.getChild(System.String)"> | 2131 | <member name="M:StructureMap.Graph.IPluginGraph.AddType(System.Type,System.Type,System.String)"> |
1772 | <summary> | 2132 | <summary> |
1773 | Template method for implementation specific retrieval of the named property | 2133 | Adds the concreteType as an Instance of the pluginType with a name |
1774 | </summary> | 2134 | </summary> |
1775 | <param name="Key"></param> | 2135 | <param name="pluginType"></param> |
1776 | <returns></returns> | 2136 | <param name="concreteType"></param> |
2137 | <param name="name"></param> | ||
1777 | </member> | 2138 | </member> |
1778 | <member name="M:StructureMap.InstanceMemento.GetChildrenArray(System.String)"> | 2139 | <member name="M:StructureMap.Graph.IPluginGraph.AddType(System.Type)"> |
1779 | <summary> | 2140 | <summary> |
1780 | This method is made public for testing. It is not necessary for normal usage. | 2141 | Add the pluggedType as an instance to any configured pluginType where pluggedType |
2142 | could be assigned to the pluginType | ||
1781 | </summary> | 2143 | </summary> |
1782 | <returns></returns> | 2144 | <param name="pluggedType"></param> |
1783 | </member> | 2145 | </member> |
1784 | <member name="M:StructureMap.InstanceMemento.Substitute(StructureMap.InstanceMemento)"> | 2146 | <member name="T:StructureMap.Graph.PluginGraph"> |
1785 | <summary> | 2147 | <summary> |
1786 | Used to create a templated InstanceMemento | 2148 | Models the runtime configuration of a StructureMap Container |
1787 | </summary> | 2149 | </summary> |
1788 | <param name="memento"></param> | ||
1789 | <returns></returns> | ||
1790 | </member> | 2150 | </member> |
1791 | <member name="P:StructureMap.InstanceMemento.ConcreteKey"> | 2151 | <member name="M:StructureMap.Graph.PluginGraph.Seal"> |
1792 | <summary> | 2152 | <summary> |
1793 | The named type of the object instance represented by the InstanceMemento. Translates to a concrete | 2153 | Closes the PluginGraph for adding or removing members. Runs all the <see cref="T:StructureMap.Graph.AssemblyScanner"> AssemblyScanner's</see> |
1794 | type | 2154 | and attempts to attach concrete types to the proper plugin types. Calculates the Profile defaults. |
1795 | </summary> | 2155 | </summary> |
1796 | </member> | 2156 | </member> |
1797 | <member name="P:StructureMap.InstanceMemento.InstanceKey"> | 2157 | <member name="M:StructureMap.Graph.PluginGraph.Scan(System.Action{StructureMap.Graph.AssemblyScanner})"> |
1798 | <summary> | 2158 | <summary> |
1799 | The named key of the object instance represented by the InstanceMemento | 2159 | Adds an AssemblyScanner to the PluginGraph. Used for Testing. |
1800 | </summary> | 2160 | </summary> |
2161 | <param name="action"></param> | ||
1801 | </member> | 2162 | </member> |
1802 | <member name="P:StructureMap.InstanceMemento.TemplateName"> | 2163 | <member name="M:StructureMap.Graph.PluginGraph.AddType(System.Type,System.Type)"> |
1803 | <summary> | 2164 | <summary> |
1804 | Gets the referred template name | 2165 | Adds the concreteType as an Instance of the pluginType |
1805 | </summary> | 2166 | </summary> |
1806 | <returns></returns> | 2167 | <param name="pluginType"></param> |
2168 | <param name="concreteType"></param> | ||
1807 | </member> | 2169 | </member> |
1808 | <member name="P:StructureMap.InstanceMemento.IsReference"> | 2170 | <member name="M:StructureMap.Graph.PluginGraph.AddType(System.Type,System.Type,System.String)"> |
1809 | <summary> | 2171 | <summary> |
1810 | Template pattern property specifying whether the InstanceMemento is simply a reference | 2172 | Adds the concreteType as an Instance of the pluginType with a name |
1811 | to another named instance. Useful for child objects. | ||
1812 | </summary> | 2173 | </summary> |
2174 | <param name="pluginType"></param> | ||
2175 | <param name="concreteType"></param> | ||
2176 | <param name="name"></param> | ||
1813 | </member> | 2177 | </member> |
1814 | <member name="P:StructureMap.InstanceMemento.ReferenceKey"> | 2178 | <member name="M:StructureMap.Graph.PluginGraph.AddType(System.Type)"> |
1815 | <summary> | 2179 | <summary> |
1816 | Template pattern property specifying the instance key that the InstanceMemento refers to | 2180 | Add the pluggedType as an instance to any configured pluginType where pluggedType |
2181 | could be assigned to the pluginType | ||
1817 | </summary> | 2182 | </summary> |
2183 | <param name="pluggedType"></param> | ||
1818 | </member> | 2184 | </member> |
1819 | <member name="P:StructureMap.InstanceMemento.IsDefault"> | 2185 | <member name="M:StructureMap.Graph.PluginGraph.Configure(System.Action{StructureMap.Configuration.DSL.Registry})"> |
1820 | <summary> | 2186 | <summary> |
1821 | Is the InstanceMemento a reference to the default instance of the plugin type? | 2187 | Add configuration to a PluginGraph with the Registry DSL |
1822 | </summary> | 2188 | </summary> |
2189 | <param name="action"></param> | ||
1823 | </member> | 2190 | </member> |
1824 | <member name="T:StructureMap.Interceptors.PluginTypeInterceptor"> | 2191 | <member name="P:StructureMap.Graph.PluginGraph.IsSealed"> |
1825 | <summary> | 2192 | <summary> |
1826 | A TypeInterceptor that always applies to all Instances of a given Plugin Type | 2193 | Designates whether a PluginGraph has been "Sealed." |
1827 | </summary> | 2194 | </summary> |
1828 | </member> | 2195 | </member> |
1829 | <member name="T:StructureMap.MementoSource"> | 2196 | <member name="T:StructureMap.Emitting.Parameters.PrimitiveParameterEmitter"> |
1830 | <summary> | 2197 | <summary> |
1831 | Abstract class that is the supertype of all storage and retrieval mechanisms of | 2198 | Implementation of ParameterEmitter for primitive types other than strings. |
1832 | InstanceMemento instances | ||
1833 | </summary> | 2199 | </summary> |
1834 | </member> | 2200 | </member> |
1835 | <member name="M:StructureMap.MementoSource.GetMemento(System.String)"> | 2201 | <member name="T:StructureMap.Configuration.DSL.Expressions.IsExpression`1"> |
1836 | <summary> | 2202 | <summary> |
1837 | Retrieves the named InstanceMemento | 2203 | Expression Builder to define an Instance |
1838 | </summary> | 2204 | </summary> |
1839 | <param name="instanceKey">The instanceKey of the requested InstanceMemento</param> | 2205 | <typeparam name="T"></typeparam> |
1840 | <returns></returns> | ||
1841 | </member> | 2206 | </member> |
1842 | <member name="M:StructureMap.MementoSource.GetAllMementos"> | 2207 | <member name="M:StructureMap.Configuration.DSL.Expressions.IsExpression`1.IsThis(StructureMap.Pipeline.Instance)"> |
1843 | <summary> | 2208 | <summary> |
1844 | Retrieves an array of all InstanceMemento's stored by this MementoSource | 2209 | Register a previously built Instance. This provides a "catch all" |
2210 | method to attach custom Instance objects. Synonym for Instance() | ||
1845 | </summary> | 2211 | </summary> |
1846 | <returns></returns> | 2212 | <param name="instance"></param> |
1847 | </member> | 2213 | </member> |
1848 | <member name="M:StructureMap.MementoSource.containsKey(System.String)"> | 2214 | <member name="M:StructureMap.Configuration.DSL.Expressions.IsExpression`1.IsThis(`0)"> |
1849 | <summary> | 2215 | <summary> |
1850 | Template pattern method. Determines if the MementoSource contains a definition for the | 2216 | Inject this object directly. Synonym to Object() |
1851 | requested instanceKey. | ||
1852 | </summary> | 2217 | </summary> |
1853 | <param name="instanceKey"></param> | 2218 | <param name="obj"></param> |
1854 | <returns></returns> | 2219 | <returns></returns> |
1855 | </member> | 2220 | </member> |
1856 | <member name="M:StructureMap.MementoSource.retrieveMemento(System.String)"> | 2221 | <member name="P:StructureMap.Configuration.DSL.Expressions.IsExpression`1.Is"> |
1857 | <summary> | 2222 | <summary> |
1858 | Template pattern method. Retrieves an InstanceMemento for the instanceKey | 2223 | Gives you full access to all the different ways to specify an "Instance" |
1859 | </summary> | 2224 | </summary> |
1860 | <param name="instanceKey"></param> | ||
1861 | <returns></returns> | ||
1862 | </member> | 2225 | </member> |
1863 | <member name="P:StructureMap.MementoSource.SourceType"> | 2226 | <member name="T:StructureMap.Configuration.DSL.Expressions.GenericIsExpression"> |
1864 | <summary> | 2227 | <summary> |
1865 | The type of MementoSource | 2228 | An Expression Builder to define Instances of a PluginType. |
2229 | This is mostly used for configuring open generic types | ||
1866 | </summary> | 2230 | </summary> |
1867 | </member> | 2231 | </member> |
1868 | <member name="P:StructureMap.MementoSource.Description"> | 2232 | <member name="M:StructureMap.Configuration.DSL.Expressions.GenericIsExpression.Is(System.Type)"> |
1869 | <summary> | 2233 | <summary> |
1870 | String description of the MementoSource. Used in the StructureMap-Client UI. | 2234 | Shortcut to register a Concrete Type as an instance. This method supports |
2235 | method chaining to allow you to add constructor and setter arguments for | ||
2236 | the concrete type | ||
1871 | </summary> | 2237 | </summary> |
1872 | </member> | 2238 | <param name="concreteType"></param> |
1873 | <member name="T:StructureMap.MemoryInstanceMemento"> | ||
1874 | <summary> | ||
1875 | An in-memory implementation of InstanceMemento. | ||
1876 | </summary> | ||
1877 | </member> | ||
1878 | <member name="M:StructureMap.MemoryInstanceMemento.CreateReferencedInstanceMemento(System.String)"> | ||
1879 | <summary> | ||
1880 | Creates an instance of MemoryInstanceMemento that represents a reference to another | ||
1881 | instance. | ||
1882 | </summary> | ||
1883 | <param name="referenceKey">The referenced instance key to another instance</param> | ||
1884 | <returns></returns> | 2239 | <returns></returns> |
1885 | </member> | 2240 | </member> |
1886 | <member name="M:StructureMap.MemoryInstanceMemento.CreateDefaultInstanceMemento"> | 2241 | <member name="M:StructureMap.Configuration.DSL.Expressions.GenericIsExpression.TheInstanceNamed(System.String)"> |
1887 | <summary> | 2242 | <summary> |
1888 | Creates a MemoryInstanceMemento that represents a reference to the default instance | 2243 | Shortcut to simply use the Instance with the given name |
1889 | of a plugin type. | ||
1890 | </summary> | 2244 | </summary> |
1891 | <returns></returns> | ||
1892 | </member> | ||
1893 | <member name="M:StructureMap.MemoryInstanceMemento.#ctor(System.String,System.String)"> | ||
1894 | <summary> | ||
1895 | Constructs a MemoryInstanceMemento without properties | ||
1896 | </summary> | ||
1897 | <param name="concreteKey">The concrete key of the plugin type</param> | ||
1898 | <param name="instanceKey">The identifying instance key</param> | ||
1899 | </member> | ||
1900 | <member name="M:StructureMap.MemoryInstanceMemento.#ctor(System.String,System.String,System.Collections.Specialized.NameValueCollection)"> | ||
1901 | <summary> | ||
1902 | Constructs a MemoryInstanceMemento with properties | ||
1903 | </summary> | ||
1904 | <param name="concreteKey">The concrete key of the plugin type</param> | ||
1905 | <param name="instanceKey">The identifying instance key</param> | ||
1906 | <param name="properties">NameValueCollection of instance properties</param> | ||
1907 | </member> | ||
1908 | <member name="M:StructureMap.MemoryInstanceMemento.SetProperty(System.String,System.String)"> | ||
1909 | <summary> | ||
1910 | Sets the value of the named property | ||
1911 | </summary> | ||
1912 | <param name="name"></param> | 2245 | <param name="name"></param> |
1913 | <param name="value"></param> | ||
1914 | </member> | ||
1915 | <member name="M:StructureMap.MemoryInstanceMemento.RemoveProperty(System.String)"> | ||
1916 | <summary> | ||
1917 | Deletes a named property from the DefaultInstanceMemento | ||
1918 | </summary> | ||
1919 | <param name="Name"></param> | ||
1920 | </member> | ||
1921 | <member name="M:StructureMap.MemoryInstanceMemento.AddChild(System.String,StructureMap.InstanceMemento)"> | ||
1922 | <summary> | ||
1923 | Links a child InstanceMemento as a named property | ||
1924 | </summary> | ||
1925 | <param name="name"></param> | ||
1926 | <param name="Memento"></param> | ||
1927 | </member> | ||
1928 | <member name="M:StructureMap.MemoryInstanceMemento.AddChildArray(System.String,StructureMap.InstanceMemento[])"> | ||
1929 | <summary> | ||
1930 | Links an array of InstanceMemento's to a named array property | ||
1931 | </summary> | ||
1932 | <param name="name"></param> | ||
1933 | <param name="childMementos"></param> | ||
1934 | </member> | ||
1935 | <member name="M:StructureMap.MemoryInstanceMemento.GetChildrenArray(System.String)"> | ||
1936 | <summary> | ||
1937 | See <cref>InstanceMemento</cref> | ||
1938 | </summary> | ||
1939 | </member> | ||
1940 | <member name="P:StructureMap.MemoryInstanceMemento.innerConcreteKey"> | ||
1941 | <summary> | ||
1942 | See <cref>InstanceMemento</cref> | ||
1943 | </summary> | ||
1944 | </member> | ||
1945 | <member name="P:StructureMap.MemoryInstanceMemento.innerInstanceKey"> | ||
1946 | <summary> | ||
1947 | See <cref>InstanceMemento</cref> | ||
1948 | </summary> | ||
1949 | </member> | ||
1950 | <member name="P:StructureMap.MemoryInstanceMemento.IsReference"> | ||
1951 | <summary> | ||
1952 | See <cref>InstanceMemento</cref> | ||
1953 | </summary> | ||
1954 | </member> | ||
1955 | <member name="P:StructureMap.MemoryInstanceMemento.ReferenceKey"> | ||
1956 | <summary> | ||
1957 | See <cref>InstanceMemento</cref> | ||
1958 | </summary> | ||
1959 | </member> | ||
1960 | <member name="T:StructureMap.ObjectFactory"> | ||
1961 | <summary> | ||
1962 | The main static Facade for the StructureMap container | ||
1963 | </summary> | ||
1964 | </member> | ||
1965 | <member name="M:StructureMap.ObjectFactory.Reset"> | ||
1966 | <summary> | ||
1967 | Restarts ObjectFactory and blows away all Singleton's and cached instances. Use with caution. | ||
1968 | </summary> | ||
1969 | </member> | ||
1970 | <member name="M:StructureMap.ObjectFactory.Inject(System.Type,System.Object)"> | ||
1971 | <summary> | ||
1972 | Injects the given object into a Container as the default for the designated | ||
1973 | pluginType. Mostly used for temporarily setting up return values of the Container | ||
1974 | to introduce mocks or stubs during automated testing scenarios | ||
1975 | </summary> | ||
1976 | <param name="pluginType"></param> | ||
1977 | <param name="stub"></param> | ||
1978 | </member> | ||
1979 | <member name="M:StructureMap.ObjectFactory.Inject``1(``0)"> | ||
1980 | <summary> | ||
1981 | Injects the given object into a Container as the default for the designated | ||
1982 | PLUGINTYPE. Mostly used for temporarily setting up return values of the Container | ||
1983 | to introduce mocks or stubs during automated testing scenarios | ||
1984 | </summary> | ||
1985 | <typeparam name="PLUGINTYPE"></typeparam> | ||
1986 | <param name="instance"></param> | ||
1987 | </member> | ||
1988 | <member name="M:StructureMap.ObjectFactory.Inject``1(System.String,``0)"> | ||
1989 | <summary> | ||
1990 | Injects the given object into a Container by name for the designated | ||
1991 | pluginType. Mostly used for temporarily setting up return values of the Container | ||
1992 | to introduce mocks or stubs during automated testing scenarios | ||
1993 | </summary> | ||
1994 | <typeparam name="T"></typeparam> | ||
1995 | <param name="name"></param> | ||
1996 | <param name="instance"></param> | ||
1997 | </member> | ||
1998 | <member name="M:StructureMap.ObjectFactory.WhatDoIHave"> | ||
1999 | <summary> | ||
2000 | Returns a report detailing the complete configuration of all PluginTypes and Instances | ||
2001 | </summary> | ||
2002 | <returns></returns> | 2246 | <returns></returns> |
2003 | </member> | 2247 | </member> |
2004 | <member name="M:StructureMap.ObjectFactory.AssertConfigurationIsValid"> | 2248 | <member name="T:StructureMap.Configuration.DSL.Expressions.IInstanceExpression`1"> |
2005 | <summary> | 2249 | <summary> |
2006 | Use with caution! Does a full environment test of the configuration of this container. Will try to create every configured | 2250 | An Expression Builder that is used throughout the Registry DSL to |
2007 | instance and afterward calls any methods marked with the [ValidationMethod] attribute | 2251 | add and define Instances |
2008 | </summary> | 2252 | </summary> |
2009 | </member> | ||
2010 | <member name="M:StructureMap.ObjectFactory.GetInstance(System.Type)"> | ||
2011 | <summary> | ||
2012 | Creates or finds the default instance of the pluginType | ||
2013 | </summary> | ||
2014 | <param name="pluginType"></param> | ||
2015 | <returns></returns> | ||
2016 | </member> | ||
2017 | <member name="M:StructureMap.ObjectFactory.GetInstance``1"> | ||
2018 | <summary> | ||
2019 | Creates or finds the default instance of type T | ||
2020 | </summary> | ||
2021 | <typeparam name="T"></typeparam> | 2253 | <typeparam name="T"></typeparam> |
2022 | <returns></returns> | ||
2023 | </member> | 2254 | </member> |
2024 | <member name="M:StructureMap.ObjectFactory.GetInstance(System.Type,StructureMap.Pipeline.Instance)"> | 2255 | <member name="M:StructureMap.Configuration.DSL.Expressions.IInstanceExpression`1.Instance(StructureMap.Pipeline.Instance)"> |
2025 | <summary> | 2256 | <summary> |
2026 | Creates a new instance of the requested type using the supplied Instance. Mostly used internally | 2257 | Register a previously built Instance. This provides a "catch all" |
2258 | method to attach custom Instance objects. Synonym for IsThis() | ||
2027 | </summary> | 2259 | </summary> |
2028 | <param name="pluginType"></param> | ||
2029 | <param name="instance"></param> | 2260 | <param name="instance"></param> |
2030 | <returns></returns> | ||
2031 | </member> | 2261 | </member> |
2032 | <member name="M:StructureMap.ObjectFactory.GetInstance``1(StructureMap.Pipeline.Instance)"> | 2262 | <member name="M:StructureMap.Configuration.DSL.Expressions.IInstanceExpression`1.Object(`0)"> |
2033 | <summary> | 2263 | <summary> |
2034 | Creates a new instance of the requested type T using the supplied Instance. Mostly used internally | 2264 | Inject this object directly. Synonym to IsThis() |
2035 | </summary> | 2265 | </summary> |
2036 | <param name="pluginType"></param> | 2266 | <param name="theObject"></param> |
2037 | <param name="instance"></param> | ||
2038 | <returns></returns> | 2267 | <returns></returns> |
2039 | </member> | 2268 | </member> |
2040 | <member name="M:StructureMap.ObjectFactory.GetNamedInstance(System.Type,System.String)"> | 2269 | <member name="M:StructureMap.Configuration.DSL.Expressions.IInstanceExpression`1.OfConcreteType``1"> |
2041 | <summary> | 2270 | <summary> |
2042 | Creates or finds the named instance of the pluginType | 2271 | Build the Instance with the constructor function and setter arguments. Starts |
2272 | the definition of a <see cref="T:StructureMap.Pipeline.SmartInstance`1">SmartInstance</see> | ||
2043 | </summary> | 2273 | </summary> |
2044 | <param name="pluginType"></param> | 2274 | <typeparam name="PLUGGEDTYPE"></typeparam> |
2045 | <param name="instanceKey"></param> | ||
2046 | <returns></returns> | 2275 | <returns></returns> |
2047 | </member> | 2276 | </member> |
2048 | <member name="M:StructureMap.ObjectFactory.GetNamedInstance``1(System.String)"> | 2277 | <member name="M:StructureMap.Configuration.DSL.Expressions.IInstanceExpression`1.OfConcreteType(System.Type)"> |
2049 | <summary> | 2278 | <summary> |
2050 | Creates or finds the named instance of T | 2279 | Build the Instance with the constructor function and setter arguments. Use this |
2280 | method for open generic types, and favor the generic version of OfConcreteType | ||
2281 | for all other types | ||
2051 | </summary> | 2282 | </summary> |
2052 | <typeparam name="T"></typeparam> | 2283 | <param name="type"></param> |
2053 | <param name="instanceKey"></param> | ||
2054 | <returns></returns> | 2284 | <returns></returns> |
2055 | </member> | 2285 | </member> |
2056 | <member name="M:StructureMap.ObjectFactory.GetAllInstances(System.Type)"> | 2286 | <member name="M:StructureMap.Configuration.DSL.Expressions.IInstanceExpression`1.ConstructedBy(System.Func{`0})"> |
2057 | <summary> | 2287 | <summary> |
2058 | Creates or resolves all registered instances of the pluginType | 2288 | Create an Instance that builds an object by calling a Lambda or |
2289 | an anonymous delegate with no arguments | ||
2059 | </summary> | 2290 | </summary> |
2060 | <param name="pluginType"></param> | 2291 | <param name="func"></param> |
2061 | <returns></returns> | 2292 | <returns></returns> |
2062 | </member> | 2293 | </member> |
2063 | <member name="M:StructureMap.ObjectFactory.GetAllInstances``1"> | 2294 | <member name="M:StructureMap.Configuration.DSL.Expressions.IInstanceExpression`1.ConstructedBy(System.Func{StructureMap.IContext,`0})"> |
2064 | <summary> | 2295 | <summary> |
2065 | Creates or resolves all registered instances of type T | 2296 | Create an Instance that builds an object by calling a Lambda or |
2297 | an anonymous delegate with the <see cref="T:StructureMap.IContext">IContext</see> representing | ||
2298 | the current object graph. | ||
2066 | </summary> | 2299 | </summary> |
2067 | <typeparam name="T"></typeparam> | 2300 | <param name="func"></param> |
2068 | <returns></returns> | 2301 | <returns></returns> |
2069 | </member> | 2302 | </member> |
2070 | <member name="M:StructureMap.ObjectFactory.With``1(``0)"> | 2303 | <member name="M:StructureMap.Configuration.DSL.Expressions.IInstanceExpression`1.TheInstanceNamed(System.String)"> |
2071 | <summary> | 2304 | <summary> |
2072 | Starts a request for an instance or instances with explicitly configured arguments. Specifies that any dependency | 2305 | Use the Instance of this PluginType with the specified name. This is |
2073 | of type T should be "arg" | 2306 | generally only used while configuring child dependencies within a deep |
2307 | object graph | ||
2074 | </summary> | 2308 | </summary> |
2075 | <typeparam name="T"></typeparam> | 2309 | <param name="name"></param> |
2076 | <param name="arg"></param> | ||
2077 | <returns></returns> | 2310 | <returns></returns> |
2078 | </member> | 2311 | </member> |
2079 | <member name="M:StructureMap.ObjectFactory.With(System.String)"> | 2312 | <member name="M:StructureMap.Configuration.DSL.Expressions.IInstanceExpression`1.TheDefault"> |
2080 | <summary> | 2313 | <summary> |
2081 | Starts a request for an instance or instances with explicitly configured arguments. Specifies that any dependency or primitive argument | 2314 | Use the default Instance of this PluginType. This is |
2082 | with the designated name should be the next value. | 2315 | generally only used while configuring child dependencies within a deep |
2316 | object graph | ||
2083 | </summary> | 2317 | </summary> |
2084 | <param name="argName"></param> | ||
2085 | <returns></returns> | 2318 | <returns></returns> |
2086 | </member> | 2319 | </member> |
2087 | <member name="M:StructureMap.ObjectFactory.EjectAllInstancesOf``1"> | 2320 | <member name="M:StructureMap.Configuration.DSL.Expressions.IInstanceExpression`1.PrototypeOf(`0)"> |
2088 | <summary> | 2321 | <summary> |
2089 | Removes all configured instances of type T from the Container. Use with caution! | 2322 | Creates an Instance that stores this object of type T, |
2323 | and returns a cloned copy of the template. | ||
2090 | </summary> | 2324 | </summary> |
2091 | <typeparam name="T"></typeparam> | 2325 | <param name="template"></param> |
2092 | </member> | ||
2093 | <member name="M:StructureMap.ObjectFactory.Configure(System.Action{StructureMap.ConfigurationExpression})"> | ||
2094 | <summary> | ||
2095 | Used to add additional configuration to a Container *after* the initialization. | ||
2096 | </summary> | ||
2097 | <param name="configure"></param> | ||
2098 | </member> | ||
2099 | <member name="M:StructureMap.ObjectFactory.TryGetInstance(System.Type,System.String)"> | ||
2100 | <summary> | ||
2101 | Creates or finds the named instance of the pluginType. Returns null if the named instance is not known to the container. | ||
2102 | </summary> | ||
2103 | <param name="pluginType"></param> | ||
2104 | <param name="instanceKey"></param> | ||
2105 | <param name="instance"></param> | ||
2106 | <returns></returns> | 2326 | <returns></returns> |
2107 | </member> | 2327 | </member> |
2108 | <member name="M:StructureMap.ObjectFactory.TryGetInstance(System.Type)"> | 2328 | <member name="M:StructureMap.Configuration.DSL.Expressions.IInstanceExpression`1.SerializedCopyOf(`0)"> |
2109 | <summary> | 2329 | <summary> |
2110 | Creates or finds the default instance of the pluginType. Returns null if the pluginType is not known to the container. | 2330 | Caches template as a serialized byte stream. Uses deserialization |
2331 | to create copies when the Instance is built. | ||
2111 | </summary> | 2332 | </summary> |
2112 | <param name="pluginType"></param> | 2333 | <param name="template"></param> |
2113 | <param name="instance"></param> | ||
2114 | <returns></returns> | 2334 | <returns></returns> |
2115 | </member> | 2335 | </member> |
2116 | <member name="M:StructureMap.ObjectFactory.TryGetInstance``1"> | 2336 | <member name="M:StructureMap.Configuration.DSL.Expressions.IInstanceExpression`1.LoadControlFrom(System.String)"> |
2117 | <summary> | 2337 | <summary> |
2118 | Creates or finds the default instance of type T. Returns the default value of T if it is not known to the container. | 2338 | Creates an Instance that will load an ASCX user control from the url |
2119 | </summary> | 2339 | </summary> |
2120 | <typeparam name="T"></typeparam> | 2340 | <param name="url"></param> |
2121 | <param name="instance"></param> | ||
2122 | <returns></returns> | 2341 | <returns></returns> |
2123 | </member> | 2342 | </member> |
2124 | <member name="M:StructureMap.ObjectFactory.TryGetInstance``1(System.String)"> | 2343 | <member name="M:StructureMap.Configuration.DSL.Expressions.IInstanceExpression`1.Conditional(System.Action{StructureMap.Pipeline.ConditionalInstance{`0}.ConditionalInstanceExpression})"> |
2125 | <summary> | 2344 | <summary> |
2126 | Creates or finds the named instance of type T. Returns the default value of T if the named instance is not known to the container. | 2345 | Creates an Instance according to conditional rules |
2127 | </summary> | 2346 | </summary> |
2128 | <typeparam name="T"></typeparam> | 2347 | <param name="configuration"></param> |
2129 | <param name="instance"></param> | ||
2130 | <returns></returns> | 2348 | <returns></returns> |
2131 | </member> | 2349 | </member> |
2132 | <member name="M:StructureMap.ObjectFactory.BuildUp(System.Object)"> | 2350 | <member name="T:StructureMap.StructureMapException"> |
2133 | <summary> | 2351 | <summary> |
2134 | The "BuildUp" method takes in an already constructed object | 2352 | Main exception for StructureMap. Use the ErrorCode to aid in troubleshooting |
2135 | and uses Setter Injection to push in configured dependencies | 2353 | StructureMap problems |
2136 | of that object | ||
2137 | </summary> | 2354 | </summary> |
2138 | <param name="target"></param> | ||
2139 | </member> | 2355 | </member> |
2140 | <!-- Badly formed XML comment ignored for member "M:StructureMap.ObjectFactory.ForGenericType(System.Type)" --> | 2356 | <member name="T:StructureMap.PluginFamilyAttribute"> |
2141 | <member name="P:StructureMap.ObjectFactory.Model"> | ||
2142 | <summary> | 2357 | <summary> |
2143 | Provides queryable access to the configured PluginType's and Instances of the inner Container | 2358 | Declares a class, abstract class, or interface to be the target of a PluginFamily in the container |
2144 | </summary> | 2359 | </summary> |
2145 | </member> | 2360 | </member> |
2146 | <member name="P:StructureMap.ObjectFactory.Profile"> | 2361 | <member name="M:StructureMap.PluginFamilyAttribute.MarkedAsPluginFamily(System.Type)"> |
2147 | <summary> | 2362 | <summary> |
2148 | Sets the default instance for all PluginType's to the designated Profile. | 2363 | Determines if a Type object is marked as a PluginFamily |
2149 | </summary> | 2364 | </summary> |
2150 | <param name="profile"></param> | 2365 | <param name="objectType"></param> |
2151 | </member> | ||
2152 | <member name="T:StructureMap.PluginGraphBuilder"> | ||
2153 | <summary> | ||
2154 | Reads configuration XML documents and builds the structures necessary to initialize | ||
2155 | the Container/IInstanceFactory/InstanceBuilder/ObjectInstanceActivator objects | ||
2156 | </summary> | ||
2157 | </member> | ||
2158 | <member name="M:StructureMap.PluginGraphBuilder.Build"> | ||
2159 | <summary> | ||
2160 | Reads the configuration information and returns the PluginGraph definition of | ||
2161 | plugin families and plugin's | ||
2162 | </summary> | ||
2163 | <returns></returns> | 2366 | <returns></returns> |
2164 | </member> | 2367 | </member> |
2165 | <member name="T:StructureMap.Source.BasicXmlMementoSource"> | 2368 | <member name="P:StructureMap.PluginFamilyAttribute.Scope"> |
2166 | <summary> | 2369 | <summary> |
2167 | Generic implementation of an XmlMementoSource | 2370 | If set, determines the shared "scope" of the instance -- PerRequest, Singleton, ThreadLocal, |
2371 | HttpContext, etc. | ||
2168 | </summary> | 2372 | </summary> |
2169 | </member> | 2373 | </member> |
2170 | <member name="T:StructureMap.Source.XmlMementoSource"> | 2374 | <member name="P:StructureMap.PluginFamilyAttribute.DefaultKey"> |
2171 | <summary> | 2375 | <summary> |
2172 | Base class for all MementoSource classes that store InstanceMemento's as | 2376 | InstanceKey of the default instance. Used to implicitly define the default without |
2173 | node-normalized Xml | 2377 | declaring the instance in StructureMap.config |
2174 | </summary> | 2378 | </summary> |
2175 | </member> | 2379 | </member> |
2176 | <member name="T:StructureMap.Source.DirectoryXmlMementoSource"> | 2380 | <member name="P:StructureMap.PluginFamilyAttribute.IsSingleton"> |
2177 | <summary> | 2381 | <summary> |
2178 | Implementation of MementoSource that stores and retrieves an XmlInstanceMemento per file in a named directory. | 2382 | Declares the target to be built by StructureMap as a Singleton. One object instance will |
2179 | DirectoryXmlMementoSource is meant to simplify complicated object graph configurations by isolating each instance to a separate | 2383 | be created for each named instance |
2180 | editable file. | ||
2181 | </summary> | 2384 | </summary> |
2182 | </member> | 2385 | </member> |
2183 | <member name="M:StructureMap.Source.DirectoryXmlMementoSource.#ctor(System.String,System.String,StructureMap.Source.XmlMementoStyle)"> | 2386 | <member name="M:StructureMap.Interceptors.MatchedTypeInterceptor.InterceptWith(System.Func{System.Object,System.Object})"> |
2184 | <summary> | 2387 | <summary> |
2185 | Stores an Xml InstanceMemento per file in a directory | 2388 | Specify how objects matching the Type predicate |
2389 | will be intercepted | ||
2186 | </summary> | 2390 | </summary> |
2187 | <param name="directory">A ";" delimited list of directories to look for mementos. DirectoryXmlMementoSource | 2391 | <param name="interception"></param> |
2188 | will use the FIRST directory it finds</param> | ||
2189 | <param name="extension">The file extension of the InstanceMemento files without a dot. Typically "xml"</param> | ||
2190 | <param name="mementoStyle">NodeNormalized or AttributeNormalized</param> | ||
2191 | </member> | 2392 | </member> |
2192 | <member name="M:StructureMap.Source.EmbeddedFolderXmlMementoSource.#ctor(StructureMap.Source.XmlMementoStyle,System.String,System.String,System.String)"> | 2393 | <member name="M:StructureMap.Interceptors.MatchedTypeInterceptor.InterceptWith(System.Func{StructureMap.IContext,System.Object,System.Object})"> |
2193 | <summary> | 2394 | <summary> |
2194 | Implementation of MementoSource that stores and retrieves an XmlInstanceMemento per Embedded Resource file | 2395 | Specify how objects matching the Type predicate |
2195 | in a named namespace. EmbeddedFolderXmlMementoSource is meant to simplify complicated object graph configurations | 2396 | will be intercepted |
2196 | by isolating each instance to a separate | ||
2197 | editable file. | ||
2198 | </summary> | 2397 | </summary> |
2199 | <param name="style">NodeNormalized or AttributeNormalized</param> | 2398 | <param name="interception"></param> |
2200 | <param name="assemblyName">The name of the Assembly with the embedded resources</param> | ||
2201 | <param name="folderPath">The root namespace of all of the mementos.</param> | ||
2202 | <param name="extension">The file extension of the memento files - "xml"</param> | ||
2203 | </member> | 2399 | </member> |
2204 | <member name="T:StructureMap.Source.MemoryMementoSource"> | 2400 | <member name="T:StructureMap.Pipeline.SmartInstance`1"> |
2205 | <summary> | 2401 | <summary> |
2206 | An in-memory MementoSource | 2402 | Instance that builds objects with by calling constructor functions and using setter properties |
2207 | </summary> | 2403 | </summary> |
2404 | <typeparam name="T">The concrete type constructed by SmartInstance</typeparam> | ||
2208 | </member> | 2405 | </member> |
2209 | <member name="M:StructureMap.Source.SingleEmbeddedXmlMementoSource.#ctor(System.String,StructureMap.Source.XmlMementoStyle,System.String,System.String)"> | 2406 | <member name="M:StructureMap.Pipeline.SmartInstance`1.WithName(System.String)"> |
2210 | <summary> | 2407 | <summary> |
2211 | Retrieves Xml InstanceMemento's from an xml file stored as an embedded resource in an assembly. | 2408 | Sets the name of this Instance |
2212 | </summary> | 2409 | </summary> |
2213 | <param name="nodeName">Designates the nodes that are memento nodes</param> | 2410 | <param name="instanceKey"></param> |
2214 | <param name="style">NodeNormalized or AttributeNormalized</param> | 2411 | <returns></returns> |
2215 | <param name="assemblyName">The name of the Assembly the file is embedded into</param> | ||
2216 | <param name="path">The path to the embedded resource within the file</param> | ||
2217 | </member> | 2412 | </member> |
2218 | <member name="M:StructureMap.Source.TemplatedMementoSource.#ctor(StructureMap.MementoSource,StructureMap.MementoSource)"> | 2413 | <member name="M:StructureMap.Pipeline.SmartInstance`1.OnCreation(System.Action{`0})"> |
2219 | <summary> | 2414 | <summary> |
2220 | Default Constructor | 2415 | Register an Action to perform on the object created by this Instance |
2416 | before it is returned to the caller | ||
2221 | </summary> | 2417 | </summary> |
2222 | <param name="innerSource">MementoSource that contains the Memento Templates</param> | 2418 | <param name="handler"></param> |
2223 | <param name="templateSource">MementoSource that contains instances consisting of Template valuee</param> | 2419 | <returns></returns> |
2224 | </member> | 2420 | </member> |
2225 | <member name="T:StructureMap.Source.XmlAttributeFileMementoSource"> | 2421 | <member name="M:StructureMap.Pipeline.SmartInstance`1.OnCreation(System.Action{StructureMap.IContext,`0})"> |
2226 | <summary> | 2422 | <summary> |
2227 | Stores Attribute-normalized InstanceMemento's in an external file | 2423 | Register an Action to perform on the object created by this Instance |
2424 | before it is returned to the caller | ||
2228 | </summary> | 2425 | </summary> |
2426 | <param name="handler"></param> | ||
2427 | <returns></returns> | ||
2229 | </member> | 2428 | </member> |
2230 | <member name="T:StructureMap.Source.XmlFileMementoSource"> | 2429 | <member name="M:StructureMap.Pipeline.SmartInstance`1.EnrichWith(StructureMap.Interceptors.EnrichmentHandler{`0})"> |
2231 | <summary> | 2430 | <summary> |
2232 | Implementation of XmlMementoSource that reads InstanceMemento's from an external file. | 2431 | Register a Func to potentially enrich or substitute for the object |
2233 | Useful to break the StructureMap.config file into smaller pieces. | 2432 | created by this Instance before it is returned to the caller |
2234 | </summary> | 2433 | </summary> |
2434 | <param name="handler"></param> | ||
2435 | <returns></returns> | ||
2235 | </member> | 2436 | </member> |
2236 | <member name="M:StructureMap.Source.XmlFileMementoSource.#ctor(System.String,System.String,System.String)"> | 2437 | <member name="M:StructureMap.Pipeline.SmartInstance`1.EnrichWith``1(StructureMap.Interceptors.EnrichmentHandler{``0})"> |
2237 | <summary> | 2438 | <summary> |
2238 | Default constructor | 2439 | Register a Func to potentially enrich or substitute for the object |
2440 | created by this Instance before it is returned to the caller | ||
2239 | </summary> | 2441 | </summary> |
2240 | <param name="FilePath">Path to the xml file that contains the instance configuration</param> | 2442 | <param name="handler"></param> |
2241 | <param name="XPath">XPath expression to the parent node that contains the InstanceMemento nodes. | 2443 | <returns></returns> |
2242 | If empty, it defaults to the top node</param> | ||
2243 | <param name="NodeName">The name of the nodes that are InstanceMemento nodes. Useful to store | ||
2244 | different types of instances in the same file</param> | ||
2245 | </member> | 2444 | </member> |
2246 | <member name="T:StructureMap.Source.XmlAttributeInstanceMemento"> | 2445 | <member name="M:StructureMap.Pipeline.SmartInstance`1.EnrichWith(StructureMap.Interceptors.ContextEnrichmentHandler{`0})"> |
2247 | <summary> | 2446 | <summary> |
2248 | An implementation of InstanceMemento that stores properties as Xml attributes | 2447 | Register a Func to potentially enrich or substitute for the object |
2249 | Limited functionality | 2448 | created by this Instance before it is returned to the caller |
2250 | </summary> | 2449 | </summary> |
2450 | <param name="handler"></param> | ||
2451 | <returns></returns> | ||
2251 | </member> | 2452 | </member> |
2252 | <member name="T:StructureMap.Source.XmlNodeInstanceMemento"> | 2453 | <member name="M:StructureMap.Pipeline.SmartInstance`1.EnrichWith``1(StructureMap.Interceptors.ContextEnrichmentHandler{``0})"> |
2253 | <summary> | 2454 | <summary> |
2254 | Implementation of InstanceMemento that stores information in a node-normalized | 2455 | Register a Func to potentially enrich or substitute for the object |
2255 | Xml format. | 2456 | created by this Instance before it is returned to the caller |
2256 | </summary> | 2457 | </summary> |
2458 | <param name="handler"></param> | ||
2459 | <returns></returns> | ||
2257 | </member> | 2460 | </member> |
2258 | <member name="M:StructureMap.StructureMapConfiguration.IncludeConfigurationFromNode(System.Xml.XmlNode,System.String)"> | 2461 | <member name="M:StructureMap.Pipeline.SmartInstance`1.InterceptWith(StructureMap.Interceptors.InstanceInterceptor)"> |
2259 | <summary> | 2462 | <summary> |
2260 | Programmatically adds a <StructureMap> node containing Xml configuration | 2463 | Register an <see cref="T:StructureMap.Interceptors.InstanceInterceptor">InstanceInterceptor</see> with this Instance |
2261 | </summary> | 2464 | </summary> |
2262 | <param name="node"></param> | 2465 | <param name="interceptor"></param> |
2263 | <param name="description">A description of this node source for troubleshooting purposes</param> | 2466 | <returns></returns> |
2264 | </member> | 2467 | </member> |
2265 | <member name="M:StructureMap.StructureMapConfiguration.GetStructureMapConfigurationPath"> | 2468 | <member name="M:StructureMap.Pipeline.SmartInstance`1.WithCtorArg(System.String)"> |
2266 | <summary> | 2469 | <summary> |
2267 | Returns the path to the StructureMap.config file | 2470 | Define a primitive constructor argument |
2268 | </summary> | 2471 | </summary> |
2472 | <param name="argumentName"></param> | ||
2269 | <returns></returns> | 2473 | <returns></returns> |
2270 | </member> | 2474 | </member> |
2271 | <member name="M:StructureMap.StructureMapConfiguration.ResetAll"> | 2475 | <member name="M:StructureMap.Pipeline.SmartInstance`1.SetProperty(System.Action{`0})"> |
2272 | <summary> | 2476 | <summary> |
2273 | Clears StructureMapConfiguration of all configuration options. Returns StructureMap | 2477 | Set simple setter properties |
2274 | to only using the default StructureMap.config file for configuration. | ||
2275 | </summary> | 2478 | </summary> |
2479 | <param name="action"></param> | ||
2480 | <returns></returns> | ||
2276 | </member> | 2481 | </member> |
2277 | <member name="M:StructureMap.StructureMapConfiguration.GetPluginGraph"> | 2482 | <member name="M:StructureMap.Pipeline.SmartInstance`1.WithProperty(System.Linq.Expressions.Expression{System.Func{`0,System.Object}})"> |
2278 | <summary> | 2483 | <summary> |
2279 | Builds a PluginGraph object for the current configuration. Used by ObjectFactory. | 2484 | Define a primitive setter property by specifying the property name with |
2485 | an expression | ||
2280 | </summary> | 2486 | </summary> |
2487 | <param name="expression"></param> | ||
2281 | <returns></returns> | 2488 | <returns></returns> |
2282 | </member> | 2489 | </member> |
2283 | <member name="M:StructureMap.StructureMapConfiguration.IncludeConfigurationFromFile(System.String)"> | 2490 | <member name="M:StructureMap.Pipeline.SmartInstance`1.WithProperty(System.String)"> |
2284 | <summary> | 2491 | <summary> |
2285 | Directs StructureMap to include Xml configuration information from a separate file | 2492 | Define a primitive setter property by specifying the property name |
2286 | </summary> | 2493 | </summary> |
2287 | <param name="filename"></param> | 2494 | <param name="propertyName"></param> |
2495 | <returns></returns> | ||
2288 | </member> | 2496 | </member> |
2289 | <member name="M:StructureMap.StructureMapConfiguration.Scan(System.Action{StructureMap.Graph.IAssemblyScanner})"> | 2497 | <member name="M:StructureMap.Pipeline.SmartInstance`1.CtorDependency``1"> |
2290 | <summary> | 2498 | <summary> |
2291 | Programmatically determine Assembly's to be scanned for attribute configuration | 2499 | Inline definition of a constructor dependency. Select the constructor argument by type. Do not |
2500 | use this method if there is more than one constructor arguments of the same type | ||
2292 | </summary> | 2501 | </summary> |
2502 | <typeparam name="CTORTYPE"></typeparam> | ||
2293 | <returns></returns> | 2503 | <returns></returns> |
2294 | </member> | 2504 | </member> |
2295 | <member name="M:StructureMap.StructureMapConfiguration.BuildInstancesOf``1"> | 2505 | <member name="M:StructureMap.Pipeline.SmartInstance`1.CtorDependency``1(System.String)"> |
2296 | <summary> | 2506 | <summary> |
2297 | Direct StructureMap to create instances of Type T | 2507 | Inline definition of a constructor dependency. Select the constructor argument by type and constructor name. |
2508 | Use this method if there is more than one constructor arguments of the same type | ||
2298 | </summary> | 2509 | </summary> |
2299 | <typeparam name="PLUGINTYPE">The Type to build</typeparam> | 2510 | <typeparam name="CTORTYPE"></typeparam> |
2511 | <param name="constructorArg"></param> | ||
2300 | <returns></returns> | 2512 | <returns></returns> |
2301 | </member> | 2513 | </member> |
2302 | <member name="M:StructureMap.StructureMapConfiguration.ForRequestedType``1"> | 2514 | <member name="M:StructureMap.Pipeline.SmartInstance`1.SetterDependency``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})"> |
2303 | <summary> | 2515 | <summary> |
2304 | Direct StructureMap to create instances of Type T | 2516 | Inline definition of a setter dependency. The property name is specified with an Expression |
2305 | </summary> | 2517 | </summary> |
2306 | <typeparam name="PLUGINTYPE">The Type to build</typeparam> | 2518 | <typeparam name="SETTERTYPE"></typeparam> |
2519 | <param name="expression"></param> | ||
2307 | <returns></returns> | 2520 | <returns></returns> |
2308 | </member> | 2521 | </member> |
2309 | <member name="M:StructureMap.StructureMapConfiguration.CreateProfile(System.String)"> | 2522 | <member name="M:StructureMap.Pipeline.SmartInstance`1.SetterDependency``1"> |
2310 | <summary> | 2523 | <summary> |
2311 | Starts the definition of a configuration Profile. | 2524 | Inline definition of a setter dependency. Only use this method if there |
2525 | is only a single property of the SETTERTYPE | ||
2312 | </summary> | 2526 | </summary> |
2313 | <param name="profileName"></param> | 2527 | <typeparam name="SETTERTYPE"></typeparam> |
2314 | <returns></returns> | 2528 | <returns></returns> |
2315 | </member> | 2529 | </member> |
2316 | <member name="M:StructureMap.StructureMapConfiguration.AddRegistry(StructureMap.Configuration.DSL.Registry)"> | 2530 | <member name="M:StructureMap.Pipeline.SmartInstance`1.TheArrayOf``1"> |
2317 | <summary> | 2531 | <summary> |
2318 | Directs StructureMap to use a Registry class to construct the | 2532 | Inline definition of a dependency on an Array of the CHILD type. I.e. CHILD[]. |
2319 | PluginGraph | 2533 | This method can be used for either constructor arguments or setter properties |
2320 | </summary> | 2534 | </summary> |
2321 | <param name="registry"></param> | 2535 | <typeparam name="CHILD"></typeparam> |
2536 | <returns></returns> | ||
2322 | </member> | 2537 | </member> |
2323 | <member name="P:StructureMap.StructureMapConfiguration.UseDefaultStructureMapConfigFile"> | 2538 | <member name="M:StructureMap.Pipeline.SmartInstance`1.TheArrayOf``1(System.String)"> |
2324 | <summary> | 2539 | <summary> |
2325 | Flag to enable or disable the usage of the default StructureMap.config | 2540 | Inline definition of a dependency on an Array of the CHILD type and the specified setter property or constructor argument name. I.e. CHILD[]. |
2326 | If set to false, StructureMap will not look for a StructureMap.config file | 2541 | This method can be used for either constructor arguments or setter properties |
2327 | </summary> | 2542 | </summary> |
2543 | <typeparam name="CHILD"></typeparam> | ||
2544 | <param name="ctorOrPropertyName"></param> | ||
2545 | <returns></returns> | ||
2328 | </member> | 2546 | </member> |
2329 | <member name="T:StructureMap.ConfigurationExpression"> | 2547 | <member name="T:StructureMap.Pipeline.SmartInstance`1.ArrayDefinitionExpression`1"> |
2330 | <summary> | 2548 | <summary> |
2331 | Used as the argument in the Container.Configure() method to describe | 2549 | Expression Builder to help define multiple Instances for an Array dependency |
2332 | configuration directives and specify the sources of configuration for | ||
2333 | a Container | ||
2334 | </summary> | 2550 | </summary> |
2551 | <typeparam name="ARRAY"></typeparam> | ||
2335 | </member> | 2552 | </member> |
2336 | <member name="M:StructureMap.ConfigurationExpression.AddRegistry``1"> | 2553 | <member name="M:StructureMap.Pipeline.SmartInstance`1.ArrayDefinitionExpression`1.Contains(System.Action{StructureMap.Configuration.DSL.Expressions.IInstanceExpression{`1}})"> |
2337 | <summary> | 2554 | <summary> |
2338 | Creates and adds a Registry object of type T. | 2555 | Nested Closure that allows you to add an unlimited number of child Instances |
2339 | </summary> | 2556 | </summary> |
2340 | <typeparam name="T">The Registry Type</typeparam> | 2557 | <param name="action"></param> |
2558 | <returns></returns> | ||
2341 | </member> | 2559 | </member> |
2342 | <member name="M:StructureMap.ConfigurationExpression.AddRegistry(StructureMap.Configuration.DSL.Registry)"> | 2560 | <member name="M:StructureMap.Pipeline.SmartInstance`1.ArrayDefinitionExpression`1.Contains(StructureMap.Pipeline.Instance[])"> |
2343 | <summary> | 2561 | <summary> |
2344 | Imports all the configuration from a Registry object | 2562 | Specify an array of Instance objects directly for an Array dependency |
2345 | </summary> | 2563 | </summary> |
2346 | <param name="registry"></param> | 2564 | <param name="arrayInstances"></param> |
2565 | <returns></returns> | ||
2347 | </member> | 2566 | </member> |
2348 | <member name="M:StructureMap.ConfigurationExpression.AddConfigurationFromXmlFile(System.String)"> | 2567 | <member name="T:StructureMap.Pipeline.SmartInstance`1.DependencyExpression`1"> |
2349 | <summary> | 2568 | <summary> |
2350 | Imports configuration from an Xml file. The fileName | 2569 | Expression Builder that helps to define child dependencies inline |
2351 | must point to an Xml file with valid StructureMap | ||
2352 | configuration | ||
2353 | </summary> | 2570 | </summary> |
2354 | <param name="fileName"></param> | 2571 | <typeparam name="CHILD"></typeparam> |
2355 | </member> | 2572 | </member> |
2356 | <member name="M:StructureMap.ConfigurationExpression.AddConfigurationFromNode(System.Xml.XmlNode)"> | 2573 | <member name="M:StructureMap.Pipeline.SmartInstance`1.DependencyExpression`1.Is(System.Action{StructureMap.Configuration.DSL.Expressions.IInstanceExpression{`1}})"> |
2357 | <summary> | 2574 | <summary> |
2358 | Imports configuration directly from an XmlNode. This | 2575 | Nested Closure to define a child dependency inline |
2359 | method was intended for scenarios like Xml being embedded | ||
2360 | into an assembly. The node must be a 'StructureMap' node | ||
2361 | </summary> | 2576 | </summary> |
2362 | <param name="node"></param> | 2577 | <param name="action"></param> |
2578 | <returns></returns> | ||
2363 | </member> | 2579 | </member> |
2364 | <member name="P:StructureMap.ConfigurationExpression.IncludeConfigurationFromConfigFile"> | 2580 | <member name="M:StructureMap.Pipeline.SmartInstance`1.DependencyExpression`1.Is(StructureMap.Pipeline.Instance)"> |
2365 | <summary> | 2581 | <summary> |
2366 | If true, directs StructureMap to look for configuration in the App.config. | 2582 | Shortcut to set an inline dependency to an Instance |
2367 | The default value is false. | ||
2368 | </summary> | 2583 | </summary> |
2369 | </member> | ||
2370 | <member name="T:StructureMap.Configuration.DSL.Expressions.IsExpression`1"> | ||
2371 | <summary> | ||
2372 | Expression Builder to define an Instance | ||
2373 | </summary> | ||
2374 | <typeparam name="T"></typeparam> | ||
2375 | </member> | ||
2376 | <member name="M:StructureMap.Configuration.DSL.Expressions.IsExpression`1.IsThis(StructureMap.Pipeline.Instance)"> | ||
2377 | <summary> | ||
2378 | Shortcut to specify a prebuilt Instance | ||
2379 | </summary> | ||
2380 | <param name="instance"></param> | 2584 | <param name="instance"></param> |
2585 | <returns></returns> | ||
2381 | </member> | 2586 | </member> |
2382 | <member name="M:StructureMap.Configuration.DSL.Expressions.IsExpression`1.IsThis(`0)"> | 2587 | <member name="M:StructureMap.Pipeline.SmartInstance`1.DependencyExpression`1.Is(`1)"> |
2383 | <summary> | 2588 | <summary> |
2384 | Shortcut to directly inject an object | 2589 | Shortcut to set an inline dependency to a designated object |
2385 | </summary> | 2590 | </summary> |
2386 | <param name="obj"></param> | 2591 | <param name="value"></param> |
2387 | <returns></returns> | 2592 | <returns></returns> |
2388 | </member> | 2593 | </member> |
2389 | <member name="P:StructureMap.Configuration.DSL.Expressions.IsExpression`1.Is"> | 2594 | <member name="M:StructureMap.Pipeline.SmartInstance`1.DependencyExpression`1.IsTheDefault"> |
2390 | <summary> | 2595 | <summary> |
2391 | Gives you full access to all the different ways to specify an "Instance" | 2596 | Set an Inline dependency to the Default Instance of the Property type |
2597 | Used mostly to force an optional Setter property to be filled by | ||
2598 | StructureMap | ||
2392 | </summary> | 2599 | </summary> |
2393 | </member> | ||
2394 | <member name="T:StructureMap.Configuration.DSL.Expressions.GenericIsExpression"> | ||
2395 | <summary> | ||
2396 | An Expression Builder to define Instances of a PluginType. | ||
2397 | This is mostly used for configuring open generic types | ||
2398 | </summary> | ||
2399 | </member> | ||
2400 | <member name="M:StructureMap.Configuration.DSL.Expressions.GenericIsExpression.Is(System.Type)"> | ||
2401 | <summary> | ||
2402 | Shortcut to register a Concrete Type as an instance. This method supports | ||
2403 | method chaining to allow you to add constructor and setter arguments for | ||
2404 | the concrete type | ||
2405 | </summary> | ||
2406 | <param name="concreteType"></param> | ||
2407 | <returns></returns> | 2600 | <returns></returns> |
2408 | </member> | 2601 | </member> |
2409 | <member name="M:StructureMap.Configuration.DSL.Expressions.GenericIsExpression.TheInstanceNamed(System.String)"> | 2602 | <member name="M:StructureMap.Pipeline.SmartInstance`1.DependencyExpression`1.Is``1"> |
2410 | <summary> | 2603 | <summary> |
2411 | Shortcut to simply use the Instance with the given name | 2604 | Shortcut method to define a child dependency inline |
2412 | </summary> | 2605 | </summary> |
2413 | <param name="name"></param> | 2606 | <typeparam name="CONCRETETYPE"></typeparam> |
2414 | <returns></returns> | 2607 | <returns></returns> |
2415 | </member> | 2608 | </member> |
2416 | <member name="T:StructureMap.Configuration.DSL.Expressions.IInstanceExpression`1"> | 2609 | <member name="T:StructureMap.Source.XmlAttributeInstanceMemento"> |
2417 | <summary> | 2610 | <summary> |
2418 | An Expression Builder that is used throughout the Registry DSL to | 2611 | An implementation of InstanceMemento that stores properties as Xml attributes |
2419 | add and define Instances | 2612 | Limited functionality |
2420 | </summary> | 2613 | </summary> |
2421 | <typeparam name="T"></typeparam> | ||
2422 | </member> | 2614 | </member> |
2423 | <member name="M:StructureMap.Configuration.DSL.Expressions.IInstanceExpression`1.Instance(StructureMap.Pipeline.Instance)"> | 2615 | <member name="T:StructureMap.Graph.SetterPropertyCollection"> |
2424 | <summary> | 2616 | <summary> |
2425 | Register a previously built Instance. This provides a "catch all" | 2617 | Custom collection class for SetterProperty objects |
2426 | method to attach custom Instance objects. Synonym for IsThis() | ||
2427 | </summary> | 2618 | </summary> |
2428 | <param name="instance"></param> | ||
2429 | </member> | 2619 | </member> |
2430 | <member name="M:StructureMap.Configuration.DSL.Expressions.IInstanceExpression`1.IsThis(StructureMap.Pipeline.Instance)"> | 2620 | <member name="T:StructureMap.DefaultConstructorAttribute"> |
2431 | <summary> | 2621 | <summary> |
2432 | Register a previously built Instance. This provides a "catch all" | 2622 | Used to override the constructor of a class to be used by StructureMap to create |
2433 | method to attach custom Instance objects. Synonym for Instance() | 2623 | a Pluggable object |
2434 | </summary> | 2624 | </summary> |
2435 | <param name="instance"></param> | ||
2436 | </member> | 2625 | </member> |
2437 | <member name="M:StructureMap.Configuration.DSL.Expressions.IInstanceExpression`1.IsThis(`0)"> | 2626 | <member name="M:StructureMap.DefaultConstructorAttribute.GetConstructor(System.Type)"> |
2438 | <summary> | 2627 | <summary> |
2439 | Inject this object directly. Synonym to Object() | 2628 | Examines a System.Type object and determines the ConstructorInfo to use in creating |
2629 | instances of the Type | ||
2440 | </summary> | 2630 | </summary> |
2441 | <param name="obj"></param> | 2631 | <param name="ExportedType"></param> |
2442 | <returns></returns> | 2632 | <returns></returns> |
2443 | </member> | 2633 | </member> |
2444 | <member name="M:StructureMap.Configuration.DSL.Expressions.IInstanceExpression`1.Object(`0)"> | 2634 | <member name="M:StructureMap.IExplicitProperty.EqualTo(System.Object)"> |
2445 | <summary> | 2635 | <summary> |
2446 | Inject this object directly. Synonym to IsThis() | 2636 | Specify the value of this explicit argument |
2447 | </summary> | 2637 | </summary> |
2448 | <param name="theObject"></param> | 2638 | <param name="value"></param> |
2449 | <returns></returns> | 2639 | <returns></returns> |
2450 | </member> | 2640 | </member> |
2451 | <member name="M:StructureMap.Configuration.DSL.Expressions.IInstanceExpression`1.OfConcreteType``1"> | 2641 | <member name="M:StructureMap.ExplicitArgsExpression.With``1(``0)"> |
2452 | <summary> | 2642 | <summary> |
2453 | Build the Instance with the constructor function and setter arguments. Starts | 2643 | Pass in additional arguments by type T |
2454 | the definition of a <see cref="T:StructureMap.Pipeline.SmartInstance`1">SmartInstance</see> | ||
2455 | </summary> | 2644 | </summary> |
2456 | <typeparam name="PLUGGEDTYPE"></typeparam> | 2645 | <typeparam name="T"></typeparam> |
2646 | <param name="arg"></param> | ||
2457 | <returns></returns> | 2647 | <returns></returns> |
2458 | </member> | 2648 | </member> |
2459 | <member name="M:StructureMap.Configuration.DSL.Expressions.IInstanceExpression`1.OfConcreteType(System.Type)"> | 2649 | <member name="M:StructureMap.ExplicitArgsExpression.With(System.String)"> |
2460 | <summary> | 2650 | <summary> |
2461 | Build the Instance with the constructor function and setter arguments. Use this | 2651 | Pass in additional arguments by name |
2462 | method for open generic types, and favor the generic version of OfConcreteType | ||
2463 | for all other types | ||
2464 | </summary> | 2652 | </summary> |
2465 | <param name="type"></param> | 2653 | <param name="argName"></param> |
2466 | <returns></returns> | 2654 | <returns></returns> |
2467 | </member> | 2655 | </member> |
2468 | <member name="M:StructureMap.Configuration.DSL.Expressions.IInstanceExpression`1.ConstructedBy(System.Func{`0})"> | 2656 | <member name="M:StructureMap.ExplicitArgsExpression.GetInstance``1"> |
2469 | <summary> | 2657 | <summary> |
2470 | Create an Instance that builds an object by calling a Lambda or | 2658 | Gets the default instance of type T using the explicitly configured arguments from the "args" |
2471 | an anonymous delegate with no arguments | ||
2472 | </summary> | 2659 | </summary> |
2473 | <param name="func"></param> | 2660 | <typeparam name="T"></typeparam> |
2474 | <returns></returns> | 2661 | <returns></returns> |
2475 | </member> | 2662 | </member> |
2476 | <member name="M:StructureMap.Configuration.DSL.Expressions.IInstanceExpression`1.ConstructedBy(System.Func{StructureMap.IContext,`0})"> | 2663 | <member name="M:StructureMap.ExplicitArgsExpression.GetInstance``1(System.String)"> |
2477 | <summary> | 2664 | <summary> |
2478 | Create an Instance that builds an object by calling a Lambda or | 2665 | Gets a named instance of type T using the explicitly configured arguments from teh "args" |
2479 | an anonymous delegate with the <see cref="T:StructureMap.IContext">IContext</see> representing | ||
2480 | the current object graph. | ||
2481 | </summary> | 2666 | </summary> |
2482 | <param name="func"></param> | 2667 | <typeparam name="T"></typeparam> |
2668 | <param name="name"></param> | ||
2483 | <returns></returns> | 2669 | <returns></returns> |
2484 | </member> | 2670 | </member> |
2485 | <member name="M:StructureMap.Configuration.DSL.Expressions.IInstanceExpression`1.TheInstanceNamed(System.String)"> | 2671 | <member name="M:StructureMap.ExplicitArgsExpression.GetInstance(System.Type)"> |
2486 | <summary> | 2672 | <summary> |
2487 | Use the Instance of this PluginType with the specified name. This is | 2673 | Gets the default instance of the pluginType using the explicitly configured arguments from the "args" |
2488 | generally only used while configuring child dependencies within a deep | ||
2489 | object graph | ||
2490 | </summary> | 2674 | </summary> |
2491 | <param name="name"></param> | ||
2492 | <returns></returns> | 2675 | <returns></returns> |
2493 | </member> | 2676 | </member> |
2494 | <member name="M:StructureMap.Configuration.DSL.Expressions.IInstanceExpression`1.TheDefault"> | 2677 | <member name="M:StructureMap.ExplicitArgsExpression.GetAllInstances``1"> |
2495 | <summary> | 2678 | <summary> |
2496 | Use the default Instance of this PluginType. This is | 2679 | Gets all configured instances of type T using explicitly configured arguments |
2497 | generally only used while configuring child dependencies within a deep | ||
2498 | object graph | ||
2499 | </summary> | 2680 | </summary> |
2681 | <typeparam name="T"></typeparam> | ||
2500 | <returns></returns> | 2682 | <returns></returns> |
2501 | </member> | 2683 | </member> |
2502 | <member name="M:StructureMap.Configuration.DSL.Expressions.IInstanceExpression`1.PrototypeOf(`0)"> | 2684 | <member name="T:StructureMap.Pipeline.PropertyExpression`1"> |
2503 | <summary> | 2685 | <summary> |
2504 | Creates an Instance that stores this object of type T, | 2686 | Defines the value of a primitive argument to a constructur argument |
2505 | and returns a cloned copy of the template. | ||
2506 | </summary> | 2687 | </summary> |
2507 | <param name="template"></param> | ||
2508 | <returns></returns> | ||
2509 | </member> | 2688 | </member> |
2510 | <member name="M:StructureMap.Configuration.DSL.Expressions.IInstanceExpression`1.SerializedCopyOf(`0)"> | 2689 | <member name="M:StructureMap.Pipeline.PropertyExpression`1.EqualTo(System.Object)"> |
2511 | <summary> | 2690 | <summary> |
2512 | Caches template as a serialized byte stream. Uses deserialization | 2691 | Sets the value of the constructor argument |
2513 | to create copies when the Instance is built. | ||
2514 | </summary> | 2692 | </summary> |
2515 | <param name="template"></param> | 2693 | <param name="propertyValue"></param> |
2516 | <returns></returns> | 2694 | <returns></returns> |
2517 | </member> | 2695 | </member> |
2518 | <member name="M:StructureMap.Configuration.DSL.Expressions.IInstanceExpression`1.LoadControlFrom(System.String)"> | 2696 | <member name="M:StructureMap.Pipeline.PropertyExpression`1.EqualToAppSetting(System.String)"> |
2519 | <summary> | 2697 | <summary> |
2520 | Creates an Instance that will load an ASCX user control from the url | 2698 | Sets the value of the constructor argument to the key/value in the |
2699 | AppSettings | ||
2521 | </summary> | 2700 | </summary> |
2522 | <param name="url"></param> | 2701 | <param name="appSettingKey">The key in appSettings for the value to use.</param> |
2523 | <returns></returns> | 2702 | <returns></returns> |
2524 | </member> | 2703 | </member> |
2525 | <member name="M:StructureMap.Configuration.DSL.Expressions.IInstanceExpression`1.Conditional(System.Action{StructureMap.Pipeline.ConditionalInstance{`0}.ConditionalInstanceExpression{`0}})"> | 2704 | <member name="M:StructureMap.Pipeline.PropertyExpression`1.EqualToAppSetting(System.String,System.String)"> |
2526 | <summary> | 2705 | <summary> |
2527 | Creates an Instance according to conditional rules | 2706 | Sets the value of the constructor argument to the key/value in the |
2707 | AppSettings when it exists. Otherwise uses the provided default value. | ||
2528 | </summary> | 2708 | </summary> |
2529 | <param name="configuration"></param> | 2709 | <param name="appSettingKey">The key in appSettings for the value to use.</param> |
2710 | <param name="defaultValue">The value to use if an entry for <paramref name="appSettingKey"/> does not exist in the appSettings section.</param> | ||
2530 | <returns></returns> | 2711 | <returns></returns> |
2531 | </member> | 2712 | </member> |
2532 | <member name="T:StructureMap.Configuration.DSL.SetterConvention"> | ||
2533 | <summary> | ||
2534 | Used as an expression builder to specify setter injection policies | ||
2535 | </summary> | ||
2536 | </member> | ||
2537 | <member name="M:StructureMap.Configuration.DSL.SetterConvention.OfType``1"> | ||
2538 | <summary> | ||
2539 | Directs StructureMap to treat all public setters of type T as | ||
2540 | mandatory properties | ||
2541 | </summary> | ||
2542 | <typeparam name="T"></typeparam> | ||
2543 | </member> | ||
2544 | <member name="M:StructureMap.Configuration.DSL.SetterConvention.TypeMatches(System.Predicate{System.Type})"> | ||
2545 | <summary> | ||
2546 | Directs StructureMap to tread all public setters with | ||
2547 | a PropertyType that matches the predicate as a | ||
2548 | mandatory setter | ||
2549 | </summary> | ||
2550 | <param name="predicate"></param> | ||
2551 | </member> | ||
2552 | <member name="M:StructureMap.Configuration.DSL.SetterConvention.Matching(System.Predicate{System.Reflection.PropertyInfo})"> | ||
2553 | <summary> | ||
2554 | Directs StructureMap to treat all public setters that match the | ||
2555 | rule as mandatory properties | ||
2556 | </summary> | ||
2557 | <param name="rule"></param> | ||
2558 | </member> | ||
2559 | <member name="M:StructureMap.Configuration.DSL.SetterConvention.WithAnyTypeFromNamespace(System.String)"> | ||
2560 | <summary> | ||
2561 | Directs StructureMap to treat all public setters with a property | ||
2562 | type in the specified namespace as mandatory properties | ||
2563 | </summary> | ||
2564 | <param name="nameSpace"></param> | ||
2565 | </member> | ||
2566 | <member name="M:StructureMap.Configuration.DSL.SetterConvention.WithAnyTypeFromNamespaceContainingType``1"> | ||
2567 | <summary> | ||
2568 | Directs StructureMap to treat all public setters with a property | ||
2569 | type in the specified namespace as mandatory properties | ||
2570 | </summary> | ||
2571 | <typeparam name="T"></typeparam> | ||
2572 | </member> | ||
2573 | <member name="M:StructureMap.Configuration.DSL.SetterConvention.NameMatches(System.Predicate{System.String})"> | ||
2574 | <summary> | ||
2575 | Directs StructureMap to treat all public setters where to property name | ||
2576 | matches the specified rule as a mandatory property | ||
2577 | </summary> | ||
2578 | <param name="rule"></param> | ||
2579 | </member> | ||
2580 | <member name="M:StructureMap.IInitializationExpression.AddConfigurationFromXmlFile(System.String)"> | 2713 | <member name="M:StructureMap.IInitializationExpression.AddConfigurationFromXmlFile(System.String)"> |
2581 | <summary> | 2714 | <summary> |
2582 | Imports configuration from an Xml file. The fileName | 2715 | Imports configuration from an Xml file. The fileName |
... | ... | ||
2629 | Scoping, the Default Instance, and interception. This method is specifically | 2762 | Scoping, the Default Instance, and interception. This method is specifically |
2630 | meant for registering open generic types | 2763 | meant for registering open generic types |
2631 | </summary> | 2764 | </summary> |
2632 | <typeparam name="PLUGINTYPE"></typeparam> | ||
2633 | <returns></returns> | 2765 | <returns></returns> |
2634 | </member> | 2766 | </member> |
2635 | <member name="M:StructureMap.IInitializationExpression.ForConcreteType``1"> | 2767 | <member name="M:StructureMap.IInitializationExpression.ForConcreteType``1"> |
... | ... | ||
2742 | Container is initialized. | 2874 | Container is initialized. |
2743 | </summary> | 2875 | </summary> |
2744 | </member> | 2876 | </member> |
2745 | <member name="T:StructureMap.IModel"> | 2877 | <member name="T:StructureMap.Graph.PluginFamily"> |
2746 | <summary> | 2878 | <summary> |
2747 | Models the state of a Container or ObjectFactory. Can be used to query for the | 2879 | Conceptually speaking, a PluginFamily object represents a point of abstraction or variability in |
2748 | existence of types registered with StructureMap | 2880 | the system. A PluginFamily defines a CLR Type that StructureMap can build, and all of the possible |
2881 | Plugin’s implementing the CLR Type. | ||
2749 | </summary> | 2882 | </summary> |
2750 | </member> | 2883 | </member> |
2751 | <member name="M:StructureMap.IModel.HasDefaultImplementationFor(System.Type)"> | 2884 | <member name="P:StructureMap.Graph.IPluginFamily.DefaultInstanceKey"> |
2752 | <summary> | 2885 | <summary> |
2753 | Can StructureMap fulfill a request to ObjectFactory.GetInstance(pluginType) from the | 2886 | The InstanceKey of the default instance of the PluginFamily |
2754 | current configuration. This does not include concrete classes that could be auto-configured | ||
2755 | upon demand | ||
2756 | </summary> | 2887 | </summary> |
2757 | <param name="pluginType"></param> | ||
2758 | <returns></returns> | ||
2759 | </member> | 2888 | </member> |
2760 | <!-- Badly formed XML comment ignored for member "M:StructureMap.IModel.HasDefaultImplementationFor``1" --> | 2889 | <member name="P:StructureMap.Graph.IPluginFamily.PluginType"> |
2761 | <member name="M:StructureMap.IModel.InstancesOf(System.Type)"> | ||
2762 | <summary> | 2890 | <summary> |
2763 | Queryable access to all of the <see cref="T:StructureMap.Pipeline.IInstance">IInstance</see> for a given PluginType | 2891 | The CLR Type that defines the "Plugin" interface for the PluginFamily |
2764 | </summary> | 2892 | </summary> |
2765 | <param name="pluginType"></param> | ||
2766 | <returns></returns> | ||
2767 | </member> | 2893 | </member> |
2768 | <member name="M:StructureMap.IModel.InstancesOf``1"> | 2894 | <member name="P:StructureMap.Graph.PluginFamily.PluginType"> |
2769 | <summary> | 2895 | <summary> |
2770 | Queryable access to all of the <see cref="T:StructureMap.Pipeline.IInstance">IInstance</see> for a given PluginType | 2896 | The CLR Type that defines the "Plugin" interface for the PluginFamily |
2771 | </summary> | 2897 | </summary> |
2772 | <param name="pluginType"></param> | ||
2773 | <returns></returns> | ||
2774 | </member> | 2898 | </member> |
2775 | <member name="M:StructureMap.IModel.HasImplementationsFor(System.Type)"> | 2899 | <member name="P:StructureMap.Graph.PluginFamily.DefaultInstanceKey"> |
2776 | <summary> | 2900 | <summary> |
2777 | Does the current container have existing configuration for the "pluginType" | 2901 | The InstanceKey of the default instance of the PluginFamily |
2778 | </summary> | 2902 | </summary> |
2779 | <param name="pluginType"></param> | ||
2780 | <returns></returns> | ||
2781 | </member> | 2903 | </member> |
2782 | <member name="M:StructureMap.IModel.HasImplementationsFor``1"> | 2904 | <member name="T:StructureMap.Graph.Plugin"> |
2783 | <summary> | 2905 | <summary> |
2784 | Does the current container have existing configuration for the type T | 2906 | Represents a concrete class that can be built by StructureMap as an instance of the parent |
2907 | PluginFamily’s PluginType. The properties of a Plugin are the CLR Type of the concrete class, | ||
2908 | and the human-friendly concrete key that StructureMap will use to identify the Type. | ||
2785 | </summary> | 2909 | </summary> |
2786 | <returns></returns> | ||
2787 | </member> | 2910 | </member> |
2788 | <member name="P:StructureMap.IModel.PluginTypes"> | 2911 | <member name="P:StructureMap.Graph.Plugin.ConcreteKey"> |
2789 | <summary> | 2912 | <summary> |
2790 | Access to all the <seealso cref="!:PluginType">PluginType</seealso> registrations | 2913 | The ConcreteKey that identifies the Plugin within a PluginFamily |
2791 | </summary> | 2914 | </summary> |
2792 | </member> | 2915 | </member> |
2793 | <member name="P:StructureMap.Pipeline.IBuildFrame.RequestedType"> | 2916 | <member name="P:StructureMap.Graph.Plugin.PluggedType"> |
2794 | <summary> | 2917 | <summary> |
2795 | The requested PluginType of the Instance being create | 2918 | The concrete CLR Type represented by the Plugin |
2796 | </summary> | 2919 | </summary> |
2797 | </member> | 2920 | </member> |
2798 | <member name="P:StructureMap.Pipeline.IBuildFrame.Name"> | 2921 | <member name="P:StructureMap.Graph.Plugin.Setters"> |
2799 | <summary> | 2922 | <summary> |
2800 | The Name of the Instance being created | 2923 | Property's that will be filled by setter injection |
2801 | </summary> | 2924 | </summary> |
2802 | </member> | 2925 | </member> |
2803 | <member name="P:StructureMap.Pipeline.IBuildFrame.ConcreteType"> | 2926 | <member name="T:StructureMap.Exceptions.InstancePropertyValueException"> |
2804 | <summary> | 2927 | <summary> |
2805 | The actual ConcreteType being created. This will not always | 2928 | Thrown by IProperty classes when an invalid value is applied to |
2806 | be available | 2929 | a property of an InstanceGraph |
2807 | </summary> | 2930 | </summary> |
2808 | </member> | 2931 | </member> |
2809 | <member name="T:StructureMap.Pipeline.BuildFrame"> | 2932 | <member name="M:StructureMap.Graph.IAssemblyScanner.Assembly(System.Reflection.Assembly)"> |
2810 | <summary> | 2933 | <summary> |
2811 | Models the current place in an object graph during the construction of | 2934 | Add an Assembly to the scanning operation |
2812 | an instance. Provides contextual information that can be used | ||
2813 | to alter the desired construction of child objects | ||
2814 | </summary> | 2935 | </summary> |
2936 | <param name="assembly"></param> | ||
2815 | </member> | 2937 | </member> |
2816 | <member name="P:StructureMap.Pipeline.BuildFrame.RequestedType"> | 2938 | <member name="M:StructureMap.Graph.IAssemblyScanner.Assembly(System.String)"> |
2817 | <summary> | 2939 | <summary> |
2818 | The requested PluginType of the Instance being create | 2940 | Add an Assembly by name to the scanning operation |
2819 | </summary> | 2941 | </summary> |
2942 | <param name="assemblyName"></param> | ||
2820 | </member> | 2943 | </member> |
2821 | <member name="P:StructureMap.Pipeline.BuildFrame.Name"> | 2944 | <member name="M:StructureMap.Graph.IAssemblyScanner.TheCallingAssembly"> |
2822 | <summary> | 2945 | <summary> |
2823 | The Name of the Instance being created | 2946 | Add the currently executing Assembly to the scanning operation |
2824 | </summary> | 2947 | </summary> |
2825 | </member> | 2948 | </member> |
2826 | <member name="P:StructureMap.Pipeline.BuildFrame.ConcreteType"> | 2949 | <member name="M:StructureMap.Graph.IAssemblyScanner.AssemblyContainingType``1"> |
2827 | <summary> | 2950 | <summary> |
2828 | The actual ConcreteType being created. This will not always | 2951 | Add the Assembly that contains type T to the scanning operation |
2829 | be available | ||
2830 | </summary> | 2952 | </summary> |
2953 | <typeparam name="T"></typeparam> | ||
2831 | </member> | 2954 | </member> |
2832 | <member name="T:StructureMap.Pipeline.BuildStack"> | 2955 | <member name="M:StructureMap.Graph.IAssemblyScanner.AssemblyContainingType(System.Type)"> |
2833 | <summary> | 2956 | <summary> |
2834 | Provides metadata about the object graph being constructed. More or less a stack trace of the GetInstance() pipeline | 2957 | Add the Assembly that contains type to the scanning operation |
2835 | that can be used for "contextual" object construction | ||
2836 | </summary> | 2958 | </summary> |
2959 | <param name="type"></param> | ||
2837 | </member> | 2960 | </member> |
2838 | <member name="P:StructureMap.Pipeline.BuildStack.Root"> | 2961 | <member name="M:StructureMap.Graph.IAssemblyScanner.AssembliesFromPath(System.String)"> |
2839 | <summary> | 2962 | <summary> |
2840 | The top level of the object graph. Describes the original requested instance | 2963 | Sweep the designated path and add any Assembly's found in this folder to the |
2964 | scanning operation | ||
2841 | </summary> | 2965 | </summary> |
2966 | <param name="path"></param> | ||
2842 | </member> | 2967 | </member> |
2843 | <member name="P:StructureMap.Pipeline.BuildStack.Current"> | 2968 | <member name="M:StructureMap.Graph.IAssemblyScanner.AssembliesFromPath(System.String,System.Predicate{System.Reflection.Assembly})"> |
2844 | <summary> | 2969 | <summary> |
2845 | The current BuildFrame | 2970 | Sweep the designated path and add any Assembly's found in this folder to the |
2971 | scanning operation. The assemblyFilter can be used to filter or limit the | ||
2972 | Assembly's that are picked up. | ||
2846 | </summary> | 2973 | </summary> |
2974 | <param name="path"></param> | ||
2975 | <param name="assemblyFilter"></param> | ||
2847 | </member> | 2976 | </member> |
2848 | <member name="P:StructureMap.Pipeline.BuildStack.Parent"> | 2977 | <member name="M:StructureMap.Graph.IAssemblyScanner.With(StructureMap.Graph.ITypeScanner)"> |
2849 | <summary> | 2978 | <summary> |
2850 | The immediate parent BuildFrame | 2979 | Adds an ITypeScanner object to the scanning operation |
2851 | </summary> | 2980 | </summary> |
2981 | <param name="scanner"></param> | ||
2852 | </member> | 2982 | </member> |
2853 | <member name="T:StructureMap.Pipeline.PropertyExpression`1"> | 2983 | <member name="M:StructureMap.Graph.IAssemblyScanner.WithDefaultConventions"> |
2854 | <summary> | 2984 | <summary> |
2855 | Defines the value of a primitive argument to a constructur argument | 2985 | Adds the DefaultConventionScanner to the scanning operations. I.e., a concrete |
2986 | class named "Something" that implements "ISomething" will be automatically | ||
2987 | added to PluginType "ISomething" | ||
2856 | </summary> | 2988 | </summary> |
2857 | </member> | 2989 | </member> |
2858 | <member name="M:StructureMap.Pipeline.PropertyExpression`1.EqualTo(System.Object)"> | 2990 | <member name="M:StructureMap.Graph.IAssemblyScanner.With``1"> |
2859 | <summary> | 2991 | <summary> |
2860 | Sets the value of the constructor argument | 2992 | Creates and adds a new ITypeScanner of type T to this scanning operation |
2861 | </summary> | 2993 | </summary> |
2862 | <param name="propertyValue"></param> | ||
2863 | <returns></returns> | ||
2864 | </member> | ||
2865 | <member name="M:StructureMap.Pipeline.PropertyExpression`1.EqualToAppSetting(System.String)"> | ||
2866 | <summary> | ||
2867 | Sets the value of the constructor argument to the key/value in the | ||
2868 | AppSettings | ||
2869 | </summary> | ||
2870 | <param name="appSettingKey">The key in appSettings for the value to use.</param> | ||
2871 | <returns></returns> | ||
2872 | </member> | ||
2873 | <member name="M:StructureMap.Pipeline.PropertyExpression`1.EqualToAppSetting(System.String,System.String)"> | ||
2874 | <summary> | ||
2875 | Sets the value of the constructor argument to the key/value in the | ||
2876 | AppSettings when it exists. Otherwise uses the provided default value. | ||
2877 | </summary> | ||
2878 | <param name="appSettingKey">The key in appSettings for the value to use.</param> | ||
2879 | <param name="defaultValue">The value to use if an entry for <paramref name="appSettingKey"/> does not exist in the appSettings section.</param> | ||
2880 | <returns></returns> | ||
2881 | </member> | ||
2882 | <member name="T:StructureMap.Pipeline.SmartInstance`1"> | ||
2883 | <summary> | ||
2884 | Instance that builds objects with by calling constructor functions and using setter properties | ||
2885 | </summary> | ||
2886 | <typeparam name="T">The concrete type constructed by SmartInstance</typeparam> | ||
2887 | </member> | ||
2888 | <member name="M:StructureMap.Pipeline.SmartInstance`1.WithName(System.String)"> | ||
2889 | <summary> | ||
2890 | Sets the name of this Instance | ||
2891 | </summary> | ||
2892 | <param name="instanceKey"></param> | ||
2893 | <returns></returns> | ||
2894 | </member> | ||
2895 | <member name="M:StructureMap.Pipeline.SmartInstance`1.OnCreation(System.Action{`0})"> | ||
2896 | <summary> | ||
2897 | Register an Action to perform on the object created by this Instance | ||
2898 | before it is returned to the caller | ||
2899 | </summary> | ||
2900 | <typeparam name="T"></typeparam> | 2994 | <typeparam name="T"></typeparam> |
2901 | <param name="handler"></param> | ||
2902 | <returns></returns> | ||
2903 | </member> | 2995 | </member> |
2904 | <member name="M:StructureMap.Pipeline.SmartInstance`1.OnCreation(System.Action{StructureMap.IContext,`0})"> | 2996 | <member name="M:StructureMap.Graph.IAssemblyScanner.LookForRegistries"> |
2905 | <summary> | 2997 | <summary> |
2906 | Register an Action to perform on the object created by this Instance | 2998 | Directs the scanning operation to automatically detect and include any Registry |
2907 | before it is returned to the caller | 2999 | classes found in the Assembly's being scanned |
2908 | </summary> | 3000 | </summary> |
2909 | <typeparam name="T"></typeparam> | ||
2910 | <param name="handler"></param> | ||
2911 | <returns></returns> | ||
2912 | </member> | 3001 | </member> |
2913 | <member name="M:StructureMap.Pipeline.SmartInstance`1.EnrichWith(StructureMap.Interceptors.EnrichmentHandler{`0})"> | 3002 | <member name="M:StructureMap.Graph.IAssemblyScanner.AddAllTypesOf``1"> |
2914 | <summary> | 3003 | <summary> |
2915 | Register a Func to potentially enrich or substitute for the object | 3004 | Add all concrete types of the Plugin Type as Instances of Plugin Type |
2916 | created by this Instance before it is returned to the caller | ||
2917 | </summary> | 3005 | </summary> |
2918 | <param name="handler"></param> | 3006 | <typeparam name="PLUGINTYPE"></typeparam> |
2919 | <returns></returns> | ||
2920 | </member> | 3007 | </member> |
2921 | <member name="M:StructureMap.Pipeline.SmartInstance`1.EnrichWith``1(StructureMap.Interceptors.EnrichmentHandler{``0})"> | 3008 | <member name="M:StructureMap.Graph.IAssemblyScanner.AddAllTypesOf(System.Type)"> |
2922 | <summary> | 3009 | <summary> |
2923 | Register a Func to potentially enrich or substitute for the object | 3010 | Add all concrete types of the Plugin Type as Instances of Plugin Type |
2924 | created by this Instance before it is returned to the caller | ||
2925 | </summary> | 3011 | </summary> |
2926 | <param name="handler"></param> | 3012 | <param name="pluginType"></param> |
2927 | <returns></returns> | ||
2928 | </member> | 3013 | </member> |
2929 | <member name="M:StructureMap.Pipeline.SmartInstance`1.EnrichWith(StructureMap.Interceptors.ContextEnrichmentHandler{`0})"> | 3014 | <member name="M:StructureMap.Graph.IAssemblyScanner.IgnoreStructureMapAttributes"> |
2930 | <summary> | 3015 | <summary> |
2931 | Register a Func to potentially enrich or substitute for the object | 3016 | Makes this scanning operation ignore all [PluginFamily] and [Pluggable] attributes |
2932 | created by this Instance before it is returned to the caller | ||
2933 | </summary> | 3017 | </summary> |
2934 | <param name="handler"></param> | ||
2935 | <returns></returns> | ||
2936 | </member> | 3018 | </member> |
2937 | <member name="M:StructureMap.Pipeline.SmartInstance`1.EnrichWith``1(StructureMap.Interceptors.ContextEnrichmentHandler{``0})"> | 3019 | <member name="M:StructureMap.Graph.IAssemblyScanner.Exclude(System.Predicate{System.Type})"> |
2938 | <summary> | 3020 | <summary> |
2939 | Register a Func to potentially enrich or substitute for the object | 3021 | Exclude types that match the Predicate from being scanned |
2940 | created by this Instance before it is returned to the caller | ||
2941 | </summary> | 3022 | </summary> |
2942 | <param name="handler"></param> | 3023 | <param name="exclude"></param> |
2943 | <returns></returns> | ||
2944 | </member> | 3024 | </member> |
2945 | <member name="M:StructureMap.Pipeline.SmartInstance`1.InterceptWith(StructureMap.Interceptors.InstanceInterceptor)"> | 3025 | <member name="M:StructureMap.Graph.IAssemblyScanner.ExcludeNamespace(System.String)"> |
2946 | <summary> | 3026 | <summary> |
2947 | Register an <see cref="T:StructureMap.Interceptors.InstanceInterceptor">InstanceInterceptor</see> with this Instance | 3027 | Exclude all types in this nameSpace or its children from the scanning operation |
2948 | </summary> | 3028 | </summary> |
2949 | <param name="interceptor"></param> | 3029 | <param name="nameSpace"></param> |
2950 | <returns></returns> | ||
2951 | </member> | 3030 | </member> |
2952 | <member name="M:StructureMap.Pipeline.SmartInstance`1.WithCtorArg(System.String)"> | 3031 | <member name="M:StructureMap.Graph.IAssemblyScanner.ExcludeNamespaceContainingType``1"> |
2953 | <summary> | 3032 | <summary> |
2954 | Define a primitive constructor argument | 3033 | Exclude all types in this nameSpace or its children from the scanning operation |
2955 | </summary> | 3034 | </summary> |
2956 | <param name="argumentName"></param> | 3035 | <typeparam name="T"></typeparam> |
2957 | <returns></returns> | ||
2958 | </member> | 3036 | </member> |
2959 | <member name="M:StructureMap.Pipeline.SmartInstance`1.SetProperty(System.Action{`0})"> | 3037 | <member name="M:StructureMap.Graph.IAssemblyScanner.Include(System.Predicate{System.Type})"> |
2960 | <summary> | 3038 | <summary> |
2961 | Set simple setter properties | 3039 | Only include types matching the Predicate in the scanning operation. You can |
3040 | use multiple Include() calls in a single scanning operation | ||
2962 | </summary> | 3041 | </summary> |
2963 | <param name="action"></param> | 3042 | <param name="predicate"></param> |
2964 | <returns></returns> | ||
2965 | </member> | 3043 | </member> |
2966 | <member name="M:StructureMap.Pipeline.SmartInstance`1.WithProperty(System.Linq.Expressions.Expression{System.Func{`0,System.Object}})"> | 3044 | <member name="M:StructureMap.Graph.IAssemblyScanner.IncludeNamespace(System.String)"> |
2967 | <summary> | 3045 | <summary> |
2968 | Define a primitive setter property by specifying the property name with | 3046 | Only include types from this nameSpace or its children in the scanning operation. You can |
2969 | an expression | 3047 | use multiple Include() calls in a single scanning operation |
2970 | </summary> | 3048 | </summary> |
2971 | <param name="expression"></param> | 3049 | <param name="nameSpace"></param> |
2972 | <returns></returns> | ||
2973 | </member> | 3050 | </member> |
2974 | <member name="M:StructureMap.Pipeline.SmartInstance`1.WithProperty(System.String)"> | 3051 | <member name="M:StructureMap.Graph.IAssemblyScanner.IncludeNamespaceContainingType``1"> |
2975 | <summary> | 3052 | <summary> |
2976 | Define a primitive setter property by specifying the property name | 3053 | Only include types from this nameSpace or its children in the scanning operation. You can |
3054 | use multiple Include() calls in a single scanning operation | ||
2977 | </summary> | 3055 | </summary> |
2978 | <param name="propertyName"></param> | 3056 | <typeparam name="T"></typeparam> |
2979 | <returns></returns> | ||
2980 | </member> | 3057 | </member> |
2981 | <member name="M:StructureMap.Pipeline.SmartInstance`1.CtorDependency``1"> | 3058 | <member name="M:StructureMap.Graph.IAssemblyScanner.ExcludeType``1"> |
2982 | <summary> | 3059 | <summary> |
2983 | Inline definition of a constructor dependency. Select the constructor argument by type. Do not | 3060 | Exclude this specific type from the scanning operation |
2984 | use this method if there is more than one constructor arguments of the same type | ||
2985 | </summary> | 3061 | </summary> |
2986 | <typeparam name="CTORTYPE"></typeparam> | 3062 | <typeparam name="T"></typeparam> |
2987 | <returns></returns> | ||
2988 | </member> | 3063 | </member> |
2989 | <member name="M:StructureMap.Pipeline.SmartInstance`1.CtorDependency``1(System.String)"> | 3064 | <member name="T:StructureMap.Configuration.DSL.Expressions.GenericFamilyExpression"> |
2990 | <summary> | 3065 | <summary> |
2991 | Inline definition of a constructor dependency. Select the constructor argument by type and constructor name. | 3066 | Expression Builder that has grammars for defining policies at the |
2992 | Use this method if there is more than one constructor arguments of the same type | 3067 | PluginType level. This expression is used for registering |
3068 | open generic types | ||
2993 | </summary> | 3069 | </summary> |
2994 | <typeparam name="CTORTYPE"></typeparam> | ||
2995 | <param name="constructorArg"></param> | ||
2996 | <returns></returns> | ||
2997 | </member> | 3070 | </member> |
2998 | <member name="M:StructureMap.Pipeline.SmartInstance`1.SetterDependency``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})"> | 3071 | <member name="M:StructureMap.Configuration.DSL.Expressions.GenericFamilyExpression.TheDefaultIsConcreteType(System.Type)"> |
2999 | <summary> | 3072 | <summary> |
3000 | Inline definition of a setter dependency. The property name is specified with an Expression | 3073 | Convenience method that sets the default concrete type of the PluginType. The "concreteType" |
3074 | can only accept types that do not have any primitive constructor arguments. | ||
3075 | StructureMap has to know how to construct all of the constructor argument types. | ||
3001 | </summary> | 3076 | </summary> |
3002 | <typeparam name="SETTERTYPE"></typeparam> | 3077 | <param name="concreteType"></param> |
3003 | <param name="expression"></param> | ||
3004 | <returns></returns> | 3078 | <returns></returns> |
3005 | </member> | 3079 | </member> |
3006 | <member name="M:StructureMap.Pipeline.SmartInstance`1.SetterDependency``1"> | 3080 | <member name="M:StructureMap.Configuration.DSL.Expressions.GenericFamilyExpression.AddType(System.Type)"> |
3007 | <summary> | 3081 | <summary> |
3008 | Inline definition of a setter dependency. Only use this method if there | 3082 | Shortcut method to add an additional Instance to this Plugin Type |
3009 | is only a single property of the SETTERTYPE | 3083 | as just a Concrete Type. This will only work if the Concrete Type |
3084 | has no primitive constructor or mandatory Setter arguments. | ||
3010 | </summary> | 3085 | </summary> |
3011 | <typeparam name="SETTERTYPE"></typeparam> | 3086 | <param name="concreteType"></param> |
3012 | <returns></returns> | 3087 | <returns></returns> |
3013 | </member> | 3088 | </member> |
3014 | <member name="M:StructureMap.Pipeline.SmartInstance`1.TheArrayOf``1"> | 3089 | <member name="M:StructureMap.Configuration.DSL.Expressions.GenericFamilyExpression.CacheBy(StructureMap.Attributes.InstanceScope)"> |
3015 | <summary> | 3090 | <summary> |
3016 | Inline definition of a dependency on an Array of the CHILD type. I.e. CHILD[]. | 3091 | Sets the object creation of the instances of the PluginType. For example: PerRequest, |
3017 | This method can be used for either constructor arguments or setter properties | 3092 | Singleton, ThreadLocal, HttpContext, or Hybrid |
3018 | </summary> | 3093 | </summary> |
3019 | <typeparam name="CHILD"></typeparam> | 3094 | <param name="scope"></param> |
3020 | <returns></returns> | 3095 | <returns></returns> |
3021 | </member> | 3096 | </member> |
3022 | <member name="M:StructureMap.Pipeline.SmartInstance`1.TheArrayOf``1(System.String)"> | 3097 | <member name="M:StructureMap.Configuration.DSL.Expressions.GenericFamilyExpression.OnCreation(System.Action{System.Object})"> |
3023 | <summary> | 3098 | <summary> |
3024 | Inline definition of a dependency on an Array of the CHILD type and the specified setter property or constructor argument name. I.e. CHILD[]. | 3099 | Register an Action to run against any object of this PluginType immediately after |
3025 | This method can be used for either constructor arguments or setter properties | 3100 | it is created, but before the new object is passed back to the caller |
3026 | </summary> | 3101 | </summary> |
3027 | <typeparam name="CHILD"></typeparam> | ||
3028 | <param name="ctorOrPropertyName"></param> | ||
3029 | <returns></returns> | ||
3030 | </member> | ||
3031 | <member name="T:StructureMap.Pipeline.SmartInstance`1.ArrayDefinitionExpression`2"> | ||
3032 | <summary> | ||
3033 | Expression Builder to help define multiple Instances for an Array dependency | ||
3034 | </summary> | ||
3035 | <typeparam name="T"></typeparam> | ||
3036 | <typeparam name="ARRAY"></typeparam> | ||
3037 | </member> | ||
3038 | <member name="M:StructureMap.Pipeline.SmartInstance`1.ArrayDefinitionExpression`2.Contains(System.Action{StructureMap.Configuration.DSL.Expressions.IInstanceExpression{`2}})"> | ||
3039 | <summary> | ||
3040 | Nested Closure that allows you to add an unlimited number of child Instances | ||
3041 | </summary> | ||
3042 | <param name="action"></param> | 3102 | <param name="action"></param> |
3043 | <returns></returns> | 3103 | <returns></returns> |
3044 | </member> | 3104 | </member> |
3045 | <member name="M:StructureMap.Pipeline.SmartInstance`1.ArrayDefinitionExpression`2.Contains(StructureMap.Pipeline.Instance[])"> | 3105 | <member name="M:StructureMap.Configuration.DSL.Expressions.GenericFamilyExpression.EnrichWith(System.Func{System.Object,System.Object})"> |
3046 | <summary> | 3106 | <summary> |
3047 | Specify an array of Instance objects directly for an Array dependency | 3107 | Register a Func to run against any object of this PluginType immediately after it is created, |
3108 | but before the new object is passed back to the caller. Unlike <see cref="M:StructureMap.Configuration.DSL.Expressions.GenericFamilyExpression.OnCreation(System.Action{System.Object})">OnCreation()</see>, | ||
3109 | EnrichWith() gives the the ability to return a different object. Use this method for runtime AOP | ||
3110 | scenarios or to return a decorator. | ||
3048 | </summary> | 3111 | </summary> |
3049 | <param name="arrayInstances"></param> | 3112 | <param name="func"></param> |
3050 | <returns></returns> | 3113 | <returns></returns> |
3051 | </member> | 3114 | </member> |
3052 | <member name="T:StructureMap.Pipeline.SmartInstance`1.DependencyExpression`2"> | 3115 | <member name="M:StructureMap.Configuration.DSL.Expressions.GenericFamilyExpression.EnrichWith(System.Func{StructureMap.IContext,System.Object,System.Object})"> |
3053 | <summary> | 3116 | <summary> |
3054 | Expression Builder that helps to define child dependencies inline | 3117 | Register a Func to run against any object of this PluginType immediately after it is created, |
3118 | but before the new object is passed back to the caller. Unlike <see cref="M:StructureMap.Configuration.DSL.Expressions.GenericFamilyExpression.OnCreation(System.Action{System.Object})">OnCreation()</see>, | ||
3119 | EnrichWith() gives the the ability to return a different object. Use this method for runtime AOP | ||
3120 | scenarios or to return a decorator. | ||
3055 | </summary> | 3121 | </summary> |
3056 | <typeparam name="T"></typeparam> | 3122 | <param name="func"></param> |
3057 | <typeparam name="CHILD"></typeparam> | ||
3058 | </member> | ||
3059 | <member name="M:StructureMap.Pipeline.SmartInstance`1.DependencyExpression`2.Is(System.Action{StructureMap.Configuration.DSL.Expressions.IInstanceExpression{`2}})"> | ||
3060 | <summary> | ||
3061 | Nested Closure to define a child dependency inline | ||
3062 | </summary> | ||
3063 | <param name="action"></param> | ||
3064 | <returns></returns> | 3123 | <returns></returns> |
3065 | </member> | 3124 | </member> |
3066 | <member name="M:StructureMap.Pipeline.SmartInstance`1.DependencyExpression`2.Is(StructureMap.Pipeline.Instance)"> | 3125 | <member name="M:StructureMap.Configuration.DSL.Expressions.GenericFamilyExpression.InterceptConstructionWith(StructureMap.Pipeline.IBuildInterceptor)"> |
3067 | <summary> | 3126 | <summary> |
3068 | Shortcut to set an inline dependency to an Instance | 3127 | Registers an IBuildInterceptor for this Plugin Type that executes before |
3128 | any object of this PluginType is created. IBuildInterceptor's can be | ||
3129 | used to create a custom scope | ||
3069 | </summary> | 3130 | </summary> |
3070 | <param name="instance"></param> | 3131 | <param name="interceptor"></param> |
3071 | <returns></returns> | 3132 | <returns></returns> |
3072 | </member> | 3133 | </member> |
3073 | <member name="M:StructureMap.Pipeline.SmartInstance`1.DependencyExpression`2.Is(`2)"> | 3134 | <member name="M:StructureMap.Configuration.DSL.Expressions.GenericFamilyExpression.AddConcreteType(System.Type)"> |
3074 | <summary> | 3135 | <summary> |
3075 | Shortcut to set an inline dependency to a designated object | 3136 | Shortcut method to add an additional Instance to this Plugin Type |
3137 | as just a Concrete Type. You can also chain other declarations after | ||
3138 | this method to add constructor and setter arguments | ||
3076 | </summary> | 3139 | </summary> |
3077 | <param name="value"></param> | 3140 | <param name="concreteType"></param> |
3078 | <returns></returns> | 3141 | <returns></returns> |
3079 | </member> | 3142 | </member> |
3080 | <member name="M:StructureMap.Pipeline.SmartInstance`1.DependencyExpression`2.IsTheDefault"> | 3143 | <member name="M:StructureMap.Configuration.DSL.Expressions.GenericFamilyExpression.AddConcreteType(System.Type,System.String)"> |
3081 | <summary> | 3144 | <summary> |
3082 | Set an Inline dependency to the Default Instance of the Property type | 3145 | Shortcut method to add an additional Instance to this Plugin Type |
3083 | Used mostly to force an optional Setter property to be filled by | 3146 | as just a Concrete Type by a specified name. You can also chain other declarations after |
3084 | StructureMap | 3147 | this method to add constructor and setter arguments |
3085 | </summary> | 3148 | </summary> |
3149 | <param name="concreteType"></param> | ||
3150 | <param name="instanceName"></param> | ||
3086 | <returns></returns> | 3151 | <returns></returns> |
3087 | </member> | 3152 | </member> |
3088 | <member name="M:StructureMap.Pipeline.SmartInstance`1.DependencyExpression`2.Is``1"> | 3153 | <member name="T:StructureMap.Source.DirectoryXmlMementoSource"> |
3089 | <summary> | 3154 | <summary> |
3090 | Shortcut method to define a child dependency inline | 3155 | Implementation of MementoSource that stores and retrieves an XmlInstanceMemento per file in a named directory. |
3156 | DirectoryXmlMementoSource is meant to simplify complicated object graph configurations by isolating each instance to a separate | ||
3157 | editable file. | ||
3091 | </summary> | 3158 | </summary> |
3092 | <typeparam name="CONCRETETYPE"></typeparam> | ||
3093 | <returns></returns> | ||
3094 | </member> | 3159 | </member> |
3095 | <member name="T:StructureMap.PluginTypeConfiguration"> | 3160 | <member name="M:StructureMap.Source.DirectoryXmlMementoSource.#ctor(System.String,System.String,StructureMap.Source.XmlMementoStyle)"> |
3096 | <summary> | 3161 | <summary> |
3097 | Metadata describing the registration of a PluginType | 3162 | Stores an Xml InstanceMemento per file in a directory |
3098 | </summary> | 3163 | </summary> |
3164 | <param name="directory">A ";" delimited list of directories to look for mementos. DirectoryXmlMementoSource | ||
3165 | will use the FIRST directory it finds</param> | ||
3166 | <param name="extension">The file extension of the InstanceMemento files without a dot. Typically "xml"</param> | ||
3167 | <param name="mementoStyle">NodeNormalized or AttributeNormalized</param> | ||
3099 | </member> | 3168 | </member> |
3100 | <member name="P:StructureMap.PluginTypeConfiguration.Default"> | 3169 | <member name="T:StructureMap.Graph.SetterProperty"> |
3101 | <summary> | 3170 | <summary> |
3102 | The "instance" that will be used when Container.GetInstance(PluginType) is called. | 3171 | Represents a PropertyInfo of a Plugin.PluggedType that is filled by Setter Injection |
3103 | See <see cref="T:StructureMap.Pipeline.IInstance">IInstance</see> for more information | ||
3104 | </summary> | 3172 | </summary> |
3105 | </member> | 3173 | </member> |
3106 | <member name="P:StructureMap.PluginTypeConfiguration.Policy"> | 3174 | <member name="T:StructureMap.Emitting.DynamicAssembly"> |
3107 | <summary> | 3175 | <summary> |
3108 | The build "policy" for this PluginType. Used by the WhatDoIHave() diagnostics methods | 3176 | Helper class to use to create a dynamically emitted assembly |
3109 | </summary> | 3177 | </summary> |
3110 | </member> | 3178 | </member> |
3111 | <member name="P:StructureMap.PluginTypeConfiguration.Instances"> | 3179 | <member name="T:StructureMap.Attributes.SetterPropertyAttribute"> |
3112 | <summary> | 3180 | <summary> |
3113 | All of the <see cref="T:StructureMap.Pipeline.IInstance">IInstance</see>'s registered | 3181 | Marks a Property in a Pluggable class as filled by setter injection |
3114 | for this PluginType | ||
3115 | </summary> | 3182 | </summary> |
3116 | </member> | 3183 | </member> |
3117 | <member name="T:StructureMap.ExpressionVisitorBase"> | ||
3118 | <summary> | ||
3119 | Provides virtual methods that can be used by subclasses to parse an expression tree. | ||
3120 | </summary> | ||
3121 | <remarks> | ||
3122 | This class actually already exists in the System.Core assembly...as an internal class. | ||
3123 | I can only speculate as to why it is internal, but it is obviously much too dangerous | ||
3124 | for anyone outside of Microsoft to be using... | ||
3125 | </remarks> | ||
3126 | </member> | ||
3127 | </members> | 3184 | </members> |
3128 | </doc> | 3185 | </doc> |
Download diff