//---------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
//
//---------------------------------------------------------------------
namespace Microsoft.OData
{
///
/// Enumerates all kinds of lifetime of a service in an .
///
public enum ServiceLifetime
{
///
/// Indicates that a single instance of the service will be created.
///
Singleton,
///
/// Indicates that a new instance of the service will be created for each scope.
///
Scoped,
///
/// Indicates that a new instance of the service will be created every time it is requested.
///
Transient
}
}