diff --git a/LightweightIocContainer/Lifestyle.cs b/LightweightIocContainer/Lifestyle.cs new file mode 100644 index 0000000..4582a92 --- /dev/null +++ b/LightweightIocContainer/Lifestyle.cs @@ -0,0 +1,26 @@ +// Author: simon.gockner +// Created: 2019-05-20 +// Copyright(c) 2019 SimonG. All Rights Reserved. + +using LightweightIocContainer.Interfaces.Registrations; + +namespace LightweightIocContainer +{ + /// + /// The Lifestyles that can be used for a + /// + public enum Lifestyle + { + /// + /// A new instance gets created every time an instance is resolved + /// + Transient, + + /// + /// One instance is created that gets returned every time an instance is resolved + /// + Singleton + + //TODO: Add Lifestyle.Multiton + } +} \ No newline at end of file