//===============================================================================
// Microsoft patterns & practices
// Object Builder Application Block
//===============================================================================
// Copyright © Microsoft Corporation.  All rights reserved.
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
// OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
// LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
// FITNESS FOR A PARTICULAR PURPOSE.
//===============================================================================

namespace C0DEC0RE
{
	/// <summary>
	/// Enumeration describing how to handle when a dependency is not present.
	/// </summary>
	public enum NotPresentBehavior
	{
		/// <summary>
		/// Create the object
		/// </summary>
		CreateNew,

		/// <summary>
		/// Return null
		/// </summary>
		ReturnNull,

		/// <summary>
		/// Throw a DependencyMissingException
		/// </summary>
		Throw,
	}
}
