Constructors
Methods
-
Add
Type(Type, sealed Adds the concreteType as an Instance of the pluginType. Mostly useful for conventionsType) -
Add
Type(Type, virtual Adds the concreteType as an Instance of the pluginType with a name. Mostly useful for conventionsType, String) -
Configure(Action<Plugin
Graph>) sealed Advanced Usage Only! Skips the Registry and goes right to the inner Semantic Model of StructureMap. Use with care - Equals(Object) virtual
- Equals(Registry)
-
For(Type,
ILifecycle) sealed Expression Builder used to define policies for a PluginType including Scoping, the Default Instance, and interception. This method is specifically meant for registering open generic types - For``1(ILifecycle) sealed Expression Builder used to define policies for a PluginType including Scoping, the Default Instance, and interception. BuildInstancesOf() and ForRequestedType() are synonyms
-
For
Concrete sealed 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 sealed Shorthand way of saying For(pluginType).Singleton()Of(Type) -
For
Singleton sealed Convenience method. Equivalent of ForRequestedType[PluginType]().Singletons()Of``1() - Forward``2() sealed All requests For the "TO" types will be filled by fetching the "FROM" type and casting it to "TO" GetInstance(typeof(TO)) basically becomes (TO)GetInstance(typeof(FROM))
-
Get
Hash virtualCode() -
Include
Registry(Registry) sealed Imports the configuration from another registry into this registry. -
Include
Registry``1() sealed Imports the configuration from another registry into this registry. -
Profile(String,
Action<IProfile sealed An alternative way to use CreateProfile that uses ProfileExpression as a Nested Closure. This usage will result in cleaner code for multiple declarationsRegistry>) - Redirect``2() sealed
-
Registry
Exists(IEnumerable<Registry>, staticRegistry) -
Scan(Action<IAssembly
Scanner>) sealed Designates a policy for scanning assemblies to auto register types
Properties
- Policies sealed Configure Container-wide policies and conventions
-
Policies
Changed -
Transient
Tracking - alter