Table of Contents

Class ScopedAttribute

Namespace
Arc4u.Dependency.Attribute
Assembly
Arc4u.Dependency.dll

Marks a class's lifetime as scoped (one instance by scope).

[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public class ScopedAttribute : Attribute
Inheritance
ScopedAttribute
Inherited Members

Constructors

ScopedAttribute()

Mark a part as scoped (one instance by scope).

public ScopedAttribute()