Table of Contents

Class DependencyAttribute

Namespace
Volo.Abp.DependencyInjection
Assembly
Volo.Abp.Core.dll
public class DependencyAttribute : Attribute
Inheritance
DependencyAttribute
Inherited Members
Extension Methods

Constructors

DependencyAttribute()

public DependencyAttribute()

DependencyAttribute(ServiceLifetime)

public DependencyAttribute(ServiceLifetime lifetime)

Parameters

lifetime ServiceLifetime

Properties

Lifetime

public virtual ServiceLifetime? Lifetime { get; set; }

Property Value

ServiceLifetime?

ReplaceServices

public virtual bool ReplaceServices { get; set; }

Property Value

bool

TryRegister

public virtual bool TryRegister { get; set; }

Property Value

bool