Class DependencyAttribute
Inheritance
System.Object
DependencyAttribute
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