Created
February 18, 2011 20:03
-
-
Save andreasohlund/834307 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace NServiceBus.ObjectBuilder | |
| { | |
| /// <summary> | |
| /// Represent the various lifecycles available for coponents configured in the container | |
| /// </summary> | |
| public enum DependencyLifecycle | |
| { | |
| /// <summary> | |
| /// The same instance will be returned each time | |
| /// </summary> | |
| SingleInstance, | |
| /// <summary> | |
| /// The instance will be singleton for the duration of the unit of work. In practice this means | |
| /// the processing of a single transport message | |
| /// </summary> | |
| InstancePerUnitOfWork, | |
| /// <summary> | |
| /// A new instance will be returned fro each call | |
| /// </summary> | |
| InstancePerCall | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment