Methods
-
Add
Type(Type, Adds the concreteType as an Instance of the pluginType. Mostly useful for conventionsType) -
Add
Type(Type, Adds the concreteType as an Instance of the pluginType with a name. Mostly useful for conventionsType, String) -
Configure(Action<Plugin
Graph>) Advanced Usage Only! Skips the Registry and goes right to the inner Semantic Model of StructureMap. Use with care -
For
Concrete This method is a shortcut for specifying the default constructor and setter arguments for a ConcreteType. ForConcreteType is shorthand for: For[T]().Use[T].************** when the PluginType and ConcreteType are the same TypeType``1() -
For
Singleton Shorthand way of saying For(pluginType).Singleton()Of(Type) -
For
Singleton Convenience method. Equivalent of ForRequestedType[PluginType]().Singletons()Of``1() -
Include
Registry(Registry) Imports the configuration from another registry into this registry. -
Include
Registry``1() Imports the configuration from another registry into this registry. -
Profile(String,
Action<IProfile An alternative way to use CreateProfile that uses ProfileExpression as a Nested Closure. This usage will result in cleaner code for multiple declarationsRegistry>) -
Scan(Action<IAssembly
Scanner>) Designates a policy for scanning assemblies to auto register types