Show / Hide Table of Contents

Class DependencyAttribute

Inheritance
System.Object
DependencyAttribute
Namespace: Volo.Abp.DependencyInjection
Assembly: Volo.Abp.Core.dll
Syntax
public class DependencyAttribute : Attribute

Constructors

DependencyAttribute()

Declaration
public DependencyAttribute()

DependencyAttribute(ServiceLifetime)

Declaration
public DependencyAttribute(ServiceLifetime lifetime)
Parameters
Type Name Description
ServiceLifetime lifetime

Properties

Lifetime

Declaration
public virtual ServiceLifetime? Lifetime { get; set; }
Property Value
Type Description
System.Nullable<ServiceLifetime>

ReplaceServices

Declaration
public virtual bool ReplaceServices { get; set; }
Property Value
Type Description
System.Boolean

TryRegister

Declaration
public virtual bool TryRegister { get; set; }
Property Value
Type Description
System.Boolean

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft